diff options
Diffstat (limited to 'src/xml_to_data/xml_to_data.h')
-rw-r--r-- | src/xml_to_data/xml_to_data.h | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/src/xml_to_data/xml_to_data.h b/src/xml_to_data/xml_to_data.h index bd7e166..5ba4290 100644 --- a/src/xml_to_data/xml_to_data.h +++ b/src/xml_to_data/xml_to_data.h @@ -10,12 +10,8 @@ #define XML_TO_DATA_H #include "common/global/global.h" -#if QT_VERSION<0x040000 -# include <qdom.h> -#else -# include <QtXml/QDomDocument> -#endif -#include <qstringlist.h> +# include <tqdom.h> +#include <tqstringlist.h> class XmlToData { @@ -27,13 +23,13 @@ public: protected: virtual void parse() = 0; virtual void output() = 0; - virtual QString currentDevice() const = 0; - virtual void warning(const QString &message) const; - virtual void qFatal(const QString &message) const; - QDomElement findUniqueElement(QDomElement parent, const QString &nodeName, - const QString &attribute, const QString &value) const; - void checkTagNames(QDomElement element, const QString &tag, const QStringList &names) const; - QDomDocument parseFile(const QString &filename) const; + virtual TQString currentDevice() const = 0; + virtual void warning(const TQString &message) const; + virtual void qFatal(const TQString &message) const; + TQDomElement findUniqueElement(TQDomElement tqparent, const TQString &nodeName, + const TQString &attribute, const TQString &value) const; + void checkTagNames(TQDomElement element, const TQString &tag, const TQStringList &names) const; + TQDomDocument parseFile(const TQString &filename) const; }; #define XML_MAIN(_type) \ |