diff options
Diffstat (limited to 'src/fetch/bibsonomyfetcher.cpp')
-rw-r--r-- | src/fetch/bibsonomyfetcher.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/fetch/bibsonomyfetcher.cpp b/src/fetch/bibsonomyfetcher.cpp index 4ce1cd4..81b13b7 100644 --- a/src/fetch/bibsonomyfetcher.cpp +++ b/src/fetch/bibsonomyfetcher.cpp @@ -54,7 +54,7 @@ bool BibsonomyFetcher::canFetch(int type) const { return type == Data::Collection::Bibtex; } -void BibsonomyFetcher::readConfigHook(const KConfigGroup&) { +void BibsonomyFetcher::readConfigHook(const TDEConfigGroup&) { } void BibsonomyFetcher::search(FetchKey key_, const TQString& value_) { @@ -78,11 +78,11 @@ void BibsonomyFetcher::search(FetchKey key_, const TQString& value_) { return; } - 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 BibsonomyFetcher::stop() { @@ -99,12 +99,12 @@ void BibsonomyFetcher::stop() { emit signalDone(this); } -void BibsonomyFetcher::slotData(KIO::Job*, const TQByteArray& data_) { +void BibsonomyFetcher::slotData(TDEIO::Job*, const TQByteArray& data_) { TQDataStream stream(m_data, IO_WriteOnly | IO_Append); stream.writeRawBytes(data_.data(), data_.size()); } -void BibsonomyFetcher::slotComplete(KIO::Job* job_) { +void BibsonomyFetcher::slotComplete(TDEIO::Job* job_) { // myDebug() << "BibsonomyFetcher::slotComplete()" << endl; // since the fetch is done, don't worry about holding the job pointer m_job = 0; @@ -199,7 +199,7 @@ BibsonomyFetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const BibsonomyF l->addStretch(); } -void BibsonomyFetcher::ConfigWidget::saveConfig(KConfigGroup&) { +void BibsonomyFetcher::ConfigWidget::saveConfig(TDEConfigGroup&) { } TQString BibsonomyFetcher::ConfigWidget::preferredName() const { |