summaryrefslogtreecommitdiffstats
path: root/src/translators/htmlexporter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/translators/htmlexporter.h')
-rw-r--r--src/translators/htmlexporter.h57
1 files changed, 29 insertions, 28 deletions
diff --git a/src/translators/htmlexporter.h b/src/translators/htmlexporter.h
index be89bbf..421d09e 100644
--- a/src/translators/htmlexporter.h
+++ b/src/translators/htmlexporter.h
@@ -14,12 +14,12 @@
#ifndef HTMLEXPORTER_H
#define HTMLEXPORTER_H
-class QCheckBox;
+class TQCheckBox;
#include "exporter.h"
#include "../stringset.h"
-#include <qstringlist.h>
+#include <tqstringlist.h>
#include <libxml/xmlstring.h>
@@ -40,6 +40,7 @@ namespace Tellico {
*/
class HTMLExporter : public Exporter {
Q_OBJECT
+ TQ_OBJECT
public:
HTMLExporter();
@@ -48,25 +49,25 @@ public:
virtual bool exec();
virtual void reset();
- virtual QString formatString() const;
- virtual QString fileFilter() const;
+ virtual TQString formatString() const;
+ virtual TQString fileFilter() const;
- virtual QWidget* widget(QWidget* parent, const char* name=0);
+ virtual TQWidget* widget(TQWidget* tqparent, const char* name=0);
virtual void readOptions(KConfig*);
virtual void saveOptions(KConfig*);
void setCollectionURL(const KURL& url) { m_collectionURL = url; m_links.clear(); }
- void setXSLTFile(const QString& filename);
+ void setXSLTFile(const TQString& filename);
void setPrintHeaders(bool printHeaders) { m_printHeaders = printHeaders; }
void setPrintGrouped(bool printGrouped) { m_printGrouped = printGrouped; }
void setMaxImageSize(int w, int h) { m_imageWidth = w; m_imageHeight = h; }
- void setGroupBy(const QStringList& groupBy) { m_groupBy = groupBy; }
- void setSortTitles(const QStringList& l)
+ void setGroupBy(const TQStringList& groupBy) { m_groupBy = groupBy; }
+ void setSortTitles(const TQStringList& l)
{ m_sort1 = l[0]; m_sort2 = l[1]; m_sort3 = l[2]; }
- void setColumns(const QStringList& columns) { m_columns = columns; }
+ void setColumns(const TQStringList& columns) { m_columns = columns; }
void setParseDOM(bool parseDOM) { m_parseDOM = parseDOM; reset(); }
- QString text();
+ TQString text();
public slots:
void slotCancel();
@@ -76,12 +77,12 @@ private:
void writeImages(Data::CollPtr coll);
bool writeEntryFiles();
KURL fileDir() const;
- QString fileDirName() const;
+ TQString fileDirName() const;
void parseDOM(_xmlNode* node);
- QString handleLink(const QString& link);
+ TQString handleLink(const TQString& link);
const xmlChar* handleLink(const xmlChar* link);
- QString analyzeInternalCSS(const QString& string);
+ TQString analyzeInternalCSS(const TQString& string);
const xmlChar* analyzeInternalCSS(const xmlChar* string);
bool copyFiles();
bool loadXSLTFile();
@@ -97,25 +98,25 @@ private:
int m_imageWidth;
int m_imageHeight;
- QWidget* m_widget;
- QCheckBox* m_checkPrintHeaders;
- QCheckBox* m_checkPrintGrouped;
- QCheckBox* m_checkExportEntryFiles;
- QCheckBox* m_checkExportImages;
+ TQWidget* m_widget;
+ TQCheckBox* m_checkPrintHeaders;
+ TQCheckBox* m_checkPrintGrouped;
+ TQCheckBox* m_checkExportEntryFiles;
+ TQCheckBox* m_checkExportImages;
KURL m_collectionURL;
- QString m_xsltFile;
- QString m_xsltFilePath;
- QString m_dataDir;
- QStringList m_groupBy;
- QString m_sort1;
- QString m_sort2;
- QString m_sort3;
- QStringList m_columns;
- QString m_entryXSLTFile;
+ TQString m_xsltFile;
+ TQString m_xsltFilePath;
+ TQString m_dataDir;
+ TQStringList m_groupBy;
+ TQString m_sort1;
+ TQString m_sort2;
+ TQString m_sort3;
+ TQStringList m_columns;
+ TQString m_entryXSLTFile;
KURL::List m_files;
- QMap<QString, QString> m_links;
+ TQMap<TQString, TQString> m_links;
StringSet m_copiedFiles;
};