summaryrefslogtreecommitdiffstats
path: root/src/translators/bibteximporter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/translators/bibteximporter.h')
-rw-r--r--src/translators/bibteximporter.h27
1 files changed, 14 insertions, 13 deletions
diff --git a/src/translators/bibteximporter.h b/src/translators/bibteximporter.h
index c17195b..e0d248c 100644
--- a/src/translators/bibteximporter.h
+++ b/src/translators/bibteximporter.h
@@ -26,10 +26,10 @@ extern "C" {
}
#endif
-#include <qptrlist.h>
-#include <qmap.h>
+#include <tqptrlist.h>
+#include <tqmap.h>
-class QRadioButton;
+class TQRadioButton;
namespace Tellico {
namespace Import {
@@ -42,6 +42,7 @@ namespace Tellico {
*/
class BibtexImporter : public Importer {
Q_OBJECT
+ TQ_OBJECT
public:
/**
@@ -50,7 +51,7 @@ public:
* @param url The url of the bibtex file
*/
BibtexImporter(const KURL::List& urls);
- BibtexImporter(const QString& text);
+ BibtexImporter(const TQString& text);
/*
* Some cleanup is done for the btparse library
*/
@@ -63,25 +64,25 @@ public:
* @return A pointer to a @ref BibtexCollection, or 0 if none can be created.
*/
virtual Data::CollPtr collection();
- virtual QWidget* widget(QWidget* parent, const char* name=0);
+ virtual TQWidget* widget(TQWidget* tqparent, const char* name=0);
virtual bool canImport(int type) const;
public slots:
void slotCancel();
private:
- Data::CollPtr readCollection(const QString& text, int n);
- void parseText(const QString& text);
+ Data::CollPtr readCollection(const TQString& text, int n);
+ void parseText(const TQString& text);
- typedef QPtrList<AST> ASTList;
- typedef QPtrListIterator<AST> ASTListIterator;
+ typedef TQPtrList<AST> ASTList;
+ typedef TQPtrListIterator<AST> ASTListIterator;
ASTList m_nodes;
- QMap<QString, QString> m_macros;
+ TQMap<TQString, TQString> m_macros;
Data::CollPtr m_coll;
- QWidget* m_widget;
- QRadioButton* m_readUTF8;
- QRadioButton* m_readLocale;
+ TQWidget* m_widget;
+ TQRadioButton* m_readUTF8;
+ TQRadioButton* m_readLocale;
bool m_cancelled : 1;
};