src/hbwidgets/itemviews/hbgridview_p.h
changeset 34 ed14f46c0e55
parent 6 c3690ec91ef8
--- 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*/