diff -r ff3b01ce0960 -r 01f2f6d6789d treemodel.h --- a/treemodel.h Thu Apr 02 09:46:29 2009 +0000 +++ b/treemodel.h Mon May 18 11:22:41 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; };