X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fabstractgroupitem.h;h=3e0594ec824ebd7ec03acb0fd7833b5611d41f25;hb=56aee6aedeeed3efd10ada8fe3c229eddc01ef05;hp=e0103aa075f501df25c8e4a6e7429c2f432fc677;hpb=e8f43a6f96b987e8476674484346fcb7d9e2eb6c;p=kdenlive diff --git a/src/abstractgroupitem.h b/src/abstractgroupitem.h index e0103aa0..3e0594ec 100644 --- a/src/abstractgroupitem.h +++ b/src/abstractgroupitem.h @@ -40,9 +40,9 @@ public: void addItem(QGraphicsItem * item); void removeItem(QGraphicsItem * item); int track() const; - QPainterPath clipGroupShape(QPointF offset) const; - QPainterPath clipGroupSpacerShape(QPointF offset) const; - QPainterPath transitionGroupShape(QPointF offset) const; + QPainterPath clipGroupShape(const QPointF &offset) const; + QPainterPath clipGroupSpacerShape(const QPointF &offset) const; + QPainterPath transitionGroupShape(const QPointF &offset) const; void setItemLocked(bool locked); bool isItemLocked() const; // ItemInfo info() const; @@ -71,8 +71,8 @@ protected: private: void fixItemRect(); - QPainterPath groupShape(GRAPHICSRECTITEM type, const QPointF &offset) const; - QPainterPath spacerGroupShape(GRAPHICSRECTITEM type, const QPointF &offset) const; + QPainterPath groupShape(GraphicsRectItem type, const QPointF &offset) const; + QPainterPath spacerGroupShape(GraphicsRectItem type, const QPointF &offset) const; /** Stores the original info of the items beeing resized. */ QList m_resizeInfos; };