diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:14:26 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-27 04:09:42 +0200 |
commit | 1177a9f23b1c9929bef9464f434d82273783204c (patch) | |
tree | bb02f26d98266ad9b7501307ab3013edd1b55ea7 /src/libgui/device_gui.cpp | |
parent | adc9148343ca4ef148414cec1a6b38eb9636c029 (diff) | |
download | piklab-1177a9f23b1c9929bef9464f434d82273783204c.tar.gz piklab-1177a9f23b1c9929bef9464f434d82273783204c.zip |
Rename old tq methods that no longer need a unique name
(cherry picked from commit 9d9fe02a944fe0719c2475739411727a729251ad)
Diffstat (limited to 'src/libgui/device_gui.cpp')
-rw-r--r-- | src/libgui/device_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libgui/device_gui.cpp b/src/libgui/device_gui.cpp index bb91cea..fafd5a1 100644 --- a/src/libgui/device_gui.cpp +++ b/src/libgui/device_gui.cpp @@ -147,7 +147,7 @@ DeviceChooser::Dialog::Dialog(const TQString &device, Type type, TQWidget *paren shbox = new TQHBoxLayout(vbox); // status filter - _statusCombo = new EnumComboBox<Device::tqStatus>(i18n("<Status>"), "status", frame); + _statusCombo = new EnumComboBox<Device::Status>(i18n("<Status>"), "status", frame); connect(_statusCombo->combo(), TQT_SIGNAL(activated(int)), TQT_SLOT(updateList())); shbox->addWidget(_statusCombo->combo()); @@ -274,7 +274,7 @@ void DeviceChooser::Dialog::updateList(const TQString &device) const Device::Data *data = Device::lister().data(list[i]); Q_ASSERT(data); if ( _memoryCombo->value()!=Device::MemoryTechnology::Nb_Types && data->memoryTechnology()!=_memoryCombo->value() ) continue; - if ( _statusCombo->value()!=Device::tqStatus::Nb_Types && data->status()!=_statusCombo->value() ) continue; + if ( _statusCombo->value()!=Device::Status::Nb_Types && data->status()!=_statusCombo->value() ) continue; if ( _featureCombo->value()!=Pic::Feature::Nb_Types ) { if ( data->group().name()!="pic" ) continue; if ( !static_cast<const Pic::Data *>(data)->hasFeature(_featureCombo->value()) ) continue; |