diff options
author | Robin Burchell <robin.burchell@collabora.com> | 2011-12-06 11:41:02 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-12-08 17:59:55 +0100 |
commit | ee18d6ea1f3c2f5388abea58bbe3f1f1ff2b2d5c (patch) | |
tree | 4b7eb7e05a92465ca29c486617086bd45ea094d0 /src/widgets/dialogs/qcolordialog.h | |
parent | ca1af75fb2ca0671bc715e4f7ec3b45939073eb4 (diff) |
Merge QColorDialog::getColor() overloads.
Symbian-specific code was removed as a side effect of the merge.
Change-Id: I01d28b2aa2fef16ce3988382c2b2a0436c46227c
Reviewed-by: John Brooks <john.brooks@dereferenced.net>
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
Diffstat (limited to 'src/widgets/dialogs/qcolordialog.h')
-rw-r--r-- | src/widgets/dialogs/qcolordialog.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/widgets/dialogs/qcolordialog.h b/src/widgets/dialogs/qcolordialog.h index fa217c76bf..1d21c06f99 100644 --- a/src/widgets/dialogs/qcolordialog.h +++ b/src/widgets/dialogs/qcolordialog.h @@ -95,10 +95,10 @@ public: void setVisible(bool visible); - // ### Qt 5: merge overloads with title = QString() - static QColor getColor(const QColor &initial, QWidget *parent, const QString &title, + static QColor getColor(const QColor &initial = Qt::white, + QWidget *parent = 0, + const QString &title = QString(), ColorDialogOptions options = 0); - static QColor getColor(const QColor &initial = Qt::white, QWidget *parent = 0); // obsolete static QRgb getRgba(QRgb rgba = 0xffffffff, bool *ok = 0, QWidget *parent = 0); |