X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fguide.h;h=6bd392ae654103839c72122962aec159b52123cf;hb=56aee6aedeeed3efd10ada8fe3c229eddc01ef05;hp=150f83d67af1c67bc4924638c91eb04bdbfaa68a;hpb=d43383d14efb17899c439d85c257f5be5d2a118e;p=kdenlive diff --git a/src/guide.h b/src/guide.h index 150f83d6..6bd392ae 100644 --- a/src/guide.h +++ b/src/guide.h @@ -34,11 +34,12 @@ class Guide : public QGraphicsLineItem { public: - Guide(CustomTrackView *view, GenTime pos, QString label, double fps, double height); + Guide(CustomTrackView *view, const GenTime &pos, const QString &label, double height); GenTime position() const; - void updateGuide(const GenTime newPos, const QString &comment = QString()); + void updateGuide(const GenTime &newPos, const QString &comment = QString()); QString label() const; CommentedTime info() const; + void updatePos(); virtual int type() const; virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *w); virtual QRectF boundingRect() const; @@ -52,7 +53,6 @@ protected: private: GenTime m_position; QString m_label; - double m_fps; CustomTrackView *m_view; int m_width; QPen m_pen;