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