From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- karm/desktoptracker.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'karm/desktoptracker.cpp') diff --git a/karm/desktoptracker.cpp b/karm/desktoptracker.cpp index 52eb6721..deab8754 100644 --- a/karm/desktoptracker.cpp +++ b/karm/desktoptracker.cpp @@ -1,6 +1,6 @@ #include // std::find -#include +#include #include #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 -- cgit v1.2.3