From 2e384e286e5ec2f884ceab9a360f90f544554066 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 20 Jan 2013 00:19:04 -0600 Subject: Rename KApplication to TDEApplication to avoid conflicts with KDE4 --- ksokoban/LevelCollection.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ksokoban/LevelCollection.cpp') 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(); -- cgit v1.2.1