summaryrefslogtreecommitdiffstats
path: root/kolf/game.h
diff options
context:
space:
mode:
Diffstat (limited to 'kolf/game.h')
-rw-r--r--kolf/game.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/kolf/game.h b/kolf/game.h
index ec986c52..e1766802 100644
--- a/kolf/game.h
+++ b/kolf/game.h
@@ -142,7 +142,7 @@ public:
RectPoint(TQColor color, RectItem *, TQCanvas *canvas);
void dontMove() { dontmove = true; }
virtual void moveBy(double dx, double dy);
- virtual Config *config(TQWidget *tqparent);
+ virtual Config *config(TQWidget *parent);
virtual bool deleteable() const { return false; }
virtual bool cornerResize() const { return true; }
virtual CanvasItem *itemToDelete() { return dynamic_cast<CanvasItem *>(rect); }
@@ -181,7 +181,7 @@ public:
virtual void save(KConfig *cfg);
virtual void load(KConfig *cfg);
- virtual Config *config(TQWidget *tqparent);
+ virtual Config *config(TQWidget *parent);
protected:
RectPoint *point;
@@ -321,7 +321,7 @@ class BlackHoleConfig : public Config
TQ_OBJECT
public:
- BlackHoleConfig(BlackHole *blackHole, TQWidget *tqparent);
+ BlackHoleConfig(BlackHole *blackHole, TQWidget *parent);
private slots:
void degChanged(int);
@@ -346,7 +346,7 @@ public:
virtual void hideInfo();
void updateArrowAngle();
void updateArrowLength();
- virtual Config *config(TQWidget *tqparent);
+ virtual Config *config(TQWidget *parent);
BlackHole *blackHole;
protected:
@@ -386,7 +386,7 @@ public:
virtual bool place(Ball *ball, bool wasCenter);
virtual void save(KConfig *cfg);
virtual void load(KConfig *cfg);
- virtual Config *config(TQWidget *tqparent) { return new BlackHoleConfig(this, tqparent); }
+ virtual Config *config(TQWidget *parent) { return new BlackHoleConfig(this, parent); }
virtual TQPtrList<TQCanvasItem> moveableItems() const;
double minSpeed() const { return m_minSpeed; }
double maxSpeed() const { return m_maxSpeed; }
@@ -479,7 +479,7 @@ public:
virtual bool collision(Ball *ball, long int id);
virtual CanvasItem *itemToDelete() { return wall; }
virtual void clean();
- virtual Config *config(TQWidget *tqparent) { return wall->config(tqparent); }
+ virtual Config *config(TQWidget *parent) { return wall->config(parent); }
void dontMove() { dontmove = true; };
void updateVisible();
@@ -581,7 +581,7 @@ public:
void doSave(KConfig *cfg);
virtual void newSize(int width, int height);
virtual void setGame(KolfGame *game);
- virtual Config *config(TQWidget *tqparent) { return new BridgeConfig(this, tqparent); }
+ virtual Config *config(TQWidget *parent) { return new BridgeConfig(this, parent); }
void setSize(int width, int height);
virtual TQPtrList<TQCanvasItem> moveableItems() const;
@@ -621,7 +621,7 @@ class SignConfig : public BridgeConfig
TQ_OBJECT
public:
- SignConfig(Sign *sign, TQWidget *tqparent);
+ SignConfig(Sign *sign, TQWidget *parent);
private slots:
void textChanged(const TQString &);
@@ -637,7 +637,7 @@ public:
TQString text() const { return m_text; }
virtual void draw(TQPainter &painter);
virtual bool vStrut() const { return false; }
- virtual Config *config(TQWidget *tqparent) { return new SignConfig(this, tqparent); }
+ virtual Config *config(TQWidget *parent) { return new SignConfig(this, parent); }
virtual void save(KConfig *cfg);
virtual void load(KConfig *cfg);
@@ -670,7 +670,7 @@ class WindmillConfig : public BridgeConfig
TQ_OBJECT
public:
- WindmillConfig(Windmill *windmill, TQWidget *tqparent);
+ WindmillConfig(Windmill *windmill, TQWidget *parent);
private slots:
void speedChanged(int news);
@@ -688,7 +688,7 @@ public:
virtual void save(KConfig *cfg);
virtual void load(KConfig *cfg);
virtual void setGame(KolfGame *game);
- virtual Config *config(TQWidget *tqparent) { return new WindmillConfig(this, tqparent); }
+ virtual Config *config(TQWidget *parent) { return new WindmillConfig(this, parent); }
void setSize(int width, int height);
virtual void moveBy(double dx, double dy);
void setSpeed(int news);
@@ -749,7 +749,7 @@ public:
TQString name() const { return m_name; }
TQString untranslatedName() const { return m_untranslatedName; }
- virtual Config *config(TQWidget *tqparent) { return new HoleConfig(this, tqparent); }
+ virtual Config *config(TQWidget *parent) { return new HoleConfig(this, parent); }
void borderWallsChanged(bool yes);
bool borderWalls() const { return m_borderWalls; }
@@ -804,7 +804,7 @@ class KDE_EXPORT KolfGame : public TQCanvasView
TQ_OBJECT
public:
- KolfGame(ObjectList *obj, PlayerList *players, TQString filename, TQWidget *tqparent=0, const char *name=0 );
+ KolfGame(ObjectList *obj, PlayerList *players, TQString filename, TQWidget *parent=0, const char *name=0 );
~KolfGame();
void setObjects(ObjectList *obj) { this->obj = obj; }
void setFilename(const TQString &filename);