diff options
author | Ilya Kotov <i.kotov@rusbitech.ru> | 2018-01-10 16:32:27 +0300 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2018-01-28 09:43:02 +0000 |
commit | e29047555be764d59c52801553e23767ed367cec (patch) | |
tree | d98647b57e29d28c7250b9d7ea581854a167b985 /src/imports/folderlistmodel/plugins.qmltypes | |
parent | e8f3f37bc2d05190c4f16c372a487901e0d2e03d (diff) |
FolderListModel: add status property
This allows to track directory loading
Task-number: QTBUG-48708
Change-Id: If79a325ef1bfc831d3bc2a205e3127a571fcb0c1
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/imports/folderlistmodel/plugins.qmltypes')
-rw-r--r-- | src/imports/folderlistmodel/plugins.qmltypes | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/src/imports/folderlistmodel/plugins.qmltypes b/src/imports/folderlistmodel/plugins.qmltypes index e77b633932..a336b55022 100644 --- a/src/imports/folderlistmodel/plugins.qmltypes +++ b/src/imports/folderlistmodel/plugins.qmltypes @@ -4,7 +4,7 @@ import QtQuick.tooling 1.2 // It is used for QML tooling purposes only. // // This file was auto-generated by: -// 'qmlplugindump -nonrelocatable Qt.labs.folderlistmodel 2.2' +// 'qmlplugindump -nonrelocatable Qt.labs.folderlistmodel 2.11' Module { dependencies: ["QtQuick 2.8"] @@ -15,9 +15,10 @@ Module { "Qt.labs.folderlistmodel/FolderListModel 1.0", "Qt.labs.folderlistmodel/FolderListModel 2.0", "Qt.labs.folderlistmodel/FolderListModel 2.1", + "Qt.labs.folderlistmodel/FolderListModel 2.11", "Qt.labs.folderlistmodel/FolderListModel 2.2" ] - exportMetaObjectRevisions: [0, 0, 1, 2] + exportMetaObjectRevisions: [0, 0, 1, 11, 2] Enum { name: "SortField" values: { @@ -28,6 +29,14 @@ Module { "Type": 4 } } + Enum { + name: "Status" + values: { + "Null": 0, + "Ready": 1, + "Loading": 2 + } + } Property { name: "folder"; type: "QUrl" } Property { name: "rootFolder"; type: "QUrl" } Property { name: "parentFolder"; type: "QUrl"; isReadonly: true } @@ -42,8 +51,10 @@ Module { Property { name: "showOnlyReadable"; type: "bool" } Property { name: "caseSensitive"; revision: 2; type: "bool" } Property { name: "count"; type: "int"; isReadonly: true } + Property { name: "status"; revision: 11; type: "Status"; isReadonly: true } Signal { name: "rowCountChanged" } Signal { name: "countChanged"; revision: 1 } + Signal { name: "statusChanged"; revision: 11 } Method { name: "isFolder" type: "bool" |