summaryrefslogtreecommitdiffstats
path: root/src/client/qwaylandtabletv2_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/qwaylandtabletv2_p.h')
-rw-r--r--src/client/qwaylandtabletv2_p.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/client/qwaylandtabletv2_p.h b/src/client/qwaylandtabletv2_p.h
index 36dd42689..bf3c78f05 100644
--- a/src/client/qwaylandtabletv2_p.h
+++ b/src/client/qwaylandtabletv2_p.h
@@ -58,7 +58,8 @@
#include <QtCore/QObject>
#include <QtCore/QPointer>
#include <QtCore/QPointF>
-#include <QtGui/QTabletEvent>
+#include <QtGui/QPointingDevice>
+#include <QtGui/QInputDevice>
QT_BEGIN_NAMESPACE
@@ -142,8 +143,8 @@ protected:
private:
// Static state (sent before done event)
- QTabletEvent::PointerType m_pointerType = QTabletEvent::PointerType::UnknownPointer;
- QTabletEvent::TabletDevice m_tabletDevice = QTabletEvent::TabletDevice::NoDevice;
+ QPointingDevice::PointerType m_pointerType = QPointingDevice::PointerType::Unknown;
+ QInputDevice::DeviceType m_tabletDevice = QInputDevice::DeviceType::Unknown;
type m_toolType = type_pen;
bool m_hasRotation = false;
quint64 m_uid = 0;