From 5d2ed13479a480111355657bf22324118fa576e9 Mon Sep 17 00:00:00 2001 From: Kai Uwe Broulik Date: Wed, 24 Apr 2019 16:20:56 +0200 Subject: Add Notify capability to KConfigXT Lets you specify Notifiers= in .kcfg for config entries that should be written with Notify flag, i.e. announce the change to KConfigWatcher Differential Revision: https://phabricator.kde.org/D20196 --- src/core/kcoreconfigskeleton_p.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core/kcoreconfigskeleton_p.h') diff --git a/src/core/kcoreconfigskeleton_p.h b/src/core/kcoreconfigskeleton_p.h index 88a41d8d..41005c6f 100644 --- a/src/core/kcoreconfigskeleton_p.h +++ b/src/core/kcoreconfigskeleton_p.h @@ -52,8 +52,10 @@ class KConfigSkeletonItemPrivate public: KConfigSkeletonItemPrivate() : mIsImmutable(true) + , mWriteFlags(KConfigBase::Normal) {} bool mIsImmutable; ///< Indicates this item is immutable + KConfigBase::WriteConfigFlags mWriteFlags; ///< The flags to pass to calls of writeEntry() and revertToDefault() QString mLabel; ///< The label for this item QString mToolTip; ///< The ToolTip text for this item -- cgit v1.2.1