diff options
Diffstat (limited to 'karm/taskview.cpp')
-rw-r--r-- | karm/taskview.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/karm/taskview.cpp b/karm/taskview.cpp index 6a8f6e051..95dfc8569 100644 --- a/karm/taskview.cpp +++ b/karm/taskview.cpp @@ -154,7 +154,7 @@ void TaskView::contentsMouseDoubleClickEvent ( TQMouseEvent * e ) if ( e->pos().y() >= task->itemPos() && // doubleclick was onto current_item() e->pos().y() < task->itemPos()+task->height() ) { - if ( activeTasks.tqfindRef(task) == -1 ) // task is active + if ( activeTasks.findRef(task) == -1 ) // task is active { stopAllTimers(); startCurrentTimer(); @@ -388,7 +388,7 @@ void TaskView::startTimerFor(Task* task, TQDateTime startTime ) kdDebug(5970) << "Entering TaskView::startTimerFor" << endl; if (save()==TQString()) { - if (task != 0 && activeTasks.tqfindRef(task) == -1) + if (task != 0 && activeTasks.findRef(task) == -1) { _idleTimeDetector->startIdleDetection(); if (!task->isComplete()) @@ -462,7 +462,7 @@ void TaskView::resetTimeForAllTasks() void TaskView::stopTimerFor(Task* task) { kdDebug(5970) << "Entering stopTimerFor. task = " << task->name() << endl; - if ( task != 0 && activeTasks.tqfindRef(task) != -1 ) { + if ( task != 0 && activeTasks.findRef(task) != -1 ) { activeTasks.removeRef(task); task->setRunning(false, _storage); if ( activeTasks.count() == 0 ) { |