diff options
Diffstat (limited to 'kolf/game.cpp')
-rw-r--r-- | kolf/game.cpp | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/kolf/game.cpp b/kolf/game.cpp index 32ebb9be..9ff1ed73 100644 --- a/kolf/game.cpp +++ b/kolf/game.cpp @@ -101,13 +101,13 @@ void RectPoint::moveBy(double dx, double dy) rect->newSize(nw, nh); } -Config *RectPoint::config(TQWidget *tqparent) +Config *RectPoint::config(TQWidget *parent) { CanvasItem *citem = dynamic_cast<CanvasItem *>(rect); if (citem) - return citem->config(tqparent); + return citem->config(parent); else - return CanvasItem::config(tqparent); + return CanvasItem::config(parent); } ///////////////////////// @@ -192,8 +192,8 @@ void Arrow::updateSelf() ///////////////////////// -BridgeConfig::BridgeConfig(Bridge *bridge, TQWidget *tqparent) - : Config(tqparent) +BridgeConfig::BridgeConfig(Bridge *bridge, TQWidget *parent) + : Config(parent) { this->bridge = bridge; @@ -401,8 +401,8 @@ void Bridge::setSize(int width, int height) ///////////////////////// -WindmillConfig::WindmillConfig(Windmill *windmill, TQWidget *tqparent) - : BridgeConfig(windmill, tqparent) +WindmillConfig::WindmillConfig(Windmill *windmill, TQWidget *parent) + : BridgeConfig(windmill, parent) { this->windmill = windmill; m_vtqlayout->addStretch(); @@ -639,8 +639,8 @@ void Sign::draw(TQPainter &painter) ///////////////////////// -SignConfig::SignConfig(Sign *sign, TQWidget *tqparent) - : BridgeConfig(sign, tqparent) +SignConfig::SignConfig(Sign *sign, TQWidget *parent) + : BridgeConfig(sign, parent) { this->sign = sign; m_vtqlayout->addStretch(); @@ -658,8 +658,8 @@ void SignConfig::textChanged(const TQString &text) ///////////////////////// -EllipseConfig::EllipseConfig(Ellipse *ellipse, TQWidget *tqparent) - : Config(tqparent), slow1(0), fast1(0), slow2(0), fast2(0), slider1(0), slider2(0) +EllipseConfig::EllipseConfig(Ellipse *ellipse, TQWidget *parent) + : Config(parent), slow1(0), fast1(0), slow2(0), fast2(0), slider1(0), slider2(0) { this->ellipse = ellipse; @@ -812,9 +812,9 @@ void Ellipse::save(KConfig *cfg) cfg->writeEntry("height", height()); } -Config *Ellipse::config(TQWidget *tqparent) +Config *Ellipse::config(TQWidget *parent) { - return new EllipseConfig(this, tqparent); + return new EllipseConfig(this, parent); } void Ellipse::aboutToSave() @@ -1492,15 +1492,15 @@ void BlackHoleExit::hideInfo() arrow->tqsetVisible(false); } -Config *BlackHoleExit::config(TQWidget *tqparent) +Config *BlackHoleExit::config(TQWidget *parent) { - return blackHole->config(tqparent); + return blackHole->config(parent); } ///////////////////////// -BlackHoleConfig::BlackHoleConfig(BlackHole *blackHole, TQWidget *tqparent) - : Config(tqparent) +BlackHoleConfig::BlackHoleConfig(BlackHole *blackHole, TQWidget *parent) + : Config(parent) { this->blackHole = blackHole; TQVBoxLayout *tqlayout = new TQVBoxLayout(this, marginHint(), spacingHint()); @@ -1954,8 +1954,8 @@ void Wall::save(KConfig *cfg) ///////////////////////// -HoleConfig::HoleConfig(HoleInfo *holeInfo, TQWidget *tqparent) - : Config(tqparent) +HoleConfig::HoleConfig(HoleInfo *holeInfo, TQWidget *parent) + : Config(parent) { this->holeInfo = holeInfo; @@ -2139,8 +2139,8 @@ void StrokeCircle::draw(TQPainter &p) ///////////////////////////////////////// -KolfGame::KolfGame(ObjectList *obj, PlayerList *players, TQString filename, TQWidget *tqparent, const char *name ) - : TQCanvasView(tqparent, name) +KolfGame::KolfGame(ObjectList *obj, PlayerList *players, TQString filename, TQWidget *parent, const char *name ) + : TQCanvasView(parent, name) { // for mouse control setMouseTracking(true); |