Showing the changes to libraries/entities/src/EntityScriptingInterface.cpp (1 of 6 files). Show all
Unified · Split
| @@ -1623,43 +1623,43 @@ QUuid EntityScriptingInterface::getKeyboardFocusEntity() const { · 1622 unmodified lines | ||
| 1623 | 1623 | return result; |
| 1624 | 1624 | } |
| 1625 | 1625 | |
| 1626 | −void EntityScriptingInterface::setKeyboardFocusEntity(QUuid id) { | |
| 1626 | +void EntityScriptingInterface::setKeyboardFocusEntity(const EntityItemID& id) { | |
| 1627 | 1627 | QMetaObject::invokeMethod(qApp, "setKeyboardFocusEntity", Qt::DirectConnection, Q_ARG(EntityItemID, id)); |
| 1628 | 1628 | } |
| 1629 | 1629 | |
| 1630 | −void EntityScriptingInterface::sendMousePressOnEntity(EntityItemID id, PointerEvent event) { | |
| 1630 | +void EntityScriptingInterface::sendMousePressOnEntity(const EntityItemID& id, const PointerEvent& event) { | |
| 1631 | 1631 | emit mousePressOnEntity(id, event); |
| 1632 | 1632 | } |
| 1633 | 1633 | |
| 1634 | −void EntityScriptingInterface::sendMouseMoveOnEntity(EntityItemID id, PointerEvent event) { | |
| 1634 | +void EntityScriptingInterface::sendMouseMoveOnEntity(const EntityItemID& id, const PointerEvent& event) { | |
| 1635 | 1635 | emit mouseMoveOnEntity(id, event); |
| 1636 | 1636 | } |
| 1637 | 1637 | |
| 1638 | −void EntityScriptingInterface::sendMouseReleaseOnEntity(EntityItemID id, PointerEvent event) { | |
| 1638 | +void EntityScriptingInterface::sendMouseReleaseOnEntity(const EntityItemID& id, const PointerEvent& event) { | |
| 1639 | 1639 | emit mouseReleaseOnEntity(id, event); |
| 1640 | 1640 | } |
| 1641 | 1641 | |
| 1642 | −void EntityScriptingInterface::sendClickDownOnEntity(EntityItemID id, PointerEvent event) { | |
| 1642 | +void EntityScriptingInterface::sendClickDownOnEntity(const EntityItemID& id, const PointerEvent& event) { | |
| 1643 | 1643 | emit clickDownOnEntity(id, event); |
| 1644 | 1644 | } |
| 1645 | 1645 | |
| 1646 | −void EntityScriptingInterface::sendHoldingClickOnEntity(EntityItemID id, PointerEvent event) { | |
| 1646 | +void EntityScriptingInterface::sendHoldingClickOnEntity(const EntityItemID& id, const PointerEvent& event) { | |
| 1647 | 1647 | emit holdingClickOnEntity(id, event); |
| 1648 | 1648 | } |
| 1649 | 1649 | |
| 1650 | −void EntityScriptingInterface::sendClickReleaseOnEntity(EntityItemID id, PointerEvent event) { | |
| 1650 | +void EntityScriptingInterface::sendClickReleaseOnEntity(const EntityItemID& id, const PointerEvent& event) { | |
| 1651 | 1651 | emit clickReleaseOnEntity(id, event); |
| 1652 | 1652 | } |
| 1653 | 1653 | |
| 1654 | −void EntityScriptingInterface::sendHoverEnterEntity(EntityItemID id, PointerEvent event) { | |
| 1654 | +void EntityScriptingInterface::sendHoverEnterEntity(const EntityItemID& id, const PointerEvent& event) { | |
| 1655 | 1655 | emit hoverEnterEntity(id, event); |
| 1656 | 1656 | } |
| 1657 | 1657 | |
| 1658 | −void EntityScriptingInterface::sendHoverOverEntity(EntityItemID id, PointerEvent event) { | |
| 1658 | +void EntityScriptingInterface::sendHoverOverEntity(const EntityItemID& id, const PointerEvent& event) { | |
| 1659 | 1659 | emit hoverOverEntity(id, event); |
| 1660 | 1660 | } |
| 1661 | 1661 | |
| 1662 | −void EntityScriptingInterface::sendHoverLeaveEntity(EntityItemID id, PointerEvent event) { | |
| 1662 | +void EntityScriptingInterface::sendHoverLeaveEntity(const EntityItemID& id, const PointerEvent& event) { | |
| 1663 | 1663 | emit hoverLeaveEntity(id, event); |
| 1664 | 1664 | } |
| 1665 | 1665 | |