diff options
author | Daniel Schürmann <daschuer@mixxx.org> | 2013-10-29 18:59:58 +0100 |
---|---|---|
committer | Daniel Schürmann <daschuer@mixxx.org> | 2013-10-29 18:59:58 +0100 |
commit | 61348aedd7813dea1b56d4609f12a63307cc2c21 (patch) | |
tree | 0121f2fd0d13b35ff352a81a8e225c7acb530e99 /src/mixxxapplication.h | |
parent | db9244e319ee9932f3f4c72b114d77f93ee3ecb7 (diff) |
mouse click fake works but issues with drag and drop
Diffstat (limited to 'src/mixxxapplication.h')
-rw-r--r-- | src/mixxxapplication.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/mixxxapplication.h b/src/mixxxapplication.h new file mode 100644 index 0000000000..33626effbd --- /dev/null +++ b/src/mixxxapplication.h @@ -0,0 +1,27 @@ +#ifndef MIXXXAPPLICATION_H +#define MIXXXAPPLICATION_H + +#include <QApplication> + +class ControlObjectThread; + +class MixxxApplication : public QApplication { + Q_OBJECT + + public: + MixxxApplication(int& argc, char** argv); + virtual ~MixxxApplication(); + + virtual bool notify(QObject*, QEvent*); + + private: + bool touchIsRightButton(); + + int m_fakeMouseSourcePointId; + QWidget* m_fakeMouseWidget; + enum Qt::MouseButton m_activeTouchButton; + ControlObjectThread* m_pTouchShift; + +}; + +#endif // MIXXXAPPLICATION_H |