Q_OBJECT
public:
- ClipItem(DocClipBase *clip, ItemInfo info, double fps, bool generateThumbs = true);
+ ClipItem(DocClipBase *clip, ItemInfo info, double fps, double speed, bool generateThumbs = true);
virtual ~ ClipItem();
virtual void paint(QPainter *painter,
const QStyleOptionGraphicsItem *option,
int clipType() const;
DocClipBase *baseClip() const;
QString clipName() const;
+ void setClipName(const QString &name);
QDomElement xml() const;
ClipItem *clone(ItemInfo info) const;
const EffectsList effectList();
/** Give a string list of the clip's effect names */
QStringList effectNames();
/** Add an effect to the clip and return the parameters that will be passed to Mlt */
- QHash <QString, QString> addEffect(QDomElement effect, bool animate = true);
+ EffectsParameterList addEffect(QDomElement effect, bool animate = true);
/** Get the effect parameters that will be passed to Mlt */
- QHash <QString, QString> getEffectArgs(QDomElement effect);
+ EffectsParameterList getEffectArgs(QDomElement effect);
/** Delete effect with id index */
void deleteEffect(QString index);
/** return the number of effects in that clip */