X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fgeometryval.h;h=bccad6612175eeb625bc1660c03eb487f35f8131;hb=efc1004af4aa57ccbca2f66c6d947b9e1567931a;hp=af41aa37d97e1c65f1e4cc9d4ecbd83232636803;hpb=f8fc9aef061d85a6a86c1cd834307917db79c57d;p=kdenlive diff --git a/src/geometryval.h b/src/geometryval.h index af41aa37..bccad661 100644 --- a/src/geometryval.h +++ b/src/geometryval.h @@ -41,12 +41,12 @@ 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(); private: @@ -71,7 +71,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();