aboutsummaryrefslogtreecommitdiff
path: root/src/core/kconfigbase.h
diff options
context:
space:
mode:
authorFriedrich W. H. Kossebau <kossebau@kde.org>2020-04-20 02:57:02 +0200
committerFriedrich W. H. Kossebau <kossebau@kde.org>2020-04-20 02:57:02 +0200
commitaa28a2433e55cc909c49ed4dbb7ce5c48baa1b24 (patch)
tree3022da5ab9299070da5c28bf810a1a73a16d25f9 /src/core/kconfigbase.h
parentbe28e096c5337b61a5e2f6e048ea297b2cc4b916 (diff)
downloadkconfig-aa28a2433e55cc909c49ed4dbb7ce5c48baa1b24.tar.gz
kconfig-aa28a2433e55cc909c49ed4dbb7ce5c48baa1b24.tar.bz2
API dox: document Q_DECLARE_FLAGS-based flags
Summary: KApiDox & ECMAddQch have been just teached about Q_DECLARE_FLAGS, so the underlying typedefs are no longer skipped by doxygen, but can be documented now, allowing links to be generated for these types e.g. when used as arguments. The "#" prefix to the enum name in the description text of all the Q_DECLARE_FLAGS docs seems needed to properly trigger doxygen autolinks. GIT_SILENT
Diffstat (limited to 'src/core/kconfigbase.h')
-rw-r--r--src/core/kconfigbase.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/kconfigbase.h b/src/core/kconfigbase.h
index 927eb78a..12a8e875 100644
--- a/src/core/kconfigbase.h
+++ b/src/core/kconfigbase.h
@@ -32,6 +32,7 @@ class KCONFIGCORE_EXPORT KConfigBase
public:
/**
* Flags to control write entry
+ * @see WriteConfigFlags
*/
enum WriteConfigFlag {
Persistent = 0x01,
@@ -60,6 +61,9 @@ public:
*/
};
+ /**
+ * Stores a combination of #WriteConfigFlag values.
+ */
Q_DECLARE_FLAGS(WriteConfigFlags, WriteConfigFlag)
/**