diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:36:20 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:36:20 -0600 |
commit | f21aaec952493cb5688c73de6e82a569ddbd7fb2 (patch) | |
tree | 78ccb5117063da3e08e3277e11054b912a9f2ae7 /librss/loader.cpp | |
parent | c48e769eb275917717e2b55eb869f7e559293ac8 (diff) | |
download | tdenetwork-f21aaec952493cb5688c73de6e82a569ddbd7fb2.tar.gz tdenetwork-f21aaec952493cb5688c73de6e82a569ddbd7fb2.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'librss/loader.cpp')
-rw-r--r-- | librss/loader.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/librss/loader.cpp b/librss/loader.cpp index b34799da..4eab3cc5 100644 --- a/librss/loader.cpp +++ b/librss/loader.cpp @@ -64,12 +64,12 @@ void FileRetriever::retrieveData(const KURL &url) d->buffer = new TQBuffer; d->buffer->open(IO_WriteOnly); - KIO::Job *job = KIO::get(url, false, false); - connect(job, TQT_SIGNAL(data(KIO::Job *, const TQByteArray &)), - TQT_SLOT(slotData(KIO::Job *, const TQByteArray &))); - connect(job, TQT_SIGNAL(result(KIO::Job *)), TQT_SLOT(slotResult(KIO::Job *))); - connect(job, TQT_SIGNAL(permanentRedirection(KIO::Job *, const KURL &, const KURL &)), - TQT_SLOT(slotPermanentRedirection(KIO::Job *, const KURL &, const KURL &))); + TDEIO::Job *job = TDEIO::get(url, false, false); + connect(job, TQT_SIGNAL(data(TDEIO::Job *, const TQByteArray &)), + TQT_SLOT(slotData(TDEIO::Job *, const TQByteArray &))); + connect(job, TQT_SIGNAL(result(TDEIO::Job *)), TQT_SLOT(slotResult(TDEIO::Job *))); + connect(job, TQT_SIGNAL(permanentRedirection(TDEIO::Job *, const KURL &, const KURL &)), + TQT_SLOT(slotPermanentRedirection(TDEIO::Job *, const KURL &, const KURL &))); } int FileRetriever::errorCode() const @@ -77,12 +77,12 @@ int FileRetriever::errorCode() const return d->lastError; } -void FileRetriever::slotData(KIO::Job *, const TQByteArray &data) +void FileRetriever::slotData(TDEIO::Job *, const TQByteArray &data) { d->buffer->writeBlock(data.data(), data.size()); } -void FileRetriever::slotResult(KIO::Job *job) +void FileRetriever::slotResult(TDEIO::Job *job) { TQByteArray data = d->buffer->buffer(); data.detach(); @@ -94,7 +94,7 @@ void FileRetriever::slotResult(KIO::Job *job) emit dataRetrieved(data, d->lastError == 0); } -void FileRetriever::slotPermanentRedirection(KIO::Job *, const KURL &, const KURL &newUrl) +void FileRetriever::slotPermanentRedirection(TDEIO::Job *, const KURL &, const KURL &newUrl) { emit permanentRedirection(newUrl); } |