summaryrefslogtreecommitdiffstats
path: root/src/xml_to_data
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:14:26 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-27 04:09:42 +0200
commit1177a9f23b1c9929bef9464f434d82273783204c (patch)
treebb02f26d98266ad9b7501307ab3013edd1b55ea7 /src/xml_to_data
parentadc9148343ca4ef148414cec1a6b38eb9636c029 (diff)
downloadpiklab-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/xml_to_data')
-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