summaryrefslogtreecommitdiffstats
path: root/src/gvcore/imageloader.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 23:53:44 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 23:53:44 -0600
commit4d3c1787513cb6c17f4e087bcf5e25b801731d94 (patch)
treee82c7e7e03f7c760013daa37a4bc3c5129a39b84 /src/gvcore/imageloader.cpp
parent4ff6dfc573c9413a887afd35ec2d6825e60067bc (diff)
downloadgwenview-4d3c1787513cb6c17f4e087bcf5e25b801731d94.tar.gz
gwenview-4d3c1787513cb6c17f4e087bcf5e25b801731d94.zip
Rename KApplication to TDEApplication to avoid conflicts with KDE4
Diffstat (limited to 'src/gvcore/imageloader.cpp')
-rw-r--r--src/gvcore/imageloader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gvcore/imageloader.cpp b/src/gvcore/imageloader.cpp
index 78ab568..ee43c5b 100644
--- a/src/gvcore/imageloader.cpp
+++ b/src/gvcore/imageloader.cpp
@@ -327,7 +327,7 @@ void ImageLoader::checkPendingStat() {
if( d->mSuspended || d->mGetState != GET_PENDING_STAT ) return;
KIO::Job* job=KIO::stat( d->mURL, false );
- job->setWindow(KApplication::kApplication()->mainWidget());
+ job->setWindow(TDEApplication::kApplication()->mainWidget());
connect(job, TQT_SIGNAL(result(KIO::Job*)),
this, TQT_SLOT(slotStatResult(KIO::Job*)) );
d->mGetState = GET_STATING;
@@ -393,7 +393,7 @@ void ImageLoader::checkPendingGet() {
// Start loading the image
KIO::Job* getJob=KIO::get( d->mURL, false, false);
- getJob->setWindow(KApplication::kApplication()->mainWidget());
+ getJob->setWindow(TDEApplication::kApplication()->mainWidget());
connect(getJob, TQT_SIGNAL(data(KIO::Job*, const TQByteArray&)),
this, TQT_SLOT(slotDataReceived(KIO::Job*, const TQByteArray&)) );