diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2016-08-13 22:25:39 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2016-08-14 09:26:14 +0000 |
commit | 51192e8ef5d9ab385de390b38409b73a56f55f84 (patch) | |
tree | 97dd174137fcb23889d6cc8533a8aa9e51620f34 /src/imports/platform/plugins.qmltypes | |
parent | 7b6180a2d6b5def11b95485a3323a37f92b57ba9 (diff) |
FileDialog: replace file(s)Selected() with declarative properties
Follow the same convention that ColorDialog, FontDialog and FolderDialog.
Change-Id: I960d4fc1ba275ab997f2a079a799d2b90796eca3
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'src/imports/platform/plugins.qmltypes')
-rw-r--r-- | src/imports/platform/plugins.qmltypes | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/imports/platform/plugins.qmltypes b/src/imports/platform/plugins.qmltypes index d7e85c9e..dc9e1562 100644 --- a/src/imports/platform/plugins.qmltypes +++ b/src/imports/platform/plugins.qmltypes @@ -111,20 +111,15 @@ Module { } } Property { name: "fileMode"; type: "FileMode" } + Property { name: "file"; type: "QUrl" } + Property { name: "files"; type: "QList<QUrl>" } Property { name: "currentFile"; type: "QUrl" } + Property { name: "currentFiles"; type: "QList<QUrl>" } Property { name: "options"; type: "QFileDialogOptions::FileDialogOptions" } Property { name: "nameFilters"; type: "QStringList" } Property { name: "defaultSuffix"; type: "string" } Property { name: "acceptLabel"; type: "string" } Property { name: "rejectLabel"; type: "string" } - Signal { - name: "fileSelected" - Parameter { name: "file"; type: "QUrl" } - } - Signal { - name: "filesSelected" - Parameter { name: "files"; type: "QList<QUrl>" } - } } Component { name: "QQuickPlatformFolderDialog" |