diff options
Diffstat (limited to 'kbackgammon')
-rw-r--r-- | kbackgammon/engines/fibs/kbgfibs.cpp | 4 | ||||
-rw-r--r-- | kbackgammon/engines/fibs/kbgfibschat.cpp | 4 | ||||
-rw-r--r-- | kbackgammon/engines/fibs/kplayerlist.cpp | 6 | ||||
-rw-r--r-- | kbackgammon/engines/gnubg/kbggnubg.cpp | 4 | ||||
-rw-r--r-- | kbackgammon/engines/nextgen/kbgng.cpp | 4 | ||||
-rw-r--r-- | kbackgammon/engines/offline/kbgoffline.cpp | 4 | ||||
-rw-r--r-- | kbackgammon/kbg.cpp | 12 | ||||
-rw-r--r-- | kbackgammon/kbgboard.cpp | 4 | ||||
-rw-r--r-- | kbackgammon/kbgtextview.cpp | 4 |
9 files changed, 23 insertions, 23 deletions
diff --git a/kbackgammon/engines/fibs/kbgfibs.cpp b/kbackgammon/engines/fibs/kbgfibs.cpp index 2ab047e7..d729d544 100644 --- a/kbackgammon/engines/fibs/kbgfibs.cpp +++ b/kbackgammon/engines/fibs/kbgfibs.cpp @@ -85,7 +85,7 @@ void KBgEngineFIBS::start() */ void KBgEngineFIBS::readConfig() { - KConfig *config = kapp->config(); + TDEConfig *config = kapp->config(); config->setGroup("fibs engine"); // history variables @@ -120,7 +120,7 @@ void KBgEngineFIBS::readConfig() */ void KBgEngineFIBS::saveConfig() { - KConfig *config = kapp->config(); + TDEConfig *config = kapp->config(); config->setGroup("fibs engine"); // history variables diff --git a/kbackgammon/engines/fibs/kbgfibschat.cpp b/kbackgammon/engines/fibs/kbgfibschat.cpp index 370ee506..70812d52 100644 --- a/kbackgammon/engines/fibs/kbgfibschat.cpp +++ b/kbackgammon/engines/fibs/kbgfibschat.cpp @@ -306,7 +306,7 @@ KBgChat::~KBgChat() */ void KBgChat::readConfig() { - KConfig* config = kapp->config(); + TDEConfig* config = kapp->config(); config->setGroup("chat window"); TQPoint pos(10, 10); @@ -326,7 +326,7 @@ void KBgChat::readConfig() */ void KBgChat::saveConfig() { - KConfig* config = kapp->config(); + TDEConfig* config = kapp->config(); config->setGroup("chat window"); config->writeEntry("ori", pos()); diff --git a/kbackgammon/engines/fibs/kplayerlist.cpp b/kbackgammon/engines/fibs/kplayerlist.cpp index cc44aef3..cf05526a 100644 --- a/kbackgammon/engines/fibs/kplayerlist.cpp +++ b/kbackgammon/engines/fibs/kplayerlist.cpp @@ -508,7 +508,7 @@ void KFibsPlayerList::setupDefault() */ void KFibsPlayerList::readColumns() { - KConfig* config = kapp->config(); + TDEConfig* config = kapp->config(); config->setGroup(name()); for (int i = 0; i < LVEnd; i++) { @@ -522,7 +522,7 @@ void KFibsPlayerList::readColumns() */ void KFibsPlayerList::readConfig() { - KConfig* config = kapp->config(); + TDEConfig* config = kapp->config(); config->setGroup(name()); TQPoint pos, defpos(10, 10); @@ -540,7 +540,7 @@ void KFibsPlayerList::readConfig() */ void KFibsPlayerList::saveConfig() { - KConfig* config = kapp->config(); + TDEConfig* config = kapp->config(); config->setGroup(name()); config->writeEntry("ori", pos()); diff --git a/kbackgammon/engines/gnubg/kbggnubg.cpp b/kbackgammon/engines/gnubg/kbggnubg.cpp index 1ac1a50c..9bfb8ed5 100644 --- a/kbackgammon/engines/gnubg/kbggnubg.cpp +++ b/kbackgammon/engines/gnubg/kbggnubg.cpp @@ -388,7 +388,7 @@ void KBgEngineGNU::getSetupPages(KDialogBase *nb) */ void KBgEngineGNU::readConfig() { - KConfig* config = kapp->config(); + TDEConfig* config = kapp->config(); config->setGroup("gnu engine"); // nothing yet @@ -399,7 +399,7 @@ void KBgEngineGNU::readConfig() */ void KBgEngineGNU::saveConfig() { - KConfig* config = kapp->config(); + TDEConfig* config = kapp->config(); config->setGroup("gnu engine"); // nothing yet diff --git a/kbackgammon/engines/nextgen/kbgng.cpp b/kbackgammon/engines/nextgen/kbgng.cpp index 3a3d5188..6f2bb5a0 100644 --- a/kbackgammon/engines/nextgen/kbgng.cpp +++ b/kbackgammon/engines/nextgen/kbgng.cpp @@ -447,7 +447,7 @@ KBgEngineNg::~KBgEngineNg() */ void KBgEngineNg::readConfig() { - KConfig* config = kapp->config(); + TDEConfig* config = kapp->config(); config->setGroup("next generation engine"); _port = config->readNumEntry("port", PROG_COOKIE); @@ -462,7 +462,7 @@ void KBgEngineNg::readConfig() */ void KBgEngineNg::saveConfig() { - KConfig* config = kapp->config(); + TDEConfig* config = kapp->config(); config->setGroup("next generation engine"); config->writeEntry("port", _port); diff --git a/kbackgammon/engines/offline/kbgoffline.cpp b/kbackgammon/engines/offline/kbgoffline.cpp index 5e45f6fa..c540b63f 100644 --- a/kbackgammon/engines/offline/kbgoffline.cpp +++ b/kbackgammon/engines/offline/kbgoffline.cpp @@ -247,7 +247,7 @@ void KBgEngineOffline::setupCancel() */ void KBgEngineOffline::readConfig() { - KConfig* config = kapp->config(); + TDEConfig* config = kapp->config(); config->setGroup("offline engine"); d->mName[0] = config->readEntry("player-one", i18n("South")); // same as above @@ -260,7 +260,7 @@ void KBgEngineOffline::readConfig() */ void KBgEngineOffline::saveConfig() { - KConfig* config = kapp->config(); + TDEConfig* config = kapp->config(); config->setGroup("offline engine"); config->writeEntry("player-one", d->mName[0] ); 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)); diff --git a/kbackgammon/kbgboard.cpp b/kbackgammon/kbgboard.cpp index 1e983335..f37fb361 100644 --- a/kbackgammon/kbgboard.cpp +++ b/kbackgammon/kbgboard.cpp @@ -307,7 +307,7 @@ void KBgBoardSetup::selectBackgroundColor() */ void KBgBoard::saveConfig() { - KConfig* config = kapp->config(); + TDEConfig* config = kapp->config(); config->setGroup(name()); config->writeEntry("bgcolor", backgroundColor()); @@ -326,7 +326,7 @@ void KBgBoard::readConfig() TQColor col(200, 200, 166); TQFont fon("Serif", 18, TQFont::Normal); - KConfig* config = kapp->config(); + TDEConfig* config = kapp->config(); config->setGroup(name()); setBackgroundColor(config->readColorEntry("bgcolor", &col)); diff --git a/kbackgammon/kbgtextview.cpp b/kbackgammon/kbgtextview.cpp index a2199b05..616d711c 100644 --- a/kbackgammon/kbgtextview.cpp +++ b/kbackgammon/kbgtextview.cpp @@ -84,7 +84,7 @@ void KBgTextView::selectFont() */ void KBgTextView::readConfig() { - KConfig* config = kapp->config(); + TDEConfig* config = kapp->config(); config->setGroup(name()); // nothing to restore @@ -95,7 +95,7 @@ void KBgTextView::readConfig() */ void KBgTextView::saveConfig() { - KConfig* config = kapp->config(); + TDEConfig* config = kapp->config(); config->setGroup(name()); // nothing to save |