summaryrefslogtreecommitdiffstats
path: root/kspaceduel
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-20 00:19:04 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-20 00:19:04 -0600
commit2e384e286e5ec2f884ceab9a360f90f544554066 (patch)
tree44e1defd7efd7f8f09d446992685d167ec546e5f /kspaceduel
parent4ffd16a310c74db19a5ba0c297234470f01cd7b3 (diff)
downloadtdegames-2e384e286e5ec2f884ceab9a360f90f544554066.tar.gz
tdegames-2e384e286e5ec2f884ceab9a360f90f544554066.zip
Rename KApplication to TDEApplication to avoid conflicts with KDE4
Diffstat (limited to 'kspaceduel')
-rw-r--r--kspaceduel/main.cpp2
-rw-r--r--kspaceduel/mainview.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/kspaceduel/main.cpp b/kspaceduel/main.cpp
index d470c7f6..f8d3ead1 100644
--- a/kspaceduel/main.cpp
+++ b/kspaceduel/main.cpp
@@ -15,7 +15,7 @@ int main(int argc,char **argv)
aboutData.addAuthor("Andreas Zehender",0, "az@azweb.de");
TDECmdLineArgs::init( argc, argv, &aboutData );
- KApplication myapplication;
+ TDEApplication myapplication;
MyTopLevelWidget* top = new MyTopLevelWidget( );
myapplication.setMainWidget(top);
top->show();
diff --git a/kspaceduel/mainview.cpp b/kspaceduel/mainview.cpp
index 5b02fc75..04bc7e4f 100644
--- a/kspaceduel/mainview.cpp
+++ b/kspaceduel/mainview.cpp
@@ -186,7 +186,7 @@ void MyMainView::readConfig()
void MyMainView::writeConfig()
{
KConfig *cfg;
- cfg=KApplication::kApplication()->config();
+ cfg=TDEApplication::kApplication()->config();
cfg->setGroup("Game");
cfg->writeEntry("gravity",customConfig.gravity);