kde-extraapps/okular/generators/markdown/document_md.h
Ivailo Monev 6121a0229d okular: markdown generator review
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-03-03 01:38:39 +02:00

26 lines
933 B
C++

/***************************************************************************
* Copyright (C) 2022 by Ivailo Monev <xakepa10@gmail.com> *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
***************************************************************************/
#ifndef MD_DOCUMENT_H
#define MD_DOCUMENT_H
#include <QtGui/QTextDocument>
class MDDocument : public QTextDocument
{
public:
MDDocument(const QString &fileName);
void slotMdCallback(const char* data, qlonglong datasize);
private:
QByteArray m_mddata;
};
#endif // MD_DOCUMENT_H