summaryrefslogtreecommitdiffstats
path: root/src/touchmockingapplication.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/touchmockingapplication.h')
-rw-r--r--src/touchmockingapplication.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/touchmockingapplication.h b/src/touchmockingapplication.h
index d6f13ec..f2c4b5a 100644
--- a/src/touchmockingapplication.h
+++ b/src/touchmockingapplication.h
@@ -33,7 +33,8 @@
#include <QtCore/QHash>
#include <QtCore/QUrl>
#include <QtGui/QGuiApplication>
-#include <QtGui/QTouchEvent>
+#include <QEventPoint>
+#include <QMouseEvent>
QT_BEGIN_NAMESPACE
class QQuickView;
@@ -62,7 +63,7 @@ private:
QPointF m_lastScreenPos;
QPointF m_startScreenPos;
- QHash<int, QTouchEvent::TouchPoint> m_touchPoints;
+ QHash<int, QEventPoint> m_touchPoints;
QSet<int> m_heldTouchPoints;
QHash<int, QQuickItem*> m_activeMockComponents;