]> git.sesse.net Git - kdenlive/blobdiff - src/positionedit.h
sync with v0.9 branch
[kdenlive] / src / positionedit.h
index 5c2d77e69fa7818b2b3cb6c564d656953d522eff..2c5f243b9f1ed2a5a1b778fb3f9e152825a5e4f3 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
-                          geomeytrval.h  -  description
+                          positionedit.h  -  description
                              -------------------
     begin                : 03 Aug 2008
     copyright            : (C) 2008 by Marco Gittler
 #define POSITONEDIT_H
 
 
+#include "timecode.h"
+
 #include <QWidget>
 
-#include "timecode.h"
-#include "timecodedisplay.h"
+class QSlider;
+class TimecodeDisplay;
 
 class PositionEdit : public QWidget
 {
@@ -34,6 +36,9 @@ public:
     void setPosition(int pos);
     void updateTimecodeFormat();
 
+public slots:
+    void setRange(int min, int max, bool absolute = false);
+    
 private:
     TimecodeDisplay *m_display;
     QSlider *m_slider;
@@ -42,7 +47,7 @@ private slots:
     void slotUpdatePosition();
 
 signals:
-    void parameterChanged();
+    void parameterChanged(int pos = 0);
 };
 
 #endif