diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-22 00:30:31 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-22 00:30:31 +0000 |
commit | 69cac65817d949cda2672ec4f0aa73d5e66a0ba1 (patch) | |
tree | 073fde0496ea90eb5bf5cffe66a8da43a9f55fbc /kppp/miniterm.cpp | |
parent | 3467e6464beac3a162839bf7078e22e3a74d73e7 (diff) | |
download | tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.tar.gz tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.zip |
TQt4 port kdenetwork
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kppp/miniterm.cpp')
-rw-r--r-- | kppp/miniterm.cpp | 26 |
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()); } |