summaryrefslogtreecommitdiffstats
path: root/src/translators/risimporter.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/risimporter.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/risimporter.h')
-rw-r--r--src/translators/risimporter.h17
1 files changed, 9 insertions, 8 deletions
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 <qstring.h>
-#include <qmap.h>
+#include <tqstring.h>
+#include <tqmap.h>
template<class type>
-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<Data::Field>& risFields);
+ Data::FieldPtr fieldByTag(const TQString& tag);
+ void readURL(const KURL& url, int n, const TQDict<Data::Field>& risFields);
Data::CollPtr m_coll;
bool m_cancelled;
- static QMap<QString, QString>* s_tagMap;
- static QMap<QString, QString>* s_typeMap;
+ static TQMap<TQString, TQString>* s_tagMap;
+ static TQMap<TQString, TQString>* s_typeMap;
};
} // end namespace