summaryrefslogtreecommitdiffstats
path: root/src/gui/doc/snippets/qtextobject/textobjectinterface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/doc/snippets/qtextobject/textobjectinterface.h')
-rw-r--r--src/gui/doc/snippets/qtextobject/textobjectinterface.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/doc/snippets/qtextobject/textobjectinterface.h b/src/gui/doc/snippets/qtextobject/textobjectinterface.h
index b93cc55ca7a..08b14a4eef2 100644
--- a/src/gui/doc/snippets/qtextobject/textobjectinterface.h
+++ b/src/gui/doc/snippets/qtextobject/textobjectinterface.h
@@ -47,6 +47,8 @@
** $QT_END_LICENSE$
**
****************************************************************************/
+#include <QObject>
+#include <QTextObjectInterface>
//! [0]
class SvgTextObject : public QObject, public QTextObjectInterface
@@ -54,3 +56,4 @@ class SvgTextObject : public QObject, public QTextObjectInterface
Q_OBJECT
Q_INTERFACES(QTextObjectInterface)
//! [0]
+};