summaryrefslogtreecommitdiffstats
path: root/kbattleship/kbattleship/kbstrategy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kbattleship/kbattleship/kbstrategy.cpp')
-rw-r--r--kbattleship/kbattleship/kbstrategy.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kbattleship/kbattleship/kbstrategy.cpp b/kbattleship/kbattleship/kbstrategy.cpp
index f8183cfd..be445559 100644
--- a/kbattleship/kbattleship/kbstrategy.cpp
+++ b/kbattleship/kbattleship/kbstrategy.cpp
@@ -36,18 +36,18 @@ KBStrategy::~KBStrategy()
}
/* Returns the master strategy's shot list. */
-QValueList<QPoint> KBStrategy::masterShotList()
+TQValueList<TQPoint> KBStrategy::masterShotList()
{
return (!m_parent) ? m_prevShots : m_parent->masterShotList();
}
/* the AI player decided to shoot at pos */
-void KBStrategy::shotAt(const QPoint &pos)
+void KBStrategy::shotAt(const TQPoint &pos)
{
m_prevShots.append(pos);
}
-void KBStrategy::init(KBattleField *field, const QRect &field_rect)
+void KBStrategy::init(KBattleField *field, const TQRect &field_rect)
{
m_battleField = field;
m_fieldRect = field_rect;