summaryrefslogtreecommitdiffstats
path: root/src/gvcore/thumbnailloadjob.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-19 23:53:44 -0600
committerTimothy Pearson <[email protected]>2013-01-19 23:53:44 -0600
commit4d3c1787513cb6c17f4e087bcf5e25b801731d94 (patch)
treee82c7e7e03f7c760013daa37a4bc3c5129a39b84 /src/gvcore/thumbnailloadjob.cpp
parent4ff6dfc573c9413a887afd35ec2d6825e60067bc (diff)
downloadgwenview-4d3c1787513cb6c17f4e087bcf5e25b801731d94.tar.gz
gwenview-4d3c1787513cb6c17f4e087bcf5e25b801731d94.zip
Rename KApplication to TDEApplication to avoid conflicts with KDE4
Diffstat (limited to 'src/gvcore/thumbnailloadjob.cpp')
-rw-r--r--src/gvcore/thumbnailloadjob.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gvcore/thumbnailloadjob.cpp b/src/gvcore/thumbnailloadjob.cpp
index c61e0d0..63b38e4 100644
--- a/src/gvcore/thumbnailloadjob.cpp
+++ b/src/gvcore/thumbnailloadjob.cpp
@@ -554,7 +554,7 @@ void ThumbnailLoadJob::determineNextIcon() {
}
if( mOriginalTime == 0 ) { // KIO must be used
KIO::Job* job = KIO::stat(mCurrentURL,false);
- job->setWindow(KApplication::kApplication()->mainWidget());
+ job->setWindow(TDEApplication::kApplication()->mainWidget());
LOG( "KIO::stat orig " << mCurrentURL.url() );
addSubjob(job);
}
@@ -701,7 +701,7 @@ void ThumbnailLoadJob::checkThumbnail() {
KURL url;
url.setPath(mTempPath);
KIO::Job* job=KIO::file_copy(mCurrentURL, url,-1,true,false,false);
- job->setWindow(KApplication::kApplication()->mainWidget());
+ job->setWindow(TDEApplication::kApplication()->mainWidget());
LOG("Download remote file " << mCurrentURL.prettyURL());
addSubjob(job);
}
@@ -711,7 +711,7 @@ void ThumbnailLoadJob::checkThumbnail() {
KFileItemList list;
list.append(mCurrentItem);
KIO::Job* job=KIO::filePreview(list, mThumbnailSize);
- job->setWindow(KApplication::kApplication()->mainWidget());
+ job->setWindow(TDEApplication::kApplication()->mainWidget());
connect(job, TQT_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)),
this, TQT_SLOT(slotGotPreview(const KFileItem*, const TQPixmap&)) );
connect(job, TQT_SIGNAL(failed(const KFileItem*)),