blob: b512f68a8cdb969a727542d7072cb9801630c094 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#ifndef MIXXXAPPLICATION_H
#define MIXXXAPPLICATION_H
#include <QApplication>
class ControlProxy;
class MixxxApplication : public QApplication {
Q_OBJECT
public:
MixxxApplication(int& argc, char** argv);
~MixxxApplication() override;
#ifndef Q_OS_MAC
#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)
virtual bool notify(QObject*, QEvent*);
#endif
#endif
private:
bool touchIsRightButton();
void registerMetaTypes();
int m_fakeMouseSourcePointId;
QWidget* m_fakeMouseWidget;
enum Qt::MouseButton m_activeTouchButton;
ControlProxy* m_pTouchShift;
};
#endif // MIXXXAPPLICATION_H
|