From 92ac6833a97641f981e900805d1997f9a2192147 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 20 Jan 2013 00:18:33 -0600 Subject: Rename KApplication to TDEApplication to avoid conflicts with KDE4 --- kturtle/src/executer.cpp | 2 +- kturtle/src/main.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'kturtle') diff --git a/kturtle/src/executer.cpp b/kturtle/src/executer.cpp index e50c64a5..dd8ae8f2 100644 --- a/kturtle/src/executer.cpp +++ b/kturtle/src/executer.cpp @@ -894,7 +894,7 @@ void Executer::execRandom(TreeNode* node) if ( !checkParameterType(node, numberValue, 5060) ) return; double x = nodeX->getValue().Number(); double y = nodeY->getValue().Number(); - double r = (double)( KApplication::random() ) / RAND_MAX; + double r = (double)( TDEApplication::random() ) / RAND_MAX; node->setValue( r * ( y - x ) + x ); } diff --git a/kturtle/src/main.cpp b/kturtle/src/main.cpp index d5810c6b..dd795c6d 100644 --- a/kturtle/src/main.cpp +++ b/kturtle/src/main.cpp @@ -89,7 +89,7 @@ int main(int argc, char **argv) "astals11 # terra.es"); TDECmdLineArgs::init(argc, argv, &about); TDECmdLineArgs::addCmdLineOptions( options ); - KApplication app; + TDEApplication app; MainWindow *mainwindow = 0; if ( app.isRestored() ) -- cgit v1.2.1