summaryrefslogtreecommitdiffstats
path: root/kblackbox
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:55:35 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:55:35 -0600
commitc0f375feba0103bed2bac1b1f05e76e9ae28fa89 (patch)
tree9c30a9097d650343df41d867f0e008769529eb08 /kblackbox
parent0e2b76239f354a9eead0b4e37d86d390ec57ffa9 (diff)
downloadtdegames-c0f375feba0103bed2bac1b1f05e76e9ae28fa89.tar.gz
tdegames-c0f375feba0103bed2bac1b1f05e76e9ae28fa89.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'kblackbox')
-rw-r--r--kblackbox/kbbgame.cpp12
-rw-r--r--kblackbox/kbbgfx.cpp4
2 files changed, 8 insertions, 8 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;
diff --git a/kblackbox/kbbgfx.cpp b/kblackbox/kbbgfx.cpp
index 90134362..0becd126 100644
--- a/kblackbox/kbbgfx.cpp
+++ b/kblackbox/kbbgfx.cpp
@@ -434,7 +434,7 @@ void KBBGraphic::moveSelection(int drow, int dcol)
void KBBGraphic::focusInEvent( TQFocusEvent* )
{
- tqrepaint( FALSE );
+ repaint( FALSE );
}
@@ -444,7 +444,7 @@ void KBBGraphic::focusInEvent( TQFocusEvent* )
void KBBGraphic::focusOutEvent( TQFocusEvent* )
{
- tqrepaint( FALSE );
+ repaint( FALSE );
}
/*