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) |
Since: | 5.51 |
Inherits: | QObject |
Public Types
Public Functions
(since 5.66) int | config() const |
Static Public Members
KConfigWatcher::Ptr | create(const int &config) |
Detailed Description
Member Type Documentation
KConfigWatcher::Ptr
Member Function Documentation
[since 5.66]
int KConfigWatcher::config() const
Returns the config being watched
This function was introduced in 5.66.
[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.