]> git.sesse.net Git - kdenlive/blobdiff - src/effectslist.h
Add delay to status bar messages
[kdenlive] / src / effectslist.h
index f60c50ab508594fe22fa2afbe693ba78208b97d9..0d170b35431a87f6b3f9766da88d83aa14cbf4df 100644 (file)
@@ -58,7 +58,8 @@ public:
     QStringList effectNames();
     QString getInfo(const QString & tag, const QString & id) const;
     QString getInfoFromIndex(const int ix) const;
-    void clone(const EffectsList original);
+    QString getEffectInfo(const QDomElement effect) const;
+    void clone(const EffectsList &original);
     void append(QDomElement e);
     bool isEmpty() const;
     int count() const;
@@ -69,10 +70,19 @@ public:
     void replace(int ix, QDomElement effect);
     static bool hasKeyFrames(QDomElement effect);
     static bool hasSimpleKeyFrames(QDomElement effect);
+    static bool hasGeometryKeyFrames(QDomElement effect);
     static void setParameter(QDomElement effect, const QString &name, const QString &value);
     static QString parameter(QDomElement effect, const QString &name);
+    /** @brief Change the value of a 'property' element from the effect node. */
     static void setProperty(QDomElement effect, const QString &name, const QString &value);
+    /** @brief Rename a 'property' element from the effect node. */
+    static void renameProperty(QDomElement effect, const QString &oldName, const QString &newName);
+    /** @brief Get the value of a 'property' element from the effect node. */
     static QString property(QDomElement effect, const QString &name);
+    /** @brief Delete a 'property' element from the effect node. */
+    static void removeProperty(QDomElement effect, const QString &name);
+    /** @brief Remove all 'meta.*' properties from a producer, used when replacing proxy producers in xml for rendering. */
+    static void removeMetaProperties(QDomElement producer);
     void clearList();
 
 private: