aboutsummaryrefslogtreecommitdiff
path: root/src/core/kconfig_p.h
diff options
context:
space:
mode:
authorKai Uwe Broulik <kde@privat.broulik.de>2019-04-01 10:28:02 +0200
committerKai Uwe Broulik <kde@privat.broulik.de>2019-04-01 10:28:02 +0200
commitcad4889e490f4376849744ec6ab3c84c71807706 (patch)
tree71ef0ac3eda821e0fe24475ed99e9ccbe3d97b84 /src/core/kconfig_p.h
parent998982a47cbc4ab8779c85a28052fb96195fd2a1 (diff)
downloadkconfig-cad4889e490f4376849744ec6ab3c84c71807706.tar.gz
kconfig-cad4889e490f4376849744ec6ab3c84c71807706.tar.bz2
Add Notify capability to revertToDefault
This enables KConfigWatcher to detect those changes, too. Differential Revision: https://phabricator.kde.org/D20039
Diffstat (limited to 'src/core/kconfig_p.h')
-rw-r--r--src/core/kconfig_p.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/kconfig_p.h b/src/core/kconfig_p.h
index 7433ab2f..ac4cd631 100644
--- a/src/core/kconfig_p.h
+++ b/src/core/kconfig_p.h
@@ -50,7 +50,8 @@ public:
void putData(const QByteArray &group, const char *key, const QByteArray &value,
KConfigBase::WriteConfigFlags flags, bool expand = false);
- void revertEntry(const QByteArray &group, const char *key);
+ void revertEntry(const QByteArray &group, const char *key,
+ KConfigBase::WriteConfigFlags flags);
QStringList groupList(const QByteArray &group) const;
// copies the entries from @p source to @p otherGroup changing all occurrences
// of @p source with @p destination