summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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