summaryrefslogtreecommitdiffstats
path: root/kspaceduel
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit24c5cdc2737fe0044b11a12359606973eb93fc0b (patch)
treea670701ebff60c73e9f32aab588e9b3d395d74f9 /kspaceduel
parentf6000cffbc89072156cad7866d179fbd622df317 (diff)
downloadtdegames-24c5cdc2737fe0044b11a12359606973eb93fc0b.tar.gz
tdegames-24c5cdc2737fe0044b11a12359606973eb93fc0b.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kspaceduel')
-rw-r--r--kspaceduel/mainview.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kspaceduel/mainview.cpp b/kspaceduel/mainview.cpp
index 8204ffd0..39ab33b9 100644
--- a/kspaceduel/mainview.cpp
+++ b/kspaceduel/mainview.cpp
@@ -815,7 +815,7 @@ void MyMainView::collisions()
if((sprite->rtti()!=S_EXPLOSION)
&& !((sprite->rtti()!=S_SUN)&&(ship[pl]->getHitPoints()==0)))
if(ship[pl]->collidesWith(sprite))
- if(!hitlist.tqcontains(sprite))
+ if(!hitlist.contains(sprite))
hitlist.append(sprite);
}
@@ -906,7 +906,7 @@ void MyMainView::collisions()
sprite = (*it);
if(sprite->rtti()==S_BULLET)
if(mine->collidesWith(sprite))
- if(!hitlist.tqcontains(sprite))
+ if(!hitlist.contains(sprite))
hitlist.append(sprite);
}
if(hitlist.count()>0)
@@ -932,13 +932,13 @@ void MyMainView::collisions()
{
case S_BULLET:
if(sun->collidesWith(sprite))
- if(!hitlist.tqcontains(sprite))
+ if(!hitlist.contains(sprite))
hitlist.append(sprite);
break;
case S_MINE:
if(!((MobileSprite*)sprite)->isStopped())
if(sun->collidesWith(sprite))
- if(!hitlist.tqcontains(sprite))
+ if(!hitlist.contains(sprite))
hitlist.append(sprite);
break;
}