summaryrefslogtreecommitdiffstats
path: root/kview/kviewviewer
diff options
context:
space:
mode:
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)