diff options
author | Gordan Markuš <gordan.markus@pelagicore.com> | 2017-05-09 10:34:51 +0200 |
---|---|---|
committer | Gordan Markus <gordan.markus@pelagicore.com> | 2017-05-09 10:40:34 +0000 |
commit | 36b039638fdc8dd9f2eab18bc7096f6b76cf3114 (patch) | |
tree | 632251186aa547d1c928fca049a982ab31e5042c /src/virtualkeyboard/enterkeyaction.h | |
parent | 142a3c9e4674f5e0da4f86ff8bad6469336b01de (diff) |
Replace deprecated Q_ENUMS macro with Q_ENUM
Change-Id: I705129c56e968a72cf3d4de5b37b092cee93965c
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/virtualkeyboard/enterkeyaction.h')
-rw-r--r-- | src/virtualkeyboard/enterkeyaction.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/virtualkeyboard/enterkeyaction.h b/src/virtualkeyboard/enterkeyaction.h index 5fa9d6d0..b78e09ec 100644 --- a/src/virtualkeyboard/enterkeyaction.h +++ b/src/virtualkeyboard/enterkeyaction.h @@ -39,7 +39,6 @@ class EnterKeyActionAttachedType; class EnterKeyAction : public QObject { Q_OBJECT - Q_ENUMS(Id) public: enum Id { @@ -51,6 +50,8 @@ public: Done }; + Q_ENUM(Id) + public: static EnterKeyActionAttachedType *qmlAttachedProperties(QObject *object); }; |