summaryrefslogtreecommitdiffstats
path: root/kppp/conwindow.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-18 18:33:51 -0600
committerSlávek Banko <[email protected]>2012-06-03 15:53:28 +0200
commit4b54ad17739d1075235f2960ecde230a58b5621c (patch)
tree041d34c2e70d106209f97f8607698ccfe907c9b4 /kppp/conwindow.cpp
parent6f21bc7511005a69a8ef14c2ad4e74857baf59f3 (diff)
downloadtdenetwork-4b54ad17739d1075235f2960ecde230a58b5621c.tar.gz
tdenetwork-4b54ad17739d1075235f2960ecde230a58b5621c.zip
Rename old tq methods that no longer need a unique name
(cherry picked from commit 089118c18533dfa3e6ce5065dbebdd4db94051f1)
Diffstat (limited to 'kppp/conwindow.cpp')
-rw-r--r--kppp/conwindow.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kppp/conwindow.cpp b/kppp/conwindow.cpp
index 14154e69..a657fd2c 100644
--- a/kppp/conwindow.cpp
+++ b/kppp/conwindow.cpp
@@ -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.