equal
deleted
inserted
replaced
31 #include <hbicon.h> |
31 #include <hbicon.h> |
32 |
32 |
33 class HbGridViewItem; |
33 class HbGridViewItem; |
34 class HbGridViewPrivate; |
34 class HbGridViewPrivate; |
35 |
35 |
36 class QGraphicsItem; |
36 class QGraphicsObject; |
37 |
37 |
38 class HbGridViewItemPrivate: public HbAbstractViewItemPrivate |
38 class HbGridViewItemPrivate: public HbAbstractViewItemPrivate |
39 { |
39 { |
40 Q_DECLARE_PUBLIC( HbGridViewItem ) |
40 Q_DECLARE_PUBLIC( HbGridViewItem ) |
41 |
41 |
44 ~HbGridViewItemPrivate(); |
44 ~HbGridViewItemPrivate(); |
45 |
45 |
46 void init(); |
46 void init(); |
47 |
47 |
48 // below variables store items that are inside GridViewItem |
48 // below variables store items that are inside GridViewItem |
49 QGraphicsItem *mIconItem; |
49 QGraphicsObject *mIconItem; |
50 QGraphicsItem *mTextItem; |
50 QGraphicsObject *mTextItem; |
51 |
51 |
52 bool isTextValid(const QVariant& text) const; |
52 bool isTextValid(const QVariant& text) const; |
53 bool isIconValid(const QVariant& icon) const; |
53 bool isIconValid(const QVariant& icon) const; |
54 |
54 |
55 QString text(const QVariant& text) const; |
55 QString text(const QVariant& text) const; |