From 383bb299f4694d2609036b8061316ae4b80e3f75 Mon Sep 17 00:00:00 2001 From: Albert Astals Cid Date: Mon, 2 Jan 2017 15:52:51 +0100 Subject: Q_ENUMS -> Q_ENUM and Q_FLAGS -> Q_FLAG REVIEW: 129745 --- autotests/kconfigtest.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'autotests') diff --git a/autotests/kconfigtest.h b/autotests/kconfigtest.h index 0a3de477..8cd5cdb2 100644 --- a/autotests/kconfigtest.h +++ b/autotests/kconfigtest.h @@ -24,13 +24,13 @@ class KConfigTest : public QObject { Q_OBJECT - Q_ENUMS(Testing) - Q_FLAGS(Flags) public: enum Testing { Ones = 1, Tens = 10, Hundreds = 100}; + Q_ENUM(Testing) enum bits { bit0 = 1, bit1 = 2, bit2 = 4, bit3 = 8 }; Q_DECLARE_FLAGS(Flags, bits) + Q_FLAG(Flags) private Q_SLOTS: void initTestCase(); -- cgit v1.2.1