diff options
author | Timothy Pearson <[email protected]> | 2011-12-19 11:55:35 -0600 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2012-06-04 01:10:53 +0200 |
commit | 00e58f1937047eb6c23edbdb3ae7ed5feec7a572 (patch) | |
tree | 33b3465e8515be992049db8cc3fd529660f9731a /kblackbox/kbbgame.cpp | |
parent | 9e8c9cf72cdda55e3c96c7ef072c3358061d53c9 (diff) | |
download | tdegames-00e58f1937047eb6c23edbdb3ae7ed5feec7a572.tar.gz tdegames-00e58f1937047eb6c23edbdb3ae7ed5feec7a572.zip |
Remove additional unneeded tq method conversions
(cherry picked from commit c0f375feba0103bed2bac1b1f05e76e9ae28fa89)
Diffstat (limited to 'kblackbox/kbbgame.cpp')
-rw-r--r-- | kblackbox/kbbgame.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kblackbox/kbbgame.cpp b/kblackbox/kbbgame.cpp index 988a74fd..dbaf2bc7 100644 --- a/kblackbox/kbbgame.cpp +++ b/kblackbox/kbbgame.cpp @@ -298,7 +298,7 @@ void KBBGame::newGame() randomBalls( balls ); remap( gameBoard, gr->getGraphicBoard() ); - gr->tqrepaint( TRUE ); + gr->repaint( TRUE ); setScore( 0 ); detourCounter = -1; ballsPlaced = 0; @@ -326,12 +326,12 @@ void KBBGame::gameFinished() "I guess you need more practice."); KMessageBox::information(this, - s.tqarg(KGlobal::locale()->formatNumber(score, 0))); + s.arg(KGlobal::locale()->formatNumber(score, 0))); } else { s = i18n( "You should place %1 balls!\n" "You have placed %2.") - .tqarg(KGlobal::locale()->formatNumber(balls, 0)) - .tqarg(KGlobal::locale()->formatNumber(ballsPlaced, 0)); + .arg(KGlobal::locale()->formatNumber(balls, 0)) + .arg(KGlobal::locale()->formatNumber(ballsPlaced, 0)); KMessageBox::sorry(this, s); } @@ -428,7 +428,7 @@ void KBBGame::updateStats() void KBBGame::setScore( int n ) { score = n; - statusBar()->changeItem( i18n("Score: %1").tqarg(n), SSCORE ); + statusBar()->changeItem( i18n("Score: %1").arg(n), SSCORE ); } /* @@ -454,7 +454,7 @@ bool KBBGame::setSize( int w, int h ) gameBoard = new RectOnArray( gr->numC(), gr->numR() ); if (running) abortGame(); newGame(); - // gr->tqrepaint( TRUE ); + // gr->repaint( TRUE ); } } return ok; |