src/hbwidgets/itemviews/hbgridviewitem_p.h
changeset 34 ed14f46c0e55
parent 0 16d8024aca5e
--- a/src/hbwidgets/itemviews/hbgridviewitem_p.h	Mon Oct 04 17:49:30 2010 +0300
+++ b/src/hbwidgets/itemviews/hbgridviewitem_p.h	Mon Oct 18 18:23:13 2010 +0300
@@ -33,7 +33,7 @@
 class HbGridViewItem;
 class HbGridViewPrivate;
 
-class QGraphicsItem;
+class QGraphicsObject;
 
 class HbGridViewItemPrivate: public HbAbstractViewItemPrivate
 {
@@ -46,8 +46,8 @@
     void init();
 
     // below variables store items that are inside GridViewItem
-    QGraphicsItem *mIconItem;
-    QGraphicsItem *mTextItem;
+    QGraphicsObject *mIconItem;
+    QGraphicsObject *mTextItem;
 
     bool isTextValid(const QVariant& text) const;
     bool isIconValid(const QVariant& icon) const;