summaryrefslogtreecommitdiffstats
path: root/src/gvcore/document.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/document.cpp
parent4ff6dfc573c9413a887afd35ec2d6825e60067bc (diff)
downloadgwenview-4d3c1787513cb6c17f4e087bcf5e25b801731d94.tar.gz
gwenview-4d3c1787513cb6c17f4e087bcf5e25b801731d94.zip
Rename KApplication to TDEApplication to avoid conflicts with KDE4
Diffstat (limited to 'src/gvcore/document.cpp')
-rw-r--r--src/gvcore/document.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gvcore/document.cpp b/src/gvcore/document.cpp
index b994669..f4310cb 100644
--- a/src/gvcore/document.cpp
+++ b/src/gvcore/document.cpp
@@ -76,7 +76,7 @@ const char* CONFIG_SAVE_AUTOMATICALLY="save automatically";
* Returns a widget suitable to use as a dialog parent
*/
static TQWidget* dialogParentWidget() {
- return KApplication::kApplication()->mainWidget();
+ return TDEApplication::kApplication()->mainWidget();
}
//-------------------------------------------------------------------
@@ -196,7 +196,7 @@ void Document::setURL(const KURL& paramURL) {
d->mURL = localURL; // this may be fixed after stat() is complete, but set at least something
d->mStatJob = KIO::stat( localURL, !localURL.isLocalFile() );
- d->mStatJob->setWindow(KApplication::kApplication()->mainWidget());
+ d->mStatJob->setWindow(TDEApplication::kApplication()->mainWidget());
connect( d->mStatJob, TQT_SIGNAL( result (KIO::Job *) ),
this, TQT_SLOT( slotStatResult (KIO::Job *) ) );
}