summaryrefslogtreecommitdiffstats
path: root/ksmiletris/gamewidget.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-07 21:14:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-07 21:14:06 +0000
commit373fe6f2b90bcd2e452f16115a4950a4b46c1f34 (patch)
tree9de5284252e1d323cc91bb1e3563232e8e1334ab /ksmiletris/gamewidget.cpp
parent66c292188f8ab6951b32c07f13dc93cce847a688 (diff)
downloadtdegames-373fe6f2b90bcd2e452f16115a4950a4b46c1f34.tar.gz
tdegames-373fe6f2b90bcd2e452f16115a4950a4b46c1f34.zip
Rename incorrect instances of tqrepaint[...] to repaint[...]
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1240369 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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();
}