diff -r 25a77484ec72 -r db0ec4bcf416 treemodel.h --- a/treemodel.h Tue Apr 07 16:15:53 2009 +0000 +++ b/treemodel.h Mon Apr 20 10:42:05 2009 +0000 @@ -36,8 +36,10 @@ const QModelIndex & parent = QModelIndex() ); TreeItem* getItem (const QModelIndex &index) const; + TreeItem* getRootItem(); QModelIndex index (TreeItem* ti); + protected: TreeItem *rootItem; };