diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-06-08 14:06:27 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-06-15 12:55:58 (GMT) |
commit | 948e68ffa22e9b584f0612e3c67ad46a68a09746 (patch) | |
tree | aee0fcd9914f691d2e9ebdccf42f722e5e58d9f0 /tests/auto/gestures/tst_gestures.cpp | |
parent | f04eafcc816de608aad64b9cf1132cfd421642ca (diff) | |
download | Qt-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.cpp | 6 |
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); |