summaryrefslogtreecommitdiffstats
path: root/kdecore/kapplication.h
diff options
context:
space:
mode:
Diffstat (limited to 'kdecore/kapplication.h')
-rw-r--r--kdecore/kapplication.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/kdecore/kapplication.h b/kdecore/kapplication.h
index 6cffb772f..ca81bfc51 100644
--- a/kdecore/kapplication.h
+++ b/kdecore/kapplication.h
@@ -603,6 +603,14 @@ public slots:
*/
void selectAll();
+ /**
+ * Broadcast a received keycode to all listening KDE applications
+ * The primary use for this feature is to connect hotkeys such as
+ * XF86Display to their respective KGlobalAccel functions while
+ * the screen is locked by kdesktop_lock.
+ */
+ void broadcastKeyCode(unsigned int keyCode);
+
public:
/**
* Returns the DCOP name of the service launcher. This will be something like
@@ -1382,6 +1390,12 @@ signals:
*/
void updateIconLoaders();
+ /**
+ * @internal
+ * Used to send KGlobalAccel objects a new keypress from physical hotkeys.
+ */
+ void coreFakeKeyPress(unsigned int keyCode);
+
private:
void propagateSettings(SettingsCategory category);
void kdisplaySetPalette();