]> git.sesse.net Git - kdenlive/blobdiff - src/effectslist.h
NEW: Kdenlive can now create screencasts.
[kdenlive] / src / effectslist.h
index d2c10dcb191f3f04be1894eeec77f9e9283d75ff..462e283ff74fd7a4b1caa492346a9c42a3cf6582 100644 (file)
 #include <QList>
 
 /**An 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.
+ * 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
   */
 
 #include <QDomElement>
 
-class EffectsList:public QList < QDomElement > {
-  public:
+class EffectsList: public QList < QDomElement > {
+public:
     EffectsList();
-   ~EffectsList();
-       /** Returns an XML version of this Effect.*/
-  QDomElement getEffectByName(const QString & name);
-  QStringList effectNames();
-  QString getInfo(QString effectName);
-
+    ~EffectsList();
+    /** Returns an XML version of this Effect.*/
+    QDomElement getEffectByName(const QString & name) const;
+    QDomElement getEffectByTag(const QString & tag, const QString & id) const;
+    QStringList effectNames();
+    QString getInfo(QString effectName);
+    QMap <QString, QString> effect(const QString & name);
+    static bool hasKeyFrames(QDomElement effect);
+    static void setParameter(QDomElement effect, QString name, QString value);
 };
 
 #endif