diff options
author | Joerg Bornemann <joerg.bornemann@theqtcompany.com> | 2015-11-13 12:52:35 +0100 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@theqtcompany.com> | 2015-11-16 08:48:31 +0000 |
commit | 1a6b32fa543ae95b343b3b86d7a4716a44b73825 (patch) | |
tree | d510ace220901c176d463b928f393a64ddddefef /src/webengine/api/qquickwebenginedownloaditem_p.h | |
parent | 70a376d73718cc4ff8d96f6761b8c1896ca25c23 (diff) |
use Q_ENUM instead of Q_ENUMS
This makes the enum values available as strings in qDebug,
QCOMPARE and such.
Change-Id: Id57a2002451337fcc8aedac673f834445913895c
Reviewed-by: Michael BrĂ¼ning <michael.bruning@theqtcompany.com>
Diffstat (limited to 'src/webengine/api/qquickwebenginedownloaditem_p.h')
-rw-r--r-- | src/webengine/api/qquickwebenginedownloaditem_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webengine/api/qquickwebenginedownloaditem_p.h b/src/webengine/api/qquickwebenginedownloaditem_p.h index 9a30eb4ca..d0be2f99a 100644 --- a/src/webengine/api/qquickwebenginedownloaditem_p.h +++ b/src/webengine/api/qquickwebenginedownloaditem_p.h @@ -69,7 +69,7 @@ public: DownloadCancelled, DownloadInterrupted }; - Q_ENUMS(DownloadState) + Q_ENUM(DownloadState) Q_PROPERTY(quint32 id READ id CONSTANT FINAL) Q_PROPERTY(DownloadState state READ state NOTIFY stateChanged) |