QPlatformDialogHelpers: Reduce dependency on QDialog.
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>
Wed, 23 Nov 2011 11:04:01 +0000 (12:04 +0100)
committerQt by Nokia <qt-info@nokia.com>
Wed, 14 Dec 2011 20:49:33 +0000 (21:49 +0100)
commit56c4ddfdf62ff6b71ce3df680bdaca01012e13f4
tree5777f621303392efa9852f982e52a09a9e44e7e0
parentf86007175d7d9d592e9cf6499704ad4f17944ce4
QPlatformDialogHelpers: Reduce dependency on QDialog.

For each QDialog-derived class, introduce a Q[X]Options class
containing the options of the dialog. An instance is shared
between the QDialog (or dialog desktop component) and the
helper.

Change-Id: Ibabf508a4b9eaea25615638a47a4c1b8f93c019e
Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com>
15 files changed:
src/plugins/platforms/cocoa/qcocoafiledialoghelper.h
src/plugins/platforms/cocoa/qcocoafiledialoghelper.mm
src/plugins/platforms/windows/qwindowsdialoghelpers.cpp
src/plugins/platforms/windows/qwindowsdialoghelpers.h
src/widgets/dialogs/qcolordialog.cpp
src/widgets/dialogs/qcolordialog_p.h
src/widgets/dialogs/qdialog.cpp
src/widgets/dialogs/qdialog.h
src/widgets/dialogs/qdialog_p.h
src/widgets/dialogs/qfiledialog.cpp
src/widgets/dialogs/qfiledialog_p.h
src/widgets/dialogs/qfontdialog.cpp
src/widgets/dialogs/qfontdialog_p.h
src/widgets/kernel/qplatformdialoghelper_qpa.cpp
src/widgets/kernel/qplatformdialoghelper_qpa.h