summaryrefslogtreecommitdiffstats
path: root/ksnake/board.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
commit576eb4299a00bc053db35414406f46372a0f70f2 (patch)
tree4c030922d533821db464af566188e7d40cc8848c /ksnake/board.cpp
parent0718336b6017d1a4fc1d626544180a5a2a29ddec (diff)
downloadtdegames-576eb4299a00bc053db35414406f46372a0f70f2.tar.gz
tdegames-576eb4299a00bc053db35414406f46372a0f70f2.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1157643 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksnake/board.cpp')
-rw-r--r--ksnake/board.cpp8
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)