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/kpTerm.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/kpTerm.cpp')
| -rw-r--r-- | kpackage/kpTerm.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kpackage/kpTerm.cpp b/kpackage/kpTerm.cpp index 4f49dc4..cc94726 100644 --- a/kpackage/kpTerm.cpp +++ b/kpackage/kpTerm.cpp @@ -51,22 +51,22 @@ kpTerm::kpTerm(kpPty *pt, TQWidget * parent, const char * name ) : void kpTerm::doConnect() { - connect(pty, TQT_SIGNAL(textIn(const TQString &, bool)), this, - TQT_SLOT(textIn(const TQString &, bool))); - connect(pty,TQT_SIGNAL(result(TQStringList &, int)), - this,TQT_SLOT(slotResult(TQStringList &, int))); - connect(this, TQT_SIGNAL(keyOut(char)), pty, - TQT_SLOT(keyOut(char))); + connect(pty, TQ_SIGNAL(textIn(const TQString &, bool)), this, + TQ_SLOT(textIn(const TQString &, bool))); + connect(pty,TQ_SIGNAL(result(TQStringList &, int)), + this,TQ_SLOT(slotResult(TQStringList &, int))); + connect(this, TQ_SIGNAL(keyOut(char)), pty, + TQ_SLOT(keyOut(char))); } void kpTerm::doUnconnect() { - disconnect(pty, TQT_SIGNAL(textIn(const TQString &, bool)), this, - TQT_SLOT(textIn(const TQString &, bool))); - disconnect(pty,TQT_SIGNAL(result(TQStringList &, int)), - this,TQT_SLOT(slotResult(TQStringList &, int))); - disconnect(this, TQT_SIGNAL(keyOut(char)), pty, - TQT_SLOT(keyOut(char))); + disconnect(pty, TQ_SIGNAL(textIn(const TQString &, bool)), this, + TQ_SLOT(textIn(const TQString &, bool))); + disconnect(pty,TQ_SIGNAL(result(TQStringList &, int)), + this,TQ_SLOT(slotResult(TQStringList &, int))); + disconnect(this, TQ_SIGNAL(keyOut(char)), pty, + TQ_SLOT(keyOut(char))); } bool kpTerm::run(const TQString &cmd, TQStringList &r) @@ -182,8 +182,8 @@ kpRun::kpRun( TQWidget *parent) term = new kpTerm(kpty,page); resize(600, 300); - connect(term,TQT_SIGNAL(result(TQStringList &, int)), - this,TQT_SLOT(slotResult(TQStringList &, int))); + connect(term,TQ_SIGNAL(result(TQStringList &, int)), + this,TQ_SLOT(slotResult(TQStringList &, int))); hide(); } |
