summaryrefslogtreecommitdiffstats
path: root/kbackgammon/kbg.cpp
diff options
context:
space:
mode:
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));