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 --- kreversi/kreversi.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'kreversi/kreversi.cpp') diff --git a/kreversi/kreversi.cpp b/kreversi/kreversi.cpp index 22d1f5c5..207e0952 100644 --- a/kreversi/kreversi.cpp +++ b/kreversi/kreversi.cpp @@ -258,7 +258,7 @@ void KReversi::slotNewGame() void KReversi::slotOpenGame() { - KConfig *config = kapp->config(); + TDEConfig *config = kapp->config(); config->setGroup("Savegame"); if (loadGame(config)) @@ -274,7 +274,7 @@ void KReversi::slotOpenGame() void KReversi::slotSave() { - KConfig *config = kapp->config(); + TDEConfig *config = kapp->config(); config->setGroup("Savegame"); saveGame(config); @@ -643,7 +643,7 @@ void KReversi::showGameOver(Color color) // Only one game at a time can be saved. // -void KReversi::saveGame(KConfig *config) +void KReversi::saveGame(TDEConfig *config) { // Stop thinking. slotInterrupt(); @@ -679,7 +679,7 @@ void KReversi::saveGame(KConfig *config) // Loads the game. Only one game at a time can be saved. -bool KReversi::loadGame(KConfig *config) +bool KReversi::loadGame(TDEConfig *config) { slotInterrupt(); // stop thinking @@ -725,13 +725,13 @@ bool KReversi::loadGame(KConfig *config) // ---------------------------------------------------------------- -void KReversi::saveProperties(KConfig *c) +void KReversi::saveProperties(TDEConfig *c) { saveGame(c); } -void KReversi::readProperties(KConfig *config) { +void KReversi::readProperties(TDEConfig *config) { loadGame(config); m_gameOver = false; m_cheating = false; // FIXME: Is this true? It isn't saved. @@ -747,10 +747,10 @@ void KReversi::showHighScoreDialog() void KReversi::slotEditSettings() { // If we are already editing the settings, then do nothing. - if (KConfigDialog::showDialog("settings")) + if (TDEConfigDialog::showDialog("settings")) return; - KConfigDialog *dialog = new KConfigDialog(this, "settings", Prefs::self(), + TDEConfigDialog *dialog = new TDEConfigDialog(this, "settings", Prefs::self(), KDialogBase::Swallow); Settings *general = new Settings(0, "General"); -- cgit v1.2.1