summaryrefslogtreecommitdiffstats
path: root/kppp/scriptedit.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kppp/scriptedit.cpp
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kppp/scriptedit.cpp')
-rw-r--r--kppp/scriptedit.cpp24
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);
}