summaryrefslogtreecommitdiffstats
path: root/src/translators/alexandriaexporter.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-02 06:40:27 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-02 06:40:27 +0000
commit2595a15ebeb6fc46b7cb241d01ec0c2460ec2111 (patch)
tree18a8f0f4ac5a86dacfa74c3537551ec39bc85e75 /src/translators/alexandriaexporter.h
parent1d90725a4001fab9d3922b2cbcceeee5e2d1686f (diff)
downloadtellico-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/alexandriaexporter.h')
-rw-r--r--src/translators/alexandriaexporter.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/translators/alexandriaexporter.h b/src/translators/alexandriaexporter.h
index 033bb14..cc2a368 100644
--- a/src/translators/alexandriaexporter.h
+++ b/src/translators/alexandriaexporter.h
@@ -14,7 +14,7 @@
#ifndef ALEXANDRIAEXPORTER_H
#define ALEXANDRIAEXPORTER_H
-class QDir;
+class TQDir;
#include "exporter.h"
@@ -29,21 +29,22 @@ namespace Tellico {
*/
class AlexandriaExporter : public Exporter {
Q_OBJECT
+ TQ_OBJECT
public:
AlexandriaExporter() : Exporter() {}
virtual bool exec();
- virtual QString formatString() const;
- virtual QString fileFilter() const { return QString::null; } // no need for this
+ virtual TQString formatString() const;
+ virtual TQString fileFilter() const { return TQString(); } // no need for this
// no config options
- virtual QWidget* widget(QWidget*, const char*) { return 0; }
+ virtual TQWidget* widget(TQWidget*, const char*) { return 0; }
private:
- static QString& escapeText(QString& str);
+ static TQString& escapeText(TQString& str);
- bool writeFile(const QDir& dir, Data::ConstEntryPtr entry);
+ bool writeFile(const TQDir& dir, Data::ConstEntryPtr entry);
};
} // end namespace