diff options
Diffstat (limited to 'ksnake/board.cpp')
-rw-r--r-- | ksnake/board.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ksnake/board.cpp b/ksnake/board.cpp index 9179dfb1..0959dee1 100644 --- a/ksnake/board.cpp +++ b/ksnake/board.cpp @@ -23,7 +23,7 @@ * Boston, MA 02110-1301, USA. */ -#include <qrect.h> +#include <tqrect.h> #include "board.h" Pos::Pos(Pos *p, int i, int r) { @@ -117,7 +117,7 @@ void Pos::addList(Pos *np) { } Board::Board(int s) - :QMemArray<int> (s) + :TQMemArray<int> (s) { sz = s; samyIndex = -1; @@ -142,10 +142,10 @@ void Board::set(int i, Square sq) samyIndex = i; } -QRect Board::rect(int i) +TQRect Board::rect(int i) { index(i); - return (QRect(col*BRICKSIZE, row*BRICKSIZE, BRICKSIZE, BRICKSIZE)); + return (TQRect(col*BRICKSIZE, row*BRICKSIZE, BRICKSIZE, BRICKSIZE)); } bool Board::isEmpty(int i) |