summaryrefslogtreecommitdiffstats
path: root/src/fetch/googlescholarfetcher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/fetch/googlescholarfetcher.cpp')
-rw-r--r--src/fetch/googlescholarfetcher.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/fetch/googlescholarfetcher.cpp b/src/fetch/googlescholarfetcher.cpp
index 83730e7..567983c 100644
--- a/src/fetch/googlescholarfetcher.cpp
+++ b/src/fetch/googlescholarfetcher.cpp
@@ -58,7 +58,7 @@ bool GoogleScholarFetcher::canFetch(int type) const {
return type == Data::Collection::Bibtex;
}
-void GoogleScholarFetcher::readConfigHook(const KConfigGroup& config_) {
+void GoogleScholarFetcher::readConfigHook(const TDEConfigGroup& config_) {
Q_UNUSED(config_);
}
@@ -113,11 +113,11 @@ void GoogleScholarFetcher::doSearch() {
}
// myDebug() << "GoogleScholarFetcher::search() - url: " << u.url() << endl;
- m_job = KIO::get(u, false, false);
- connect(m_job, TQT_SIGNAL(data(KIO::Job*, const TQByteArray&)),
- TQT_SLOT(slotData(KIO::Job*, const TQByteArray&)));
- connect(m_job, TQT_SIGNAL(result(KIO::Job*)),
- TQT_SLOT(slotComplete(KIO::Job*)));
+ m_job = TDEIO::get(u, false, false);
+ connect(m_job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
+ TQT_SLOT(slotData(TDEIO::Job*, const TQByteArray&)));
+ connect(m_job, TQT_SIGNAL(result(TDEIO::Job*)),
+ TQT_SLOT(slotComplete(TDEIO::Job*)));
}
void GoogleScholarFetcher::stop() {
@@ -133,12 +133,12 @@ void GoogleScholarFetcher::stop() {
emit signalDone(this);
}
-void GoogleScholarFetcher::slotData(KIO::Job*, const TQByteArray& data_) {
+void GoogleScholarFetcher::slotData(TDEIO::Job*, const TQByteArray& data_) {
TQDataStream stream(m_data, IO_WriteOnly | IO_Append);
stream.writeRawBytes(data_.data(), data_.size());
}
-void GoogleScholarFetcher::slotComplete(KIO::Job* job_) {
+void GoogleScholarFetcher::slotComplete(TDEIO::Job* job_) {
// myDebug() << "GoogleScholarFetcher::slotComplete()" << endl;
// since the fetch is done, don't worry about holding the job pointer
m_job = 0;