diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:59:34 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:59:34 -0600 |
commit | 83677e35509b4dafac63b76995652bdf3b49f209 (patch) | |
tree | 591f1dc22278addb439726c42896376b17bb42bd /kppp/modeminfo.cpp | |
parent | 808e453c56036211f57482ed847d54aca01bba68 (diff) | |
download | tdenetwork-83677e35509b4dafac63b76995652bdf3b49f209.tar.gz tdenetwork-83677e35509b4dafac63b76995652bdf3b49f209.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 808e453c56036211f57482ed847d54aca01bba68.
Diffstat (limited to 'kppp/modeminfo.cpp')
-rw-r--r-- | kppp/modeminfo.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kppp/modeminfo.cpp b/kppp/modeminfo.cpp index 89fbff72..d242c4f4 100644 --- a/kppp/modeminfo.cpp +++ b/kppp/modeminfo.cpp @@ -26,7 +26,7 @@ #include <unistd.h> #include <tqregexp.h> -#include <layout.h> +#include <tqlayout.h> #include <twin.h> #include <kmessagebox.h> #include <kapplication.h> @@ -48,7 +48,7 @@ ModemTransfer::ModemTransfer(TQWidget *parent, const char *name) statusBar = new TQLabel(this,"sBar"); statusBar->setFrameStyle(TQFrame::Panel|TQFrame::Sunken); - statusBar->setAlignment(AlignCenter); + statusBar->tqsetAlignment(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->sizeHint().width() * 12) / 10); - statusBar->setFixedHeight(statusBar->sizeHint().height() + 4); + statusBar->setFixedWidth((statusBar->tqsizeHint().width() * 12) / 10); + statusBar->setFixedHeight(statusBar->tqsizeHint().height() + 4); // set original text statusBar->setText(i18n("Looking for modem...")); - progressBar->setFixedHeight(statusBar->minimumSize().height()); + progressBar->setFixedHeight(statusBar->tqminimumSize().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(sizeHint()); + setFixedSize(tqsizeHint()); 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(sizeHint()); + setMinimumSize(tqsizeHint()); } |