summaryrefslogtreecommitdiffstats
path: root/kbattleship/kbattleship/kbdiagonalwrapstrategy.h
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 /kbattleship/kbattleship/kbdiagonalwrapstrategy.h
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 'kbattleship/kbattleship/kbdiagonalwrapstrategy.h')
-rw-r--r--kbattleship/kbattleship/kbdiagonalwrapstrategy.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/kbattleship/kbattleship/kbdiagonalwrapstrategy.h b/kbattleship/kbattleship/kbdiagonalwrapstrategy.h
index 06ff8f6a..f4a7c28d 100644
--- a/kbattleship/kbattleship/kbdiagonalwrapstrategy.h
+++ b/kbattleship/kbattleship/kbdiagonalwrapstrategy.h
@@ -27,10 +27,10 @@ public:
KBDiagonalWrapStrategy(KBStrategy *parent = 0);
virtual ~KBDiagonalWrapStrategy();
- virtual void init(KBattleField *field, const QRect &field_rect);
- virtual const QPoint nextShot();
+ virtual void init(KBattleField *field, const TQRect &field_rect);
+ virtual const TQPoint nextShot();
virtual bool hasMoreShots();
- virtual void shotAt(const QPoint &pos);
+ virtual void shotAt(const TQPoint &pos);
private:
bool advance();
@@ -42,7 +42,7 @@ private:
int m_row;
int m_column;
- QPoint m_start;
+ TQPoint m_start;
KBDiagonalShotStrategy *m_child;
KBDiagonalShotStrategy::Direction m_direction;