X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fpositionedit.h;h=70dff2ff8fd00cdc6e931e92ed03ac922ab9044c;hb=f925c183d011886e9e56224e4331ab2470ff1dd7;hp=5c2d77e69fa7818b2b3cb6c564d656953d522eff;hpb=cd0a632bc2ffba5c097869364ddffae65605b97b;p=kdenlive diff --git a/src/positionedit.h b/src/positionedit.h index 5c2d77e6..70dff2ff 100644 --- a/src/positionedit.h +++ b/src/positionedit.h @@ -19,10 +19,12 @@ #define POSITONEDIT_H +#include "timecode.h" + #include -#include "timecode.h" -#include "timecodedisplay.h" +class QSlider; +class TimecodeDisplay; class PositionEdit : public QWidget { @@ -33,6 +35,7 @@ public: int getPosition() const; void setPosition(int pos); void updateTimecodeFormat(); + void setRange(int min, int max); private: TimecodeDisplay *m_display; @@ -42,7 +45,7 @@ private slots: void slotUpdatePosition(); signals: - void parameterChanged(); + void parameterChanged(int pos = 0); }; #endif