From 2f84d0e2d3d4252e6aee24aceafa45dbdb7f4d1d Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 25 Jan 2013 00:32:59 -0600 Subject: Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4 --- katomic/gamewidget.cpp | 6 +++--- katomic/toplevel.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'katomic') 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 @@ -47,7 +47,7 @@ class AtomTopLevel : public KMainWindow // called before exiting -> save configuration virtual bool queryExit(); - KConfig *config; + TDEConfig *config; GameWidget *main; -- cgit v1.2.1