summaryrefslogtreecommitdiffstats
path: root/kreversi/Position.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kreversi/Position.cpp')
-rw-r--r--kreversi/Position.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kreversi/Position.cpp b/kreversi/Position.cpp
index 22ffb3cf..80daa7ac 100644
--- a/kreversi/Position.cpp
+++ b/kreversi/Position.cpp
@@ -207,7 +207,7 @@ bool Position::moveIsAtAllPossible() const
//
// Return true if the move was legal, otherwise return false.
//
-bool Position::doMove(SimpleMove &move, QValueList<char> *turned)
+bool Position::doMove(SimpleMove &move, TQValueList<char> *turned)
{
if (move.color() == Nobody)
return false;
@@ -293,7 +293,7 @@ bool Position::undoMove(Move &move)
}
// 2. All turned pieces must be on the board anb be of the right color.
- QValueList<char>::iterator it;
+ TQValueList<char>::iterator it;
for (it = move.m_turnedPieces.begin();
it != move.m_turnedPieces.end();
++it) {
@@ -345,9 +345,9 @@ MoveList Position::generateMoves(Color color) const
}
-QString Position::asString() const
+TQString Position::asString() const
{
- QString result;
+ TQString result;
for (uint y = 1; y < 9; ++y) {
for (uint x = 1; x < 9; ++x) {