diff options
Diffstat (limited to 'juk/webimagefetcherdialog.cpp')
-rw-r--r-- | juk/webimagefetcherdialog.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/juk/webimagefetcherdialog.cpp b/juk/webimagefetcherdialog.cpp index f667d78b..303d53ab 100644 --- a/juk/webimagefetcherdialog.cpp +++ b/juk/webimagefetcherdialog.cpp @@ -171,12 +171,12 @@ TQPixmap WebImageFetcherDialog::pixmapFromURL(const KURL &url) const { TQString file; - if(KIO::NetAccess::download(url, file, 0)) { + if(TDEIO::NetAccess::download(url, file, 0)) { TQPixmap pixmap = TQPixmap(file); - KIO::NetAccess::removeTempFile(file); + TDEIO::NetAccess::removeTempFile(file); return pixmap; } - KIO::NetAccess::removeTempFile(file); + TDEIO::NetAccess::removeTempFile(file); return TQPixmap(); } @@ -196,10 +196,10 @@ CoverIconViewItem::CoverIconViewItem(TQIconView *parent, const WebImage &image) // Start downloading the image. - m_job = KIO::get(image.thumbURL(), false, false); - connect(m_job, TQT_SIGNAL(result(KIO::Job *)), this, TQT_SLOT(imageResult(KIO::Job *))); - connect(m_job, TQT_SIGNAL(data(KIO::Job *, const TQByteArray &)), - this, TQT_SLOT(imageData(KIO::Job *, const TQByteArray &))); + m_job = TDEIO::get(image.thumbURL(), false, false); + connect(m_job, TQT_SIGNAL(result(TDEIO::Job *)), this, TQT_SLOT(imageResult(TDEIO::Job *))); + connect(m_job, TQT_SIGNAL(data(TDEIO::Job *, const TQByteArray &)), + this, TQT_SLOT(imageData(TDEIO::Job *, const TQByteArray &))); } CoverIconViewItem::~CoverIconViewItem() @@ -215,14 +215,14 @@ CoverIconViewItem::~CoverIconViewItem() } } -void CoverIconViewItem::imageData(KIO::Job *, const TQByteArray &data) +void CoverIconViewItem::imageData(TDEIO::Job *, const TQByteArray &data) { int currentSize = m_buffer.size(); m_buffer.resize(currentSize + data.size(), TQGArray::SpeedOptim); memcpy(&(m_buffer.data()[currentSize]), data.data(), data.size()); } -void CoverIconViewItem::imageResult(KIO::Job *job) +void CoverIconViewItem::imageResult(TDEIO::Job *job) { if(job->error()) return; |