summaryrefslogtreecommitdiffstats
path: root/src/processcontroller.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-01 00:37:42 +0900
committerMichele Calgaro <[email protected]>2024-01-01 00:37:42 +0900
commit79abb65d9f117f795af1cd9371618e5065153fd2 (patch)
tree61c47c7225152089abc7f1614b49bc52e0cdaf53 /src/processcontroller.cpp
parentc6c8865f961c6df0b992ba63f66cfd6dc0be3e31 (diff)
downloadkstreamripper-79abb65d9f117f795af1cd9371618e5065153fd2.tar.gz
kstreamripper-79abb65d9f117f795af1cd9371618e5065153fd2.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/processcontroller.cpp')
-rw-r--r--src/processcontroller.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/processcontroller.cpp b/src/processcontroller.cpp
index da5e15c..4e470d0 100644
--- a/src/processcontroller.cpp
+++ b/src/processcontroller.cpp
@@ -26,9 +26,9 @@ ProcessController::ProcessController(ProcessListViewItem * parent)
: TQObject(parent), myParent(parent), myStatus(false), myAutomatic(false), myUnicodeEnabled(false),
myProcess(new TQProcess(this))
{
- connect (myProcess, TQT_SIGNAL( readyReadStdout() ), (ProcessController *) this, TQT_SLOT( readStdout()) );
- connect (myProcess, TQT_SIGNAL(processExited() ), (ProcessController *) this, TQT_SLOT( processExited()) );
- // connect (myProcess, TQT_SIGNAL( destroyed() ), myProcess, TQT_SLOT( kill()) );
+ connect (myProcess, TQ_SIGNAL( readyReadStdout() ), (ProcessController *) this, TQ_SLOT( readStdout()) );
+ connect (myProcess, TQ_SIGNAL(processExited() ), (ProcessController *) this, TQ_SLOT( processExited()) );
+ // connect (myProcess, TQ_SIGNAL( destroyed() ), myProcess, TQ_SLOT( kill()) );
// this should work, according to http://doc.trolltech.com/3.2/qobject.html#~TQObject but it doesn't
}
@@ -74,7 +74,7 @@ void ProcessController::readStdout()
{
myParent->setText( 1, "Complete" );
myParent->setText( 2, "" );
- //TQTimer::singleShot( 1500, myParent, TQT_SLOT( setEmptyText(3) ));
+ //TQTimer::singleShot( 1500, myParent, TQ_SLOT( setEmptyText(3) ));
}
}
@@ -120,7 +120,7 @@ void ProcessController::stopRip()
myParent->setText( 2, "" );
myProcess->tryTerminate();
- TQTimer::singleShot( 2000, myProcess, TQT_SLOT( kill() ) );
+ TQTimer::singleShot( 2000, myProcess, TQ_SLOT( kill() ) );
}