diff options
author | Timothy Pearson <[email protected]> | 2013-01-25 00:12:44 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-25 00:12:44 -0600 |
commit | d46a1fe34693137bbc38a0a79593af420ea0914b (patch) | |
tree | 038dbf461083bda9b7a6398908572591a80012d3 /plugins/rssfeed/rss/image.cpp | |
parent | 604bf3f969d880708ea9a1affce0b304c29e6ff5 (diff) | |
download | ktorrent-d46a1fe34693137bbc38a0a79593af420ea0914b.tar.gz ktorrent-d46a1fe34693137bbc38a0a79593af420ea0914b.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'plugins/rssfeed/rss/image.cpp')
-rw-r--r-- | plugins/rssfeed/rss/image.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/rssfeed/rss/image.cpp b/plugins/rssfeed/rss/image.cpp index cb8d7c8..4dff982 100644 --- a/plugins/rssfeed/rss/image.cpp +++ b/plugins/rssfeed/rss/image.cpp @@ -32,7 +32,7 @@ struct Image::Private : public Shared unsigned int height; unsigned int width; TQBuffer *pixmapBuffer; - KIO::Job *job; + TDEIO::Job *job; }; Image::Image() : TQObject(), d(new Private) @@ -111,18 +111,18 @@ void Image::getPixmap() d->pixmapBuffer = new TQBuffer; d->pixmapBuffer->open(IO_WriteOnly); - d->job = KIO::get(d->url, false, false); - connect(d->job, TQT_SIGNAL(data(KIO::Job *, const TQByteArray &)), - this, TQT_SLOT(slotData(KIO::Job *, const TQByteArray &))); - connect(d->job, TQT_SIGNAL(result(KIO::Job *)), this, TQT_SLOT(slotResult(KIO::Job *))); + d->job = TDEIO::get(d->url, false, false); + connect(d->job, TQT_SIGNAL(data(TDEIO::Job *, const TQByteArray &)), + this, TQT_SLOT(slotData(TDEIO::Job *, const TQByteArray &))); + connect(d->job, TQT_SIGNAL(result(TDEIO::Job *)), this, TQT_SLOT(slotResult(TDEIO::Job *))); } -void Image::slotData(KIO::Job *, const TQByteArray &data) +void Image::slotData(TDEIO::Job *, const TQByteArray &data) { d->pixmapBuffer->writeBlock(data.data(), data.size()); } -void Image::slotResult(KIO::Job *job) +void Image::slotResult(TDEIO::Job *job) { TQPixmap pixmap; if (!job->error()) |