From 2595a15ebeb6fc46b7cb241d01ec0c2460ec2111 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 2 Jul 2011 06:40:27 +0000 Subject: 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 --- src/translators/alexandriaexporter.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src/translators/alexandriaexporter.h') 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 -- cgit v1.2.1