summaryrefslogtreecommitdiffstats
path: root/kppp/connect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kppp/connect.cpp')
-rw-r--r--kppp/connect.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kppp/connect.cpp b/kppp/connect.cpp
index ea755a3e..6878d072 100644
--- a/kppp/connect.cpp
+++ b/kppp/connect.cpp
@@ -109,10 +109,10 @@ ConnectWidget::ConnectWidget(TQWidget *parent, const char *name, PPPStats *st)
l0->addSpacing(10);
messg = new TQLabel(this, "messg");
messg->setFrameStyle(TQFrame::Panel|TQFrame::Sunken);
- messg->tqsetAlignment(AlignCenter);
+ messg->setAlignment(AlignCenter);
messg->setText(i18n("Unable to create modem lock file."));
- messg->setMinimumHeight(messg->tqsizeHint().height() + 5);
- int messw = (messg->tqsizeHint().width() * 12) / 10;
+ messg->setMinimumHeight(messg->sizeHint().height() + 5);
+ int messw = (messg->sizeHint().width() * 12) / 10;
messw = TQMAX(messw,280);
messg->setMinimumWidth(messw);
messg->setText(i18n("Looking for modem..."));
@@ -131,8 +131,8 @@ ConnectWidget::ConnectWidget(TQWidget *parent, const char *name, PPPStats *st)
cancel->setFocus();
connect(cancel, TQT_SIGNAL(clicked()), TQT_SLOT(cancelbutton()));
- int maxw = TQMAX(cancel->tqsizeHint().width(),
- debug->tqsizeHint().width());
+ int maxw = TQMAX(cancel->sizeHint().width(),
+ debug->sizeHint().width());
maxw = TQMAX(maxw,65);
debug->setFixedWidth(maxw);
cancel->setFixedWidth(maxw);
@@ -140,7 +140,7 @@ ConnectWidget::ConnectWidget(TQWidget *parent, const char *name, PPPStats *st)
l1->addWidget(cancel);
l1->addSpacing(10);
- setFixedSize(tqsizeHint());
+ setFixedSize(sizeHint());
pausetimer = new TQTimer(this);
connect(pausetimer, TQT_SIGNAL(timeout()), TQT_SLOT(pause()));