1 #ifndef KARM_DESKTOP_TRACKER_H
2 #define KARM_DESKTOP_TRACKER_H
6 #include <twinmodule.h>
8 #include "desktoplist.h"
13 typedef std::vector<Task *> TaskVector;
14 const int maxDesktops = 20;
29 TQString startTracking();
30 void registerForDesktops( Task* task, DesktopList dl );
31 int desktopCount() const { return _desktopCount; };
34 KWinModule kWinModule;
39 TaskVector desktopTracker[maxDesktops];
46 void reachedtActiveDesktop( Task* task );
47 void leftActiveDesktop( Task* task );
50 void handleDesktopChange( int desktop );
A utility to associate tasks with desktops As soon as a desktop is activated/left - an signal is emit...
A class representing a task.
|