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 /ksmiletris | |
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 'ksmiletris')
-rw-r--r-- | ksmiletris/gamewindow.cpp | 6 |
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); } |