summaryrefslogtreecommitdiffstats
path: root/lib/util/execcommand.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-14 14:24:33 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-21 23:12:29 +0900
commit0b6a83b773c37ee6949d73346c4a669aa1fc98b8 (patch)
tree03606cf5d79c9c08b77909997c4301fb34bc783c /lib/util/execcommand.cpp
parent19ccb502fc61ce7dfa1d030d833d2b1f898051f4 (diff)
downloadtdevelop-0b6a83b773c37ee6949d73346c4a669aa1fc98b8.tar.gz
tdevelop-0b6a83b773c37ee6949d73346c4a669aa1fc98b8.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 35fbd60457d1e51e6a0df5d181d1a0f00ad75a2c)
Diffstat (limited to 'lib/util/execcommand.cpp')
-rw-r--r--lib/util/execcommand.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/util/execcommand.cpp b/lib/util/execcommand.cpp
index 0e617762..6fb0f40c 100644
--- a/lib/util/execcommand.cpp
+++ b/lib/util/execcommand.cpp
@@ -39,12 +39,12 @@ ExecCommand::ExecCommand( const TQString& executable, const TQStringList& args,
*proc << executable;
*proc << args;
- connect( proc, TQT_SIGNAL(processExited(TDEProcess*)),
- this, TQT_SLOT(processExited()) );
- connect( proc, TQT_SIGNAL(receivedStdout(TDEProcess*,char*,int)),
- this, TQT_SLOT(receivedStdout(TDEProcess*,char*,int)) );
- connect( proc, TQT_SIGNAL(receivedStderr(TDEProcess*,char*,int)),
- this, TQT_SLOT(receivedStderr(TDEProcess*,char*,int)) );
+ connect( proc, TQ_SIGNAL(processExited(TDEProcess*)),
+ this, TQ_SLOT(processExited()) );
+ connect( proc, TQ_SIGNAL(receivedStdout(TDEProcess*,char*,int)),
+ this, TQ_SLOT(receivedStdout(TDEProcess*,char*,int)) );
+ connect( proc, TQ_SIGNAL(receivedStderr(TDEProcess*,char*,int)),
+ this, TQ_SLOT(receivedStderr(TDEProcess*,char*,int)) );
bool ok = proc->start( TDEProcess::NotifyOnExit, TDEProcess::AllOutput );
@@ -58,8 +58,8 @@ ExecCommand::ExecCommand( const TQString& executable, const TQStringList& args,
} else {
progressDlg = new KProgressDialog( 0, 0, i18n("Command running..."),
i18n("Please wait until the \"%1\" command finishes.").arg( executable ), false );
- connect( progressDlg, TQT_SIGNAL(cancelClicked()),
- this, TQT_SLOT(cancelClicked()) );
+ connect( progressDlg, TQ_SIGNAL(cancelClicked()),
+ this, TQ_SLOT(cancelClicked()) );
}
}