src/hbwidgets/itemviews/hbtreeitemcontainer_p.h
changeset 1 f7ac710697a9
parent 0 16d8024aca5e
child 2 06ff229162e9
--- a/src/hbwidgets/itemviews/hbtreeitemcontainer_p.h	Mon Apr 19 14:02:13 2010 +0300
+++ b/src/hbwidgets/itemviews/hbtreeitemcontainer_p.h	Mon May 03 12:48:33 2010 +0300
@@ -39,15 +39,15 @@
     explicit HbTreeItemContainer(QGraphicsItem *parent=0);
     virtual ~HbTreeItemContainer();
 
+    virtual void addItem(const QModelIndex &index, bool animate = false);
+    virtual void removeItem(int pos, bool animate = false);
+
     void setIndentation(qreal indentation);
     qreal indentation() const;
 
     QPointF recycleItems(const QPointF &delta);
     int maxItemCount() const;
 
-    bool isExpanded(const QModelIndex &index) const;
-    void setExpanded(const QModelIndex &index, bool expanded);
-
 protected:
 
     HbTreeItemContainer(HbTreeItemContainerPrivate &dd, QGraphicsItem *parent);
@@ -62,6 +62,9 @@
 
     virtual HbAbstractViewItem *createDefaultPrototype() const;
 
+protected slots:
+    void animationFinished(const HbEffect::EffectStatus &status);
+
 private:
     Q_DECLARE_PRIVATE_D(d_ptr, HbTreeItemContainer)
     Q_DISABLE_COPY(HbTreeItemContainer)