KConfig
kconfigpropertymap.cpp
47 // Reload the config only if the change signal has *not* been emitted by ourselves updating the config
53 connect(this, &KConfigPropertyMap::valueChanged, this, [this](const QString &key, const QVariant &value) {
Definition: kconfigpropertymap.h:28
void valueChanged(const QString &key, const QVariant &value)
T value() const const
@ Normal
Save the entry to the application specific config file without a locale tag.
Definition: kconfigbase.h:57
void configChanged()
This signal is emitted when the configuration change.
Class for handling preferences settings for an application.
Definition: kcoreconfigskeleton.h:548
Q_INVOKABLE bool isImmutable(const QString &key) const
Whether the value at the given key is immutable.
Definition: kconfigpropertymap.cpp:86
@ Notify
Notify remote KConfigWatchers of changes (requires DBus support) Implied persistent.
Definition: kconfigbase.h:51
bool isNotify() const
Whether notifications on config changes are enabled.
Definition: kconfigpropertymap.cpp:62
void setWriteFlags(KConfigBase::WriteConfigFlags flags)
The write flags to be used when writing configuration.
Definition: kcoreconfigskeleton.cpp:131
int userType() const const
KSharedConfigPtr config()
void setNotify(bool notify)
Enable or disable notifications on config changes.
Definition: kconfigpropertymap.cpp:67
QFuture< void > map(Sequence &sequence, MapFunctor function)
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Tue Jun 28 2022 04:08:29 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Tue Jun 28 2022 04:08:29 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.