X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fabstractgroupitem.h;h=3e0594ec824ebd7ec03acb0fd7833b5611d41f25;hb=9d7083dc62a7c6cb319a00efcc7a279db0305abc;hp=c68d22378d8c556caac56b1d222167cd40612d68;hpb=27ac7e68c934a04d2922986b07ea8e5dde2cad50;p=kdenlive diff --git a/src/abstractgroupitem.h b/src/abstractgroupitem.h index c68d2237..3e0594ec 100644 --- a/src/abstractgroupitem.h +++ b/src/abstractgroupitem.h @@ -40,8 +40,9 @@ public: void addItem(QGraphicsItem * item); void removeItem(QGraphicsItem * item); int track() const; - QPainterPath clipGroupShape(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; @@ -70,7 +71,8 @@ protected: private: void fixItemRect(); - QPainterPath groupShape(GRAPHICSRECTITEM type, 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; };