summaryrefslogtreecommitdiffstats
path: root/klines/klines.cpp
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 /klines/klines.cpp
parent0e2b76239f354a9eead0b4e37d86d390ec57ffa9 (diff)
downloadtdegames-c0f375feba0103bed2bac1b1f05e76e9ae28fa89.tar.gz
tdegames-c0f375feba0103bed2bac1b1f05e76e9ae28fa89.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'klines/klines.cpp')
-rw-r--r--klines/klines.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/klines/klines.cpp b/klines/klines.cpp
index bebc14fe..b0bbe51f 100644
--- a/klines/klines.cpp
+++ b/klines/klines.cpp
@@ -164,7 +164,7 @@ void KLines::startGame()
void KLines::setLevel(int level) {
levelStr = i18n(LEVEL[level+2]);
- statusBar()->changeItem(i18n(" Level: %1").tqarg(levelStr), 0);
+ statusBar()->changeItem(i18n(" Level: %1").arg(levelStr), 0);
}
void KLines::startDemo()
@@ -183,7 +183,7 @@ void KLines::startDemo()
bFirst = true;
levelStr = i18n("Tutorial");
- statusBar()->changeItem(i18n(" Level: %1").tqarg(levelStr), 0);
+ statusBar()->changeItem(i18n(" Level: %1").arg(levelStr), 0);
lsb->startDemoMode();
lsb->setGameOver(false);
@@ -202,7 +202,7 @@ void KLines::stopDemo()
bDemo = false;
lsb->hideDemoText();
demoTimer.stop();
- statusBar()->changeItem(i18n(" Level: %1").tqarg(i18n("Tutorial - Stopped")), 0);
+ statusBar()->changeItem(i18n(" Level: %1").arg(i18n("Tutorial - Stopped")), 0);
act_demo->setText(i18n("Start &Tutorial"));
}
@@ -419,7 +419,7 @@ void KLines::focusOutEvent(TQFocusEvent *ev)
{
lsb->hideDemoText();
demoTimer.stop();
- statusBar()->changeItem(i18n(" Level: %1").tqarg(i18n("Tutorial - Paused")), 0);
+ statusBar()->changeItem(i18n(" Level: %1").arg(i18n("Tutorial - Paused")), 0);
}
KMainWindow::focusOutEvent(ev);
}
@@ -428,7 +428,7 @@ void KLines::focusInEvent(TQFocusEvent *ev)
{
if (bDemo)
{
- statusBar()->changeItem(i18n(" Level: %1").tqarg(levelStr), 0);
+ statusBar()->changeItem(i18n(" Level: %1").arg(levelStr), 0);
slotDemo();
}
KMainWindow::focusInEvent(ev);
@@ -528,7 +528,7 @@ void KLines::addScore(int ballsErased)
void KLines::updateStat()
{
- statusBar()->changeItem(i18n(" Score: %1").tqarg(score), 1);
+ statusBar()->changeItem(i18n(" Score: %1").arg(score), 1);
}
void KLines::viewHighScore()
@@ -540,7 +540,7 @@ void KLines::viewHighScore()
void KLines::endGame()
{
lsb->setGameOver(true);
- lsb->tqrepaint(false);
+ lsb->repaint(false);
if (bDemo)
return;