aboutsummaryrefslogtreecommitdiff
path: root/src/core/kconfiggroup.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/kconfiggroup.h')
-rw-r--r--src/core/kconfiggroup.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/core/kconfiggroup.h b/src/core/kconfiggroup.h
index 0f04b1f7..54946b86 100644
--- a/src/core/kconfiggroup.h
+++ b/src/core/kconfiggroup.h
@@ -141,23 +141,26 @@ public:
*/
const KConfig *config() const;
+#if KCONFIGCORE_ENABLE_DEPRECATED_SINCE(5, 0)
/**
* Changes the group of the object
*
- * @deprecated
+ * @deprecated Since 5.0
* Create another KConfigGroup from the parent of this group instead.
*/
-#ifndef KDE_NO_DEPRECATED
- KCONFIGCORE_DEPRECATED void changeGroup(const QString &group);
+ KCONFIGCORE_DEPRECATED_VERSION(5, 0, "Create another KConfigGroup from the parent of this group")
+ void changeGroup(const QString &group);
#endif
+
+#if KCONFIGCORE_ENABLE_DEPRECATED_SINCE(5, 0)
/**
* Overload for changeGroup(const QString&)
*
- * @deprecated
+ * @deprecated Since 5.0.
* Create another KConfigGroup from the parent of this group instead.
*/
-#ifndef KDE_NO_DEPRECATED
- KCONFIGCORE_DEPRECATED void changeGroup(const char *group);
+ KCONFIGCORE_DEPRECATED_VERSION(5, 0, "Create another KConfigGroup from the parent of this group")
+ void changeGroup(const char *group);
#endif
/**