diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:14:26 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:14:26 -0600 |
commit | 9d9fe02a944fe0719c2475739411727a729251ad (patch) | |
tree | 5b05f738dd8631ae2c2e2ed46f4a7785fad410f7 /src/devices/pic/gui | |
parent | ad1fc5fc8eadb9b63e8767e57ac41cbac84f7eb7 (diff) | |
download | piklab-9d9fe02a944fe0719c2475739411727a729251ad.tar.gz piklab-9d9fe02a944fe0719c2475739411727a729251ad.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'src/devices/pic/gui')
-rw-r--r-- | src/devices/pic/gui/pic_config_word_editor.cpp | 2 | ||||
-rw-r--r-- | src/devices/pic/gui/pic_register_view.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/pic/gui/pic_config_word_editor.cpp b/src/devices/pic/gui/pic_config_word_editor.cpp index 67c5cc9..39430ca 100644 --- a/src/devices/pic/gui/pic_config_word_editor.cpp +++ b/src/devices/pic/gui/pic_config_word_editor.cpp @@ -114,7 +114,7 @@ Pic::ConfigWordEditor::ConfigWordEditor(Memory &memory, uint ci, bool withWordEd connect(_mdb, TQT_SIGNAL(modified()), TQT_SLOT(updateDisplay())); hbox->addWidget(_mdb); KPushButton *button = new KPushButton(i18n("Details..."), this); - button->setFixedHeight(button->tqsizeHint().height()); + button->setFixedHeight(button->sizeHint().height()); connect(button, TQT_SIGNAL(clicked()), TQT_SLOT(showDialog())); hbox->addWidget(button); hbox->addStretch(1); diff --git a/src/devices/pic/gui/pic_register_view.cpp b/src/devices/pic/gui/pic_register_view.cpp index b640036..1cba9c9 100644 --- a/src/devices/pic/gui/pic_register_view.cpp +++ b/src/devices/pic/gui/pic_register_view.cpp @@ -46,7 +46,7 @@ Pic::BankWidget::BankWidget(uint i, TQWidget *parent) if ( (i/2)==0 ) { TQString title = ((i%2)==0 ? i18n("Access Bank (low)") : i18n("Access Bank (high)")); TQLabel *label = new TQLabel(title, this); - label->tqsetAlignment(AlignCenter); + label->setAlignment(AlignCenter); top->addMultiCellWidget(label, row,row, 0,6, AlignHCenter); } else { _bankCombo = new TQComboBox(this); @@ -59,7 +59,7 @@ Pic::BankWidget::BankWidget(uint i, TQWidget *parent) } } else { TQLabel *label = new TQLabel(i18n("Bank %1").tqarg(i), this); - label->tqsetAlignment(AlignCenter); + label->setAlignment(AlignCenter); top->addMultiCellWidget(label, row,row, 0,6, AlignHCenter); } row++; |