]> git.sesse.net Git - kdenlive/blobdiff - src/geometryval.h
Fix crash on scene cut analysis: http://kdenlive.org/mantis/view.php?id=2873
[kdenlive] / src / geometryval.h
index 09556ad9a77f6b26568fdbc78fd1ae0aa3b747e0..a337d594cc9d181827bc1b3c82c8d7f577cd881e 100644 (file)
@@ -41,13 +41,14 @@ 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);
-    /** @brief Update the timecode display according to settings (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;
@@ -72,6 +73,8 @@ private:
 
 public slots:
     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();