FileDialog.folder property should also be a QUrl, for consistency v5.1.0 v5.1.0-rc2
authorShawn Rutledge <shawn.rutledge@digia.com>
Thu, 27 Jun 2013 11:08:08 +0000 (13:08 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 28 Jun 2013 14:44:10 +0000 (16:44 +0200)
commit811337a73c160447e5218ae55e93df99ac3d9edd
treeac196f54046d031684f9ef220574656e16889ee3
parent87a4a3d095f4fbabb91dade7e7313cb844256b9b
FileDialog.folder property should also be a QUrl, for consistency

In QtQuick we never use plain file paths, because URL is more general.
Also use const references for string and URL setters, and fixed the
dependency between the FolderListModel's folder, the field for editing it,
and the folder property of the AbstractFileDialog.

Change-Id: I6e965b80b73d4eb2473712a4f4d4f816b768d802
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
12 files changed:
examples/quick/dialogs/systemdialogs/FileDialogs.qml
src/imports/dialogs/DefaultFileDialog.qml
src/imports/dialogs/plugins.qmltypes
src/imports/dialogs/qquickabstractcolordialog.cpp
src/imports/dialogs/qquickabstractcolordialog_p.h
src/imports/dialogs/qquickabstractdialog_p.h
src/imports/dialogs/qquickabstractfiledialog.cpp
src/imports/dialogs/qquickabstractfiledialog_p.h
src/imports/dialogs/qquickfiledialog.cpp
src/imports/dialogs/qquickfiledialog_p.h
src/imports/dialogs/qquickplatformfiledialog.cpp
src/imports/widgets/plugins.qmltypes