From 22bb398b3ba83142bf49f6abf47081e5e9e11bef Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Thu, 1 Jun 2023 12:53:38 +0300 Subject: kxkb: re-add custom TDE switching shortcut This commit fixes issue #342. Signed-off-by: Mavridis Philippe --- kcontrol/keys/keyconfig.cpp | 2 ++ kcontrol/keys/main.cpp | 1 + kcontrol/keys/shortcuts.cpp | 1 + 3 files changed, 4 insertions(+) (limited to 'kcontrol/keys') diff --git a/kcontrol/keys/keyconfig.cpp b/kcontrol/keys/keyconfig.cpp index 4ba5951dd..ee39447a1 100644 --- a/kcontrol/keys/keyconfig.cpp +++ b/kcontrol/keys/keyconfig.cpp @@ -66,6 +66,7 @@ void KKeyModule::init( bool isGlobal, bool _bSeriesOnly, bool bSeriesNone ) #include "../../kicker/taskbar/taskbarbindings.cpp" #include "../../kdesktop/kdesktopbindings.cpp" #include "../../klipper/klipperbindings.cpp" +#include "../../kxkb/kxkbbindings.cpp" #undef TDEShortcuts KeyScheme = "Global Key Scheme"; KeySet = "Global Keys"; @@ -488,6 +489,7 @@ void KKeyModule::init() #include "../../kicker/kicker/core/kickerbindings.cpp" #include "../../kicker/taskbar/taskbarbindings.cpp" #include "../../kdesktop/kdesktopbindings.cpp" +#include "../../kxkb/kxkbbindings.cpp" #undef TDEShortcuts kdDebug(125) << "KKeyModule::init() - Read Config Bindings\n"; diff --git a/kcontrol/keys/main.cpp b/kcontrol/keys/main.cpp index 53daa462e..d002b667f 100644 --- a/kcontrol/keys/main.cpp +++ b/kcontrol/keys/main.cpp @@ -190,6 +190,7 @@ extern "C" #include "../../kicker/kicker/core/kickerbindings.cpp" #include "../../kicker/taskbar/taskbarbindings.cpp" #include "../../kdesktop/kdesktopbindings.cpp" +#include "../../kxkb/kxkbbindings.cpp" // Write all the global keys to kdeglobals. // This is needed to be able to check for conflicts with global keys in app's keyconfig diff --git a/kcontrol/keys/shortcuts.cpp b/kcontrol/keys/shortcuts.cpp index e350b1e22..e7f599dda 100644 --- a/kcontrol/keys/shortcuts.cpp +++ b/kcontrol/keys/shortcuts.cpp @@ -116,6 +116,7 @@ void ShortcutsModule::initGUI() #include "../../kicker/taskbar/taskbarbindings.cpp" #include "../../kdesktop/kdesktopbindings.cpp" #include "../../klipper/klipperbindings.cpp" +#include "../../kxkb/kxkbbindings.cpp" kdDebug(125) << "B-----------" << endl; m_actionsSequence.init( m_actionsGeneral ); -- cgit v1.2.1