]> git.sesse.net Git - kdenlive/blobdiff - src/simplekeyframes/simplekeyframewidget.h
Integrate with the required MLT hooks for getting Movit to work.
[kdenlive] / src / simplekeyframes / simplekeyframewidget.h
index be98c53cab86e7b45fb74661a660e4ddde4e37d6..edf6b3aa71edde17f1b9ebb4e082caefe518d012 100644 (file)
@@ -34,10 +34,10 @@ class SimpleKeyframeWidget : public QWidget
     Q_OBJECT
 
 public:
-    SimpleKeyframeWidget(Timecode t, int duration, QWidget* parent = 0);
-    virtual ~SimpleKeyframeWidget();
+    explicit SimpleKeyframeWidget(const Timecode &t, int duration, QWidget* parent = 0);
+    ~SimpleKeyframeWidget();
 
-    int getPosition();
+    int getPosition() const;
     void setKeyframes(const QList <int> &keyframes);
     void addKeyframe(int pos = -1);
 
@@ -46,6 +46,9 @@ public:
 public slots:
     void slotSetPosition(int pos = -1, bool update = true);
 
+private slots:
+    void slotAtKeyframe(bool atKeyframe);
+
 signals:
     void positionChanged(int pos);
     void keyframeAdded(int pos);
@@ -57,7 +60,6 @@ private:
     QToolButton *m_buttonAddDelete;
     QToolButton *m_buttonPrevious;
     QToolButton *m_buttonNext;
-    //QToolButton *m_buttonSync;
     TimecodeDisplay *m_time;
 };