aboutsummaryrefslogtreecommitdiff
path: root/autotests/kconfigtest.h
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2017-01-02 15:52:51 +0100
committerAlbert Astals Cid <aacid@kde.org>2017-01-02 15:52:51 +0100
commit383bb299f4694d2609036b8061316ae4b80e3f75 (patch)
treedb13d0d47d893f68c3bccdcfa66dacebb60cab2e /autotests/kconfigtest.h
parent9d5b64f16243d14e27402be23224f08cd8420bbe (diff)
downloadkconfig-383bb299f4694d2609036b8061316ae4b80e3f75.tar.gz
kconfig-383bb299f4694d2609036b8061316ae4b80e3f75.tar.bz2
Q_ENUMS -> Q_ENUM and Q_FLAGS -> Q_FLAG
REVIEW: 129745
Diffstat (limited to 'autotests/kconfigtest.h')
-rw-r--r--autotests/kconfigtest.h4
1 files changed, 2 insertions, 2 deletions
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();