summaryrefslogtreecommitdiffstats
path: root/src/libgui/device_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libgui/device_gui.cpp')
-rw-r--r--src/libgui/device_gui.cpp4
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;