equal
deleted
inserted
replaced
43 class QModelIndex; |
43 class QModelIndex; |
44 class QPersistentModelIndex; |
44 class QPersistentModelIndex; |
45 class QAbstractItemModel; |
45 class QAbstractItemModel; |
46 class QTimeLine; |
46 class QTimeLine; |
47 class QGraphicsLinearLayout; |
47 class QGraphicsLinearLayout; |
|
48 class QPanGesture; |
48 QT_END_NAMESPACE |
49 QT_END_NAMESPACE |
49 |
50 |
50 class HbListView; |
51 class HbListView; |
51 class HbListViewItem; |
52 class HbListViewItem; |
52 class HbScrollBar; |
53 class HbScrollBar; |
65 virtual ~HbListViewPrivate(); |
66 virtual ~HbListViewPrivate(); |
66 |
67 |
67 void init(); |
68 void init(); |
68 void moveDraggedItemTo(const QPointF &mousePosition); |
69 void moveDraggedItemTo(const QPointF &mousePosition); |
69 |
70 |
70 void setContentPosition( qreal value, Qt::Orientation orientation, bool animate ); |
71 virtual bool panTriggered(QGestureEvent *event); |
71 |
72 |
|
73 virtual bool animationEnabled(bool insertOperation); |
72 public: |
74 public: |
73 bool mArrangeMode; |
75 bool mArrangeMode; |
74 QPersistentModelIndex mDraggedItemIndex; |
76 QPersistentModelIndex mDraggedItemIndex; |
75 HbAbstractViewItem *mDraggedItem; |
77 HbAbstractViewItem *mDraggedItem; |
76 QTime mMousePressTimer; |
78 QTime mMousePressTimer; |
77 QPointF mMousePressPos; |
79 QPointF mMousePressPos; |
78 QPointF mScrollStartMousePos; |
80 QPointF mScrollStartMousePos; |
79 QPointF mLastScrollPos; |
81 QPointF mLastScrollPos; |
80 QTransform mOriginalTransform; |
82 QTransform mOriginalTransform; |
81 |
83 |
|
84 bool mOriginalFriction; |
82 }; |
85 }; |
83 |
86 |
84 #endif // HBLISTVIEW_PRIVATE_H |
87 #endif // HBLISTVIEW_PRIVATE_H |
85 |
88 |