]> git.sesse.net Git - kdenlive/blobdiff - src/geometryval.h
Fix clip monitor not activated on open: http://kdenlive.org/mantis/view.php?id=2992
[kdenlive] / src / geometryval.h
index 9aef22499428f1aeb23eefc5b9c8ae8cc275be8c..a337d594cc9d181827bc1b3c82c8d7f577cd881e 100644 (file)
@@ -41,17 +41,17 @@ class Geometryval : public QWidget, public Ui::Geometryval
 {
     Q_OBJECT
 public:
-    explicit Geometryval(const MltVideoProfile profile, Timecode t, QPoint frame_size, int startPoint = 0, QWidget* parent = 0);
+    explicit Geometryval(const MltVideoProfile &profile, Timecode t, QPoint frame_size, int startPoint = 0, QWidget* parent = 0);
     virtual ~Geometryval();
     QDomElement getParamDesc();
     QString getValue() const;
     void setFrameSize(QPoint p);
-    /* update the timecode display depending on what the user wants (frame number or hh:mm:ss:ff) */
+    /** @brief Updates the timecode display according to settings (frame number or hh:mm:ss:ff) */
     void updateTimecodeFormat();
+    void slotUpdateRange(int inPoint, int outPoint);
 
 private:
     MltVideoProfile m_profile;
-    Timecode m_timecode;
     int m_realWidth;
     GraphicsSceneRectMove *m_scene;
     QGraphicsRectItem *m_paramRect;
@@ -72,7 +72,9 @@ private:
     bool keyframeSelected();
 
 public slots:
-    void setupParam(const QDomElement, int, int);
+    void setupParam(const QDomElement, int minframe, int maxframe);
+    /** @brief Updates position of the local timeline to @param relTimelinePos.  */
+    void slotSyncPosition(int relTimelinePos);
 
 private slots:
     void slotNextFrame();