summaryrefslogtreecommitdiffstats
path: root/ktuberling/playground.cpp
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 /ktuberling/playground.cpp
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 'ktuberling/playground.cpp')
-rw-r--r--ktuberling/playground.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ktuberling/playground.cpp b/ktuberling/playground.cpp
index c2da26bf..c84f9d38 100644
--- a/ktuberling/playground.cpp
+++ b/ktuberling/playground.cpp
@@ -293,7 +293,7 @@ void PlayGround::mouseReleaseEvent( TQMouseEvent *event )
setCursor(arrow);
// If we are not moving the object to the editable area
- if (!dirtyArea.tqcontains(event->pos()))
+ if (!dirtyArea.contains(event->pos()))
{
// ... then register its deletion (if coming from the editable area), and return
if (draggedZOrder == -1) return;
@@ -524,7 +524,7 @@ bool PlayGround::zone(TQPoint &position)
int draggedNumber;
for (draggedNumber = 0;
draggedNumber < decorations;
- draggedNumber++) if (objectsLayout[draggedNumber].tqcontains(position))
+ draggedNumber++) if (objectsLayout[draggedNumber].contains(position))
{
position.setX(position.x() - objectsLayout[draggedNumber].x());
position.setY(position.y() - objectsLayout[draggedNumber].y());
@@ -541,7 +541,7 @@ bool PlayGround::zone(TQPoint &position)
for (draggedZOrder = toDraw.count()-1; draggedZOrder >= 0; draggedZOrder--)
{
currentObject = toDraw.at(draggedZOrder);
- if (!currentObject->getPosition().tqcontains(position)) continue;
+ if (!currentObject->getPosition().contains(position)) continue;
TQRect toUpdate(currentObject->getPosition());
draggedObject = *currentObject;
@@ -563,7 +563,7 @@ bool PlayGround::zone(TQPoint &position)
}
// If we are on the gameboard itself, then play "tuberling" sound
- if (editableArea.tqcontains(position))
+ if (editableArea.contains(position))
topLevel->playSound(editableSound);
return false;