--- a/src/hbwidgets/itemviews/hbabstractviewitem.h Fri Sep 17 08:32:10 2010 +0300
+++ b/src/hbwidgets/itemviews/hbabstractviewitem.h Mon Oct 04 00:38:12 2010 +0300
@@ -32,16 +32,15 @@
#include <QHash>
-QT_BEGIN_NAMESPACE
-class QModelIndex;
-QT_END_NAMESPACE
-
class HbAbstractViewItemPrivate;
class HbAbstractViewItemShared;
class HbAbstractItemView;
-class HbStyleOptionAbstractViewItem;
class HbStyleParameters;
class HbFrameBackground;
+class HbStylePrimitiveData;
+
+class QGraphicsObject;
+class QModelIndex;
class HB_WIDGETS_EXPORT HbAbstractViewItem : public HbWidget
{
@@ -104,7 +103,8 @@
HbAbstractViewItem &operator=(const HbAbstractViewItem &source);
HbAbstractViewItem( HbAbstractViewItemPrivate &dd, QGraphicsItem *parent );
- void initStyleOption(HbStyleOptionAbstractViewItem *option) const;
+ void initPrimitiveData( HbStylePrimitiveData *primitiveData,
+ const QGraphicsObject *primitive);
virtual void polish(HbStyleParameters& params);
virtual QVariant itemChange(GraphicsItemChange change, const QVariant &value);
@@ -125,6 +125,7 @@
private:
Q_DECLARE_PRIVATE_D( d_ptr, HbAbstractViewItem )
Q_PRIVATE_SLOT(d_func(), void _q_animationFinished(const HbEffect::EffectStatus &status))
+ Q_PRIVATE_SLOT(d_func(), void _q_childrenChanged())
friend class HbAbstractViewItemShared;
};