summaryrefslogtreecommitdiffstats
path: root/kpoker/kpoker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpoker/kpoker.cpp')
-rw-r--r--kpoker/kpoker.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kpoker/kpoker.cpp b/kpoker/kpoker.cpp
index 7d50e198..534b43b6 100644
--- a/kpoker/kpoker.cpp
+++ b/kpoker/kpoker.cpp
@@ -208,7 +208,7 @@ kpok::~kpok()
// cashPerRound = mOptions->getCashPerRound(); // NOT(!) configurable
}
- KConfig* conf = kapp->config();
+ TDEConfig* conf = kapp->config();
conf->setGroup("General");
conf->writeEntry("MinBet", m_game.getMinBet());
conf->writeEntry("MaxBet", m_game.getMaxBet());
@@ -314,7 +314,7 @@ void kpok::initWindow()
cardImages = new CardImages(this, 0);
// The configuration
- KConfig* conf = kapp->config();
+ TDEConfig* conf = kapp->config();
conf->setGroup("General");
// Load the card deck.
@@ -1215,7 +1215,7 @@ PokerPlayer* kpok::findHumanPlayer()
bool kpok::readEntriesAndInitPoker()
{
NewGameDlg *newGameDlg = NULL;
- KConfig *conf = kapp->config();
+ TDEConfig *conf = kapp->config();
int numPlayers = DEFAULT_PLAYERS;
conf->setGroup("NewGameDlg");
@@ -1298,7 +1298,7 @@ void kpok::saveGame()
}
-void kpok::saveGame(KConfig* conf)
+void kpok::saveGame(TDEConfig* conf)
{
// kdWarning() << "save game" << endl;
int players = m_game.getNumPlayers();
@@ -1398,7 +1398,7 @@ bool kpok::loadGame()
}
-bool kpok::loadGame(KConfig* conf)
+bool kpok::loadGame(TDEConfig* conf)
{
int numPlayers = DEFAULT_PLAYERS;