summaryrefslogtreecommitdiffstats
path: root/kreversi/kreversi.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:55:35 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-04 01:10:53 +0200
commit00e58f1937047eb6c23edbdb3ae7ed5feec7a572 (patch)
tree33b3465e8515be992049db8cc3fd529660f9731a /kreversi/kreversi.cpp
parent9e8c9cf72cdda55e3c96c7ef072c3358061d53c9 (diff)
downloadtdegames-00e58f1937047eb6c23edbdb3ae7ed5feec7a572.tar.gz
tdegames-00e58f1937047eb6c23edbdb3ae7ed5feec7a572.zip
Remove additional unneeded tq method conversions
(cherry picked from commit c0f375feba0103bed2bac1b1f05e76e9ae28fa89)
Diffstat (limited to 'kreversi/kreversi.cpp')
-rw-r--r--kreversi/kreversi.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kreversi/kreversi.cpp b/kreversi/kreversi.cpp
index 4c72251b..eee245b0 100644
--- a/kreversi/kreversi.cpp
+++ b/kreversi/kreversi.cpp
@@ -329,9 +329,9 @@ void KReversi::slotUndo()
}
if (m_game->toMove() == computerColor()) {
- // Must tqrepaint so that the new move is not shown before the old
+ // Must repaint so that the new move is not shown before the old
// one is removed on the screen.
- m_gameView->tqrepaint();
+ m_gameView->repaint();
computerMakeMove();
}
else
@@ -609,21 +609,21 @@ void KReversi::showGameOver(Color color)
if ( color == Nobody ) {
KNotifyClient::event(winId(), "draw", i18n("Draw!"));
TQString s = i18n("Game is drawn!\n\nYou : %1\nComputer: %2")
- .tqarg(human).tqarg(computer);
+ .arg(human).arg(computer);
KMessageBox::information(this, s, i18n("Game Ended"));
score.setType(KExtHighscore::Draw);
}
else if ( humanColor() == color ) {
KNotifyClient::event(winId(), "won", i18n("Game won!"));
TQString s = i18n("Congratulations, you have won!\n\nYou : %1\nComputer: %2")
- .tqarg(human).tqarg(computer);
+ .arg(human).arg(computer);
KMessageBox::information(this, s, i18n("Game Ended"));
score.setType(KExtHighscore::Won);
}
else {
KNotifyClient::event(winId(), "lost", i18n("Game lost!"));
TQString s = i18n("You have lost the game!\n\nYou : %1\nComputer: %2")
- .tqarg(human).tqarg(computer);
+ .arg(human).arg(computer);
KMessageBox::information(this, s, i18n("Game Ended"));
score.setType(KExtHighscore::Lost);
}