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/loginterm.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/loginterm.cpp')
-rw-r--r-- | kppp/loginterm.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kppp/loginterm.cpp b/kppp/loginterm.cpp index 2aeed5e4..65232a93 100644 --- a/kppp/loginterm.cpp +++ b/kppp/loginterm.cpp @@ -35,8 +35,8 @@ extern KPPPWidget *p_kppp; -LoginMultiLineEdit::LoginMultiLineEdit(TQWidget *parent, const char *name) - : TQMultiLineEdit(parent, name) +LoginMultiLineEdit::LoginMultiLineEdit(TQWidget *tqparent, const char *name) + : TQMultiLineEdit(tqparent, name) { } @@ -93,8 +93,8 @@ void LoginMultiLineEdit::readChar(unsigned char c) { } -LoginTerm::LoginTerm (TQWidget *parent, const char *name) - : TQDialog(parent, name, FALSE) +LoginTerm::LoginTerm (TQWidget *tqparent, const char *name) + : TQDialog(tqparent, name, FALSE) { setCaption(i18n("Login Terminal Window")); setMinimumSize(300, 200); @@ -123,10 +123,10 @@ LoginTerm::LoginTerm (TQWidget *parent, const char *name) connect(continue_b, TQT_SIGNAL(clicked()), TQT_SLOT(continuebutton())); int mwidth; - if (cancel_b->sizeHint().width() > continue_b->sizeHint().width()) - mwidth = cancel_b->sizeHint().width(); + if (cancel_b->tqsizeHint().width() > continue_b->tqsizeHint().width()) + mwidth = cancel_b->tqsizeHint().width(); else - mwidth = continue_b->sizeHint().width(); + mwidth = continue_b->tqsizeHint().width(); cancel_b->setFixedWidth(mwidth + 20); continue_b->setFixedWidth(mwidth + 20); @@ -136,7 +136,7 @@ LoginTerm::LoginTerm (TQWidget *parent, const char *name) cont = false; - Modem::modem->notify(text_window, TQT_SLOT(readChar(unsigned char))); + Modem::modem->notify(TQT_TQOBJECT(text_window), TQT_SLOT(readChar(unsigned char))); } |