From eb1c3eedba99bb194d6aec4659fb5ff92348455c Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Sun, 9 Jun 2024 22:22:02 +0300 Subject: Add support for assigning global shortcuts for suspend actions The corresponding shortcuts have been added as part of the KDesktop shortucts, to complement similar options (logout, shutdown, reboot). The shortcuts are only shown for the options that KSMServer reports via DCOP as valid. In order to do be able to make a DCOP call from kdesktopbindings.cpp, the include had to be added to several files of the shortcuts TDECM. Signed-off-by: Mavridis Philippe (cherry picked from commit 95837cc844210a35b3374bbe707cb82920b80a9b) --- kcontrol/keys/shortcuts.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'kcontrol/keys/shortcuts.cpp') diff --git a/kcontrol/keys/shortcuts.cpp b/kcontrol/keys/shortcuts.cpp index 18f6803ab..4fb58a9b5 100644 --- a/kcontrol/keys/shortcuts.cpp +++ b/kcontrol/keys/shortcuts.cpp @@ -41,6 +41,7 @@ #include #include #include +#include ShortcutsModule::ShortcutsModule( TQWidget *parent, const char *name ) : TQWidget( parent, name ) -- cgit v1.2.3