From b0f8eef013163b2098c2bb07e93cb9b194338b80 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 14 Jan 2024 12:33:20 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro (cherry picked from commit 3b3f9ec8f31978030c17309fae48335bea5c1587) --- karm/task.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'karm/task.cpp') diff --git a/karm/task.cpp b/karm/task.cpp index 5b05407d..88c0e099 100644 --- a/karm/task.cpp +++ b/karm/task.cpp @@ -54,11 +54,11 @@ void Task::init( const TQString& taskName, long minutes, long sessionTime, // If our parent is the taskview then connect our totalTimesChanged // signal to its receiver if ( ! parent() ) - connect( this, TQT_SIGNAL( totalTimesChanged ( long, long ) ), - listView(), TQT_SLOT( taskTotalTimesChanged( long, long) )); + connect( this, TQ_SIGNAL( totalTimesChanged ( long, long ) ), + listView(), TQ_SLOT( taskTotalTimesChanged( long, long) )); - connect( this, TQT_SIGNAL( deletingTask( Task* ) ), - listView(), TQT_SLOT( deletingTask( Task* ) )); + connect( this, TQ_SIGNAL( deletingTask( Task* ) ), + listView(), TQ_SLOT( deletingTask( Task* ) )); if (icons == 0) { icons = new TQPtrVector(8); @@ -80,7 +80,7 @@ void Task::init( const TQString& taskName, long minutes, long sessionTime, _totalSessionTime = _sessionTime = sessionTime; _timer = new TQTimer(this); _desktops = desktops; - connect(_timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(updateActiveIcon())); + connect(_timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(updateActiveIcon())); setPixmap(1, UserIcon(TQString::fromLatin1("empty-watch.xpm"))); _currentPic = 0; _percentcomplete = percent_complete; -- cgit v1.2.3