summaryrefslogtreecommitdiffstats
path: root/kppp/modeminfo.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-18 18:33:51 -0600
committerTimothy Pearson <[email protected]>2011-12-18 18:33:51 -0600
commit089118c18533dfa3e6ce5065dbebdd4db94051f1 (patch)
treece014fb2326a80fcfafa2362b7ff88486aa17c96 /kppp/modeminfo.cpp
parent83677e35509b4dafac63b76995652bdf3b49f209 (diff)
downloadtdenetwork-089118c18533dfa3e6ce5065dbebdd4db94051f1.tar.gz
tdenetwork-089118c18533dfa3e6ce5065dbebdd4db94051f1.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kppp/modeminfo.cpp')
-rw-r--r--kppp/modeminfo.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kppp/modeminfo.cpp b/kppp/modeminfo.cpp
index d242c4f4..14543ce2 100644
--- a/kppp/modeminfo.cpp
+++ b/kppp/modeminfo.cpp
@@ -48,7 +48,7 @@ ModemTransfer::ModemTransfer(TQWidget *parent, const char *name)
statusBar = new TQLabel(this,"sBar");
statusBar->setFrameStyle(TQFrame::Panel|TQFrame::Sunken);
- statusBar->tqsetAlignment(AlignCenter);
+ statusBar->setAlignment(AlignCenter);
// This is a rather complicated case. Since we do not know which
// message is the widest in the national language, we'd to
@@ -56,12 +56,12 @@ ModemTransfer::ModemTransfer(TQWidget *parent, const char *name)
// the longest english message, translate it and give it additional
// 20 percent space. Hope this is enough.
statusBar->setText(i18n("Unable to create modem lock file."));
- statusBar->setFixedWidth((statusBar->tqsizeHint().width() * 12) / 10);
- statusBar->setFixedHeight(statusBar->tqsizeHint().height() + 4);
+ statusBar->setFixedWidth((statusBar->sizeHint().width() * 12) / 10);
+ statusBar->setFixedHeight(statusBar->sizeHint().height() + 4);
// set original text
statusBar->setText(i18n("Looking for modem..."));
- progressBar->setFixedHeight(statusBar->tqminimumSize().height());
+ progressBar->setFixedHeight(statusBar->minimumSize().height());
tl->addWidget(progressBar);
tl->addWidget(statusBar);
@@ -74,7 +74,7 @@ ModemTransfer::ModemTransfer(TQWidget *parent, const char *name)
l1->addStretch(1);
l1->addWidget(cancel);
- setFixedSize(tqsizeHint());
+ setFixedSize(sizeHint());
step = 0;
@@ -280,7 +280,7 @@ ModemInfo::ModemInfo(TQWidget *parent, const char* name)
connect(ok, TQT_SIGNAL(clicked()), TQT_SLOT(accept()));
l2->addWidget(ok);
- setMinimumSize(tqsizeHint());
+ setMinimumSize(sizeHint());
}