'Logout' and 'Lock screen' keybindings don't really belong to kwin, they
belong to kdesktop. svn path=/trunk/kdebase/kwin/; revision=99466
This commit is contained in:
parent
6536d083a0
commit
0603cb240d
3 changed files with 0 additions and 24 deletions
|
@ -43,9 +43,5 @@
|
|||
|
||||
keys->insertItem(i18n("Mouse emulation"),"Mouse emulation", "ALT+F12");
|
||||
|
||||
keys->insertItem(i18n("Lock screen"),"Lock screen", "CTRL+ALT+L");
|
||||
|
||||
keys->insertItem(i18n("Logout"),"Logout", "CTRL+ALT+Delete");
|
||||
|
||||
keys->insertItem(i18n("Kill Window"),"Kill Window", "CTRL+ALT+Escape");
|
||||
|
||||
|
|
|
@ -2425,10 +2425,6 @@ void Workspace::createKeybindings(){
|
|||
|
||||
keys->connectItem( "Mouse emulation", this, SLOT( slotMouseEmulation() ) );
|
||||
|
||||
keys->connectItem( "Lock screen", this, SLOT( slotLockScreen() ) );
|
||||
|
||||
keys->connectItem( "Logout", this, SLOT( slotLogout() ) );
|
||||
|
||||
keys->connectItem( "Kill Window", this, SLOT( slotKillWindow() ) );
|
||||
keys->readSettings();
|
||||
walkThroughDesktopsKeycode = keys->currentKey( "Walk through desktops" );
|
||||
|
@ -2645,18 +2641,6 @@ void Workspace::slotMouseEmulation()
|
|||
}
|
||||
}
|
||||
|
||||
void Workspace::slotLockScreen()
|
||||
{
|
||||
DCOPClient *client = kapp->dcopClient();
|
||||
client->send("kdesktop", "KScreensaverIface", "lock()", "");
|
||||
}
|
||||
|
||||
void Workspace::slotLogout()
|
||||
{
|
||||
kapp->requestShutDown();
|
||||
}
|
||||
|
||||
|
||||
/*!
|
||||
Kill Window feature, similar to xkill
|
||||
*/
|
||||
|
|
|
@ -264,10 +264,6 @@ public slots:
|
|||
void slotResetAllClientsDelayed();
|
||||
void slotResetAllClients();
|
||||
|
||||
void slotLockScreen();
|
||||
|
||||
void slotLogout();
|
||||
|
||||
void slotKillWindow();
|
||||
|
||||
private slots:
|
||||
|
|
Loading…
Reference in a new issue