diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-17 08:20:48 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-17 08:20:48 +0000 |
commit | aa0726b20f398264f0a2abc60215be044b106f9c (patch) | |
tree | 070fdbc19a1106cfdd7f651a8ce76bb1b89a513d /src/xmlwork.h | |
parent | d3cf5b3e75aadc3b02d0b56f030d4c3f8c2c749d (diff) | |
download | basket-aa0726b20f398264f0a2abc60215be044b106f9c.tar.gz basket-aa0726b20f398264f0a2abc60215be044b106f9c.zip |
TQt4 port basket
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/basket@1232416 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 |