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-11 10:44:36 +0900 |
commit | ed7858de3a395180d6ec0c03d8358610b36938ea (patch) | |
tree | 1b81472d6cc0e957c603add6ab33814330e4afbe /kpackage/procbuf.cpp | |
parent | 41b29e64b5883035aba22b719c3174ed13d3a65a (diff) | |
download | tdeadmin-ed7858de3a395180d6ec0c03d8358610b36938ea.tar.gz tdeadmin-ed7858de3a395180d6ec0c03d8358610b36938ea.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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; |