Notifies when another client has updated this config file with the Notify flag set.
More...
#include <KConfigWatcher>
|
void | configChanged (const KConfigGroup &group, const QByteArrayList &names) |
| Emitted when a config group has changed The config will be reloaded before this signal is emitted.
|
|
|
KSharedConfig::Ptr | config () const |
| Returns the config being watched.
|
|
|
static Ptr | create (const KSharedConfig::Ptr &config) |
| Instantiate a ConfigWatcher for a given config.
|
|
Notifies when another client has updated this config file with the Notify flag set.
- Since
- 5.51
◆ config()
KSharedConfig::Ptr KConfigWatcher::config |
( |
| ) |
const |
Returns the config being watched.
- Since
- 5.66
◆ configChanged
void KConfigWatcher::configChanged |
( |
const KConfigGroup & |
group, |
|
|
const QByteArrayList & |
names |
|
) |
| |
|
signal |
Emitted when a config group has changed The config will be reloaded before this signal is emitted.
- group the config group that has changed
- names a list of entries that have changed within that group (UTF-8 encoded)
◆ create()
static Ptr KConfigWatcher::create |
( |
const KSharedConfig::Ptr & |
config | ) |
|
|
static |
Instantiate a ConfigWatcher for a given config.
- Note
- any additional config sources should be set before this point.