summaryrefslogtreecommitdiffstats
path: root/kpackage/kpPty.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-11 10:40:32 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-12 18:41:24 +0900
commit7ad2f154f24ac01a33118779950bcdfe0d16ca94 (patch)
treeb9925df5e2fc01026c3ef866224704086ab32da5 /kpackage/kpPty.cpp
parent6360698f4f1660c36e1874dc496fb057f28e7b86 (diff)
downloadtdeadmin-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/kpPty.cpp')
-rw-r--r--kpackage/kpPty.cpp18
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;