summaryrefslogtreecommitdiffstats
path: root/klines
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
parent0e2b76239f354a9eead0b4e37d86d390ec57ffa9 (diff)
downloadtdegames-c0f375feba0103bed2bac1b1f05e76e9ae28fa89.tar.gz
tdegames-c0f375feba0103bed2bac1b1f05e76e9ae28fa89.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'klines')
-rw-r--r--klines/field.cpp2
-rw-r--r--klines/klines.cpp14
-rw-r--r--klines/linesboard.cpp12
-rwxr-xr-xklines/povray/balls.sh2
-rwxr-xr-xklines/povray/fire.sh2
-rwxr-xr-xklines/povray/makeballs.sh2
6 files changed, 17 insertions, 17 deletions
diff --git a/klines/field.cpp b/klines/field.cpp
index 088febc2..ef509a33 100644
--- a/klines/field.cpp
+++ b/klines/field.cpp
@@ -73,7 +73,7 @@ void Field::putBall(int x, int y, char color)
if( checkBounds(x,y) ){
field[y][x].setColor(color);
erase5Balls();
- tqrepaint(FALSE);
+ repaint(FALSE);
}
}*/
void Field::moveBall(int xa, int ya, int xb, int yb)
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;
diff --git a/klines/linesboard.cpp b/klines/linesboard.cpp
index 768965fa..bd5610cb 100644
--- a/klines/linesboard.cpp
+++ b/klines/linesboard.cpp
@@ -163,7 +163,7 @@ void LinesBoard::placeBall( )
/*id LinesBoard::doAfterBalls() {
erase5Balls();
- tqrepaint(FALSE);
+ repaint(FALSE);
}
*/
/*
@@ -306,7 +306,7 @@ void LinesBoard::moveFocus(int dx, int dy)
focusX = (focusX + dx + NUMCELLSW) % NUMCELLSW;
focusY = (focusY + dy + NUMCELLSH) % NUMCELLSH;
}
- tqrepaint(FALSE);
+ repaint(FALSE);
}
void LinesBoard::moveLeft()
@@ -401,7 +401,7 @@ int LinesBoard::AnimEnd( )
else if ( oldanim == ANIM_BURN )
{
emit eraseLine( deleteAnimatedBalls() );
- tqrepaint(FALSE);
+ repaint(FALSE);
if ( nextBallToPlace < BALLSDROP )
{
placeBall();
@@ -455,7 +455,7 @@ void LinesBoard::AnimNext() {
if ( (direction > 0 && animstep == animmax) || ( direction < 0 && animstep == 0))
direction = -direction;
animstep += direction;
- tqrepaint(FALSE);
+ repaint(FALSE);
} else {
if ( animstep >= animmax )
AnimEnd();
@@ -466,7 +466,7 @@ void LinesBoard::AnimNext() {
moveBall(way[animstep].x,way[animstep].y,way[animstep+1].x,way[animstep+1].y);
animstep++;
animdelaycount = animdelaystart;
- tqrepaint( FALSE );
+ repaint( FALSE );
}
}
}
@@ -698,7 +698,7 @@ void LinesBoard::undo()
AnimEnd();
restoreUndo();
restoreRandomState();
- tqrepaint( FALSE );
+ repaint( FALSE );
}
void LinesBoard::showDemoText(const TQString &text)
diff --git a/klines/povray/balls.sh b/klines/povray/balls.sh
index 66b6ddc2..1897afaa 100755
--- a/klines/povray/balls.sh
+++ b/klines/povray/balls.sh
@@ -7,7 +7,7 @@ povray -w30 -h30 -V1 -P +A +KI5 +KF6 +KFF6 +SF2 +EF5 -Iball.pov +Ob$1.tga
#### burning balls balls
povray -w30 -h30 -V1 -P +A +KI0 +KF1 +KFF11 +SF1 +EF5 -Iball.pov +Oe$1.tga
-montage -tqgeometry 30x30 -tile 100x1 -page 570x30 a$1??.tga b$1?.tga e$1??.tga bl_$1.tga
+montage -geometry 30x30 -tile 100x1 -page 570x30 a$1??.tga b$1?.tga e$1??.tga bl_$1.tga
mogrify -crop 570x30+0+0 bl_$1.tga
diff --git a/klines/povray/fire.sh b/klines/povray/fire.sh
index c3eaa319..2b6b5f9a 100755
--- a/klines/povray/fire.sh
+++ b/klines/povray/fire.sh
@@ -3,7 +3,7 @@ echo "#declare BallColor = White" >clr.inc
if (povray -w30 -h30 -V1 -P +A +KI0 +KF1 +KFF11 +SF6 +EF10 -Iball.pov \
+Ofire.tga)
then # mogrify -raise 1x1 e$1??.tga
- montage -tqgeometry 30x30 -tile 100x1 -page 150x30 fire*.tga fire.tga
+ montage -geometry 30x30 -tile 100x1 -page 150x30 fire*.tga fire.tga
mogrify -crop 150x30+0+0 fire.tga
# animate -delay 7 $1??.tga
fi
diff --git a/klines/povray/makeballs.sh b/klines/povray/makeballs.sh
index 0d937415..62769605 100755
--- a/klines/povray/makeballs.sh
+++ b/klines/povray/makeballs.sh
@@ -17,7 +17,7 @@ balls.sh Brown "rgb<1/2,1/3,0>"
#### montage balls ( 20x7 cells each 30x30)
-montage -tqgeometry 570x30 -tile 1x10 bl_*.tga balls.tga
+montage -geometry 570x30 -tile 1x10 bl_*.tga balls.tga
mogrify -crop 570x210+0+0 balls.tga
#### convert to jpeg