diff options
author | Albert Astals Cid <albert.astals@canonical.com> | 2017-01-05 16:52:54 +0100 |
---|---|---|
committer | Albert Astals Cid <albert.astals@canonical.com> | 2017-01-19 11:54:27 +0000 |
commit | 7a8842460dc3c5e4e4ed42e7e2ae5bc619be5c78 (patch) | |
tree | 8a1c83e05d7d199649a187675b8d29e03246ccb0 /src/imports/xmllistmodel | |
parent | 1d6bdb6ba00a317700ac734b7862983e23c5a842 (diff) |
Q_ENUMS -> Q_ENUM and Q_FLAGS -> Q_FLAG
Change-Id: Ibedd0d0c23cf194ea02a229ab643450dbefd40aa
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/imports/xmllistmodel')
-rw-r--r-- | src/imports/xmllistmodel/qqmlxmllistmodel_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/xmllistmodel/qqmlxmllistmodel_p.h b/src/imports/xmllistmodel/qqmlxmllistmodel_p.h index 6605ce9aa6..e6a0898bb9 100644 --- a/src/imports/xmllistmodel/qqmlxmllistmodel_p.h +++ b/src/imports/xmllistmodel/qqmlxmllistmodel_p.h @@ -79,7 +79,6 @@ class QQuickXmlListModel : public QAbstractListModel, public QQmlParserStatus { Q_OBJECT Q_INTERFACES(QQmlParserStatus) - Q_ENUMS(Status) Q_PROPERTY(Status status READ status NOTIFY statusChanged) Q_PROPERTY(qreal progress READ progress NOTIFY progressChanged) @@ -119,6 +118,7 @@ public: Q_INVOKABLE QQmlV4Handle get(int index) const; enum Status { Null, Ready, Loading, Error }; + Q_ENUM(Status) Status status() const; qreal progress() const; |