diff -r e6ad4ef83b23 -r b7da29130b0e src/hbcore/gestures/hbpangesturelogic_p.h --- a/src/hbcore/gestures/hbpangesturelogic_p.h Thu Sep 02 20:44:51 2010 +0300 +++ b/src/hbcore/gestures/hbpangesturelogic_p.h Fri Sep 17 08:32:10 2010 +0300 @@ -38,6 +38,7 @@ class QPoint; class HbPanGesture; class QMouseEvent; +class QTouchEvent; class HB_CORE_PRIVATE_EXPORT HbPanGestureLogic { @@ -46,7 +47,10 @@ ~HbPanGestureLogic(); bool isMouseEvent(QEvent::Type eventType); + bool isTouchEvent(QEvent::Type eventType); void resetGesture(HbPanGesture *gesture); + int followedTouchPointIndex(QTouchEvent *te, HbPanGesture *gesture); + int getNextId(QTouchEvent *te); QGestureRecognizer::Result handleMousePress( Qt::GestureState gestureState, HbPanGesture *gesture, @@ -61,7 +65,22 @@ Qt::GestureState gestureState, HbPanGesture *gesture, QObject *watched, - QMouseEvent *me ); + QMouseEvent *me ); + QGestureRecognizer::Result handleTouchBegin( + Qt::GestureState gestureState, + HbPanGesture *gesture, + QObject *watched, + QTouchEvent *te ); + QGestureRecognizer::Result handleTouchMove( + Qt::GestureState gestureState, + HbPanGesture *gesture, + QObject *watched, + QTouchEvent *te ); + QGestureRecognizer::Result handleTouchEnd( + Qt::GestureState gestureState, + HbPanGesture *gesture, + QObject *watched, + QTouchEvent *te ); QGestureRecognizer::Result recognize( Qt::GestureState gestureState, HbPanGesture *gesture,