From 36b039638fdc8dd9f2eab18bc7096f6b76cf3114 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gordan=20Marku=C5=A1?= Date: Tue, 9 May 2017 10:34:51 +0200 Subject: Replace deprecated Q_ENUMS macro with Q_ENUM Change-Id: I705129c56e968a72cf3d4de5b37b092cee93965c Reviewed-by: Mitch Curtis --- src/virtualkeyboard/enterkeyaction.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/virtualkeyboard/enterkeyaction.h') 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); }; -- cgit v1.2.3