summaryrefslogtreecommitdiffstats
path: root/src/fetch/animenfofetcher.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-25 00:14:31 -0600
committerTimothy Pearson <[email protected]>2013-01-25 00:14:31 -0600
commit145d30f0b8cbacc3599379e8717299734f3bb534 (patch)
tree3713677dce079619063612b12788282fd32e53af /src/fetch/animenfofetcher.cpp
parent5b6d393e0a2c88cce8f433607c091ae883ef54f9 (diff)
downloadtellico-145d30f0b8cbacc3599379e8717299734f3bb534.tar.gz
tellico-145d30f0b8cbacc3599379e8717299734f3bb534.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'src/fetch/animenfofetcher.cpp')
-rw-r--r--src/fetch/animenfofetcher.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/fetch/animenfofetcher.cpp b/src/fetch/animenfofetcher.cpp
index 43516b8..be639d6 100644
--- a/src/fetch/animenfofetcher.cpp
+++ b/src/fetch/animenfofetcher.cpp
@@ -55,7 +55,7 @@ bool AnimeNfoFetcher::canFetch(int type) const {
return type == Data::Collection::Video;
}
-void AnimeNfoFetcher::readConfigHook(const KConfigGroup& config_) {
+void AnimeNfoFetcher::readConfigHook(const TDEConfigGroup& config_) {
Q_UNUSED(config_);
}
@@ -90,11 +90,11 @@ void AnimeNfoFetcher::search(FetchKey key_, const TQString& value_) {
#endif
// myDebug() << "AnimeNfoFetcher::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 AnimeNfoFetcher::stop() {
@@ -111,12 +111,12 @@ void AnimeNfoFetcher::stop() {
emit signalDone(this);
}
-void AnimeNfoFetcher::slotData(KIO::Job*, const TQByteArray& data_) {
+void AnimeNfoFetcher::slotData(TDEIO::Job*, const TQByteArray& data_) {
TQDataStream stream(m_data, IO_WriteOnly | IO_Append);
stream.writeRawBytes(data_.data(), data_.size());
}
-void AnimeNfoFetcher::slotComplete(KIO::Job* job_) {
+void AnimeNfoFetcher::slotComplete(TDEIO::Job* job_) {
// myDebug() << "AnimeNfoFetcher::slotComplete()" << endl;
// since the fetch is done, don't worry about holding the job pointer
m_job = 0;