summaryrefslogtreecommitdiffstats
path: root/kenolaba/AbTop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kenolaba/AbTop.cpp')
-rw-r--r--kenolaba/AbTop.cpp16
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");