summaryrefslogtreecommitdiffstats
path: root/src/gui/doc/snippets/textdocument-tables/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/doc/snippets/textdocument-tables/mainwindow.h')
-rw-r--r--src/gui/doc/snippets/textdocument-tables/mainwindow.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/doc/snippets/textdocument-tables/mainwindow.h b/src/gui/doc/snippets/textdocument-tables/mainwindow.h
index 3885478e6cf..10733322c11 100644
--- a/src/gui/doc/snippets/textdocument-tables/mainwindow.h
+++ b/src/gui/doc/snippets/textdocument-tables/mainwindow.h
@@ -10,6 +10,8 @@ class QTextFrame;
class QTextBlock;
class QTextTable;
+QT_BEGIN_NAMESPACE
+
class MainWindow : public QMainWindow
{
Q_OBJECT
@@ -30,4 +32,6 @@ private:
QTextEdit *editor = nullptr;
};
+QT_END_NAMESPACE
+
#endif