summaryrefslogtreecommitdiffstats
path: root/ksokoban/LevelCollection.cpp
diff options
context:
space:
mode:
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();