+ int m_verticalZoom;
+ QString m_documentErrors;
+ QList <QAction *> m_trackActions;
+
+ void parseDocument(const QDomDocument &doc);
+ int slotAddProjectTrack(int ix, QDomElement xml, bool locked, const QDomNodeList &producers);
+ DocClipBase *getMissingProducer(const QString &id) const;
+ 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);
+ void moveCursorPos(int pos);
+ /** @brief Rebuilds the track headers */
+ void slotRebuildTrackHeaders();
+ /** @brief The tracks count or a track name changed, rebuild and notify */
+ void slotReloadTracks();
+ void slotChangeTrackLock(int ix, bool lock);
+ void slotVerticalZoomDown();
+ void slotVerticalZoomUp();
+
+ /** @brief Changes the name of a track.
+ * @param ix Number of the track
+ * @param name New name */
+ void slotRenameTrack(int ix, const QString &name);
+ void slotRepaintTracks();
+
+ /** @brief Adjusts the margins of the header area.
+ *
+ * Avoid a shift between header area and trackview if
+ * the horizontal scrollbar is visible and the position
+ * of the vertical scrollbar is maximal */
+ void slotUpdateVerticalScroll(int min, int max);
+ void slotShowTrackEffects(int);
+ /** @brief Update the track label showing applied effects.*/
+ void slotUpdateTrackEffectState(int);