You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

27 lines
422 B

/*
SPDX-FileCopyrightText: 2013 Azat Khuzhin <a3at.mail@gmail.com>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef _TXT_DOCUMENT_H_
#define _TXT_DOCUMENT_H_
#include <QTextDocument>
namespace Txt
{
class Document : public QTextDocument
{
Q_OBJECT
public:
explicit Document(const QString &fileName);
~Document() override;
private:
QString toUnicode(const QByteArray &array);
};
}
#endif