summaryrefslogtreecommitdiffstats
path: root/lib/util/blockingkprocess.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/blockingkprocess.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/blockingkprocess.cpp')
-rw-r--r--lib/util/blockingkprocess.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/lib/util/blockingkprocess.cpp b/lib/util/blockingkprocess.cpp
index a937c744..0c2b0650 100644
--- a/lib/util/blockingkprocess.cpp
+++ b/lib/util/blockingkprocess.cpp
@@ -22,12 +22,12 @@ BlockingTDEProcess::BlockingTDEProcess(TQObject *parent, const char *name)
m_timeoutValue = 60;
m_timer = 0L;
- connect(this, TQT_SIGNAL(receivedStdout(TDEProcess *, char *, int)),
- this, TQT_SLOT(slotReceivedStdOut(TDEProcess *, char *, int)));
- connect(this, TQT_SIGNAL(receivedStderr(TDEProcess *, char *, int)),
- this, TQT_SLOT(slotReceivedStdErr(TDEProcess *, char *, int)));
- connect(this, TQT_SIGNAL(processExited(TDEProcess *)),
- this, TQT_SLOT(slotProcessExited(TDEProcess *)));
+ connect(this, TQ_SIGNAL(receivedStdout(TDEProcess *, char *, int)),
+ this, TQ_SLOT(slotReceivedStdOut(TDEProcess *, char *, int)));
+ connect(this, TQ_SIGNAL(receivedStderr(TDEProcess *, char *, int)),
+ this, TQ_SLOT(slotReceivedStdErr(TDEProcess *, char *, int)));
+ connect(this, TQ_SIGNAL(processExited(TDEProcess *)),
+ this, TQ_SLOT(slotProcessExited(TDEProcess *)));
}
BlockingTDEProcess::BlockingTDEProcess()
@@ -37,12 +37,12 @@ BlockingTDEProcess::BlockingTDEProcess()
m_stdErr = "";
m_timeoutValue = 60;
m_timer = 0L;
- connect(this, TQT_SIGNAL(receivedStdout(TDEProcess *, char *, int)),
- this, TQT_SLOT(slotReceivedStdOut(TDEProcess *, char *, int)));
- connect(this, TQT_SIGNAL(receivedStderr(TDEProcess *, char *, int)),
- this, TQT_SLOT(slotReceivedStdErr(TDEProcess *, char *, int)));
- connect(this, TQT_SIGNAL(processExited(TDEProcess *)),
- this, TQT_SLOT(slotProcessExited(TDEProcess *)));
+ connect(this, TQ_SIGNAL(receivedStdout(TDEProcess *, char *, int)),
+ this, TQ_SLOT(slotReceivedStdOut(TDEProcess *, char *, int)));
+ connect(this, TQ_SIGNAL(receivedStderr(TDEProcess *, char *, int)),
+ this, TQ_SLOT(slotReceivedStdErr(TDEProcess *, char *, int)));
+ connect(this, TQ_SIGNAL(processExited(TDEProcess *)),
+ this, TQ_SLOT(slotProcessExited(TDEProcess *)));
}
@@ -55,7 +55,7 @@ bool BlockingTDEProcess::start(RunMode runmode, Communication comm)
{
m_timeout = false;
m_timer = new TQTimer();
- connect(m_timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotTimeOut()));
+ connect(m_timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotTimeOut()));
m_timer->start(m_timeoutValue*1000, true);
enter_loop();
delete m_timer;