]> git.sesse.net Git - kdenlive/blobdiff - src/clipitem.h
improvements to effect stack UI & fix timeline keyframes not refreshing
[kdenlive] / src / clipitem.h
index c9ada892e294431de67b71a14cdb6676e1a19608..682bb9fc07ceb5d435810c0373768c37afd2aa8a 100644 (file)
@@ -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 */
-    bool setEffectAt(int ix, QDomElement effect);
+    void updateEffect(QDomElement effect);
+    bool moveEffect(QDomElement effect, int ix);
     void flashClip();
     void addTransition(Transition*);