summaryrefslogtreecommitdiffstats
path: root/src/translators/tellicoxmlexporter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/translators/tellicoxmlexporter.h')
-rw-r--r--src/translators/tellicoxmlexporter.h35
1 files changed, 18 insertions, 17 deletions
diff --git a/src/translators/tellicoxmlexporter.h b/src/translators/tellicoxmlexporter.h
index 705c2dc..1fe4f43 100644
--- a/src/translators/tellicoxmlexporter.h
+++ b/src/translators/tellicoxmlexporter.h
@@ -18,9 +18,9 @@ namespace Tellico {
class Filter;
}
-class QDomDocument;
-class QDomElement;
-class QCheckBox;
+class TQDomDocument;
+class TQDomElement;
+class TQCheckBox;
#include "exporter.h"
#include "../stringset.h"
@@ -33,22 +33,23 @@ namespace Tellico {
*/
class TellicoXMLExporter : public Exporter {
Q_OBJECT
+ TQ_OBJECT
public:
TellicoXMLExporter();
TellicoXMLExporter(Data::CollPtr coll);
virtual bool exec();
- virtual QString formatString() const;
- virtual QString fileFilter() const;
+ virtual TQString formatString() const;
+ virtual TQString fileFilter() const;
- QDomDocument exportXML() const;
- QString exportXMLString() const;
+ TQDomDocument exportXML() const;
+ TQString exportXMLString() const;
void setIncludeImages(bool b) { m_includeImages = b; }
void setIncludeGroups(bool b) { m_includeGroups = b; }
- virtual QWidget* widget(QWidget*, const char*);
+ virtual TQWidget* widget(TQWidget*, const char*);
virtual void readOptions(KConfig* cfg);
virtual void saveOptions(KConfig* cfg);
@@ -58,21 +59,21 @@ public:
static const unsigned syntaxVersion;
private:
- void exportCollectionXML(QDomDocument& doc, QDomElement& parent, bool format) const;
- void exportFieldXML(QDomDocument& doc, QDomElement& parent, Data::FieldPtr field) const;
- void exportEntryXML(QDomDocument& doc, QDomElement& parent, Data::EntryPtr entry, bool format) const;
- void exportImageXML(QDomDocument& doc, QDomElement& parent, const QString& imageID) const;
- void exportGroupXML(QDomDocument& doc, QDomElement& parent) const;
- void exportFilterXML(QDomDocument& doc, QDomElement& parent, FilterPtr filter) const;
- void exportBorrowerXML(QDomDocument& doc, QDomElement& parent, Data::BorrowerPtr borrower) const;
+ void exportCollectionXML(TQDomDocument& doc, TQDomElement& tqparent, bool format) const;
+ void exportFieldXML(TQDomDocument& doc, TQDomElement& tqparent, Data::FieldPtr field) const;
+ void exportEntryXML(TQDomDocument& doc, TQDomElement& tqparent, Data::EntryPtr entry, bool format) const;
+ void exportImageXML(TQDomDocument& doc, TQDomElement& tqparent, const TQString& imageID) const;
+ void exportGroupXML(TQDomDocument& doc, TQDomElement& tqparent) const;
+ void exportFilterXML(TQDomDocument& doc, TQDomElement& tqparent, FilterPtr filter) const;
+ void exportBorrowerXML(TQDomDocument& doc, TQDomElement& tqparent, Data::BorrowerPtr borrower) const;
// keep track of which images were written, since some entries could have same image
mutable StringSet m_images;
bool m_includeImages : 1;
bool m_includeGroups : 1;
- QWidget* m_widget;
- QCheckBox* m_checkIncludeImages;
+ TQWidget* m_widget;
+ TQCheckBox* m_checkIncludeImages;
};
} // end namespace