src/hbwidgets/itemviews/hbgridviewitem.cpp
changeset 2 06ff229162e9
parent 1 f7ac710697a9
child 6 c3690ec91ef8
--- a/src/hbwidgets/itemviews/hbgridviewitem.cpp	Mon May 03 12:48:33 2010 +0300
+++ b/src/hbwidgets/itemviews/hbgridviewitem.cpp	Fri May 14 16:09:54 2010 +0300
@@ -26,7 +26,7 @@
 #include "hbgridviewitem_p.h"
 #include <hbgridviewitem.h>
 #include "hbgridview_p.h"
-#include <hbstyleoptiongridviewitem.h>
+#include <hbstyleoptiongridviewitem_p.h>
 #include <QDebug>
 
 /*!
@@ -178,43 +178,6 @@
 }
 
 /*!
-
-    \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
-  \c P_GridViewItem_background.
- */
-QGraphicsItem * HbGridViewItem::primitive(HbStyle::Primitive primitive) const
-{
-    Q_D( const HbGridViewItem );
-
-    if (primitive == HbStyle::P_GridViewItem_text) {
-        return d->mTextItem;
-    }
-    else if (primitive == HbStyle::P_GridViewItem_icon) {
-        return d->mIconItem;
-    }
-
-    return HbAbstractViewItem::primitive(primitive);
-}
-
-/*!
-    \deprecated HbGridViewItem::contiguousSelectionArea() const
-        is deprecated.
-
-    \reimp
- */
-QRectF HbGridViewItem::contiguousSelectionArea() const
-{
-    qWarning("QRectF HbGridViewItem::contiguousSelectionArea() const is deprecated!");
-
-    return QRect();
-}
-
-/*!
  \reimp
  */
 bool HbGridViewItem::selectionAreaContains(const QPointF &position,