summaryrefslogtreecommitdiffstats
path: root/karm/desktoptracker.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /karm/desktoptracker.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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