More QUrl/QString conversion in FileDialog implementation
authorShawn Rutledge <shawn.rutledge@digia.com>
Thu, 1 Aug 2013 13:39:56 +0000 (15:39 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 1 Aug 2013 14:33:26 +0000 (16:33 +0200)
commit41d813908a6d178ce15baba32cedef383fa65a51
treebe7613591ca4065f3a60c7bc2612a7b83ccdc06e
parent2e4993fe61a2cbd01549c953701a9ac551c3d992
More QUrl/QString conversion in FileDialog implementation

Followup to 6499098a04c7a8a1193413500cd562f781df38bb :
because the signals in QPlatformFileDialogHelper emit URLs and
QFileDialog does not provide compatible signals, the bridge class
QFileDialogHelper must provide slots to convert strings to URLs and
emit the signals.  Therefore QFileDialogHelper needs the Q_OBJECT
macro, and therefore it helps to move its declaration to the private
header to avoid confusing moc.

Change-Id: I088ff73d107a460af3f8695401276b45a66b5d59
Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
src/imports/dialogs/qquickabstractfiledialog.cpp
src/imports/widgets/qquickqfiledialog.cpp
src/imports/widgets/qquickqfiledialog_p.h