From de9a6aa007626eba4e333ac4080cbdfcb9f98386 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 25 Jan 2013 00:35:36 -0600 Subject: Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4 --- juk/webimagefetcherdialog.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'juk/webimagefetcherdialog.cpp') 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; -- cgit v1.2.1