summaryrefslogtreecommitdiffstats
path: root/kppp/miniterm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kppp/miniterm.cpp')
-rw-r--r--kppp/miniterm.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/kppp/miniterm.cpp b/kppp/miniterm.cpp
index 06c01194..2c917e3f 100644
--- a/kppp/miniterm.cpp
+++ b/kppp/miniterm.cpp
@@ -47,8 +47,8 @@
extern PPPData gpppdata;
-MiniTerm::MiniTerm(TQWidget *parent, const char *name)
- : TQDialog(parent, name, true)
+MiniTerm::MiniTerm(TQWidget *tqparent, const char *name)
+ : TQDialog(tqparent, name, true)
{
setCaption(i18n("Kppp Mini-Terminal"));
KWin::setIcons(winId(), kapp->icon(), kapp->miniIcon());
@@ -79,11 +79,11 @@ MiniTerm::MiniTerm(TQWidget *parent, const char *name)
setupToolbar();
- TQVBoxLayout *layout=new TQVBoxLayout(this);
- layout->addWidget(menubar);
- layout->addWidget(toolbar);
- layout->addWidget(terminal);
- layout->addWidget(statusbar);
+ TQVBoxLayout *tqlayout=new TQVBoxLayout(this);
+ tqlayout->addWidget(menubar);
+ tqlayout->addWidget(toolbar);
+ tqlayout->addWidget(terminal);
+ tqlayout->addWidget(statusbar);
inittimer = new TQTimer(this);
connect(inittimer,TQT_SIGNAL(timeout()),this,TQT_SLOT(init()));
@@ -103,15 +103,15 @@ void MiniTerm::setupToolbar() {
toolbar = new KToolBar( this );
toolbar->insertButton("exit", 0,
- TQT_SIGNAL(clicked()), this,
+ TQT_SIGNAL(clicked()), TQT_TQOBJECT(this),
TQT_SLOT(cancelbutton()), TRUE, i18n("Close MiniTerm"));
toolbar->insertButton("back", 0,
- TQT_SIGNAL(clicked()), this,
+ TQT_SIGNAL(clicked()), TQT_TQOBJECT(this),
TQT_SLOT(resetModem()), TRUE, i18n("Reset Modem"));
toolbar->insertButton("help", 0,
- TQT_SIGNAL(clicked()), this,
+ TQT_SIGNAL(clicked()), TQT_TQOBJECT(this),
TQT_SLOT(help()), TRUE, i18n("Help"));
toolbar->setBarPos( KToolBar::Top );
@@ -154,7 +154,7 @@ void MiniTerm::init() {
kapp->processEvents();
kapp->processEvents();
- Modem::modem->notify(this, TQT_SLOT(readChar(unsigned char)));
+ Modem::modem->notify(TQT_TQOBJECT(this), TQT_SLOT(readChar(unsigned char)));
return;
}
}
@@ -225,8 +225,8 @@ void MiniTerm::help() {
}
-MyTerm::MyTerm(TQWidget *parent, const char* name)
- : TQMultiLineEdit(parent, name)
+MyTerm::MyTerm(TQWidget *tqparent, const char* name)
+ : TQMultiLineEdit(tqparent, name)
{
setFont(KGlobalSettings::fixedFont());
}