src/hbwidgets/itemviews/hbgridview_p.h
changeset 23 e6ad4ef83b23
parent 6 c3690ec91ef8
--- a/src/hbwidgets/itemviews/hbgridview_p.h	Wed Aug 18 10:05:37 2010 +0300
+++ b/src/hbwidgets/itemviews/hbgridview_p.h	Thu Sep 02 20:44:51 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*/