aboutsummaryrefslogtreecommitdiff
path: root/transitionworkerthread.h
diff options
context:
space:
mode:
Diffstat (limited to 'transitionworkerthread.h')
-rw-r--r--transitionworkerthread.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/transitionworkerthread.h b/transitionworkerthread.h
new file mode 100644
index 0000000..b4d3e95
--- /dev/null
+++ b/transitionworkerthread.h
@@ -0,0 +1,26 @@
+#ifndef REWINDWORKERTHREAD_H
+#define REWINDWORKERTHREAD_H
+
+#include "transitioncontrol.h"
+
+#include <QObject>
+#include <QThread>
+#include <QEasingCurve>
+
+class TransitionWorkerThread
+ : public QThread
+{
+ Q_OBJECT
+public:
+ TransitionWorkerThread(TransitionControl *control);
+ TransitionWorkerThread(TransitionControl *control, const QEasingCurve &easing);
+
+ void setEasing(const QEasingCurve &easing);
+ void run();
+
+private:
+ TransitionControl *m_control;
+ QEasingCurve m_easing;
+};
+
+#endif // REWINDWORKERTHREAD_H