summaryrefslogtreecommitdiffstats
path: root/kturtle
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-20 00:18:33 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-20 00:18:33 -0600
commit92ac6833a97641f981e900805d1997f9a2192147 (patch)
treefe782cb92feb50c398a8d73426bac79a7fb29869 /kturtle
parent634845c7a257ece46caaf3d46d8e28c8c091cbf4 (diff)
downloadtdeedu-92ac6833a97641f981e900805d1997f9a2192147.tar.gz
tdeedu-92ac6833a97641f981e900805d1997f9a2192147.zip
Rename KApplication to TDEApplication to avoid conflicts with KDE4
Diffstat (limited to 'kturtle')
-rw-r--r--kturtle/src/executer.cpp2
-rw-r--r--kturtle/src/main.cpp2
2 files changed, 2 insertions, 2 deletions
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() )