summaryrefslogtreecommitdiffstats
path: root/src/xml_to_data/device_xml_to_data.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:14:26 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:14:26 -0600
commit9d9fe02a944fe0719c2475739411727a729251ad (patch)
tree5b05f738dd8631ae2c2e2ed46f4a7785fad410f7 /src/xml_to_data/device_xml_to_data.cpp
parentad1fc5fc8eadb9b63e8767e57ac41cbac84f7eb7 (diff)
downloadpiklab-9d9fe02a944fe0719c2475739411727a729251ad.tar.gz
piklab-9d9fe02a944fe0719c2475739411727a729251ad.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'src/xml_to_data/device_xml_to_data.cpp')
-rw-r--r--src/xml_to_data/device_xml_to_data.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/xml_to_data/device_xml_to_data.cpp b/src/xml_to_data/device_xml_to_data.cpp
index c1d41ac..3389664 100644
--- a/src/xml_to_data/device_xml_to_data.cpp
+++ b/src/xml_to_data/device_xml_to_data.cpp
@@ -90,21 +90,21 @@ void Device::XmlToDataBase::processDevice(TQDomElement device)
_data->_name = name;
_data->_alternatives = TQStringList::split(' ', device.attribute("alternative"));
if ( _data->_alternatives.count() ) _alternatives[name] = _data->_alternatives;
- _data->_status = tqStatus::fromKey(device.attribute("status"));
+ _data->_status = Status::fromKey(device.attribute("status"));
switch (_data->_status.type()) {
- case tqStatus::Nb_Types:
+ case Status::Nb_Types:
qFatal("Unrecognized or absent device status");
break;
- case tqStatus::Future:
+ case Status::Future:
if ( _data->_alternatives.count() ) qFatal("Future device has alternative");
break;
- case tqStatus::NotRecommended:
- case tqStatus::Mature:
+ case Status::NotRecommended:
+ case Status::Mature:
if ( _data->_alternatives.count()==0 ) warning("Not-recommended/mature device has no alternative");
break;
- case tqStatus::InProduction:
- case tqStatus::EOL:
- case tqStatus::Unknown: break;
+ case Status::InProduction:
+ case Status::EOL:
+ case Status::Unknown: break;
}
// document