From: Gunnar Sletta Date: Thu, 29 Nov 2012 09:08:50 +0000 (+0100) Subject: Make FolderListModel available from the module overview. X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=f316e112d816b78dd275137dc48499bc6e0d6b9f;p=konrad%2Fqtdeclarative.git Make FolderListModel available from the module overview. Change-Id: I19c9a28b290a2ed7b3edee18583b686abf97dec0 Reviewed-by: Paul Olav Tvete --- diff --git a/src/imports/folderlistmodel/qquickfolderlistmodel.cpp b/src/imports/folderlistmodel/qquickfolderlistmodel.cpp index a3b2cc6..042e813 100644 --- a/src/imports/folderlistmodel/qquickfolderlistmodel.cpp +++ b/src/imports/folderlistmodel/qquickfolderlistmodel.cpp @@ -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.