summaryrefslogtreecommitdiffstats
path: root/src/mixxxapplication.h
blob: 33626effbd8db35f7035b88980ee2efd0b15f01d (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
#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