summaryrefslogtreecommitdiffstats
path: root/kbackgammon/engines
diff options
context:
space:
mode:
Diffstat (limited to 'kbackgammon/engines')
-rw-r--r--kbackgammon/engines/fibs/kbgfibs.cpp4
-rw-r--r--kbackgammon/engines/fibs/kbgfibschat.cpp4
-rw-r--r--kbackgammon/engines/fibs/kplayerlist.cpp6
-rw-r--r--kbackgammon/engines/gnubg/kbggnubg.cpp4
-rw-r--r--kbackgammon/engines/nextgen/kbgng.cpp4
-rw-r--r--kbackgammon/engines/offline/kbgoffline.cpp4
6 files changed, 13 insertions, 13 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] );