summaryrefslogtreecommitdiffstats
path: root/src/gui/doc/snippets/textblock-fragments/xmlwriter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/doc/snippets/textblock-fragments/xmlwriter.h')
-rw-r--r--src/gui/doc/snippets/textblock-fragments/xmlwriter.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/doc/snippets/textblock-fragments/xmlwriter.h b/src/gui/doc/snippets/textblock-fragments/xmlwriter.h
index 910a87b50e1..d0be038c3c9 100644
--- a/src/gui/doc/snippets/textblock-fragments/xmlwriter.h
+++ b/src/gui/doc/snippets/textblock-fragments/xmlwriter.h
@@ -7,6 +7,8 @@
#include <QDomDocument>
#include <QTextBlock>
+QT_BEGIN_NAMESPACE
+
class QTextDocument;
class XmlWriter
@@ -25,4 +27,6 @@ private:
QTextDocument *textDocument;
};
+QT_END_NAMESPACE
+
#endif