diff -r 5522d1da7e37 -r 494a5b8c131e branchobj.h --- a/branchobj.h Tue Jan 23 11:50:53 2007 +0000 +++ b/branchobj.h Wed Apr 25 16:02:54 2007 +0000 @@ -7,15 +7,19 @@ #include "xlinkobj.h" -enum BranchModification {NewBranch, MovedBranch}; -enum HideTmpMode {HideNone, HideExport}; +bool isAbove(BranchObj*,BranchObj*); -bool isAbove(BranchObj*,BranchObj*); +/*! \brief A branch visible in the map */ ///////////////////////////////////////////////////////////////////////////// class BranchObj:public OrnamentedObj { public: - HeadingObj* getHO(); //FIXME testing + /*! New branches will get use same color for heading as parent */ + enum BranchModification {NewBranch, MovedBranch}; + + /*! If HideExport is used, this branch and its childs will be hidden in export */ + enum HideTmpMode {HideNone, HideExport}; + BranchObj (); BranchObj (QGraphicsScene*); BranchObj (QGraphicsScene*, LinkableMapObj* parent); @@ -119,6 +123,7 @@ virtual void select(); virtual void unselect(); virtual QString getSelectString(); + virtual void animate(); protected: static BranchObj* itLast; // iterator for first(), next()