summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets
diff options
context:
space:
mode:
authorHarald Fernengel <harald.fernengel@nokia.com>2010-04-21 13:30:13 (GMT)
committerHarald Fernengel <harald.fernengel@nokia.com>2010-04-21 13:30:13 (GMT)
commitdea36f2d7b0380187d60c40193a9e12cae70bfd1 (patch)
treeecfe48c0add13986e9ce24e32f5d9b0f4b3116e4 /doc/src/snippets
parentae5a70308d5b07c722ee769c3ee14f063e75de27 (diff)
downloadQt-dea36f2d7b0380187d60c40193a9e12cae70bfd1.zip
Qt-dea36f2d7b0380187d60c40193a9e12cae70bfd1.tar.gz
Qt-dea36f2d7b0380187d60c40193a9e12cae70bfd1.tar.bz2
Trivial doc fix
The docs for qDBusRegisterMetaType did not mention the required header at all, since the function is documented as part of QDBusArgument.
Diffstat (limited to 'doc/src/snippets')
-rw-r--r--doc/src/snippets/code/src_qdbus_qdbusmetatype.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/src/snippets/code/src_qdbus_qdbusmetatype.cpp b/doc/src/snippets/code/src_qdbus_qdbusmetatype.cpp
index d97d61a..800a332 100644
--- a/doc/src/snippets/code/src_qdbus_qdbusmetatype.cpp
+++ b/doc/src/snippets/code/src_qdbus_qdbusmetatype.cpp
@@ -40,5 +40,6 @@
****************************************************************************/
//! [0]
+#include <QDBusMetaType>
qDBusRegisterMetaType<MyClass>();
//! [0]