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 /kenolaba/AbTop.cpp | |
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 'kenolaba/AbTop.cpp')
-rw-r--r-- | kenolaba/AbTop.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kenolaba/AbTop.cpp b/kenolaba/AbTop.cpp index 8dc0b878..6ec4cc0f 100644 --- a/kenolaba/AbTop.cpp +++ b/kenolaba/AbTop.cpp @@ -244,7 +244,7 @@ void AbTop::readConfig() { kdDebug(12011) << "Reading config..." << endl; - KConfig* config = kapp->config(); + TDEConfig* config = kapp->config(); config->setGroup("Options"); readOptions(config); @@ -258,7 +258,7 @@ void AbTop::readConfig() board->setEvalScheme( currentEvalScheme ); } -void AbTop::readOptions(KConfig* config) +void AbTop::readOptions(TDEConfig* config) { TQString entry = config->readEntry("Level"); for (uint i=0; i<Nb_Levels; i++) @@ -280,7 +280,7 @@ void AbTop::readOptions(KConfig* config) showSpyAction->setChecked( showSpy ); } -void AbTop::readProperties(KConfig *config) +void AbTop::readProperties(TDEConfig *config) { TQString entry; @@ -312,7 +312,7 @@ void AbTop::writeConfig() { kdDebug(12011) << "Writing config..." << endl; - KConfig* config = kapp->config(); + TDEConfig* config = kapp->config(); config->setGroup("Options"); writeOptions(config); @@ -325,7 +325,7 @@ void AbTop::writeConfig() } -void AbTop::writeOptions(KConfig *config) +void AbTop::writeOptions(TDEConfig *config) { config->writeEntry("Level", LEVEL[levelAction->currentItem()].key); config->writeEntry("Computer", IPLAY[iplayAction->currentItem()].key); @@ -335,7 +335,7 @@ void AbTop::writeOptions(KConfig *config) config->writeEntry("ShowSpy", showSpy); } -void AbTop::saveProperties(KConfig *config) +void AbTop::saveProperties(TDEConfig *config) { writeOptions(config); if (currentEvalScheme) @@ -352,14 +352,14 @@ void AbTop::saveProperties(KConfig *config) void AbTop::savePosition() { - KConfig* config = kapp->config(); + TDEConfig* config = kapp->config(); config->setGroup("SavedPosition"); config->writeEntry("Position", board->getState(moveNo)); } void AbTop::restorePosition() { - KConfig* config = kapp->config(); + TDEConfig* config = kapp->config(); config->setGroup("SavedPosition"); TQString entry = config->readEntry("Position"); |