'Logout' and 'Lock screen' keybindings don't really belong to kwin, they

belong to kdesktop.

svn path=/trunk/kdebase/kwin/; revision=99466
icc-effect-5.14.5
Luboš Luňák 2001-05-30 13:23:53 +00:00
parent 6536d083a0
commit 0603cb240d
3 changed files with 0 additions and 24 deletions

View File

@ -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");

View File

@ -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
*/

View File

@ -264,10 +264,6 @@ public slots:
void slotResetAllClientsDelayed();
void slotResetAllClients();
void slotLockScreen();
void slotLogout();
void slotKillWindow();
private slots: