src/hbwidgets/itemviews/hbtreeviewitem.h
changeset 1 f7ac710697a9
parent 0 16d8024aca5e
child 2 06ff229162e9
--- a/src/hbwidgets/itemviews/hbtreeviewitem.h	Mon Apr 19 14:02:13 2010 +0300
+++ b/src/hbwidgets/itemviews/hbtreeviewitem.h	Mon May 03 12:48:33 2010 +0300
@@ -44,6 +44,7 @@
     Q_OBJECT
 
     Q_PROPERTY(bool expanded READ isExpanded WRITE setExpanded)
+    Q_PROPERTY(bool userExpandable READ isUserExpandable WRITE setUserExpandable)
 
 public:
 
@@ -62,6 +63,9 @@
 
     virtual void updateChildItems();
 
+    virtual QHash<QString, QVariant> transientState() const;
+    virtual void setTransientState(const QHash<QString, QVariant> &state);
+
     virtual QMap<int,QVariant> state() const;
     virtual void setState(const QMap<int,QVariant> &state);
 
@@ -70,6 +74,11 @@
 
     virtual QGraphicsItem *primitive(HbStyle::Primitive primitive) const;
 
+    void setUserExpandable(bool expandable);
+    bool isUserExpandable() const;
+
+    virtual bool selectionAreaContains(const QPointF &position, SelectionAreaType selectionAreaType) const;
+
 public slots:
     void updatePrimitives();