treeitem.h
changeset 738 716a777c1c98
parent 735 84ae10f6e3a3
child 740 6dc0a20031f7
     1.1 --- a/treeitem.h	Thu Jan 22 15:40:08 2009 +0000
     1.2 +++ b/treeitem.h	Fri Jan 30 09:14:12 2009 +0000
     1.3 @@ -32,6 +32,15 @@
     1.4  	void setType (const Type t);
     1.5  	Type getType ();
     1.6  	QString getTypeName ();
     1.7 +
     1.8 +	// Navigation and selection
     1.9 +	TreeItem* getChildNum(const int &n);
    1.10 +	TreeItem* getFirstBranch();
    1.11 +	TreeItem* getLastBranch();
    1.12 +	TreeItem* getBranchNum(const int &n);
    1.13 +	void setLastSelectedBranch();
    1.14 +	TreeItem* getLastSelectedBranch();
    1.15 +
    1.16  	
    1.17  	// Relation to map objects in graphicsscene
    1.18  	LinkableMapObj* getLMO();
    1.19 @@ -44,6 +53,10 @@
    1.20   
    1.21  	Type type;
    1.22  	LinkableMapObj *lmo;
    1.23 +
    1.24 +	int branchOffset;
    1.25 +	int branchCount;
    1.26 +	int lastSelectedBranchNum;
    1.27  };
    1.28  
    1.29  #endif