diff options
author | Paul Wicking <paul.wicking@qt.io> | 2020-08-31 14:42:01 +0200 |
---|---|---|
committer | Paul Wicking <paul.wicking@qt.io> | 2020-09-01 06:13:19 +0200 |
commit | ad654870cbbbcd1fddfbe370420f7b92bc0e779e (patch) | |
tree | 9d107b9b094725f814be3f6b3e249990e9f058f2 /src/gui/doc/snippets/qtextobject/textobjectinterface.h | |
parent | 319e22cb4af3b6b0ad42ed008a6bba3266b76dba (diff) | |
download | qtbase-ad654870cbbbcd1fddfbe370420f7b92bc0e779e.tar.gz |
Doc: compile textobjectinterface snippet
Done-with: Nico Vertriest <nico.vertriest@qt.io>
Task-number: QTBUG-81486
Change-Id: Ibad1ef95b85d5484ee7e9cceee8019d026c10cb9
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src/gui/doc/snippets/qtextobject/textobjectinterface.h')
-rw-r--r-- | src/gui/doc/snippets/qtextobject/textobjectinterface.h | 3 |
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 b93cc55ca7..08b14a4eef 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] +}; |