summaryrefslogtreecommitdiffstats
path: root/tools/designer/src/lib/sdk/propertysheet.qdoc
diff options
context:
space:
mode:
authorGeir Vattekar <geir.vattekar@nokia.com>2011-02-17 12:14:01 (GMT)
committerGeir Vattekar <geir.vattekar@nokia.com>2011-02-17 12:14:01 (GMT)
commitf5f2eb86b5a9fb4bcc479a4fdba4024e5544ba24 (patch)
treef0a0cc24f418c40cc03a61e493e7412c5d9a88f9 /tools/designer/src/lib/sdk/propertysheet.qdoc
parent45153a37e4d9e39e8c326a0f33ea17be49bb29e2 (diff)
parentebd3c48478539c7b2ec76af5c385b690460c3e15 (diff)
downloadQt-f5f2eb86b5a9fb4bcc479a4fdba4024e5544ba24.zip
Qt-f5f2eb86b5a9fb4bcc479a4fdba4024e5544ba24.tar.gz
Qt-f5f2eb86b5a9fb4bcc479a4fdba4024e5544ba24.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-doc-team into 4.7
Diffstat (limited to 'tools/designer/src/lib/sdk/propertysheet.qdoc')
-rw-r--r--tools/designer/src/lib/sdk/propertysheet.qdoc8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/designer/src/lib/sdk/propertysheet.qdoc b/tools/designer/src/lib/sdk/propertysheet.qdoc
index d82de88..becc74b 100644
--- a/tools/designer/src/lib/sdk/propertysheet.qdoc
+++ b/tools/designer/src/lib/sdk/propertysheet.qdoc
@@ -41,7 +41,7 @@
manipulate the properties' appearance in the property editor. For
example:
- \snippet doc/src/snippets/code/doc_src_qtdesigner.qdoc 15
+ \snippet doc/src/snippets/code/doc_src_qtdesigner.cpp 15
Note that if you change the value of a property using the
QDesignerPropertySheetExtension::setProperty() function, the undo
@@ -80,7 +80,7 @@
an interface, we must ensure that it's made known to the meta
object system using the Q_INTERFACES() macro:
- \snippet doc/src/snippets/code/doc_src_qtdesigner.qdoc 16
+ \snippet doc/src/snippets/code/doc_src_qtdesigner.cpp 16
This enables \QD to use qobject_cast() to query for supported
interfaces using nothing but a QObject pointer.
@@ -112,14 +112,14 @@
reimplement the QExtensionFactory::createExtension() function. For
example:
- \snippet doc/src/snippets/code/doc_src_qtdesigner.qdoc 17
+ \snippet doc/src/snippets/code/doc_src_qtdesigner.cpp 17
Or you can use an existing factory, expanding the
QExtensionFactory::createExtension() function to make the factory
able to create a property sheet extension extension as well. For
example:
- \snippet doc/src/snippets/code/doc_src_qtdesigner.qdoc 18
+ \snippet doc/src/snippets/code/doc_src_qtdesigner.cpp 18
For a complete example using an extension class, see the \l
{designer/taskmenuextension}{Task Menu Extension example}. The