diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:31:10 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:31:10 -0600 |
commit | 0e2b76239f354a9eead0b4e37d86d390ec57ffa9 (patch) | |
tree | cd20202507f54f61a4e58ae64fcd7cdb894abe19 /kolf/ball.cpp | |
parent | 84ace1135cac57993b72fee7105b92def1638d32 (diff) | |
download | tdegames-0e2b76239f354a9eead0b4e37d86d390ec57ffa9.tar.gz tdegames-0e2b76239f354a9eead0b4e37d86d390ec57ffa9.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kolf/ball.cpp')
-rw-r--r-- | kolf/ball.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kolf/ball.cpp b/kolf/ball.cpp index 7235edf3..9ac849bc 100644 --- a/kolf/ball.cpp +++ b/kolf/ball.cpp @@ -33,7 +33,7 @@ Ball::Ball(TQCanvas *canvas) //font.setPixelSize(10); label = new TQCanvasText("", font, canvas); label->setColor(white); - label->tqsetVisible(false); + label->setVisible(false); // this sets z setState(Stopped); @@ -438,12 +438,12 @@ BallState Ball::currentState() void Ball::showInfo() { - label->tqsetVisible(isVisible()); + label->setVisible(isVisible()); } void Ball::hideInfo() { - label->tqsetVisible(false); + label->setVisible(false); } void Ball::setName(const TQString &name) @@ -459,8 +459,8 @@ void Ball::setCanvas(TQCanvas *c) void Ball::setVisible(bool yes) { - TQCanvasEllipse::tqsetVisible(yes); + TQCanvasEllipse::setVisible(yes); - label->tqsetVisible(yes && game && game->isInfoShowing()); + label->setVisible(yes && game && game->isInfoShowing()); } |