src/hbwidgets/itemviews/hbtreeviewitem_p.h
changeset 1 f7ac710697a9
parent 0 16d8024aca5e
child 30 80e4d18b72f5
--- 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;
 };