Make setCurrentDesktop(int) available via DCOP, to replace the "kwmcom desktopN"

functionality from kde1. Not a slot anymore (wasn't used as such).

svn path=/trunk/kdebase/kwin/; revision=85932
This commit is contained in:
David Faure 2001-03-08 14:28:07 +00:00
parent eae14cbb77
commit 77180181a1
2 changed files with 2 additions and 1 deletions

View file

@ -15,6 +15,7 @@ class KWinInterface : virtual public DCOPObject
virtual ASYNC killWindow() = 0;
virtual void doNotManage(QString)= 0;
virtual void showWindowMenuAt(unsigned long winId, int x, int y)= 0;
virtual void setCurrentDesktop(int)= 0;
};

View file

@ -189,13 +189,13 @@ public:
void unclutterDesktop();
void reconfigure();
void doNotManage(QString);
void setCurrentDesktop( int new_desktop );
QString desktopName( int desk );
bool isNotManaged( const QString& title );
public slots:
void setCurrentDesktop( int new_desktop );
// keybindings
void slotSwitchDesktop1();
void slotSwitchDesktop2();