diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:33:51 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:33:51 -0600 |
commit | 089118c18533dfa3e6ce5065dbebdd4db94051f1 (patch) | |
tree | ce014fb2326a80fcfafa2362b7ff88486aa17c96 /kppp/pppstatdlg.cpp | |
parent | 83677e35509b4dafac63b76995652bdf3b49f209 (diff) | |
download | tdenetwork-089118c18533dfa3e6ce5065dbebdd4db94051f1.tar.gz tdenetwork-089118c18533dfa3e6ce5065dbebdd4db94051f1.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kppp/pppstatdlg.cpp')
-rw-r--r-- | kppp/pppstatdlg.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kppp/pppstatdlg.cpp b/kppp/pppstatdlg.cpp index b5b12f42..2d12a88e 100644 --- a/kppp/pppstatdlg.cpp +++ b/kppp/pppstatdlg.cpp @@ -80,7 +80,7 @@ PPPStatsDlg::PPPStatsDlg(TQWidget *parent, const char *name, TQWidget *, pixmap_l = new TQLabel(this); pixmap_l->setMinimumSize(big_modem_both_pixmap.size()); l111->addWidget(pixmap_l, 1); - pixmap_l->tqsetAlignment(AlignVCenter|AlignLeft); + pixmap_l->setAlignment(AlignVCenter|AlignLeft); TQGridLayout *l1112 = new TQGridLayout(3, 2); l111->addLayout(l1112); @@ -137,10 +137,10 @@ PPPStatsDlg::PPPStatsDlg(TQWidget *parent, const char *name, TQWidget *, for(i = 0; i < 5; i++) { labela2[i]->setText("888888888"); // TODO: resize automatically labelb2[i]->setText("888888888"); - labela2[i]->tqsetAlignment(TQt::AlignRight); - labelb2[i]->tqsetAlignment(TQt::AlignRight); - labela2[i]->setFixedSize(labela2[i]->tqsizeHint()); - labelb2[i]->setFixedSize(labelb2[i]->tqsizeHint()); + labela2[i]->setAlignment(TQt::AlignRight); + labelb2[i]->setAlignment(TQt::AlignRight); + labela2[i]->setFixedSize(labela2[i]->sizeHint()); + labelb2[i]->setFixedSize(labelb2[i]->sizeHint()); labela2[i]->setText(""); labelb2[i]->setText(""); @@ -175,8 +175,8 @@ PPPStatsDlg::PPPStatsDlg(TQWidget *parent, const char *name, TQWidget *, cancelbutton = new KPushButton(KStdGuiItem::close(),this, "cancelbutton"); cancelbutton->setFocus(); connect(cancelbutton, TQT_SIGNAL(clicked()), this,TQT_SLOT(cancel())); - cancelbutton->setFixedHeight(cancelbutton->tqsizeHint().height()); - cancelbutton->setMinimumWidth(TQMAX(cancelbutton->tqsizeHint().width(), 70)); + cancelbutton->setFixedHeight(cancelbutton->sizeHint().height()); + cancelbutton->setMinimumWidth(TQMAX(cancelbutton->sizeHint().width(), 70)); l12->addWidget(cancelbutton); if(gpppdata.graphingEnabled()) { @@ -184,7 +184,7 @@ PPPStatsDlg::PPPStatsDlg(TQWidget *parent, const char *name, TQWidget *, connect(graphTimer, TQT_SIGNAL(timeout()), TQT_SLOT(updateGraph())); } - setFixedSize(tqsizeHint()); + setFixedSize(sizeHint()); connect(stats, TQT_SIGNAL(statsChanged(int)), TQT_SLOT(paintIcon(int))); |