summaryrefslogtreecommitdiffstats
path: root/libksirtet/base/field.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commita13e26c2f1eb3c5be81acf4f571dd4bafac10199 (patch)
tree1f1d3e407ae668b1448847970b2f1b626083faf6 /libksirtet/base/field.cpp
parent24c5cdc2737fe0044b11a12359606973eb93fc0b (diff)
downloadtdegames-a13e26c2f1eb3c5be81acf4f571dd4bafac10199.tar.gz
tdegames-a13e26c2f1eb3c5be81acf4f571dd4bafac10199.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libksirtet/base/field.cpp')
-rw-r--r--libksirtet/base/field.cpp8
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()