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 --- src/core/kconfigbackend.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/kconfigbackend.h') diff --git a/src/core/kconfigbackend.h b/src/core/kconfigbackend.h index 631769be..1fdc0aa7 100644 --- a/src/core/kconfigbackend.h +++ b/src/core/kconfigbackend.h @@ -48,8 +48,6 @@ class QDateTime; class KCONFIGCORE_EXPORT KConfigBackend : public QObject, public QSharedData { Q_OBJECT - Q_FLAGS(ParseOption) - Q_FLAGS(WriteOption) public: /** @@ -86,6 +84,7 @@ public: ParseDefaults = 2, /// entries should be marked as @em default ParseExpansions = 4 /// entries are allowed to be marked as @em expandable }; + Q_FLAG(ParseOption) /// @typedef typedef QFlags ParseOptions Q_DECLARE_FLAGS(ParseOptions, ParseOption) @@ -93,6 +92,7 @@ public: enum WriteOption { WriteGlobal = 1 /// only write entries marked as "global" }; + Q_FLAG(WriteOption) /// @typedef typedef QFlags WriteOptions Q_DECLARE_FLAGS(WriteOptions, WriteOption) -- cgit v1.2.1