]> git.sesse.net Git - kdenlive/blobdiff - src/positionedit.h
Integrate with the required MLT hooks for getting Movit to work.
[kdenlive] / src / positionedit.h
index 2a2639781645a32613fd67245bdbc773de66a92d..ba6e4a5b4debec4a90343403fc87d0c125fb600a 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
-                          geomeytrval.h  -  description
+                          positionedit.h  -  description
                              -------------------
     begin                : 03 Aug 2008
     copyright            : (C) 2008 by Marco Gittler
@@ -30,13 +30,15 @@ class PositionEdit : public QWidget
 {
     Q_OBJECT
 public:
-    explicit PositionEdit(const QString name, int pos, int min, int max, const Timecode tc, QWidget* parent = 0);
-    virtual ~PositionEdit();
+    explicit PositionEdit(const QString &name, int pos, int min, int max, const Timecode& tc, QWidget* parent = 0);
+    ~PositionEdit();
     int getPosition() const;
     void setPosition(int pos);
     void updateTimecodeFormat();
-    void setRange(int min, int max);
 
+public slots:
+    void setRange(int min, int max, bool absolute = false);
+    
 private:
     TimecodeDisplay *m_display;
     QSlider *m_slider;
@@ -45,7 +47,7 @@ private slots:
     void slotUpdatePosition();
 
 signals:
-    void parameterChanged(int pos);
+    void parameterChanged(int pos = 0);
 };
 
 #endif