9 #include <QtCore/QObject>
10 #include <QtCore/QDateTime>
11 #include <QtCore/QRect>
13 class KWinGrid : public QObject
18 KWinGrid(int hgap__, int vgap__, int hsplit__, int vsplit__, int split__=0,
19 int ignorestruts__=-1,
20 int reserveNorth__=0, int reserveSouth__=0, int reserveWest__=0, int reserveEast__=0,
21 int southstrut__=0, int strutscreen__=-2);
23 virtual void move(int __xslot, int __yslot);
24 virtual void resize(int __xsize, int __ysize);
25 virtual void moveResize(int __xslot, int __yslot,
26 int __xsize, int __ysize);
27 virtual void moveRelative(int __xdiff, int __ydiff);
28 virtual void resizeRelative(int __xdiff, int __ydiff);
29 virtual void toScreen(int screen);
30 virtual void toDesk(int __desk);
34 virtual int activeWindow();
99 void activeWindowChanged(WId id);
102 void initGeometry(int __forceScreens=-1);
103 void updateGeometry(QRect& __new);
104 void applyGeometry();
105 QRect doMoveResize(int __xslot, int __yslot,
106 int __xsize, int __ysize);
107 void moveSlot(int nx, int ny, int posx, int posy);
108 void resizeSlot(int nx, int ny, int szx, int szy);
110 void updateTimestamp(void);
139 QDateTime timestamp_;