summaryrefslogtreecommitdiffstats
path: root/kshisen/app.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kshisen/app.cpp')
-rw-r--r--kshisen/app.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kshisen/app.cpp b/kshisen/app.cpp
index 5f54a75d..98a40dde 100644
--- a/kshisen/app.cpp
+++ b/kshisen/app.cpp
@@ -299,9 +299,9 @@ void App::slotEndOfGame()
else
{
TQString s = i18n("Congratulations! You made it in %1:%2:%3")
- .tqarg(TQString().sprintf("%02d", board->getTimeForGame()/3600))
- .tqarg(TQString().sprintf("%02d", (board->getTimeForGame() / 60) % 60))
- .tqarg(TQString().sprintf("%02d", board->getTimeForGame() % 60));
+ .arg(TQString().sprintf("%02d", board->getTimeForGame()/3600))
+ .arg(TQString().sprintf("%02d", (board->getTimeForGame() / 60) % 60))
+ .arg(TQString().sprintf("%02d", board->getTimeForGame() % 60));
KMessageBox::information(this, s, i18n("End of Game"));
}
@@ -315,18 +315,18 @@ void App::updateScore()
{
int t = board->getTimeForGame();
TQString s = i18n(" Your time: %1:%2:%3 %4")
- .tqarg(TQString().sprintf("%02d", t / 3600 ))
- .tqarg(TQString().sprintf("%02d", (t / 60) % 60 ))
- .tqarg(TQString().sprintf("%02d", t % 60 ))
- .tqarg(board->isPaused()?i18n("(Paused) "):TQString());
+ .arg(TQString().sprintf("%02d", t / 3600 ))
+ .arg(TQString().sprintf("%02d", (t / 60) % 60 ))
+ .arg(TQString().sprintf("%02d", t % 60 ))
+ .arg(board->isPaused()?i18n("(Paused) "):TQString());
statusBar()->changeItem(s, SBI_TIME);
// Number of tiles
int tl = (board->x_tiles() * board->y_tiles());
s = i18n(" Removed: %1/%2 ")
- .tqarg(TQString().sprintf("%d", tl - board->tilesLeft()))
- .tqarg(TQString().sprintf("%d", tl ));
+ .arg(TQString().sprintf("%d", tl - board->tilesLeft()))
+ .arg(TQString().sprintf("%d", tl ));
statusBar()->changeItem(s, SBI_TILES);
}
@@ -685,8 +685,8 @@ void App::showHighscore(int focusitem)
if(i < highscore.size())
{
s = TQString("%1 %2")
- .tqarg(getScore(hs))
- .tqarg(hs.gravity ? i18n("(gravity)") : TQString(""));
+ .arg(getScore(hs))
+ .arg(hs.gravity ? i18n("(gravity)") : TQString(""));
}
else
{