diff options
Diffstat (limited to 'src/translators/grs1importer.h')
-rw-r--r-- | src/translators/grs1importer.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/src/translators/grs1importer.h b/src/translators/grs1importer.h index a4929a4..04ea35b 100644 --- a/src/translators/grs1importer.h +++ b/src/translators/grs1importer.h @@ -17,9 +17,9 @@ #include "textimporter.h" #include "../datavectors.h" -#include <qvariant.h> -#include <qmap.h> -#include <qpair.h> +#include <tqvariant.h> +#include <tqmap.h> +#include <tqpair.h> namespace Tellico { namespace Import { @@ -29,9 +29,10 @@ namespace Tellico { */ class GRS1Importer : public TextImporter { Q_OBJECT + TQ_OBJECT public: - GRS1Importer(const QString& text); + GRS1Importer(const TQString& text); virtual ~GRS1Importer() {} /** @@ -40,23 +41,23 @@ 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; private: static void initTagMap(); - class TagPair : public QPair<int, QVariant> { + class TagPair : public TQPair<int, TQVariant> { public: - TagPair() : QPair<int, QVariant>(-1, QVariant()) {} - TagPair(int n, const QVariant& v) : QPair<int, QVariant>(n, v) {} - QString toString() const { return QString::number(first) + second.toString(); } + TagPair() : TQPair<int, TQVariant>(-1, TQVariant()) {} + TagPair(int n, const TQVariant& v) : TQPair<int, TQVariant>(n, v) {} + TQString toString() const { return TQString::number(first) + second.toString(); } bool operator< (const TagPair& p) const { return toString() < p.toString(); } }; - typedef QMap<TagPair, QString> TagMap; + typedef TQMap<TagPair, TQString> TagMap; static TagMap* s_tagMap; }; |