diff options
Diffstat (limited to 'knewsticker/common/newsiconmgr.cpp')
-rw-r--r-- | knewsticker/common/newsiconmgr.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
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); |