X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fclipitem.h;h=7a075c40fd6e9010e04508ffd61f7e937819b25d;hb=ce68de86827a11cd0dc96465fba021b2f7ceea55;hp=c28709938f444eb41f03de68cb51930b9f0d31e4;hpb=6621953e0aa7c5a5b255d3daaf11b19f3279335d;p=kdenlive diff --git a/src/clipitem.h b/src/clipitem.h index c2870993..7a075c40 100644 --- a/src/clipitem.h +++ b/src/clipitem.h @@ -75,7 +75,7 @@ public: /** @brief Adds an effect to the clip. * @return The parameters that will be passed to Mlt */ - EffectsParameterList addEffect(const QDomElement effect, bool animate = true); + EffectsParameterList addEffect(QDomElement effect, bool animate = true); /** @brief Deletes the effect with id @param index. */ void deleteEffect(QString index); @@ -99,7 +99,8 @@ public: /** @brief Replaces an effect. * @param ix The effect's index in effectlist * @param effect The new effect */ - void setEffectAt(int ix, QDomElement effect); + void updateEffect(QDomElement effect); + bool moveEffect(QDomElement effect, int ix); void flashClip(); void addTransition(Transition*); @@ -175,6 +176,9 @@ public: void resetFrameWidth(int width); /** @brief Clip is about to be deleted, block thumbs. */ void stopThumbs(); + + /** @brief Get a free index value for effect group. */ + int nextFreeEffectGroupIndex() const; protected: //virtual void mouseMoveEvent(QGraphicsSceneMouseEvent * event);