summaryrefslogtreecommitdiffstats
path: root/karm/desktoptracker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'karm/desktoptracker.cpp')
-rw-r--r--karm/desktoptracker.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/karm/desktoptracker.cpp b/karm/desktoptracker.cpp
index 52eb67210..deab87548 100644
--- a/karm/desktoptracker.cpp
+++ b/karm/desktoptracker.cpp
@@ -1,6 +1,6 @@
#include <algorithm> // std::find
-#include <qtimer.h>
+#include <tqtimer.h>
#include <kdebug.h>
#include "desktoptracker.h"
@@ -11,8 +11,8 @@ const int minimumInterval = 5; // seconds
DesktopTracker::DesktopTracker ()
{
// Setup desktop change handling
- connect( &kWinModule, SIGNAL( currentDesktopChanged(int) ),
- this, SLOT( handleDesktopChange(int) ));
+ connect( &kWinModule, TQT_SIGNAL( currentDesktopChanged(int) ),
+ this, TQT_SLOT( handleDesktopChange(int) ));
_desktopCount = kWinModule.numberOfDesktops();
_previousDesktop = kWinModule.currentDesktop()-1;
@@ -20,8 +20,8 @@ DesktopTracker::DesktopTracker ()
// currentDesktop will return 0 if no window manager is started
if( _previousDesktop < 0 ) _previousDesktop = 0;
- _timer = new QTimer(this);
- connect( _timer, SIGNAL( timeout() ), this, SLOT( changeTimers() ) );
+ _timer = new TQTimer(this);
+ connect( _timer, TQT_SIGNAL( timeout() ), this, TQT_SLOT( changeTimers() ) );
}
void DesktopTracker::handleDesktopChange( int desktop )
@@ -57,9 +57,9 @@ void DesktopTracker::changeTimers()
// emit updateButtons();
}
-QString DesktopTracker::startTracking()
+TQString DesktopTracker::startTracking()
{
- QString err;
+ TQString err;
int currentDesktop = kWinModule.currentDesktop() -1;
// TODO: removed? fixed by Lubos?
// currentDesktop will return 0 if no window manager is started