From 145d30f0b8cbacc3599379e8717299734f3bb534 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 25 Jan 2013 00:14:31 -0600 Subject: Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4 --- src/fetch/isbndbfetcher.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/fetch/isbndbfetcher.cpp') diff --git a/src/fetch/isbndbfetcher.cpp b/src/fetch/isbndbfetcher.cpp index cc4dcb2..d0c93c1 100644 --- a/src/fetch/isbndbfetcher.cpp +++ b/src/fetch/isbndbfetcher.cpp @@ -62,7 +62,7 @@ bool ISBNdbFetcher::canFetch(int type) const { return type == Data::Collection::Book || type == Data::Collection::ComicBook || type == Data::Collection::Bibtex; } -void ISBNdbFetcher::readConfigHook(const KConfigGroup& config_) { +void ISBNdbFetcher::readConfigHook(const TDEConfigGroup& config_) { Q_UNUSED(config_); } @@ -133,11 +133,11 @@ void ISBNdbFetcher::doSearch() { } // myDebug() << "ISBNdbFetcher::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 ISBNdbFetcher::stop() { @@ -154,12 +154,12 @@ void ISBNdbFetcher::stop() { emit signalDone(this); } -void ISBNdbFetcher::slotData(KIO::Job*, const TQByteArray& data_) { +void ISBNdbFetcher::slotData(TDEIO::Job*, const TQByteArray& data_) { TQDataStream stream(m_data, IO_WriteOnly | IO_Append); stream.writeRawBytes(data_.data(), data_.size()); } -void ISBNdbFetcher::slotComplete(KIO::Job* job_) { +void ISBNdbFetcher::slotComplete(TDEIO::Job* job_) { // myDebug() << "ISBNdbFetcher::slotComplete()" << endl; // since the fetch is done, don't worry about holding the job pointer m_job = 0; -- cgit v1.2.1