diff -r 94ed4372ef08 -r 2d4cc445a86a treemodel.h --- a/treemodel.h Thu Mar 19 11:45:28 2009 +0000 +++ b/treemodel.h Mon Mar 23 09:06:51 2009 +0000 @@ -29,9 +29,12 @@ TreeItem* next(TreeItem* ¤t, TreeItem* &previous, int &d0); + bool insertRows ( int row, int count, + const QModelIndex & parent = QModelIndex() ); bool removeRows ( int row, int count, const QModelIndex & parent = QModelIndex() ); + TreeItem* getItem (const QModelIndex &index) const; QModelIndex index (TreeItem* ti); protected: