summaryrefslogtreecommitdiffstats
path: root/kbackgammon/kbg.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-25 00:32:59 -0600
committerTimothy Pearson <[email protected]>2013-01-25 00:32:59 -0600
commit2f84d0e2d3d4252e6aee24aceafa45dbdb7f4d1d (patch)
treeea24a96bad3bb7356ec1a2dca2a1338692d79745 /kbackgammon/kbg.cpp
parentd6f3812c8d969a673b420beca2482804177704fb (diff)
downloadtdegames-2f84d0e2d3d4252e6aee24aceafa45dbdb7f4d1d.tar.gz
tdegames-2f84d0e2d3d4252e6aee24aceafa45dbdb7f4d1d.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kbackgammon/kbg.cpp')
-rw-r--r--kbackgammon/kbg.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kbackgammon/kbg.cpp b/kbackgammon/kbg.cpp
index 7065ead1..10aa2655 100644
--- a/kbackgammon/kbg.cpp
+++ b/kbackgammon/kbg.cpp
@@ -268,7 +268,7 @@ void KBg::setupEngine()
}
statusBar()->message(engineString[currEngine]);
- KConfig* config = kapp->config();
+ TDEConfig* config = kapp->config();
config->setGroup("global settings");
if (config->readBoolEntry("enable timeout", true))
engine[currEngine]->setCommit(config->readDoubleNumEntry("timeout", 2.5));
@@ -308,7 +308,7 @@ void KBg::setupEngine()
*/
void KBg::saveConfig()
{
- KConfig* config = kapp->config();
+ TDEConfig* config = kapp->config();
config->setGroup("global settings");
/*
@@ -352,7 +352,7 @@ void KBg::saveConfig()
*/
void KBg::readConfig()
{
- KConfig* config = kapp->config();
+ TDEConfig* config = kapp->config();
config->setGroup("global settings");
/*
@@ -407,7 +407,7 @@ void KBg::readConfig()
void KBg::setupOk()
{
// global settings
- KConfig* config = kapp->config();
+ TDEConfig* config = kapp->config();
config->setGroup("global settings");
config->writeEntry("enable timeout", cbt->isChecked());
@@ -500,7 +500,7 @@ void KBg::setupDlg()
KDialogBase::Apply|KDialogBase::Help,
KDialogBase::Ok, this, "setup", true, true);
- KConfig* config = kapp->config();
+ TDEConfig* config = kapp->config();
config->setGroup("global settings");
/*
@@ -637,7 +637,7 @@ void KBg::print()
{
KPrinter *prt = new KPrinter();
- KConfig* config = kapp->config();
+ TDEConfig* config = kapp->config();
config->setGroup("printing");
prt->setNumCopies(config->readNumEntry("numcopies", 1));