FolderListModel documentation corrections
authorShawn Rutledge <shawn.rutledge@digia.com>
Mon, 22 Jul 2013 13:28:51 +0000 (15:28 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 23 Jul 2013 11:59:36 +0000 (13:59 +0200)
Task-number: QTBUG-32039
Change-Id: I214c5e58dedb6d752e0c42f6c67fad942bd71894
Reviewed-by: Alan Alpert <aalpert@blackberry.com>
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
src/imports/folderlistmodel/qquickfolderlistmodel.cpp

index 016c96e..2f9c07c 100644 (file)
@@ -406,8 +406,7 @@ QModelIndex QQuickFolderListModel::index(int row, int , const QModelIndex &) con
     The \a folder property holds a URL for the folder that the model is
     currently providing.
 
-    The value is a URL expressed as a string, and must be a \c file: or \c qrc:
-    URL, or a relative URL.
+    The value must be a \c file: or \c qrc: URL, or a relative URL.
 
     By default, the value is an invalid URL.
 */
@@ -447,7 +446,7 @@ void QQuickFolderListModel::setFolder(const QUrl &folder)
 
 
 /*!
-   \qmlproperty string QQuickFolderListModel::rootFolder
+   \qmlproperty url QQuickFolderListModel::rootFolder
 
    When the rootFolder is set, then this folder will
    be threated as the root in the file system, so that