summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNico Vertriest <nico.vertriest@digia.com>2015-03-04 15:12:04 +0100
committerNico Vertriest <nico.vertriest@digia.com>2015-03-11 09:01:46 +0000
commit8eaddf8343242caa9e9dde562107ece8d0785680 (patch)
treeb638dad69754400459a9755b7a820f82e6b8a7a5 /src
parent3128df99d606eae3f461e96cde75e4c75683e290 (diff)
Doc: corrected snippet issue in Defining Plugins doc
Task-number: QTBUG-44629 Change-Id: I70e20209b6b33f7adcbcafc6b7d959660cdc2e87 Reviewed-by: Martin Smith <martin.smith@digia.com>
Diffstat (limited to 'src')
-rw-r--r--src/corelib/doc/qtcore.qdocconf3
-rw-r--r--src/corelib/plugin/qplugin.qdoc2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/corelib/doc/qtcore.qdocconf b/src/corelib/doc/qtcore.qdocconf
index f3aff83a8b..df1ee4afea 100644
--- a/src/corelib/doc/qtcore.qdocconf
+++ b/src/corelib/doc/qtcore.qdocconf
@@ -36,7 +36,8 @@ exampledirs += \
../ \
snippets \
../../../examples/corelib \
- ../../../examples/network/dnslookup
+ ../../../examples/network/dnslookup \
+ ../../../examples/widgets/tools
imagedirs += images
diff --git a/src/corelib/plugin/qplugin.qdoc b/src/corelib/plugin/qplugin.qdoc
index 81be1df518..94f5bc8a30 100644
--- a/src/corelib/plugin/qplugin.qdoc
+++ b/src/corelib/plugin/qplugin.qdoc
@@ -44,7 +44,7 @@
to the interface class called \a ClassName. The \a Identifier must
be unique. For example:
- \snippet code/doc_src_qplugin.cpp 0
+ \snippet plugandpaint/interfaces.h 3
This macro is normally used right after the class definition for
\a ClassName, in a header file. See the