okular/generators/txt/document.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
422 B
C
Raw Normal View History

2021-05-24 07:25:56 +00:00
/*
SPDX-FileCopyrightText: 2013 Azat Khuzhin <a3at.mail@gmail.com>
SPDX-License-Identifier: GPL-2.0-or-later
*/
2018-08-31 09:23:45 +00:00
#ifndef _TXT_DOCUMENT_H_
#define _TXT_DOCUMENT_H_
2018-08-31 09:23:45 +00:00
#include <QTextDocument>
namespace Txt
{
class Document : public QTextDocument
{
2016-10-29 14:32:24 +00:00
Q_OBJECT
public:
2018-09-01 08:25:57 +00:00
explicit Document(const QString &fileName);
~Document() override;
private:
QString toUnicode(const QByteArray &array);
};
2013-02-18 23:26:09 +00:00
}
2018-08-31 09:23:45 +00:00
#endif