]> git.sesse.net Git - kdenlive/blobdiff - src/jogshuttle.h
const'ify
[kdenlive] / src / jogshuttle.h
index 7503bcfb8f5be7a6e05079a3abbe468d02a4fdb0..55b4472a1306db2c767856e14c15fd48481b83f4 100644 (file)
@@ -34,13 +34,13 @@ class ShuttleThread : public QThread
 
 public:
     virtual void run();
-    void init(QObject *parent, QString device);
+    void init(QObject *parent, const QString &device);
     QObject *m_parent;
     int shuttlevalue;
-    bool shuttlechange;
+    int shuttlecounter;
     unsigned short jogvalue;
     bool isWorking();
-    bool stop_me;
+    volatile bool stop_me;
     QString m_device;
 
 private:
@@ -67,11 +67,9 @@ private:
     ShuttleThread m_shuttleProcess;
 
 signals:
-    void rewind1();
-    void forward1();
-    void rewind(double);
-    void forward(double);
-    void stop();
+    void jogBack();
+    void jogForward();
+    void shuttlePos(int);
     void button(int);
 };