summaryrefslogtreecommitdiffstats
path: root/kolf/objects
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:32:59 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:32:59 -0600
commit2f84d0e2d3d4252e6aee24aceafa45dbdb7f4d1d (patch)
treeea24a96bad3bb7356ec1a2dca2a1338692d79745 /kolf/objects
parentd6f3812c8d969a673b420beca2482804177704fb (diff)
downloadtdegames-2f84d0e2d3d4252e6aee24aceafa45dbdb7f4d1d.tar.gz
tdegames-2f84d0e2d3d4252e6aee24aceafa45dbdb7f4d1d.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
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);