]> git.sesse.net Git - kdenlive/blobdiff - src/timecodedisplay.h
Use const & with foreach loops where possible [krazy 46/46] by Mikko Rapeli
[kdenlive] / src / timecodedisplay.h
index a18f757f08ddb464db497d33b7c06375be83bb61..e3ae03f7ca83eb361f425d3ed0be60d5ad6fadf0 100644 (file)
@@ -41,7 +41,7 @@ public:
     /** @brief Constructor for the widget, sets value to 0.
     * @param t Timecode object used to setup correct input (frames or HH:MM:SS:FF)
     * @param parent parent Widget */
-    TimecodeDisplay(Timecode t, QWidget *parent = 0);
+    explicit TimecodeDisplay(Timecode t, QWidget *parent = 0);
 
     /** @brief Returns the minimum value, which can be entered.
     * default is 0 */
@@ -83,6 +83,7 @@ private:
     bool m_frametimecode;
     int m_minimum;
     int m_maximum;
+    int m_value;
 
 public slots:
     /** @brief Sets the value.
@@ -99,11 +100,6 @@ public slots:
 private slots:
     void slotEditingFinished();
 
-    /** @brief Updates the selection when the cursor position changed.
-     * The digit after the cursor will be selected.
-     * This makes it easier to edit the timecode. */
-    void slotCursorPositionChanged(int oldPos, int newPos);
-
 signals:
     /**
      * Emitted every time the value changes (by calling setValue() or