diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:59:52 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:59:52 -0600 |
commit | 7ea89afa119615e547323a7a482ea7fef8e67029 (patch) | |
tree | 7b28540e70b4be9a779347f70486d4937258a875 /klaptopdaemon/kpcmciainfo.cpp | |
parent | bcc684e28ad6f9ebeeae5d334a4dc297cef3e816 (diff) | |
download | tdeutils-7ea89afa119615e547323a7a482ea7fef8e67029.tar.gz tdeutils-7ea89afa119615e547323a7a482ea7fef8e67029.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'klaptopdaemon/kpcmciainfo.cpp')
-rw-r--r-- | klaptopdaemon/kpcmciainfo.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/klaptopdaemon/kpcmciainfo.cpp b/klaptopdaemon/kpcmciainfo.cpp index bb18a53..3e91f2d 100644 --- a/klaptopdaemon/kpcmciainfo.cpp +++ b/klaptopdaemon/kpcmciainfo.cpp @@ -136,7 +136,7 @@ void KPCMCIAInfo::prepareCards() { connect(this, TQT_SIGNAL(updateNow()), tp, TQT_SLOT(update())); connect(tp, TQT_SIGNAL(setStatusBar(const TQString&)), this, TQT_SLOT(slotTabSetStatus(const TQString&))); tp->resize(_mainTab->sizeHint()); - _mainTab->addTab(tp, tabname.tqarg(i+1)); + _mainTab->addTab(tp, tabname.arg(i+1)); _pages.insert(i, tp); } } @@ -235,10 +235,10 @@ void KPCMCIAInfoPage::update() { _card_name->setText(_card->name()); _card_name->resize(_card_name->sizeHint()); tmp = i18n("Card type: %1 "); - _card_type->setText(tmp.tqarg(_card->type())); + _card_type->setText(tmp.arg(_card->type())); _card_type->resize(_card_type->sizeHint()); tmp = i18n("Driver: %1"); - _card_driver->setText(tmp.tqarg(_card->driver())); + _card_driver->setText(tmp.arg(_card->driver())); _card_driver->resize(_card_driver->sizeHint()); tmp = i18n("IRQ: %1%2"); TQString tmp2; @@ -256,32 +256,32 @@ void KPCMCIAInfoPage::update() { tmp2 = ""; }; if (_card->irq() <= 0) - _card_irq->setText(tmp.tqarg(i18n("none")).tqarg("")); - else _card_irq->setText(tmp.tqarg(_card->irq()).tqarg(tmp2)); + _card_irq->setText(tmp.arg(i18n("none")).arg("")); + else _card_irq->setText(tmp.arg(_card->irq()).arg(tmp2)); _card_irq->resize(_card_irq->sizeHint()); tmp = i18n("I/O port(s): %1"); if (_card->ports().isEmpty()) - _card_io->setText(tmp.tqarg(i18n("none"))); - else _card_io->setText(tmp.tqarg(_card->ports())); + _card_io->setText(tmp.arg(i18n("none"))); + else _card_io->setText(tmp.arg(_card->ports())); _card_io->resize(_card_io->sizeHint()); tmp = i18n("Bus: %1 bit %2"); if (_card->busWidth() == 0) _card_bus->setText(i18n("Bus: unknown")); - else _card_bus->setText(tmp.tqarg(_card->busWidth()).tqarg(_card->busWidth() == 16 ? i18n("PC Card") : i18n("Cardbus"))); + else _card_bus->setText(tmp.arg(_card->busWidth()).arg(_card->busWidth() == 16 ? i18n("PC Card") : i18n("Cardbus"))); _card_bus->resize(_card_bus->sizeHint()); tmp = i18n("Device: %1"); - _card_dev->setText(tmp.tqarg(_card->device())); + _card_dev->setText(tmp.arg(_card->device())); _card_dev->resize(_card_dev->sizeHint()); tmp = i18n("Power: +%1V"); - _card_vcc->setText(tmp.tqarg(_card->vcc()/10)); + _card_vcc->setText(tmp.arg(_card->vcc()/10)); _card_vcc->resize(_card_vcc->sizeHint()); tmp = i18n("Programming power: +%1V, +%2V"); - _card_vpp->setText(tmp.tqarg(_card->vpp()/10).tqarg(_card->vpp2()/10)); + _card_vpp->setText(tmp.arg(_card->vpp()/10).arg(_card->vpp2()/10)); _card_vpp->resize(_card_vpp->sizeHint()); tmp = i18n("Configuration base: 0x%1"); if (_card->configBase() == 0) _card_cfgbase->setText(i18n("Configuration base: none")); - else _card_cfgbase->setText(tmp.tqarg(_card->configBase(), -1, 16)); + else _card_cfgbase->setText(tmp.arg(_card->configBase(), -1, 16)); _card_cfgbase->resize(_card_cfgbase->sizeHint()); if (!(_card->status() & (CARD_STATUS_READY|CARD_STATUS_SUSPEND))) { |