summaryrefslogtreecommitdiffstats
path: root/kbattleship/kbattleship/kbdiagonalwrapstrategy.h
diff options
context:
space:
mode:
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;