diff -r 16d8024aca5e -r f7ac710697a9 src/hbwidgets/itemviews/hblistview_p.h --- a/src/hbwidgets/itemviews/hblistview_p.h Mon Apr 19 14:02:13 2010 +0300 +++ b/src/hbwidgets/itemviews/hblistview_p.h Mon May 03 12:48:33 2010 +0300 @@ -45,6 +45,7 @@ class QAbstractItemModel; class QTimeLine; class QGraphicsLinearLayout; +class QPanGesture; QT_END_NAMESPACE class HbListView; @@ -67,8 +68,9 @@ void init(); void moveDraggedItemTo(const QPointF &mousePosition); - void setContentPosition( qreal value, Qt::Orientation orientation, bool animate ); + virtual bool panTriggered(QGestureEvent *event); + virtual bool animationEnabled(bool insertOperation); public: bool mArrangeMode; QPersistentModelIndex mDraggedItemIndex; @@ -78,7 +80,8 @@ QPointF mScrollStartMousePos; QPointF mLastScrollPos; QTransform mOriginalTransform; - + + bool mOriginalFriction; }; #endif // HBLISTVIEW_PRIVATE_H