summaryrefslogtreecommitdiffstats
path: root/karm/taskview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'karm/taskview.cpp')
-rw-r--r--karm/taskview.cpp52
1 files changed, 26 insertions, 26 deletions
diff --git a/karm/taskview.cpp b/karm/taskview.cpp
index d1b80bf86..ad0877f13 100644
--- a/karm/taskview.cpp
+++ b/karm/taskview.cpp
@@ -42,10 +42,10 @@ TaskView::TaskView(TQWidget *parent, const char *name, const TQString &icsfile )
_preferences = Preferences::instance( icsfile );
_storage = KarmStorage::instance();
- connect( this, TQT_SIGNAL( expanded( TQListViewItem * ) ),
- this, TQT_SLOT( itemStateChanged( TQListViewItem * ) ) );
- connect( this, TQT_SIGNAL( collapsed( TQListViewItem * ) ),
- this, TQT_SLOT( itemStateChanged( TQListViewItem * ) ) );
+ connect( this, TQ_SIGNAL( expanded( TQListViewItem * ) ),
+ this, TQ_SLOT( itemStateChanged( TQListViewItem * ) ) );
+ connect( this, TQ_SIGNAL( collapsed( TQListViewItem * ) ),
+ this, TQ_SLOT( itemStateChanged( TQListViewItem * ) ) );
// setup default values
previousColumnWidths[0] = previousColumnWidths[1]
@@ -65,49 +65,49 @@ TaskView::TaskView(TQWidget *parent, const char *name, const TQString &icsfile )
// set up the minuteTimer
_minuteTimer = new TQTimer(this);
- connect( _minuteTimer, TQT_SIGNAL( timeout() ), this, TQT_SLOT( minuteUpdate() ));
+ connect( _minuteTimer, TQ_SIGNAL( timeout() ), this, TQ_SLOT( minuteUpdate() ));
_minuteTimer->start(1000 * secsPerMinute);
// React when user changes iCalFile
- connect(_preferences, TQT_SIGNAL(iCalFile(TQString)),
- this, TQT_SLOT(iCalFileChanged(TQString)));
+ connect(_preferences, TQ_SIGNAL(iCalFile(TQString)),
+ this, TQ_SLOT(iCalFileChanged(TQString)));
// resize columns when config is changed
- connect(_preferences, TQT_SIGNAL( setupChanged() ), this,TQT_SLOT( adaptColumns() ));
+ connect(_preferences, TQ_SIGNAL( setupChanged() ), this,TQ_SLOT( adaptColumns() ));
_minuteTimer->start(1000 * secsPerMinute);
// Set up the idle detection.
_idleTimeDetector = new IdleTimeDetector( _preferences->idlenessTimeout() );
- connect( _idleTimeDetector, TQT_SIGNAL( extractTime(int) ),
- this, TQT_SLOT( extractTime(int) ));
- connect( _idleTimeDetector, TQT_SIGNAL( stopAllTimersAt(TQDateTime) ),
- this, TQT_SLOT( stopAllTimersAt(TQDateTime) ));
- connect( _preferences, TQT_SIGNAL( idlenessTimeout(int) ),
- _idleTimeDetector, TQT_SLOT( setMaxIdle(int) ));
- connect( _preferences, TQT_SIGNAL( detectIdleness(bool) ),
- _idleTimeDetector, TQT_SLOT( toggleOverAllIdleDetection(bool) ));
+ connect( _idleTimeDetector, TQ_SIGNAL( extractTime(int) ),
+ this, TQ_SLOT( extractTime(int) ));
+ connect( _idleTimeDetector, TQ_SIGNAL( stopAllTimersAt(TQDateTime) ),
+ this, TQ_SLOT( stopAllTimersAt(TQDateTime) ));
+ connect( _preferences, TQ_SIGNAL( idlenessTimeout(int) ),
+ _idleTimeDetector, TQ_SLOT( setMaxIdle(int) ));
+ connect( _preferences, TQ_SIGNAL( detectIdleness(bool) ),
+ _idleTimeDetector, TQ_SLOT( toggleOverAllIdleDetection(bool) ));
if (!_idleTimeDetector->isIdleDetectionPossible())
_preferences->disableIdleDetection();
// Setup auto save timer
_autoSaveTimer = new TQTimer(this);
- connect( _preferences, TQT_SIGNAL( autoSave(bool) ),
- this, TQT_SLOT( autoSaveChanged(bool) ));
- connect( _preferences, TQT_SIGNAL( autoSavePeriod(int) ),
- this, TQT_SLOT( autoSavePeriodChanged(int) ));
- connect( _autoSaveTimer, TQT_SIGNAL( timeout() ), this, TQT_SLOT( save() ));
+ connect( _preferences, TQ_SIGNAL( autoSave(bool) ),
+ this, TQ_SLOT( autoSaveChanged(bool) ));
+ connect( _preferences, TQ_SIGNAL( autoSavePeriod(int) ),
+ this, TQ_SLOT( autoSavePeriodChanged(int) ));
+ connect( _autoSaveTimer, TQ_SIGNAL( timeout() ), this, TQ_SLOT( save() ));
// Setup manual save timer (to save changes a little while after they happen)
_manualSaveTimer = new TQTimer(this);
- connect( _manualSaveTimer, TQT_SIGNAL( timeout() ), this, TQT_SLOT( save() ));
+ connect( _manualSaveTimer, TQ_SIGNAL( timeout() ), this, TQ_SLOT( save() ));
// Connect desktop tracker events to task starting/stopping
_desktopTracker = new DesktopTracker();
- connect( _desktopTracker, TQT_SIGNAL( reachedtActiveDesktop( Task* ) ),
- this, TQT_SLOT( startTimerFor(Task*) ));
- connect( _desktopTracker, TQT_SIGNAL( leftActiveDesktop( Task* ) ),
- this, TQT_SLOT( stopTimerFor(Task*) ));
+ connect( _desktopTracker, TQ_SIGNAL( reachedtActiveDesktop( Task* ) ),
+ this, TQ_SLOT( startTimerFor(Task*) ));
+ connect( _desktopTracker, TQ_SIGNAL( leftActiveDesktop( Task* ) ),
+ this, TQ_SLOT( stopTimerFor(Task*) ));
new TaskViewWhatsThis( this );
}