diff options
Diffstat (limited to 'src/progs/icd2/xml/xml_icd2_parser.cpp')
-rw-r--r-- | src/progs/icd2/xml/xml_icd2_parser.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/progs/icd2/xml/xml_icd2_parser.cpp b/src/progs/icd2/xml/xml_icd2_parser.cpp index 7ce2ad9..06eed27 100644 --- a/src/progs/icd2/xml/xml_icd2_parser.cpp +++ b/src/progs/icd2/xml/xml_icd2_parser.cpp @@ -19,21 +19,21 @@ public: XmlToData() : Programmer::XmlToData<Data>("icd2", "Icd2") {} private: - virtual uint familyIndex(const QString &family) const; - virtual void parseData(QDomElement element, Data &data); - virtual void outputData(const Data &data, QTextStream &s) const; + virtual uint familyIndex(const TQString &family) const; + virtual void parseData(TQDomElement element, Data &data); + virtual void outputData(const Data &data, TQTextStream &s) const; }; -uint Icd2::XmlToData::familyIndex(const QString &family) const +uint Icd2::XmlToData::familyIndex(const TQString &family) const { uint i = 0; for (; Icd2::FAMILY_DATA[i].efid!=0; i++) if ( family==Icd2::FAMILY_DATA[i].name ) break; - if ( Icd2::FAMILY_DATA[i].efid==0 ) qFatal(QString("Family \"%1\" is unknown").arg(family)); + if ( Icd2::FAMILY_DATA[i].efid==0 ) qFatal(TQString("Family \"%1\" is unknown").tqarg(family)); return i; } -void Icd2::XmlToData::parseData(QDomElement element, Data &data) +void Icd2::XmlToData::parseData(TQDomElement element, Data &data) { bool ok; data.famid = fromHexLabel(element.attribute("famid"), 2, &ok); @@ -41,7 +41,7 @@ void Icd2::XmlToData::parseData(QDomElement element, Data &data) data.debugSupport = extractSupport(element.attribute("debug_support_type")); } -void Icd2::XmlToData::outputData(const Data &data, QTextStream &s) const +void Icd2::XmlToData::outputData(const Data &data, TQTextStream &s) const { s << toHexLabel(data.famid, 2) << ", "; s << "::Group::Support::Type(" << data.debugSupport.type() << ")"; |