summaryrefslogtreecommitdiffstats
path: root/tests/auto/gestures/tst_gestures.cpp
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-06-08 14:06:27 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-06-15 12:55:58 (GMT)
commit948e68ffa22e9b584f0612e3c67ad46a68a09746 (patch)
treeaee0fcd9914f691d2e9ebdccf42f722e5e58d9f0 /tests/auto/gestures/tst_gestures.cpp
parentf04eafcc816de608aad64b9cf1132cfd421642ca (diff)
downloadQt-948e68ffa22e9b584f0612e3c67ad46a68a09746.zip
Qt-948e68ffa22e9b584f0612e3c67ad46a68a09746.tar.gz
Qt-948e68ffa22e9b584f0612e3c67ad46a68a09746.tar.bz2
Compile fix after the multitouch api review.
Diffstat (limited to 'tests/auto/gestures/tst_gestures.cpp')
-rw-r--r--tests/auto/gestures/tst_gestures.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/gestures/tst_gestures.cpp b/tests/auto/gestures/tst_gestures.cpp
index 8df856d..9c9d279 100644
--- a/tests/auto/gestures/tst_gestures.cpp
+++ b/tests/auto/gestures/tst_gestures.cpp
@@ -447,13 +447,13 @@ public:
protected:
bool sceneEvent(QEvent *event)
{
- if (event->type() == QEvent::GraphicsSceneTouchBegin) {
+ if (event->type() == QEvent::TouchBegin) {
event->accept();
++touch.seenTouchBeginEvent;
return true;
- } else if (event->type() == QEvent::GraphicsSceneTouchUpdate) {
+ } else if (event->type() == QEvent::TouchUpdate) {
++touch.seenTouchUpdateEvent;
- } else if (event->type() == QEvent::GraphicsSceneTouchEnd) {
+ } else if (event->type() == QEvent::TouchEnd) {
++touch.seenTouchEndEvent;
} else if (event->type() == QEvent::GraphicsSceneGesture) {
QGraphicsSceneGestureEvent *e = static_cast<QGraphicsSceneGestureEvent*>(event);