diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-11 10:40:32 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-12 18:41:24 +0900 |
commit | 7ad2f154f24ac01a33118779950bcdfe0d16ca94 (patch) | |
tree | b9925df5e2fc01026c3ef866224704086ab32da5 /kpackage/procbuf.cpp | |
parent | 6360698f4f1660c36e1874dc496fb057f28e7b86 (diff) | |
download | tdeadmin-7ad2f154f24ac01a33118779950bcdfe0d16ca94.tar.gz tdeadmin-7ad2f154f24ac01a33118779950bcdfe0d16ca94.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit ed7858de3a395180d6ec0c03d8358610b36938ea)
Diffstat (limited to 'kpackage/procbuf.cpp')
-rw-r--r-- | kpackage/procbuf.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kpackage/procbuf.cpp b/kpackage/procbuf.cpp index af94200..73372fa 100644 --- a/kpackage/procbuf.cpp +++ b/kpackage/procbuf.cpp @@ -48,7 +48,7 @@ procbuf::procbuf() { m = NULL; tm = new TQTimer(this); - connect(tm, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotTimeout())); + connect(tm, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotTimeout())); } procbuf::~procbuf() @@ -59,12 +59,12 @@ void procbuf::setup(TQString cmd) { buf.truncate(0); proc = new TDEProcess(); - connect(proc, TQT_SIGNAL( receivedStdout(TDEProcess *, char *, int)), - this, TQT_SLOT(slotReadInfo(TDEProcess *, char *, int))); - connect(proc, TQT_SIGNAL( receivedStderr(TDEProcess *, char *, int)), - this, TQT_SLOT(slotReadInfo(TDEProcess *, char *, int))); - connect(proc, TQT_SIGNAL( processExited(TDEProcess *)), - this, TQT_SLOT(slotExited(TDEProcess *))); + connect(proc, TQ_SIGNAL( receivedStdout(TDEProcess *, char *, int)), + this, TQ_SLOT(slotReadInfo(TDEProcess *, char *, int))); + connect(proc, TQ_SIGNAL( receivedStderr(TDEProcess *, char *, int)), + this, TQ_SLOT(slotReadInfo(TDEProcess *, char *, int))); + connect(proc, TQ_SIGNAL( processExited(TDEProcess *)), + this, TQ_SLOT(slotExited(TDEProcess *))); proc->clearArguments(); *proc << cmd; command = cmd; |