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 --- ksmiletris/gamewindow.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ksmiletris/gamewindow.cpp') 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(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); } -- cgit v1.2.1