X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fjogshuttle.h;h=55b4472a1306db2c767856e14c15fd48481b83f4;hb=8ad7ae9512af232388f1f31b69c671ce72f6b48d;hp=7503bcfb8f5be7a6e05079a3abbe468d02a4fdb0;hpb=a0b31d454dcbbd7c31f1dca4cd22c71da61e8920;p=kdenlive diff --git a/src/jogshuttle.h b/src/jogshuttle.h index 7503bcfb..55b4472a 100644 --- a/src/jogshuttle.h +++ b/src/jogshuttle.h @@ -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); };