summaryrefslogtreecommitdiffstats
path: root/doc/src/examples
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2010-05-19 02:41:50 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2010-05-19 02:41:50 (GMT)
commitcd707a865625c7ee0ec836d2a1bdcda847ab0517 (patch)
tree26e351252f7b5e2bfc01414796d0f20dfe9eda09 /doc/src/examples
parent5f3e8f33083be7bd7b858c8880f52a99952e0b75 (diff)
downloadQt-cd707a865625c7ee0ec836d2a1bdcda847ab0517.zip
Qt-cd707a865625c7ee0ec836d2a1bdcda847ab0517.tar.gz
Qt-cd707a865625c7ee0ec836d2a1bdcda847ab0517.tar.bz2
doc
Diffstat (limited to 'doc/src/examples')
-rw-r--r--doc/src/examples/qml-folderlistmodel.qdoc2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/src/examples/qml-folderlistmodel.qdoc b/doc/src/examples/qml-folderlistmodel.qdoc
index 6e5f493..b820528 100644
--- a/doc/src/examples/qml-folderlistmodel.qdoc
+++ b/doc/src/examples/qml-folderlistmodel.qdoc
@@ -114,6 +114,8 @@ Lastly, the boilerplare to declare the type for QML use:
\snippet src/imports/folderlistmodel/qdeclarativefolderlistmodel.h qml decl
+\section1 Connecting the Model to QML
+
To make this class available to QML, we only need to make a simple subclass of QDeclarativeExtensionPlugin:
\snippet src/imports/folderlistmodel/plugin.cpp class decl