summaryrefslogtreecommitdiffstats
path: root/konquest
diff options
context:
space:
mode:
Diffstat (limited to 'konquest')
-rw-r--r--konquest/gameenddlg.cc4
-rw-r--r--konquest/newgamedlg.cc4
2 files changed, 4 insertions, 4 deletions
diff --git a/konquest/gameenddlg.cc b/konquest/gameenddlg.cc
index fee61c36..6ae62cc7 100644
--- a/konquest/gameenddlg.cc
+++ b/konquest/gameenddlg.cc
@@ -45,7 +45,7 @@ GameEndDlg::~GameEndDlg()
void
GameEndDlg::init()
{
- KConfig *config = kapp->config();
+ TDEConfig *config = kapp->config();
config->setGroup("Game");
int turns = config->readNumEntry("ExtraTurns", 10);
turnCount->setValue(turns);
@@ -55,7 +55,7 @@ GameEndDlg::init()
void
GameEndDlg::slotYes()
{
- KConfig *config = kapp->config();
+ TDEConfig *config = kapp->config();
config->setGroup("Game");
config->writeEntry("ExtraTurns", extraTurns());
config->sync();
diff --git a/konquest/newgamedlg.cc b/konquest/newgamedlg.cc
index ac336c73..5e809460 100644
--- a/konquest/newgamedlg.cc
+++ b/konquest/newgamedlg.cc
@@ -74,7 +74,7 @@ NewGameDlg::slotDefault()
void
NewGameDlg::init()
{
- KConfig *config = kapp->config();
+ TDEConfig *config = kapp->config();
config->setGroup("Game");
int nrOfPlayers = config->readNumEntry("NrOfPlayers");
if (nrOfPlayers < 2)
@@ -258,7 +258,7 @@ NewGameDlg::slotOk()
void
NewGameDlg::save()
{
- KConfig *config = kapp->config();
+ TDEConfig *config = kapp->config();
config->setGroup("Game");
config->writeEntry("NrOfPlayers", w->sliderPlayers->value());