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/risimporter.h | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'src/translators/risimporter.h') diff --git a/src/translators/risimporter.h b/src/translators/risimporter.h index c7d08d2..9b5b07b 100644 --- a/src/translators/risimporter.h +++ b/src/translators/risimporter.h @@ -17,11 +17,11 @@ #include "importer.h" #include "../datavectors.h" -#include -#include +#include +#include template -class QDict; +class TQDict; namespace Tellico { namespace Data { @@ -34,6 +34,7 @@ namespace Tellico { */ class RISImporter : public Importer { Q_OBJECT + TQ_OBJECT public: /** @@ -46,7 +47,7 @@ public: virtual Data::CollPtr collection(); /** */ - virtual QWidget* widget(QWidget*, const char*) { return 0; } + virtual TQWidget* widget(TQWidget*, const char*) { return 0; } virtual bool canImport(int type) const; public slots: @@ -56,14 +57,14 @@ private: static void initTagMap(); static void initTypeMap(); - Data::FieldPtr fieldByTag(const QString& tag); - void readURL(const KURL& url, int n, const QDict& risFields); + Data::FieldPtr fieldByTag(const TQString& tag); + void readURL(const KURL& url, int n, const TQDict& risFields); Data::CollPtr m_coll; bool m_cancelled; - static QMap* s_tagMap; - static QMap* s_typeMap; + static TQMap* s_tagMap; + static TQMap* s_typeMap; }; } // end namespace -- cgit v1.2.1