diff options
Diffstat (limited to 'autotests/kconfigtest.h')
-rw-r--r-- | autotests/kconfigtest.h | 4 |
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(); |