summaryrefslogtreecommitdiffstats
path: root/ksokoban/LevelCollection.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-20 00:19:04 -0600
committerTimothy Pearson <[email protected]>2013-01-20 00:19:04 -0600
commit2e384e286e5ec2f884ceab9a360f90f544554066 (patch)
tree44e1defd7efd7f8f09d446992685d167ec546e5f /ksokoban/LevelCollection.cpp
parent4ffd16a310c74db19a5ba0c297234470f01cd7b3 (diff)
downloadtdegames-2e384e286e5ec2f884ceab9a360f90f544554066.tar.gz
tdegames-2e384e286e5ec2f884ceab9a360f90f544554066.zip
Rename KApplication to TDEApplication to avoid conflicts with KDE4
Diffstat (limited to 'ksokoban/LevelCollection.cpp')
-rw-r--r--ksokoban/LevelCollection.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ksokoban/LevelCollection.cpp b/ksokoban/LevelCollection.cpp
index a562fb35..62b99384 100644
--- a/ksokoban/LevelCollection.cpp
+++ b/ksokoban/LevelCollection.cpp
@@ -143,7 +143,7 @@ LevelCollection::indexTextCollection() {
void
LevelCollection::loadPrefs() {
if (id_ >= 0) {
- KConfig *cfg=(KApplication::kApplication())->config();
+ KConfig *cfg=(TDEApplication::kApplication())->config();
cfg->setGroup("settings");
TQString key;
@@ -240,7 +240,7 @@ LevelCollection::LevelCollection(const TQString &_path, const TQString &_name,
LevelCollection::~LevelCollection() {
if (id_ >= 0) {
- KConfig *cfg=(KApplication::kApplication())->config();
+ KConfig *cfg=(TDEApplication::kApplication())->config();
cfg->setGroup ("settings");
TQString key;
@@ -271,7 +271,7 @@ LevelCollection::levelCompleted() {
TQString key;
key.sprintf("status%d", id_);
- KConfig *cfg=(KApplication::kApplication())->config();
+ KConfig *cfg=(TDEApplication::kApplication())->config();
cfg->setGroup("settings");
cfg->writeEntry(key, x, true, false, false);
cfg->sync();