src/hbwidgets/itemviews/hblistview_p.h
changeset 1 f7ac710697a9
parent 0 16d8024aca5e
child 2 06ff229162e9
equal deleted inserted replaced
0:16d8024aca5e 1:f7ac710697a9
    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