X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fgeometryval.h;h=a0215a80cb1c5d678ba0231d5befdc8b4f2d0aeb;hb=eafc34b6b1318c71b097bb5ad609f37f2eb62d04;hp=ee1d7768d48c85a1bdbfe7e789053325f61538a7;hpb=556f9a6d797f471c36b0fb5517ecf156ddce59bb;p=kdenlive diff --git a/src/geometryval.h b/src/geometryval.h index ee1d7768..a0215a80 100644 --- a/src/geometryval.h +++ b/src/geometryval.h @@ -34,20 +34,20 @@ //class QGraphicsScene; class GraphicsSceneRectMove; class QGraphicsRectItem; -class QMouseEvent; 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, const Timecode &t, const 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) */ + void setFrameSize(const QPoint &p); + /** @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 +72,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();