diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-04-19 02:37:55 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-04-19 02:37:55 +0000 |
commit | 9f2307382d4acc636b621570ed7770dcab0d652a (patch) | |
tree | 0fa904481c8f137230fef32a6eb27320e0a0bfae /kdecore/kapplication.h | |
parent | 13da15f83844afa55de41ab2940541f5ae586187 (diff) | |
download | tdelibs-9f2307382d4acc636b621570ed7770dcab0d652a.tar.gz tdelibs-9f2307382d4acc636b621570ed7770dcab0d652a.zip |
Part II of the previous kdebase commit, adding the global hotkeys<-->DBUS connection.
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1116280 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/kapplication.h')
-rw-r--r-- | kdecore/kapplication.h | 14 |
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(); |