summaryrefslogtreecommitdiffstats
path: root/kolf/objects
diff options
context:
space:
mode:
Diffstat (limited to 'kolf/objects')
-rw-r--r--kolf/objects/poolball/poolball.cpp4
-rw-r--r--kolf/objects/poolball/poolball.h6
-rw-r--r--kolf/objects/test/test.cpp6
-rw-r--r--kolf/objects/test/test.h6
4 files changed, 11 insertions, 11 deletions
diff --git a/kolf/objects/poolball/poolball.cpp b/kolf/objects/poolball/poolball.cpp
index c2fe0718..a87dd301 100644
--- a/kolf/objects/poolball/poolball.cpp
+++ b/kolf/objects/poolball/poolball.cpp
@@ -26,7 +26,7 @@ PoolBall::PoolBall(TQCanvas *canvas)
m_number = 1;
}
-void PoolBall::save(KConfig *cfg)
+void PoolBall::save(TDEConfig *cfg)
{
cfg->writeEntry("number", number());
}
@@ -36,7 +36,7 @@ void PoolBall::saveState(StateDB *db)
db->setPoint(TQPoint(x(), y()));
}
-void PoolBall::load(KConfig *cfg)
+void PoolBall::load(TDEConfig *cfg)
{
setNumber(cfg->readNumEntry("number", 1));
}
diff --git a/kolf/objects/poolball/poolball.h b/kolf/objects/poolball/poolball.h
index ca2ffa80..e6ac0e8a 100644
--- a/kolf/objects/poolball/poolball.h
+++ b/kolf/objects/poolball/poolball.h
@@ -13,7 +13,7 @@
#include <kolf/object.h>
class StateDB;
-class KConfig;
+class TDEConfig;
class PoolBallFactory : KLibFactory {
Q_OBJECT
@@ -32,9 +32,9 @@ public:
virtual Config *config(TQWidget *parent);
virtual void saveState(StateDB *);
- virtual void save(KConfig *cfg);
+ virtual void save(TDEConfig *cfg);
virtual void loadState(StateDB *);
- virtual void load(KConfig *cfg);
+ virtual void load(TDEConfig *cfg);
virtual void draw(TQPainter &);
virtual bool fastAdvance() const { return true; }
diff --git a/kolf/objects/test/test.cpp b/kolf/objects/test/test.cpp
index eabc2e7e..331975fc 100644
--- a/kolf/objects/test/test.cpp
+++ b/kolf/objects/test/test.cpp
@@ -52,14 +52,14 @@ void Test::advance(int phase)
}
}
-void Test::save(KConfig *cfg)
+void Test::save(TDEConfig *cfg)
{
// save our option from the course
- // (courses are represented as KConfig files)
+ // (courses are represented as TDEConfig files)
cfg->writeEntry("switchEvery", switchEvery());
}
-void Test::load(KConfig *cfg)
+void Test::load(TDEConfig *cfg)
{
// load our option
setSwitchEvery(cfg->readNumEntry("switchEvery", 50));
diff --git a/kolf/objects/test/test.h b/kolf/objects/test/test.h
index b7aa0be5..db4a6205 100644
--- a/kolf/objects/test/test.h
+++ b/kolf/objects/test/test.h
@@ -9,7 +9,7 @@
#include <kolf/canvasitem.h>
#include <kolf/object.h>
-class KConfig;
+class TDEConfig;
class TestFactory : KLibFactory {
Q_OBJECT
@@ -25,8 +25,8 @@ public:
Test(TQCanvas *canvas);
virtual Config *config(TQWidget *parent);
- virtual void save(KConfig *cfg);
- virtual void load(KConfig *cfg);
+ virtual void save(TDEConfig *cfg);
+ virtual void load(TDEConfig *cfg);
virtual void advance(int phase);