diff options
author | Albert Astals Cid <aacid@kde.org> | 2017-01-02 15:52:51 +0100 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2017-01-02 15:52:51 +0100 |
commit | 383bb299f4694d2609036b8061316ae4b80e3f75 (patch) | |
tree | db13d0d47d893f68c3bccdcfa66dacebb60cab2e /src/core/kconfiggroup.h | |
parent | 9d5b64f16243d14e27402be23224f08cd8420bbe (diff) | |
download | kconfig-383bb299f4694d2609036b8061316ae4b80e3f75.tar.gz kconfig-383bb299f4694d2609036b8061316ae4b80e3f75.tar.bz2 |
Q_ENUMS -> Q_ENUM and Q_FLAGS -> Q_FLAG
REVIEW: 129745
Diffstat (limited to 'src/core/kconfiggroup.h')
-rw-r--r-- | src/core/kconfiggroup.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/kconfiggroup.h b/src/core/kconfiggroup.h index 3e0052ad..57dd5ad9 100644 --- a/src/core/kconfiggroup.h +++ b/src/core/kconfiggroup.h @@ -650,10 +650,10 @@ private: #define KCONFIGGROUP_ENUMERATOR_ERROR(ENUM) \ "The Qt MetaObject system does not seem to know about \"" ENUM \ - "\" please use Q_ENUMS or Q_FLAGS to register it." + "\" please use Q_ENUM or Q_FLAG to register it." /** - * To add support for your own enums in KConfig, you can declare them with Q_ENUMS() + * To add support for your own enums in KConfig, you can declare them with Q_ENUM() * in a QObject subclass (which will make moc generate the code to turn the * enum into a string and vice-versa), and then (in the cpp code) * use the macro @@ -686,7 +686,7 @@ private: { group.writeEntry(key, value, flags); } /** - * Similar to KCONFIGGROUP_DECLARE_ENUM_QOBJECT but for flags declared with Q_FLAGS() + * Similar to KCONFIGGROUP_DECLARE_ENUM_QOBJECT but for flags declared with Q_FLAG() * (where multiple values can be set at the same time) */ #define KCONFIGGROUP_DECLARE_FLAGS_QOBJECT(Class, Flags) \ |