summaryrefslogtreecommitdiffstats
path: root/ksokoban/PlayField.cpp
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 /ksokoban/PlayField.cpp
parent4ffd16a310c74db19a5ba0c297234470f01cd7b3 (diff)
downloadtdegames-2e384e286e5ec2f884ceab9a360f90f544554066.tar.gz
tdegames-2e384e286e5ec2f884ceab9a360f90f544554066.zip
Rename KApplication to TDEApplication to avoid conflicts with KDE4
Diffstat (limited to 'ksokoban/PlayField.cpp')
-rw-r--r--ksokoban/PlayField.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ksokoban/PlayField.cpp b/ksokoban/PlayField.cpp
index fb95fcc1..4fa12157 100644
--- a/ksokoban/PlayField.cpp
+++ b/ksokoban/PlayField.cpp
@@ -61,7 +61,7 @@ PlayField::PlayField(TQWidget *parent, const char *name, WFlags f)
highlightX_ = highlightY_ = 0;
- KConfig *cfg = (KApplication::kApplication())->config();
+ KConfig *cfg = (TDEApplication::kApplication())->config();
cfg->setGroup("settings");
imageData_ = new StaticImage;
@@ -82,7 +82,7 @@ PlayField::PlayField(TQWidget *parent, const char *name, WFlags f)
}
PlayField::~PlayField() {
- KConfig *cfg = (KApplication::kApplication())->config();
+ KConfig *cfg = (TDEApplication::kApplication())->config();
cfg->setGroup("settings");
cfg->writeEntry("animDelay", animDelay_, true, false, false);
@@ -586,7 +586,7 @@ PlayField::keyPressEvent(TQKeyEvent * e) {
break;
case Key_Q:
- KApplication::kApplication()->closeAllWindows();
+ TDEApplication::kApplication()->closeAllWindows();
break;
case Key_Backspace: