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/kpTerm.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/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(); } |