]> git.sesse.net Git - kdenlive/blobdiff - src/kdenlivedoc.h
Enter 2012.
[kdenlive] / src / kdenlivedoc.h
index fcdb0979170f8d6d5735103a16fcaff25314a04b..cc74e5d34078058d4ba7fdc6168af01febc21c4f 100644 (file)
@@ -154,7 +154,11 @@ Q_OBJECT public:
     void removeTrackEffect(int ix, QDomElement effect);
     void setTrackEffect(int trackIndex, int effectIndex, QDomElement effect);
     const EffectsList getTrackEffects(int ix);
+    /** @brief Enable / disable an effect in Kdenlive's xml list. */
+    void enableTrackEffects(int trackIndex, QList <int> effectIndexes, bool disable);
     QDomElement getTrackEffect(int trackIndex, int effectIndex) const;
+    /** @brief Check if a track already contains a specific effect. */
+    int hasTrackEffect(int trackIndex, const QString &tag, const QString &id) const;
     /** @brief Get a list of folder id's that were opened on last save. */
     QStringList getExpandedFolders();
     /** @brief Read the display ratio from an xml project file. */