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.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/kconfiggroup.h b/src/core/kconfiggroup.h
index 2584cb85..8a6243af 100644
--- a/src/core/kconfiggroup.h
+++ b/src/core/kconfiggroup.h
@@ -195,6 +195,14 @@ public:
void reparent(KConfigBase *parent, WriteConfigFlags pFlags = Normal);
/**
+ * Moves the key-value pairs from one config group to the other.
+ * In case the entries do not exist the key is ignored.
+ *
+ * @since 5.88
+ */
+ void moveValuesTo(const QList<const char *> &keys, KConfigGroup &other, WriteConfigFlags pFlags = Normal);
+
+ /**
* Returns the group that this group belongs to
*
* @return the parent group, or an invalid group if this is a top-level