summaryrefslogtreecommitdiffstats
path: root/kolf/game.h
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/game.h
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/game.h')
-rw-r--r--kolf/game.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/kolf/game.h b/kolf/game.h
index da5c0beb..ee940802 100644
--- a/kolf/game.h
+++ b/kolf/game.h
@@ -38,7 +38,7 @@ class TQTimer;
class TQKeyEvent;
class TQMouseEvent;
class TQPainter;
-class KConfig;
+class TDEConfig;
class KPrinter;
class KolfGame;
@@ -51,8 +51,8 @@ class Player;
class BallStateInfo
{
public:
- void saveState(KConfig *cfg);
- void loadState(KConfig *cfg);
+ void saveState(TDEConfig *cfg);
+ void loadState(TDEConfig *cfg);
int id;
TQPoint spot;
@@ -178,8 +178,8 @@ public:
virtual void editModeChanged(bool changed);
- virtual void save(KConfig *cfg);
- virtual void load(KConfig *cfg);
+ virtual void save(TDEConfig *cfg);
+ virtual void load(TDEConfig *cfg);
virtual Config *config(TQWidget *parent);
@@ -300,7 +300,7 @@ class Cup : public Hole
public:
Cup(TQCanvas *canvas);
virtual bool place(Ball *ball, bool wasCenter);
- virtual void save(KConfig *cfg);
+ virtual void save(TDEConfig *cfg);
virtual bool canBeMovedByOthers() const { return true; }
virtual void draw(TQPainter &painter);
@@ -384,8 +384,8 @@ public:
virtual void showInfo();
virtual void hideInfo();
virtual bool place(Ball *ball, bool wasCenter);
- virtual void save(KConfig *cfg);
- virtual void load(KConfig *cfg);
+ virtual void save(TDEConfig *cfg);
+ virtual void load(TDEConfig *cfg);
virtual Config *config(TQWidget *parent) { return new BlackHoleConfig(this, parent); }
virtual TQPtrList<TQCanvasItem> moveableItems() const;
double minSpeed() const { return m_minSpeed; }
@@ -438,8 +438,8 @@ public:
virtual void setZ(double newz);
virtual void setPen(TQPen p);
virtual bool collision(Ball *ball, long int id);
- virtual void save(KConfig *cfg);
- virtual void load(KConfig *cfg);
+ virtual void save(TDEConfig *cfg);
+ virtual void load(TDEConfig *cfg);
virtual void selectedItem(TQCanvasItem *item);
virtual void editModeChanged(bool changed);
virtual void moveBy(double dx, double dy);
@@ -574,11 +574,11 @@ public:
virtual void aboutToDie();
virtual void editModeChanged(bool changed);
virtual void moveBy(double dx, double dy);
- virtual void load(KConfig *cfg);
- virtual void save(KConfig *cfg);
+ virtual void load(TDEConfig *cfg);
+ virtual void save(TDEConfig *cfg);
virtual bool vStrut() const { return true; }
- void doLoad(KConfig *cfg);
- void doSave(KConfig *cfg);
+ void doLoad(TDEConfig *cfg);
+ void doSave(TDEConfig *cfg);
virtual void newSize(int width, int height);
virtual void setGame(KolfGame *game);
virtual Config *config(TQWidget *parent) { return new BridgeConfig(this, parent); }
@@ -638,8 +638,8 @@ public:
virtual void draw(TQPainter &painter);
virtual bool vStrut() const { return false; }
virtual Config *config(TQWidget *parent) { return new SignConfig(this, parent); }
- virtual void save(KConfig *cfg);
- virtual void load(KConfig *cfg);
+ virtual void save(TDEConfig *cfg);
+ virtual void load(TDEConfig *cfg);
protected:
TQString m_text;
@@ -685,8 +685,8 @@ public:
Windmill(TQRect rect, TQCanvas *canvas);
virtual void aboutToDie();
virtual void newSize(int width, int height);
- virtual void save(KConfig *cfg);
- virtual void load(KConfig *cfg);
+ virtual void save(TDEConfig *cfg);
+ virtual void load(TDEConfig *cfg);
virtual void setGame(KolfGame *game);
virtual Config *config(TQWidget *parent) { return new WindmillConfig(this, parent); }
void setSize(int width, int height);
@@ -834,7 +834,7 @@ public:
void hidePutter() { putter->setVisible(false); }
void ignoreEvents(bool ignore) { m_ignoreEvents = ignore; }
- static void scoresFromSaved(KConfig *, PlayerList &players);
+ static void scoresFromSaved(TDEConfig *, PlayerList &players);
static void courseInfo(CourseInfo &info, const TQString &filename);
public slots:
@@ -866,7 +866,7 @@ public slots:
void setSound(bool yes);
void undoShot();
void timeout();
- void saveScores(KConfig *);
+ void saveScores(TDEConfig *);
void startFirstHole(int hole);
void sayWhosGoing();
@@ -1013,7 +1013,7 @@ private:
bool infoShown;
- KConfig *cfg;
+ TDEConfig *cfg;
inline void addBorderWall(TQPoint start, TQPoint end);
void shotStart();