--- a/src/hbwidgets/itemviews/hbtreeviewitem_p.h Mon Apr 19 14:02:13 2010 +0300
+++ b/src/hbwidgets/itemviews/hbtreeviewitem_p.h Mon May 03 12:48:33 2010 +0300
@@ -31,6 +31,20 @@
class QGraphicsItem;
+class HbTreeViewItemShared : public HbListViewItemShared
+{
+ public:
+
+ HbTreeViewItemShared() :
+ HbListViewItemShared(),
+ mUserExpandable(true)
+ {
+ }
+
+ bool mUserExpandable;
+};
+
+
class HbTreeViewItemPrivate : public HbListViewItemPrivate
{
Q_DECLARE_PUBLIC(HbTreeViewItem)
@@ -45,11 +59,17 @@
virtual ~HbTreeViewItemPrivate();
+ void init();
+
virtual int modelItemType() const;
- QGraphicsItem *updateExpandItem();
+ void updateExpandItem();
+ virtual void tapTriggered(QGestureEvent *event);
QGraphicsItem *mExpandItem;
+
+public:
+
bool mExpanded;
};