diff options
Diffstat (limited to 'katomic')
-rw-r--r-- | katomic/gamewidget.cpp | 6 | ||||
-rw-r--r-- | katomic/toplevel.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/katomic/gamewidget.cpp b/katomic/gamewidget.cpp index c3a7e3f8..7e247d9b 100644 --- a/katomic/gamewidget.cpp +++ b/katomic/gamewidget.cpp @@ -118,8 +118,8 @@ void GameWidget::getMoves(int moves) void GameWidget::mergeHighScores(int l) { - KConfigGroup oldConfig(kapp->config(), TQString("High Scores Level %1").arg(l).utf8()); - KConfigGroup newConfig(kapp->config(), TQString("Highscores Level %1").arg(l).utf8()); + TDEConfigGroup oldConfig(kapp->config(), TQString("High Scores Level %1").arg(l).utf8()); + TDEConfigGroup newConfig(kapp->config(), TQString("Highscores Level %1").arg(l).utf8()); newConfig.writeEntry("LastPlayer", oldConfig.readEntry("LastPlayer")); @@ -229,7 +229,7 @@ GameWidget::GameWidget ( TQWidget *parent, const char* name ) updateLevel(1); - KConfig *config = TDEGlobal::config(); + TDEConfig *config = TDEGlobal::config(); config->setGroup("Options"); settings.anim_speed = config->readNumEntry("Animation Speed", 1); if (settings.anim_speed < 1 || settings.anim_speed > MAX_SPEED) diff --git a/katomic/toplevel.h b/katomic/toplevel.h index e7eb6c9e..274b28a0 100644 --- a/katomic/toplevel.h +++ b/katomic/toplevel.h @@ -9,7 +9,7 @@ class GameWidget; class KAction; -class KConfig; +class TDEConfig; #include <kmainwindow.h> @@ -47,7 +47,7 @@ class AtomTopLevel : public KMainWindow // called before exiting -> save configuration virtual bool queryExit(); - KConfig *config; + TDEConfig *config; GameWidget *main; |