diff options
Diffstat (limited to 'kolf/objects/poolball')
-rw-r--r-- | kolf/objects/poolball/poolball.cpp | 4 | ||||
-rw-r--r-- | kolf/objects/poolball/poolball.h | 6 |
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; } |