summaryrefslogtreecommitdiffstats
path: root/src/fetch/isbndbfetcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fetch/isbndbfetcher.h')
-rw-r--r--src/fetch/isbndbfetcher.h29
1 files changed, 15 insertions, 14 deletions
diff --git a/src/fetch/isbndbfetcher.h b/src/fetch/isbndbfetcher.h
index e49246a..f5983b2 100644
--- a/src/fetch/isbndbfetcher.h
+++ b/src/fetch/isbndbfetcher.h
@@ -24,8 +24,8 @@ namespace Tellico {
#include <kio/job.h>
-#include <qcstring.h> // for QByteArray
-#include <qguardedptr.h>
+#include <tqcstring.h> // for TQByteArray
+#include <tqguardedptr.h>
namespace Tellico {
namespace Fetch {
@@ -35,14 +35,15 @@ namespace Tellico {
*/
class ISBNdbFetcher : public Fetcher {
Q_OBJECT
+ TQ_OBJECT
public:
- ISBNdbFetcher(QObject* parent = 0, const char* name = 0);
+ ISBNdbFetcher(TQObject* tqparent = 0, const char* name = 0);
~ISBNdbFetcher();
- virtual QString source() const;
+ virtual TQString source() const;
virtual bool isSearching() const { return m_started; }
- virtual void search(FetchKey key, const QString& value);
+ virtual void search(FetchKey key, const TQString& value);
virtual void continueSearch();
virtual bool canSearch(FetchKey k) const { return k == Title || k == Person || k == Keyword || k == ISBN; }
virtual void stop();
@@ -53,20 +54,20 @@ public:
virtual void updateEntry(Data::EntryPtr entry);
- virtual Fetch::ConfigWidget* configWidget(QWidget* parent) const;
+ virtual Fetch::ConfigWidget* configWidget(TQWidget* tqparent) const;
class ConfigWidget : public Fetch::ConfigWidget {
public:
- ConfigWidget(QWidget* parent_, const ISBNdbFetcher* fetcher = 0);
+ ConfigWidget(TQWidget* tqparent_, const ISBNdbFetcher* fetcher = 0);
virtual void saveConfig(KConfigGroup&) {}
- virtual QString preferredName() const;
+ virtual TQString preferredName() const;
};
friend class ConfigWidget;
- static QString defaultName();
+ static TQString defaultName();
private slots:
- void slotData(KIO::Job* job, const QByteArray& data);
+ void slotData(KIO::Job* job, const TQByteArray& data);
void slotComplete(KIO::Job* job);
private:
@@ -80,12 +81,12 @@ private:
int m_numResults;
int m_countOffset;
- QByteArray m_data;
- QMap<int, Data::EntryPtr> m_entries;
- QGuardedPtr<KIO::Job> m_job;
+ TQByteArray m_data;
+ TQMap<int, Data::EntryPtr> m_entries;
+ TQGuardedPtr<KIO::Job> m_job;
FetchKey m_key;
- QString m_value;
+ TQString m_value;
bool m_started;
};