diff options
author | Albert Astals Cid <albert.astals@canonical.com> | 2016-12-23 11:52:47 +0100 |
---|---|---|
committer | Albert Astals Cid <albert.astals@canonical.com> | 2017-01-02 10:31:25 +0000 |
commit | 59ae55e12e075005ceae6e353ef1ee00817ec751 (patch) | |
tree | 83dcec3230d244aeb3b7b8aaf4a01147f6c4f887 /src/widgets/widgets/qdatetimeedit.h | |
parent | 92f6a4588f6bfc78e9b8b536ec7895d048c3aa30 (diff) |
Q_ENUMS -> Q_ENUM and Q_FLAGS -> Q_FLAG
Change-Id: I3cdc7338354da40ab20bdaeb9d5745264ea27228
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src/widgets/widgets/qdatetimeedit.h')
-rw-r--r-- | src/widgets/widgets/qdatetimeedit.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/widgets/qdatetimeedit.h b/src/widgets/widgets/qdatetimeedit.h index 5c9f4e0f9d..b54b0e7cf0 100644 --- a/src/widgets/widgets/qdatetimeedit.h +++ b/src/widgets/widgets/qdatetimeedit.h @@ -58,7 +58,6 @@ class Q_WIDGETS_EXPORT QDateTimeEdit : public QAbstractSpinBox { Q_OBJECT - Q_FLAGS(Sections) Q_PROPERTY(QDateTime dateTime READ dateTime WRITE setDateTime NOTIFY dateTimeChanged USER true) Q_PROPERTY(QDate date READ date WRITE setDate NOTIFY dateChanged) Q_PROPERTY(QTime time READ time WRITE setTime NOTIFY timeChanged) @@ -92,6 +91,7 @@ public: Q_ENUM(Section) Q_DECLARE_FLAGS(Sections, Section) + Q_FLAG(Sections) explicit QDateTimeEdit(QWidget *parent = Q_NULLPTR); explicit QDateTimeEdit(const QDateTime &dt, QWidget *parent = Q_NULLPTR); |