diff options
author | Timothy Pearson <[email protected]> | 2013-01-20 00:19:40 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-20 00:19:40 -0600 |
commit | 74f47aebb77b4744bf18960b81c3744106cf56e0 (patch) | |
tree | 98f808be7ee64f341ba893cfc4fc6a2db7ed5092 /kview/kviewviewer | |
parent | c705f8f0619865875d6247d9470dced55241bc79 (diff) | |
download | tdegraphics-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.cpp | 2 | ||||
-rw-r--r-- | kview/kviewviewer/test/main.cpp | 2 |
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, "[email protected]" ); TDECmdLineArgs::init(argc, argv, &about); TDECmdLineArgs::addCmdLineOptions( options ); - KApplication app; + TDEApplication app; if (app.isRestored()) RESTORE(Test) |