diff options
Diffstat (limited to 'kppp/scriptedit.cpp')
-rw-r--r-- | kppp/scriptedit.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kppp/scriptedit.cpp b/kppp/scriptedit.cpp index 0cb676f5..afa88821 100644 --- a/kppp/scriptedit.cpp +++ b/kppp/scriptedit.cpp @@ -26,16 +26,16 @@ */ #include "scriptedit.h" -#include <qlayout.h> -#include <qcombobox.h> -#include <qlineedit.h> +#include <tqlayout.h> +#include <tqcombobox.h> +#include <tqlineedit.h> -ScriptEdit::ScriptEdit( QWidget *parent, const char *name ) - : QWidget(parent, name) +ScriptEdit::ScriptEdit( TQWidget *parent, const char *name ) + : TQWidget(parent, name) { - QHBoxLayout *tl = new QHBoxLayout(this, 0, 10); + TQHBoxLayout *tl = new TQHBoxLayout(this, 0, 10); - st = new QComboBox(this, "st"); + st = new TQComboBox(this, "st"); st->insertItem("Expect"); st->insertItem("Send"); st->insertItem("Pause (sec)"); @@ -51,12 +51,12 @@ ScriptEdit::ScriptEdit( QWidget *parent, const char *name ) st->insertItem("Scan"); st->insertItem("Save"); st->insertItem("SendNoEcho"); - connect(st, SIGNAL(activated(int)), SLOT(setType(int))); + connect(st, TQT_SIGNAL(activated(int)), TQT_SLOT(setType(int))); - se = new QLineEdit(this, "se"); + se = new TQLineEdit(this, "se"); se->setGeometry(120, 5, 140, 25); se->setMaxLength(50); - connect(se, SIGNAL(returnPressed()), SLOT(seReturnPressed())); + connect(se, TQT_SIGNAL(returnPressed()), TQT_SLOT(seReturnPressed())); tl->addWidget(st, 3); tl->addWidget(se, 7); @@ -77,11 +77,11 @@ void ScriptEdit::seReturnPressed() { } -QString ScriptEdit::text()const { +TQString ScriptEdit::text()const { return se->text(); } -void ScriptEdit::setText(const QString &t) { +void ScriptEdit::setText(const TQString &t) { se->setText(t); } |