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/kpPty.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/kpPty.cpp')
-rw-r--r-- | kpackage/kpPty.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kpackage/kpPty.cpp b/kpackage/kpPty.cpp index 7be446f..cb1b416 100644 --- a/kpackage/kpPty.cpp +++ b/kpackage/kpPty.cpp @@ -61,12 +61,12 @@ kpKProcIO::~kpKProcIO() bool kpKProcIO::sstart (RunMode runmode) { - connect (this, TQT_SIGNAL (receivedStdout (TDEProcess *, char *, int)), - this, TQT_SLOT (received (TDEProcess *, char *, int))); + connect (this, TQ_SIGNAL (receivedStdout (TDEProcess *, char *, int)), + this, TQ_SLOT (received (TDEProcess *, char *, int))); - connect (this, TQT_SIGNAL (wroteStdin(TDEProcess *)), - this, TQT_SLOT (sent (TDEProcess *))); + connect (this, TQ_SIGNAL (wroteStdin(TDEProcess *)), + this, TQ_SLOT (sent (TDEProcess *))); return TDEProcess::start (runmode,( TDEProcess::Communication) ( TDEProcess::Stdin | TDEProcess::Stdout)); } @@ -78,13 +78,13 @@ kpPty::kpPty() : TQObject() pty = new kpKProcIO(); pty->setUsePty(TDEProcess::All, false); - connect(pty, TQT_SIGNAL(readReady(KProcIO *)), this, - TQT_SLOT(readLines())); - connect(pty, TQT_SIGNAL(processExited(TDEProcess *)), this, - TQT_SLOT(done())); + connect(pty, TQ_SIGNAL(readReady(KProcIO *)), this, + TQ_SLOT(readLines())); + connect(pty, TQ_SIGNAL(processExited(TDEProcess *)), this, + TQ_SLOT(done())); pty->pty()->setWinSize(0,80); tm = new TQTimer(this); - connect(tm, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotTimeout())); + connect(tm, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotTimeout())); eventLoop = FALSE; inSession = FALSE; |