branchobj.h
changeset 462 494a5b8c131e
parent 421 5522d1da7e37
child 529 ce2abdbd0b65
     1.1 --- a/branchobj.h	Wed Apr 25 16:02:54 2007 +0000
     1.2 +++ b/branchobj.h	Wed Apr 25 16:02:54 2007 +0000
     1.3 @@ -7,15 +7,19 @@
     1.4  #include "xlinkobj.h"
     1.5  
     1.6  
     1.7 -enum BranchModification {NewBranch, MovedBranch};
     1.8 -enum HideTmpMode {HideNone, HideExport};
     1.9 +bool isAbove(BranchObj*,BranchObj*);
    1.10  
    1.11 -bool isAbove(BranchObj*,BranchObj*);
    1.12 +/*! \brief A branch visible in the map */
    1.13  
    1.14  /////////////////////////////////////////////////////////////////////////////
    1.15  class BranchObj:public OrnamentedObj {
    1.16  public:
    1.17 -	HeadingObj* getHO();	//FIXME testing
    1.18 +	/*! New branches will get use same color for heading as parent */
    1.19 +	enum BranchModification {NewBranch, MovedBranch};
    1.20 +
    1.21 +	/*! If HideExport is used, this branch and its childs will be hidden in export */
    1.22 +	enum HideTmpMode {HideNone, HideExport};
    1.23 +
    1.24      BranchObj ();
    1.25      BranchObj (QGraphicsScene*);
    1.26      BranchObj (QGraphicsScene*, LinkableMapObj* parent);
    1.27 @@ -119,6 +123,7 @@
    1.28      virtual void select();
    1.29      virtual void unselect();
    1.30  	virtual QString getSelectString();
    1.31 +	virtual void animate();
    1.32  
    1.33  protected:
    1.34  	static BranchObj* itLast;		// iterator for first(), next()