diff -r 7516d6d86cf5 -r ed14f46c0e55 src/hbwidgets/itemviews/hbgridview_p.h --- a/src/hbwidgets/itemviews/hbgridview_p.h Mon Oct 04 17:49:30 2010 +0300 +++ b/src/hbwidgets/itemviews/hbgridview_p.h Mon Oct 18 18:23:13 2010 +0300 @@ -59,8 +59,7 @@ inline qreal getScrollDirectionContainerPos() const; inline qreal getScrollDirectionItemSize() const; - inline QModelIndex indexInTheCenter() const; - QModelIndex indexInTheCenter(Qt::Orientations scrollDirection) const; + QModelIndex firstFullyVisibleIndex() const; public: bool mIconVisible; @@ -119,9 +118,4 @@ : mContainer->items().first()->size().width(); } -QModelIndex HbGridViewPrivate::indexInTheCenter() const -{ - return indexInTheCenter(mScrollDirections); -} - #endif /*HBGRIDVIEW_P_H*/