diff -r 53e51e8d47e7 -r 716a777c1c98 treeitem.h --- a/treeitem.h Thu Jan 22 15:40:08 2009 +0000 +++ b/treeitem.h Fri Jan 30 09:14:12 2009 +0000 @@ -32,6 +32,15 @@ void setType (const Type t); Type getType (); QString getTypeName (); + + // Navigation and selection + TreeItem* getChildNum(const int &n); + TreeItem* getFirstBranch(); + TreeItem* getLastBranch(); + TreeItem* getBranchNum(const int &n); + void setLastSelectedBranch(); + TreeItem* getLastSelectedBranch(); + // Relation to map objects in graphicsscene LinkableMapObj* getLMO(); @@ -44,6 +53,10 @@ Type type; LinkableMapObj *lmo; + + int branchOffset; + int branchCount; + int lastSelectedBranchNum; }; #endif