diff options
Diffstat (limited to 'ktuberling/playground.cpp')
-rw-r--r-- | ktuberling/playground.cpp | 8 |
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; |