]> git.sesse.net Git - kdenlive/blobdiff - src/effectslist.h
* New config option for preview: disable B Frame decoding on h.264:
[kdenlive] / src / effectslist.h
index cfee7ea7884bf12d8877ef16f2e84de6d13ee9c3..e2bb0fb09f87bf5b1ebda32a639a4cc3c1a475c6 100644 (file)
@@ -20,7 +20,7 @@
 
 #include <QList>
 
-/**An List for DocClipBase objects. Use this instead of QList<DocClipBase> so as to sort lists correctly.
+/**A List for DocClipBase objects. Use this instead of QList<DocClipBase> so as to sort lists correctly.
  * Also contains the ability to set a "master clip", which can be used by a number of operations where
  * the need for one clip to act as a reference for what happens to all clips is needed.
   * @author Jason Wood
@@ -39,11 +39,12 @@ public:
     int hasEffect(const QString & tag, const QString & id) const;
     QStringList effectIdInfo(const int ix) const;
     QStringList effectNames();
-    QString getInfo(const QString & tag, const QString & id);
-    QMap <QString, QString> effect(const QString & name);
+    QString getInfo(const QString & tag, const QString & id) const;
+    QString getInfoFromIndex(const int ix) const;
     EffectsList clone() const;
     static bool hasKeyFrames(QDomElement effect);
-    static void setParameter(QDomElement effect, QString name, QString value);
+    static void setParameter(QDomElement effect, const QString &name, const QString &value);
+    static QString parameter(QDomElement effect, const QString &name);
 };
 
 #endif