src/hbwidgets/itemviews/hbtreelayout_p.h
changeset 1 f7ac710697a9
parent 0 16d8024aca5e
child 2 06ff229162e9
--- a/src/hbwidgets/itemviews/hbtreelayout_p.h	Mon Apr 19 14:02:13 2010 +0300
+++ b/src/hbwidgets/itemviews/hbtreelayout_p.h	Mon May 03 12:48:33 2010 +0300
@@ -23,25 +23,25 @@
 **
 ****************************************************************************/
 
-#ifndef HBTREELAYOUT_H
-#define HBTREELAYOUT_H
+#ifndef HBTREELAYOUT_P_H
+#define HBTREELAYOUT_P_H
 
 #include <QGraphicsLayout>
 #include <hbglobal.h>
 
+class HbTreeView;
 class HbTreeLayoutPrivate;
-class HbTreeView;
 
 class HB_AUTOTEST_EXPORT HbTreeLayout : public QGraphicsLayout
 {
 public:
-    HbTreeLayout( QGraphicsLayoutItem *parent = 0 );
+    HbTreeLayout(QGraphicsLayoutItem *parent = 0);
     virtual ~HbTreeLayout();
 
-    void addItem(QGraphicsLayoutItem *item, int level);
-    void insertItem(int index, QGraphicsLayoutItem *item, int level);
+    void addItem(QGraphicsLayoutItem *item, int level, bool animate);
+    void insertItem(int index, QGraphicsLayoutItem *item, int level, bool animate);
     int indexOf(QGraphicsLayoutItem *item) const;
-    void removeItem( QGraphicsLayoutItem *item );
+    void removeItem( QGraphicsLayoutItem *item, bool animate );
     void setItemLevel(QGraphicsLayoutItem *item, int level);
     void setIndentation(qreal indentation);
     qreal indentation() const;
@@ -62,5 +62,5 @@
     HbTreeLayoutPrivate *d;
 };
 
-#endif // HBTREELAYOUT_H
+#endif // HBTREELAYOUT_P_H