summaryrefslogtreecommitdiffstats
path: root/ksnake/game.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:58:53 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:58:53 -0600
commit84ace1135cac57993b72fee7105b92def1638d32 (patch)
treeb8871eb76e3db4a062731b0ce7c99c24fac119e8 /ksnake/game.cpp
parent97d1732e257f8700488d7ca1660ae7eba8fc6065 (diff)
downloadtdegames-84ace1135cac57993b72fee7105b92def1638d32.tar.gz
tdegames-84ace1135cac57993b72fee7105b92def1638d32.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 97d1732e257f8700488d7ca1660ae7eba8fc6065.
Diffstat (limited to 'ksnake/game.cpp')
-rw-r--r--ksnake/game.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ksnake/game.cpp b/ksnake/game.cpp
index dfae1a4b..29e8b5df 100644
--- a/ksnake/game.cpp
+++ b/ksnake/game.cpp
@@ -88,17 +88,17 @@ Game::~Game()
}
void Game::scoreChanged(int score){
- statusBar()->changeItem(i18n("Score: %1").arg(score), SCORE);
+ statusBar()->changeItem(i18n("Score: %1").tqarg(score), SCORE);
}
void Game::setTrys(int tries){
- statusBar()->changeItem(i18n("Lives: %1").arg(tries), LIVES);
+ statusBar()->changeItem(i18n("Lives: %1").tqarg(tries), LIVES);
}
void Game::gameEnd(int score){
KScoreDialog di(KScoreDialog::Name | KScoreDialog::Score | KScoreDialog::Date, this);
KScoreDialog::FieldInfo scoreInfo;
- TQString date = TQDateTime::currentDateTime().toString();
+ TQString date = TQDateTime::tqcurrentDateTime().toString();
scoreInfo.insert(KScoreDialog::Date, date);
if (di.addScore(score, scoreInfo, true))
di.exec();