diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-02 06:40:27 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-02 06:40:27 +0000 |
commit | 2595a15ebeb6fc46b7cb241d01ec0c2460ec2111 (patch) | |
tree | 18a8f0f4ac5a86dacfa74c3537551ec39bc85e75 /src/translators/xmlimporter.h | |
parent | 1d90725a4001fab9d3922b2cbcceeee5e2d1686f (diff) | |
download | tellico-2595a15ebeb6fc46b7cb241d01ec0c2460ec2111.tar.gz tellico-2595a15ebeb6fc46b7cb241d01ec0c2460ec2111.zip |
TQt4 port tellico
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/tellico@1239054 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/translators/xmlimporter.h')
-rw-r--r-- | src/translators/xmlimporter.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/translators/xmlimporter.h b/src/translators/xmlimporter.h index 743a1c1..e544a17 100644 --- a/src/translators/xmlimporter.h +++ b/src/translators/xmlimporter.h @@ -16,7 +16,7 @@ #include "importer.h" -#include <qdom.h> +#include <tqdom.h> namespace Tellico { namespace Import { @@ -28,6 +28,7 @@ namespace Tellico { */ class XMLImporter : public Importer { Q_OBJECT + TQ_OBJECT public: /** @@ -41,16 +42,16 @@ public: * * @param text The text */ - XMLImporter(const QString& text); + XMLImporter(const TQString& text); /** * Imports xml text from a byte array. * * @param data The Data */ - XMLImporter(const QByteArray& data); - XMLImporter(const QDomDocument& dom); + XMLImporter(const TQByteArray& data); + XMLImporter(const TQDomDocument& dom); - virtual void setText(const QString& text); + virtual void setText(const TQString& text); /** * This class gets used as a utility XML loader. This should never get called, @@ -63,10 +64,10 @@ public: * * @return The file contents */ - const QDomDocument& domDocument() const { return m_dom; } + const TQDomDocument& domDocument() const { return m_dom; } private: - QDomDocument m_dom; + TQDomDocument m_dom; }; } // end namespace |