diff options
Diffstat (limited to 'libksirtet/base/field.cpp')
-rw-r--r-- | libksirtet/base/field.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libksirtet/base/field.cpp b/libksirtet/base/field.cpp index 6e35faf5..5f7cf10d 100644 --- a/libksirtet/base/field.cpp +++ b/libksirtet/base/field.cpp @@ -93,7 +93,7 @@ void BaseField::setMessage(const TQString &label, ButtonType type) const char *slot = (type==ResumeButton ? TQT_SLOT(pause()) : TQT_SLOT(start())); _button->connect(_button, TQT_SIGNAL(clicked()), - _widget->tqparent(), slot); + _widget->parent(), slot); _boardLayout->addWidget(_button, 0, TQt::AlignCenter); _button->show(); } @@ -135,10 +135,10 @@ void BaseField::stop(bool gameover) setMessage(msg, button); } -void BaseField::gameOver(const KExtHighscore::Score &score, TQWidget *tqparent) +void BaseField::gameOver(const KExtHighscore::Score &score, TQWidget *parent) { - KNotifyClient::event(tqparent->winId(), "game over", i18n("Game Over")); - KExtHighscore::submitScore(score, tqparent); + KNotifyClient::event(parent->winId(), "game over", i18n("Game Over")); + KExtHighscore::submitScore(score, parent); } void BaseField::scoreUpdated() |