summaryrefslogtreecommitdiffstats
path: root/ksmiletris/gamewidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksmiletris/gamewidget.cpp')
-rw-r--r--ksmiletris/gamewidget.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ksmiletris/gamewidget.cpp b/ksmiletris/gamewidget.cpp
index 3ba3051a..bf1e78ef 100644
--- a/ksmiletris/gamewidget.cpp
+++ b/ksmiletris/gamewidget.cpp
@@ -131,7 +131,7 @@ void GameWidget::setPieces(PiecesType type)
sprites[Sprite_Broken1 + i] = pm;
}
- if (in_game) tqrepaintChilds();
+ if (in_game) repaintChilds();
}
void GameWidget::loadSprites()
@@ -198,13 +198,13 @@ void GameWidget::newGame()
updateMirror();
in_game = true;
- tqrepaintChilds();
+ repaintChilds();
emit changedStats(num_level, num_points);
timer_interval = 700;
timer->start(timer_interval);
}
-void GameWidget::tqrepaintChilds()
+void GameWidget::repaintChilds()
{
screen->tqrepaint(false);
mirror->tqrepaint(false);
@@ -258,7 +258,7 @@ void GameWidget::nextPiece()
|| (piece[2] != bg_sprite && ref(xpos + 0, ypos + 1) != bg_sprite)
|| (piece[3] != bg_sprite && ref(xpos + 1, ypos + 1) != bg_sprite)) {
in_game = false;
- tqrepaintChilds();
+ repaintChilds();
KMessageBox::sorry(this, i18n("Game Over"));
emit gameOver();
}