summaryrefslogtreecommitdiffstats
path: root/doc/src/examples/qml-folderlistmodel.qdoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/examples/qml-folderlistmodel.qdoc')
-rw-r--r--doc/src/examples/qml-folderlistmodel.qdoc7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/src/examples/qml-folderlistmodel.qdoc b/doc/src/examples/qml-folderlistmodel.qdoc
index c9d248e..0a01ce0 100644
--- a/doc/src/examples/qml-folderlistmodel.qdoc
+++ b/doc/src/examples/qml-folderlistmodel.qdoc
@@ -41,10 +41,15 @@ making the model available to QML.
\section1 Usage from QML
-The type we are creating can be used from QML like this:
+The FolderListModel can be used from QML like this:
\snippet doc/src/snippets/declarative/folderlistmodel.qml 0
+This displays a list of all subfolders and QML files in the current folder.
+
+The FolderListModel \c folder property can be set to change the folder that
+is currently displayed.
+
\section1 Defining the Model
We are subclassing QAbstractListModel which will allow us to give data to QML and