KConfigWatcher Class

Notifies when another client has updated this config file with the Notify flag set. More...

Header: #include <KConfigWatcher>
CMake: find_package(KF6 REQUIRED COMPONENTS Config)
target_link_libraries(mytarget PRIVATE KF6::ConfigCore)
Inherits: QObject

Public Types

Ptr

Public Functions

int config() const

Static Public Members

KConfigWatcher::Ptr create(const int &config)

Detailed Description

Member Type Documentation

KConfigWatcher::Ptr

Member Function Documentation

int KConfigWatcher::config() const

Returns the config being watched

[static] KConfigWatcher::Ptr KConfigWatcher::create(const int &config)

Instantiate a ConfigWatcher for a given config

Note: any additional config sources should be set before this point.