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 /kpoker/kpoker.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 'kpoker/kpoker.cpp')
-rw-r--r-- | kpoker/kpoker.cpp | 10 |
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; |