summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/kopetetask.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-13 17:34:53 +0900
committerMichele Calgaro <[email protected]>2024-01-18 09:59:16 +0900
commit40393e30bb743346b6b40bf130da35419c12ebdc (patch)
tree9330d82486c7b3125b8275914565b324f9af523e /kopete/libkopete/kopetetask.cpp
parent05594058244ba6a1866d5758ae412fb5afd6d727 (diff)
downloadtdenetwork-40393e30bb743346b6b40bf130da35419c12ebdc.tar.gz
tdenetwork-40393e30bb743346b6b40bf130da35419c12ebdc.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 1329ec6abbcb7b79cd960e0ca138f16598d5f11f)
Diffstat (limited to 'kopete/libkopete/kopetetask.cpp')
-rw-r--r--kopete/libkopete/kopetetask.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kopete/libkopete/kopetetask.cpp b/kopete/libkopete/kopetetask.cpp
index 472fd1f1..73b75c08 100644
--- a/kopete/libkopete/kopetetask.cpp
+++ b/kopete/libkopete/kopetetask.cpp
@@ -72,18 +72,18 @@ void Task::abort( int flags )
void Task::addSubtask( Task *task )
{
d->subtasks.append( task );
- connect( task, TQT_SIGNAL( result( Kopete::Task* ) ),
- this, TQT_SLOT( slotResult( Kopete::Task* ) ) );
- connect( task, TQT_SIGNAL( statusMessage( Kopete::Task*, const TQString & ) ),
- this, TQT_SIGNAL( statusMessage( Kopete::Task*, const TQString & ) ) );
+ connect( task, TQ_SIGNAL( result( Kopete::Task* ) ),
+ this, TQ_SLOT( slotResult( Kopete::Task* ) ) );
+ connect( task, TQ_SIGNAL( statusMessage( Kopete::Task*, const TQString & ) ),
+ this, TQ_SIGNAL( statusMessage( Kopete::Task*, const TQString & ) ) );
}
void Task::removeSubtask( Task *task, RemoveSubtaskIfLast actionIfLast )
{
- disconnect( task, TQT_SIGNAL( result( Kopete::Task* ) ),
- this, TQT_SLOT( slotResult( Kopete::Task* ) ) );
- disconnect( task, TQT_SIGNAL( statusMessage( Kopete::Task*, const TQString & ) ),
- this, TQT_SIGNAL( statusMessage( Kopete::Task*, const TQString & ) ) );
+ disconnect( task, TQ_SIGNAL( result( Kopete::Task* ) ),
+ this, TQ_SLOT( slotResult( Kopete::Task* ) ) );
+ disconnect( task, TQ_SIGNAL( statusMessage( Kopete::Task*, const TQString & ) ),
+ this, TQ_SIGNAL( statusMessage( Kopete::Task*, const TQString & ) ) );
d->subtasks.remove( task );
if ( d->subtasks.isEmpty() && actionIfLast == IfLastEmitResult )
emitResult( task->succeeded() ? ResultSucceeded : ResultFailed, task->errorString() );