summaryrefslogtreecommitdiffstats
path: root/kview/kviewviewer
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-20 00:19:40 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-20 00:19:40 -0600
commit74f47aebb77b4744bf18960b81c3744106cf56e0 (patch)
tree98f808be7ee64f341ba893cfc4fc6a2db7ed5092 /kview/kviewviewer
parentc705f8f0619865875d6247d9470dced55241bc79 (diff)
downloadtdegraphics-74f47aebb77b4744bf18960b81c3744106cf56e0.tar.gz
tdegraphics-74f47aebb77b4744bf18960b81c3744106cf56e0.zip
Rename KApplication to TDEApplication to avoid conflicts with KDE4
Diffstat (limited to 'kview/kviewviewer')
-rw-r--r--kview/kviewviewer/kviewviewer.cpp2
-rw-r--r--kview/kviewviewer/test/main.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/kview/kviewviewer/kviewviewer.cpp b/kview/kviewviewer/kviewviewer.cpp
index 12a2d4a7..b9e8af7d 100644
--- a/kview/kviewviewer/kviewviewer.cpp
+++ b/kview/kviewviewer/kviewviewer.cpp
@@ -861,7 +861,7 @@ void KViewViewer::switchBlendEffect()
m_pCanvas->setBlendEffect( 0 );
else
{
- unsigned int num = KApplication::random() % m_vEffects.size();
+ unsigned int num = TDEApplication::random() % m_vEffects.size();
m_pCanvas->setBlendEffect( m_vEffects[ num ] );
}
}
diff --git a/kview/kviewviewer/test/main.cpp b/kview/kviewviewer/test/main.cpp
index 64beafee..499e75e5 100644
--- a/kview/kviewviewer/test/main.cpp
+++ b/kview/kviewviewer/test/main.cpp
@@ -21,7 +21,7 @@ int main(int argc, char **argv)
about.addAuthor( "Matthias Kretz", 0, "kretz@kde.org" );
TDECmdLineArgs::init(argc, argv, &about);
TDECmdLineArgs::addCmdLineOptions( options );
- KApplication app;
+ TDEApplication app;
if (app.isRestored())
RESTORE(Test)