summaryrefslogtreecommitdiffstats
path: root/src/coff/xml/xml_coff_parser.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:22:13 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:22:13 -0600
commit9abf98be4f3111c54f13dcb44902a275bd2d7169 (patch)
treed6771816657222c79deae56c23c2d6339cba27e3 /src/coff/xml/xml_coff_parser.cpp
parent2b18f76290022900fe896ebac6b2b6da30a9f136 (diff)
downloadpiklab-9abf98be4f3111c54f13dcb44902a275bd2d7169.tar.gz
piklab-9abf98be4f3111c54f13dcb44902a275bd2d7169.zip
Rename additional global TQt functions
Diffstat (limited to 'src/coff/xml/xml_coff_parser.cpp')
-rw-r--r--src/coff/xml/xml_coff_parser.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/coff/xml/xml_coff_parser.cpp b/src/coff/xml/xml_coff_parser.cpp
index 556cdb0..9b915bf 100644
--- a/src/coff/xml/xml_coff_parser.cpp
+++ b/src/coff/xml/xml_coff_parser.cpp
@@ -35,14 +35,14 @@ private:
void Coff::XmlToData::parseData(TQDomElement element, Data &data)
{
TQStringList list = TQStringList::split(' ', element.attribute("id"));
- if ( list.isEmpty() ) qFatal("Missing id");
- if ( list.count()>MAX_NB_IDS ) qFatal("Please raise MAX_NB_IDS");
+ if ( list.isEmpty() ) tqFatal("Missing id");
+ if ( list.count()>MAX_NB_IDS ) tqFatal("Please raise MAX_NB_IDS");
for (uint i=0; i<MAX_NB_IDS; i++) {
if ( i<uint(list.count()) ) {
bool ok;
data.ids[i] = fromHexLabel(list[i], 4, &ok);
- if ( !ok ) qFatal("Invalid id");
- //if ( _ids.contains(data.ids[i]) ) qFatal("Duplicated id");
+ if ( !ok ) tqFatal("Invalid id");
+ //if ( _ids.contains(data.ids[i]) ) tqFatal("Duplicated id");
//_ids[data.ids[i]] = true;
} else data.ids[i] = 0;
}
@@ -93,19 +93,19 @@ void Coff::XmlToData::parse()
case Pic::Architecture::P33F: continue;
case Pic::Architecture::Nb_Types: Q_ASSERT(false); continue;
}
- if ( !hasDevice(data->name()) ) qWarning("No id for device %s", data->name().latin1());
+ if ( !hasDevice(data->name()) ) tqWarning("No id for device %s", data->name().latin1());
}
// extract COFF id from gputils
for (uint i=0; pics[i].tag!=no_processor; i++) {
_current = TQString(pics[i].names[2]).upper();
if ( !Device::lister().isSupported(_current) ) continue;
- if ( !hasDevice(_current) ) qDebug(">> add new id %s: %s", _current.latin1(), toHexLabel(pics[i].coff_type, 4).latin1());
+ if ( !hasDevice(_current) ) tqDebug(">> add new id %s: %s", _current.latin1(), toHexLabel(pics[i].coff_type, 4).latin1());
else {
bool ok = false;
for (uint k=0; k<MAX_NB_IDS; k++)
if ( _map[_current].data.ids[k]==pics[i].coff_type ) ok = true;
- if ( !ok ) qFatal(TQString("Different ids"));
+ if ( !ok ) tqFatal(TQString("Different ids"));
}
}
}