diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-07 21:14:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-07 21:14:06 +0000 |
commit | 373fe6f2b90bcd2e452f16115a4950a4b46c1f34 (patch) | |
tree | 9de5284252e1d323cc91bb1e3563232e8e1334ab /ksmiletris | |
parent | 66c292188f8ab6951b32c07f13dc93cce847a688 (diff) | |
download | tdegames-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')
-rw-r--r-- | ksmiletris/gamewidget.cpp | 8 | ||||
-rw-r--r-- | ksmiletris/gamewidget.h | 2 | ||||
-rw-r--r-- | ksmiletris/gamewindow.cpp | 4 |
3 files changed, 7 insertions, 7 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(); } diff --git a/ksmiletris/gamewidget.h b/ksmiletris/gamewidget.h index 3eeaac96..4b4371b2 100644 --- a/ksmiletris/gamewidget.h +++ b/ksmiletris/gamewidget.h @@ -63,7 +63,7 @@ public: return s; } - void tqrepaintChilds(); + void repaintChilds(); private: TQPixmap *sprites; diff --git a/ksmiletris/gamewindow.cpp b/ksmiletris/gamewindow.cpp index c28a81d2..2d5824c8 100644 --- a/ksmiletris/gamewindow.cpp +++ b/ksmiletris/gamewindow.cpp @@ -137,7 +137,7 @@ void GameWindow::menu_pause() if (game->in_game) { game->in_pause = !game->in_pause; ((KToggleAction*)actionCollection()->action(KStdGameAction::stdName(KStdGameAction::Pause)))->setChecked(game->in_pause); - game->tqrepaintChilds(); + game->repaintChilds(); } } @@ -145,7 +145,7 @@ void GameWindow::menu_endGame() { if (game->in_game) { game->in_game = false; - game->tqrepaintChilds(); + game->repaintChilds(); ((KToggleAction*)actionCollection()->action(KStdGameAction::stdName(KStdGameAction::Pause)))->setChecked(false); gameOver(); } |