diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:32:59 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:32:59 -0600 |
commit | 2f84d0e2d3d4252e6aee24aceafa45dbdb7f4d1d (patch) | |
tree | ea24a96bad3bb7356ec1a2dca2a1338692d79745 /katomic | |
parent | d6f3812c8d969a673b420beca2482804177704fb (diff) | |
download | tdegames-2f84d0e2d3d4252e6aee24aceafa45dbdb7f4d1d.tar.gz tdegames-2f84d0e2d3d4252e6aee24aceafa45dbdb7f4d1d.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
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; |