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/newsiconmgr.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'knewsticker/common/newsiconmgr.cpp') diff --git a/knewsticker/common/newsiconmgr.cpp b/knewsticker/common/newsiconmgr.cpp index d37a9227..200c3375 100644 --- a/knewsticker/common/newsiconmgr.cpp +++ b/knewsticker/common/newsiconmgr.cpp @@ -88,10 +88,10 @@ void NewsIconMgr::getIcon(const KURL &url) TQString::fromLatin1("favicons/%1.png").arg(url.host())))); } } else { - KIO::Job *job = KIO::get(url, true, 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 *))); + TDEIO::Job *job = TDEIO::get(url, true, 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 *))); KIODownload download; download.url = url; @@ -108,7 +108,7 @@ bool NewsIconMgr::isStdIcon(const TQPixmap &pixmap) const return false; } -void NewsIconMgr::slotData(KIO::Job *job, const TQByteArray &data) +void NewsIconMgr::slotData(TDEIO::Job *job, const TQByteArray &data) { TQBuffer buf(m_kioDownload[job].data); buf.open(IO_WriteOnly); @@ -117,7 +117,7 @@ void NewsIconMgr::slotData(KIO::Job *job, const TQByteArray &data) m_kioDownload[job].dataOffset = buf.at(); } -void NewsIconMgr::slotResult(KIO::Job *job) +void NewsIconMgr::slotResult(TDEIO::Job *job) { emit gotIcon(m_kioDownload[job].url, TQPixmap(m_kioDownload[job].data)); m_kioDownload.remove(job); -- cgit v1.2.1