]> git.sesse.net Git - kdenlive/blobdiff - src/effectslist.h
Integrate with the required MLT hooks for getting Movit to work.
[kdenlive] / src / effectslist.h
index 9654b5bb6174fb19fe077afe770dc2c09ca3a482..df9b0045cb98122b598df63054913c4079465680 100644 (file)
@@ -62,7 +62,7 @@ public:
     QStringList effectNames();
     QString getInfo(const QString & tag, const QString & id) const;
     QString getInfoFromIndex(const int ix) const;
-    QString getEffectInfo(const QDomElement effect) const;
+    QString getEffectInfo(const QDomElement &effect) const;
     void clone(const EffectsList &original);
     QDomElement append(QDomElement e);
     bool isEmpty() const;
@@ -71,7 +71,7 @@ public:
     void removeAt(int ix);
     QDomElement itemFromIndex(int ix) const;
     QDomElement insert(QDomElement effect);
-    void updateEffect(QDomElement effect);
+    void updateEffect(const QDomElement &effect);
     static bool hasKeyFrames(const QDomElement &effect);
     static bool hasSimpleKeyFrames(const QDomElement &effect);
     static bool hasGeometryKeyFrames(const QDomElement &effect);
@@ -89,7 +89,7 @@ public:
     static void removeMetaProperties(QDomElement producer);
     void clearList();
     /** @brief Get am effect with effect index equal to ix. */
-    QDomElement effectFromIndex(QDomNodeList effects, int ix);
+    QDomElement effectFromIndex(const QDomNodeList &effects, int ix);
     /** @brief Update all effects indexes to make sure they are 1, 2, 3, ... */
     void updateIndexes(QDomNodeList effects, int startIndex);
     /** @brief Enable / disable a list of effects */