diff options
Diffstat (limited to 'src/gui/doc/snippets/textdocument-frames/mainwindow.h')
-rw-r--r-- | src/gui/doc/snippets/textdocument-frames/mainwindow.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/doc/snippets/textdocument-frames/mainwindow.h b/src/gui/doc/snippets/textdocument-frames/mainwindow.h index 941138d0e9..40fa8e41e0 100644 --- a/src/gui/doc/snippets/textdocument-frames/mainwindow.h +++ b/src/gui/doc/snippets/textdocument-frames/mainwindow.h @@ -54,6 +54,8 @@ #include <QMainWindow> class QTextEdit; +class QTextFrame; +class QTextBlock; class MainWindow : public QMainWindow { @@ -67,6 +69,8 @@ public slots: private: bool writeXml(const QString &fileName); + void processBlock(QTextBlock); + void processFrame(QTextFrame *frame); QTextEdit *editor = nullptr; }; |