diff -r 16d8024aca5e -r f7ac710697a9 src/hbwidgets/itemviews/hbgridviewitem.cpp --- a/src/hbwidgets/itemviews/hbgridviewitem.cpp Mon Apr 19 14:02:13 2010 +0300 +++ b/src/hbwidgets/itemviews/hbgridviewitem.cpp Mon May 03 12:48:33 2010 +0300 @@ -178,6 +178,10 @@ } /*! + + \deprecated HbGridViewItem::primitive(HbStyle::Primitive) + is deprecated. + Provides access to primitives of HbGridViewItem. \param primitive is the type of the requested primitive. The available primitives are \c P_GridViewItem_text, \c P_GridViewItem_icon, \c P_ItemViewItem_checkbox and @@ -198,7 +202,7 @@ } /*! - \deprecated QRectF HbGridViewItem::contiguousSelectionArea() const + \deprecated HbGridViewItem::contiguousSelectionArea() const is deprecated. \reimp @@ -213,14 +217,13 @@ /*! \reimp */ -bool HbGridViewItem::selectionAreaContains(const QPointF &scenePosition) const +bool HbGridViewItem::selectionAreaContains(const QPointF &position, + SelectionAreaType selectionAreaType) const { - HB_SDD(const HbAbstractViewItem); - if ( sd->mItemView - && sd->mItemView->selectionMode() == HbAbstractItemView::ContiguousSelection) { + if (selectionAreaType == ContiguousSelection ) { return false; } - return HbAbstractViewItem::selectionAreaContains(scenePosition); + return HbAbstractViewItem::selectionAreaContains(position, selectionAreaType); } /*!