diff options
author | Olivier Goffart <ogoffart@woboq.com> | 2015-02-07 13:00:49 +0100 |
---|---|---|
committer | Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com> | 2015-02-08 12:19:07 +0000 |
commit | 163b8529516ddda24833f635f737863ba98bd688 (patch) | |
tree | cf7fbb32c6f240526132e6a69f214e31a2cbaf3e /src/widgets/dialogs/qwizard.h | |
parent | e768d96e8bc161211b2d4ad377f3fb250f270a9b (diff) |
QtWidgets: use Q_ENUM instead of Q_ENUMS
Change-Id: Id5280c1d9feab95e1506569f3d0eb23eeb74935f
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/widgets/dialogs/qwizard.h')
-rw-r--r-- | src/widgets/dialogs/qwizard.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/widgets/dialogs/qwizard.h b/src/widgets/dialogs/qwizard.h index 7ceddf5049..ee2227a79e 100644 --- a/src/widgets/dialogs/qwizard.h +++ b/src/widgets/dialogs/qwizard.h @@ -48,7 +48,6 @@ class QWizardPrivate; class Q_WIDGETS_EXPORT QWizard : public QDialog { Q_OBJECT - Q_ENUMS(WizardStyle WizardOption) Q_FLAGS(WizardOptions) Q_PROPERTY(WizardStyle wizardStyle READ wizardStyle WRITE setWizardStyle) Q_PROPERTY(WizardOptions options READ options WRITE setOptions) @@ -74,6 +73,7 @@ public: NStandardButtons = 6, NButtons = 9 }; + Q_ENUM(WizardButton) enum WizardPixmap { WatermarkPixmap, @@ -110,6 +110,7 @@ public: HaveCustomButton3 = 0x00008000, NoCancelButtonOnLastPage = 0x00010000 }; + Q_ENUM(WizardOption) Q_DECLARE_FLAGS(WizardOptions, WizardOption) |