From f21aaec952493cb5688c73de6e82a569ddbd7fb2 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 25 Jan 2013 00:36:20 -0600 Subject: Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4 --- knewsticker/common/xmlnewsaccess.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'knewsticker/common/xmlnewsaccess.cpp') diff --git a/knewsticker/common/xmlnewsaccess.cpp b/knewsticker/common/xmlnewsaccess.cpp index 96933414..742c1ad1 100644 --- a/knewsticker/common/xmlnewsaccess.cpp +++ b/knewsticker/common/xmlnewsaccess.cpp @@ -59,20 +59,20 @@ void XMLNewsSource::loadFrom(const KURL &url) m_downloadData = new TQBuffer; m_downloadData->open(IO_WriteOnly); - KIO::Job *job = KIO::get(url, false, false); + TDEIO::Job *job = TDEIO::get(url, false, false); job->addMetaData(TQString::fromLatin1("UserAgent"), TQString::fromLatin1("KNewsTicker v0.2")); - 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(data(TDEIO::Job *, const TQByteArray &)), + TQT_SLOT(slotData(TDEIO::Job *, const TQByteArray &))); + connect(job, TQT_SIGNAL(result(TDEIO::Job *)), TQT_SLOT(slotResult(TDEIO::Job *))); } -void XMLNewsSource::slotData(KIO::Job *, const TQByteArray &data) +void XMLNewsSource::slotData(TDEIO::Job *, const TQByteArray &data) { m_downloadData->writeBlock(data.data(), data.size()); } -void XMLNewsSource::slotResult(KIO::Job *job) +void XMLNewsSource::slotResult(TDEIO::Job *job) { kdDebug(5005) << "XMLNewsSource::slotResult(): Finished downloading data (" << job->error() << ")." << endl; processData(m_downloadData->buffer(), !job->error()); -- cgit v1.2.1