diff options
Diffstat (limited to 'kppp/conwindow.cpp')
-rw-r--r-- | kppp/conwindow.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kppp/conwindow.cpp b/kppp/conwindow.cpp index 14154e69..2e6f2281 100644 --- a/kppp/conwindow.cpp +++ b/kppp/conwindow.cpp @@ -118,11 +118,11 @@ void ConWindow::accounting(bool on) { accountingEnabled = on; volumeAccountingEnabled = gpppdata.VolAcctEnabled(); - // delete old tqlayout + // delete old layout if(tl1 != 0) delete tl1; - // add tqlayout now + // add layout now tl1 = new TQVBoxLayout(this, 10, 10); tl1->addSpacing(5); TQHBoxLayout *tl = new TQHBoxLayout; @@ -142,11 +142,11 @@ void ConWindow::accounting(bool on) { l1->setColStretch(0, 0); l1->setColStretch(1, 1); - info2->tqsetAlignment(AlignRight|AlignVCenter); - timelabel2->tqsetAlignment(AlignRight|AlignVCenter); - session_bill->tqsetAlignment(AlignRight|AlignVCenter); - total_bill->tqsetAlignment(AlignRight|AlignVCenter); - volinfo->tqsetAlignment(AlignRight|AlignVCenter); + info2->setAlignment(AlignRight|AlignVCenter); + timelabel2->setAlignment(AlignRight|AlignVCenter); + session_bill->setAlignment(AlignRight|AlignVCenter); + total_bill->setAlignment(AlignRight|AlignVCenter); + volinfo->setAlignment(AlignRight|AlignVCenter); // make sure that there's enough space for the bills TQString s1 = session_bill->text(); TQString s2 = total_bill->text(); @@ -155,9 +155,9 @@ void ConWindow::accounting(bool on) { session_bill->setText("888888.88 XXX"); total_bill->setText("888888.88 XXX"); volinfo->setText("8888.8 MB"); - session_bill->setFixedSize(session_bill->tqsizeHint()); - total_bill->setFixedSize(total_bill->tqsizeHint()); - volinfo->setFixedSize(volinfo->tqsizeHint()); + session_bill->setFixedSize(session_bill->sizeHint()); + total_bill->setFixedSize(total_bill->sizeHint()); + volinfo->setFixedSize(volinfo->sizeHint()); session_bill->setText(s1); total_bill->setText(s2); volinfo->setText(s3); @@ -214,7 +214,7 @@ void ConWindow::accounting(bool on) { tl1->addSpacing(5); - setFixedSize(tqsizeHint()); + setFixedSize(sizeHint()); /* do not overwrite position read from config // If this gets re-enabled, fix it for Xinerama before committing to CVS. @@ -264,12 +264,12 @@ void ConWindow::timeclick() { TQString tooltip = i18n("Connection: %1\n" "Connected at: %2\n" "Time connected: %3") - .tqarg(gpppdata.accname()).tqarg(info2->text()) - .tqarg(time_string2); + .arg(gpppdata.accname()).arg(info2->text()) + .arg(time_string2); if(accountingEnabled) tooltip += i18n("\nSession Bill: %1\nTotal Bill: %2") - .tqarg(session_bill->text()).tqarg(total_bill->text()); + .arg(session_bill->text()).arg(total_bill->text()); // volume accounting if(volumeAccountingEnabled) { |