diff options
Diffstat (limited to 'ksnake/game.cpp')
-rw-r--r-- | ksnake/game.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ksnake/game.cpp b/ksnake/game.cpp index 29e8b5df..dfae1a4b 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").tqarg(score), SCORE); + statusBar()->changeItem(i18n("Score: %1").arg(score), SCORE); } void Game::setTrys(int tries){ - statusBar()->changeItem(i18n("Lives: %1").tqarg(tries), LIVES); + statusBar()->changeItem(i18n("Lives: %1").arg(tries), LIVES); } void Game::gameEnd(int score){ KScoreDialog di(KScoreDialog::Name | KScoreDialog::Score | KScoreDialog::Date, this); KScoreDialog::FieldInfo scoreInfo; - TQString date = TQDateTime::tqcurrentDateTime().toString(); + TQString date = TQDateTime::currentDateTime().toString(); scoreInfo.insert(KScoreDialog::Date, date); if (di.addScore(score, scoreInfo, true)) di.exec(); |