#include "definitions.h"
class ClipItem;
-class Transition;
class CustomTrackView;
class KdenliveDoc;
class CustomRuler;
Q_OBJECT
public:
- explicit TrackView(KdenliveDoc *doc, QList <QAction *> actions, bool *ok, QWidget *parent = 0);
+ explicit TrackView(KdenliveDoc *doc, const QList <QAction *>& actions, bool *ok, QWidget *parent = 0);
virtual ~ TrackView();
void setEditMode(const QString & editMode);
const QString & editMode() const;
void checkTrackHeight();
void updateProfile();
+ void updatePalette();
protected:
virtual void keyPressEvent(QKeyEvent * event);
void adjustTrackHeaders();
/** @brief Add effects from the xml. Returns true if some effect was upgraded, false if everything went fine.*/
void slotAddProjectEffects(QDomNodeList effects, QDomElement parentNode, ClipItem *clip, int trackIndex);
+
+ /** @brief Returns a kdenlive effect xml description from an effect tag / id */
+ QDomElement getEffectByTag(const QString &effecttag, const QString &effectid);
+
+ /** @brief Adjust kdenlive effect xml parameters to the MLT value*/
+ void adjustparameterValue(QDomNodeList clipeffectparams, const QString ¶mname, const QString ¶mvalue);
private slots:
void setCursorPos(int pos);