summaryrefslogtreecommitdiffstats
path: root/kolf/objects/poolball
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/poolball
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/poolball')
-rw-r--r--kolf/objects/poolball/poolball.cpp4
-rw-r--r--kolf/objects/poolball/poolball.h6
2 files changed, 5 insertions, 5 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; }