From 576eb4299a00bc053db35414406f46372a0f70f2 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:42:31 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1157643 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- ksnake/board.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ksnake/board.cpp') 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 +#include #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 (s) + :TQMemArray (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) -- cgit v1.2.3