diff options
Diffstat (limited to 'src/xmlwork.h')
-rw-r--r-- | src/xmlwork.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/xmlwork.h b/src/xmlwork.h index e4d1cae..7f62b0f 100644 --- a/src/xmlwork.h +++ b/src/xmlwork.h @@ -21,9 +21,9 @@ #ifndef XMLWORKXMLWORK_H #define XMLWORKXMLWORK_H -class QString; -class QDomDocument; -class QDomElement; +class TQString; +class TQDomDocument; +class TQDomElement; /** All related functions to manage XML files and trees * @author Sébastien Laoût @@ -31,15 +31,15 @@ class QDomElement; namespace XMLWork { // Manage XML files : - QDomDocument* openFile(const QString &name, const QString &filePath); + TQDomDocument* openFile(const TQString &name, const TQString &filePath); // Manage XML trees : - QDomElement getElement(const QDomElement &startElement, const QString &elementPath); - QString getElementText(const QDomElement &startElement, const QString &elementPath, const QString &defaultTxt = ""); - void addElement(QDomDocument &document, QDomElement &parent, const QString &name, const QString &text); - QString innerXml(QDomElement &element); + TQDomElement getElement(const TQDomElement &startElement, const TQString &elementPath); + TQString getElementText(const TQDomElement &startElement, const TQString &elementPath, const TQString &defaultTxt = ""); + void addElement(TQDomDocument &document, TQDomElement &tqparent, const TQString &name, const TQString &text); + TQString innerXml(TQDomElement &element); // Not directly related to XML : - bool trueOrFalse(const QString &value, bool defaultValue = true); - QString trueOrFalse(bool value); + bool trueOrFalse(const TQString &value, bool defaultValue = true); + TQString trueOrFalse(bool value); } #endif // XMLWORKXMLWORK_H |