diff options
author | David Redondo <kde@david-redondo.de> | 2022-01-13 10:04:13 +0100 |
---|---|---|
committer | David Redondo <kde@david-redondo.de> | 2022-01-24 13:23:55 +0000 |
commit | 820dc0a553e50cc4560733d43fca2674a61d43b3 (patch) | |
tree | 6a89465d257b5b238b6bcd6a7f2f339ac167b9b6 /src/gui/CMakeLists.txt | |
parent | 41d37407e80f5ccd110cf303c20a181f95fa7e73 (diff) | |
download | kconfig-820dc0a553e50cc4560733d43fca2674a61d43b3.tar.gz kconfig-820dc0a553e50cc4560733d43fca2674a61d43b3.tar.bz2 |
Introduce StandardShortcutWatcher to watch for runtime changes
Currently an application needs to be restarted before it can see
any changes made to the standard shortcut configuration. To notify
about changes a new class is introduced that looks for those
changes using KConfigWatcher and also updates the global map.
CCBUG:426656
Diffstat (limited to 'src/gui/CMakeLists.txt')
-rw-r--r-- | src/gui/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt index 2136ec9f..403b0367 100644 --- a/src/gui/CMakeLists.txt +++ b/src/gui/CMakeLists.txt @@ -9,6 +9,7 @@ target_sources(KF5ConfigGui PRIVATE kconfigloader.cpp kconfigskeleton.cpp kstandardshortcut.cpp + kstandardshortcutwatcher.cpp kwindowconfig.cpp ) @@ -37,6 +38,7 @@ ecm_generate_headers(KConfigGui_HEADERS KConfigLoader KConfigSkeleton KStandardShortcut + KStandardShortcutWatcher KWindowConfig REQUIRED_HEADERS KConfigGui_HEADERS @@ -60,6 +62,7 @@ if (PythonModuleGeneration_FOUND) kconfigloader.h kconfigskeleton.h kstandardshortcut.h + kstandardshortcutwatcher.h kwindowconfig.h ) endif() |