]> git.sesse.net Git - kdenlive/blobdiff - src/keyframeedit.h
Fix forward declaration
[kdenlive] / src / keyframeedit.h
index c415c0d7a9a15089f36b07e2181fbbb17e9fc2b9..2da6b6d8e9da57e2d1c4567b0f7ab6262432b3ec 100644 (file)
@@ -25,7 +25,6 @@
 #include <QAbstractItemView>
 #include <QSpinBox>
 
-class QButtonGroup;
 class PositionEdit;
 
 #include "ui_keyframeeditor_ui.h"
@@ -94,10 +93,19 @@ public:
     /** @brief Makes the first parameter visible in timeline if no parameter is selected. */
     void checkVisibleParam();
 
+public slots:
+
+    void slotUpdateRange(int inPoint, int outPoint);
+
 protected:
     /** @brief Gets the position of a keyframe from the table.
      * @param row Row of the keyframe in the table */
     int getPos(int row);
+    /** @brief Converts a frame value to timecode considering the frames vs. HH:MM:SS:FF setting.
+     * @return timecode */
+    QString getPosString(int pos);
+
+    void generateAllParams();
 
     int m_min;
     int m_max;
@@ -109,20 +117,14 @@ private:
     QList <QDomElement> m_params;
     Timecode m_timecode;
     QGridLayout *m_slidersLayout;
-    QButtonGroup *m_showButtons;
     PositionEdit *m_position;
 
-    void generateAllParams();
-    /** @brief Converts a frame value to timecode considering the frames vs. HH:MM:SS:FF setting.
-    * @return timecode */
-    QString getPosString(int pos);
-
 private slots:
     void slotDeleteKeyframe();
     void slotAddKeyframe();
     void slotGenerateParams(int row, int column);
     void slotAdjustKeyframePos(int value);
-    void slotAdjustKeyframeValue(int value);
+    void slotAdjustKeyframeValue(double value);
     /** @brief Turns the seek to keyframe position setting on/off.
     * @param seek true = seeking on */
     void slotSetSeeking(bool seek);