summaryrefslogtreecommitdiffstats
path: root/src/gui/doc/snippets/textdocument-selections/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/doc/snippets/textdocument-selections/mainwindow.h')
-rw-r--r--src/gui/doc/snippets/textdocument-selections/mainwindow.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/doc/snippets/textdocument-selections/mainwindow.h b/src/gui/doc/snippets/textdocument-selections/mainwindow.h
index 31bd7a2d641..dc5a9d2eaaa 100644
--- a/src/gui/doc/snippets/textdocument-selections/mainwindow.h
+++ b/src/gui/doc/snippets/textdocument-selections/mainwindow.h
@@ -7,6 +7,8 @@
#include <QMainWindow>
#include <QTextDocumentFragment>
+QT_BEGIN_NAMESPACE
+
class QAction;
class QTextDocument;
class QTextEdit;
@@ -39,4 +41,6 @@ private:
QTextDocumentFragment selection;
};
+QT_END_NAMESPACE
+
#endif