summaryrefslogtreecommitdiffstats
path: root/konquest
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:32:59 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:32:59 -0600
commit2f84d0e2d3d4252e6aee24aceafa45dbdb7f4d1d (patch)
treeea24a96bad3bb7356ec1a2dca2a1338692d79745 /konquest
parentd6f3812c8d969a673b420beca2482804177704fb (diff)
downloadtdegames-2f84d0e2d3d4252e6aee24aceafa45dbdb7f4d1d.tar.gz
tdegames-2f84d0e2d3d4252e6aee24aceafa45dbdb7f4d1d.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
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());