summaryrefslogtreecommitdiffstats
path: root/src/translators/xmlimporter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/translators/xmlimporter.h')
-rw-r--r--src/translators/xmlimporter.h15
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