summaryrefslogtreecommitdiffstats
path: root/ksmiletris
diff options
context:
space:
mode:
Diffstat (limited to 'ksmiletris')
-rw-r--r--ksmiletris/gamewindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ksmiletris/gamewindow.cpp b/ksmiletris/gamewindow.cpp
index 004c60e2..549e433c 100644
--- a/ksmiletris/gamewindow.cpp
+++ b/ksmiletris/gamewindow.cpp
@@ -113,7 +113,7 @@ GameWindow::GameWindow(TQWidget *, const char *name)
setFixedSize(size());
// Read configuration
- KConfig *config = kapp->config();
+ TDEConfig *config = kapp->config();
config->setGroup("Options");
PiecesType pieces_type = (PiecesType)config->readNumEntry("Pieces", static_cast<int>(Pieces_Smiles));
game->setPieces(pieces_type);
@@ -162,7 +162,7 @@ void GameWindow::menu_pieces()
int index = ((KSelectAction*)actionCollection()->action("settings_pieces"))->currentItem();
game->setPieces((PiecesType)index);
- KConfig *config = kapp->config();
+ TDEConfig *config = kapp->config();
config->setGroup("Options");
config->writeEntry("Pieces", index);
}
@@ -172,7 +172,7 @@ void GameWindow::menu_sounds()
game->do_sounds = !game->do_sounds;
((KToggleAction*)actionCollection()->action("settings_sounds"))->setChecked(game->do_sounds);
- KConfig *config = kapp->config();
+ TDEConfig *config = kapp->config();
config->setGroup("Options");
config->writeEntry("Sounds", game->do_sounds);
}