Make FolderListModel available from the module overview.
authorGunnar Sletta <gunnar.sletta@digia.com>
Thu, 29 Nov 2012 09:08:50 +0000 (10:08 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 29 Nov 2012 11:00:55 +0000 (12:00 +0100)
Change-Id: I19c9a28b290a2ed7b3edee18583b686abf97dec0
Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>

src/imports/folderlistmodel/qquickfolderlistmodel.cpp

index a3b2cc6..042e813 100644 (file)
@@ -208,7 +208,22 @@ QString QQuickFolderListModelPrivate::resolvePath(const QUrl &path)
 }
 
 /*!
+    \qmlmodule Qt.labs.folderlistmodel 1.0
+    \title Qt Labs FolderListModel QML Types
+    \ingroup qmlmodules
+    \brief The FolderListModel provides a model of the contents of a file system folder.
+
+    To use this module, import the module with the following line:
+
+    \code
+    import Qt.labs.folderlistmodel 1.0
+    \endcode
+*/
+
+
+/*!
     \qmltype FolderListModel
+    \inqmlmodule Qt.labs.folderlistmodel 1.0
     \instantiates QQuickFolderListModel
     \ingroup qtquick-models
     \brief The FolderListModel provides a model of the contents of a file system folder.