diff -r edb78a44240b -r 9ff332964015 treeitem.h --- a/treeitem.h Tue Mar 31 15:36:10 2009 +0000 +++ b/treeitem.h Wed Apr 01 15:06:57 2009 +0000 @@ -31,12 +31,18 @@ int childNumber() const; int columnCount() const; int branchCount() const; + int imageCount() const; + int xlinkCount() const; int row() const; int column() const; int depth() ; TreeItem *parent(); - int num(); // object index, e.g. branch number + + /*! Return number of item in parent by type, + e.g. first branch has number 0 */ + int num(); + int num (TreeItem *item); //! Return number of item by type // Accessing data QVariant data(int column) const;