diff -r 7516d6d86cf5 -r ed14f46c0e55 src/hbwidgets/itemviews/hbabstractitemview_p.h --- a/src/hbwidgets/itemviews/hbabstractitemview_p.h Mon Oct 04 17:49:30 2010 +0300 +++ b/src/hbwidgets/itemviews/hbabstractitemview_p.h Mon Oct 18 18:23:13 2010 +0300 @@ -39,6 +39,7 @@ #include "hbabstractitemview.h" #include "hbscrollarea_p.h" +#include "hbemptyviewwidget_p.h" #include #include @@ -55,6 +56,7 @@ class HbAbstractItemContainer; class HbAbstractViewItem; class HbModelIterator; +class HbPanGesture; class HbAbstractItemViewPrivate : public HbScrollAreaPrivate { @@ -125,7 +127,7 @@ virtual bool animationEnabled(bool insertOperation); - virtual void ensureVisible(QPointF position, qreal xMargin, qreal yMargin); + virtual void ensureVisible(const QPointF &position, qreal xMargin, qreal yMargin); void _q_modelDestroyed(); void _q_animationEnabled(); @@ -133,11 +135,15 @@ void _q_scrolling(QPointF newPosition); void _q_scrollingEnded(); void _q_scrollingStarted(); + void _q_itemAboutToBeDeleted(HbAbstractViewItem *item); void setContentPosition(qreal value, Qt::Orientation orientation, bool animate); virtual bool panTriggered(QGestureEvent *event); + int calculatePanningDirection(HbPanGesture *gesture); + bool isBouncebackOngoing(); + public: QPersistentModelIndex mCurrentIndex; @@ -179,6 +185,14 @@ bool mDoingContiguousSelection; QPointF mPositionInContiguousSelection; + bool mItemPixmapCacheEnabled; + + HbAbstractItemView::IconLoadPolicy mIconLoadPolicy; + + HbEmptyViewWidget *mEmptyView; + int mPanningDirection; + QPersistentModelIndex mStartSelectionIndex; + private: static HbAbstractItemViewPrivate *d_ptr(HbAbstractItemView *abstractItemView) { Q_ASSERT(abstractItemView); @@ -186,6 +200,7 @@ } friend class HbGridItemContainer; friend class HbAbstractItemContainerPrivate; + friend class HbIndexFeedbackPrivate; };