kwin/KWinInterface.h
Malte Starostik f8c8380275 Expose int currentDesktop() const via DCOP
and added void nextDesktop() and void previousDesktop(), also available
via DCOP.
This makes it possible to use KGesture to cycle through desktops :)

svn path=/trunk/kdebase/kwin/; revision=101071
2001-06-09 05:00:46 +00:00

25 lines
602 B
C++

#ifndef KWIN_INTERFACE_H
#define KWIN_INTERFACE_H
#include <dcopobject.h>
class KWinInterface : virtual public DCOPObject
{
K_DCOP
k_dcop:
virtual ASYNC cascadeDesktop() = 0;
virtual ASYNC unclutterDesktop() = 0;
virtual ASYNC reconfigure() = 0;
virtual ASYNC killWindow() = 0;
virtual void refresh() = 0;
virtual void doNotManage(QString)= 0;
virtual void showWindowMenuAt(unsigned long winId, int x, int y)= 0;
virtual void setCurrentDesktop(int)= 0;
virtual int currentDesktop() const = 0;
virtual void nextDesktop() = 0;
virtual void previousDesktop() = 0;
};
#endif