summaryrefslogtreecommitdiffstats
path: root/src/progs/pickit2
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/progs/pickit2
parent2b18f76290022900fe896ebac6b2b6da30a9f136 (diff)
downloadpiklab-9abf98be4f3111c54f13dcb44902a275bd2d7169.tar.gz
piklab-9abf98be4f3111c54f13dcb44902a275bd2d7169.zip
Rename additional global TQt functions
Diffstat (limited to 'src/progs/pickit2')
-rw-r--r--src/progs/pickit2/xml/xml_pickit2_parser.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/progs/pickit2/xml/xml_pickit2_parser.cpp b/src/progs/pickit2/xml/xml_pickit2_parser.cpp
index 686e4b2e..fb0543a 100644
--- a/src/progs/pickit2/xml/xml_pickit2_parser.cpp
+++ b/src/progs/pickit2/xml/xml_pickit2_parser.cpp
@@ -26,25 +26,25 @@ private:
void Pickit2::XmlToData::parseData(TQDomElement element, Data &data)
{
TQString s = element.attribute("entry");
- if ( s.length()!=1 || (s[0]!='O' && s[0]!='P') ) qFatal("Invalid or missing entry mode");
+ if ( s.length()!=1 || (s[0]!='O' && s[0]!='P') ) tqFatal("Invalid or missing entry mode");
data.entryMode = s[0].latin1();
s = element.attribute("pmode");
if ( s.length()!=1 || (s[0]!='0' && s[0]!='1' && s[0]!='4' && s[0]!='n') )
- qFatal("Invalid or missing program mode");
+ tqFatal("Invalid or missing program mode");
data.progMode = s[0].latin1();
s = element.attribute("pwidth");
if ( data.progMode!='n' ) {
- if ( s.length()!=0 ) qFatal("Program width should not be defined");
+ if ( s.length()!=0 ) tqFatal("Program width should not be defined");
data.progWidth = 0;
} else {
bool ok;
data.progWidth = s.toUInt(&ok);
- if ( !ok ) qFatal("Invalid or missing program width");
+ if ( !ok ) tqFatal("Invalid or missing program width");
}
s = element.attribute("regen");
if ( s.isEmpty() || s=="false" ) data.regenerateOsccal = false;
else if ( s=="true" ) data.regenerateOsccal = true;
- else qFatal("Invalid regen value");
+ else tqFatal("Invalid regen value");
}
void Pickit2::XmlToData::outputData(const Data &data, TQTextStream &s) const