diff options
Diffstat (limited to 'src/input/frontend/qmouseevent.h')
-rw-r--r-- | src/input/frontend/qmouseevent.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/input/frontend/qmouseevent.h b/src/input/frontend/qmouseevent.h index 109875d38..1b5f41798 100644 --- a/src/input/frontend/qmouseevent.h +++ b/src/input/frontend/qmouseevent.h @@ -59,11 +59,11 @@ class QT3DINPUTSHARED_EXPORT QMouseEvent : public QObject public: enum Buttons { - LeftButton = Qt::MouseButton::LeftButton, - RightButton = Qt::MouseButton::RightButton, - MiddleButton = Qt::MouseButton::MiddleButton, - BackButton = Qt::MouseButton::BackButton, - NoButton = Qt::MouseButton::NoButton + LeftButton = Qt::LeftButton, + RightButton = Qt::RightButton, + MiddleButton = Qt::MiddleButton, + BackButton = Qt::BackButton, + NoButton = Qt::NoButton }; Q_ENUM(Buttons) @@ -109,11 +109,11 @@ class QT3DINPUTSHARED_EXPORT QWheelEvent : public QObject public: enum Buttons { - LeftButton = Qt::MouseButton::LeftButton, - RightButton = Qt::MouseButton::RightButton, - MiddleButton = Qt::MouseButton::MiddleButton, - BackButton = Qt::MouseButton::BackButton, - NoButton = Qt::MouseButton::NoButton + LeftButton = Qt::LeftButton, + RightButton = Qt::RightButton, + MiddleButton = Qt::MiddleButton, + BackButton = Qt::BackButton, + NoButton = Qt::NoButton }; Q_ENUM(Buttons) |