This commit is contained in:
Herwig Birke
2018-03-28 17:39:53 +02:00
parent 8b0ccd20fa
commit d3fd815599
8 changed files with 165 additions and 37 deletions
+3 -3
View File
@@ -22,15 +22,15 @@ public:
cTextDocument(QObject *parent = Q_NULLPTR);
cTextDocument(const QString &text, QObject *parent = Q_NULLPTR);
bool save();
bool saveAs(const QString& szFileName);
bool save(bool bZip = true);
bool saveAs(const QString& szFileName, bool bZip = true);
void printPreview(QPrinter* lpPrinter);
private:
QString m_szFileName;
void init();
bool saveDocument();
bool saveDocument(bool bZip = true);
private slots:
};