branchobj.h
changeset 817 b486ffd0fa11
parent 796 cf634bbf9e04
child 819 8f987e376035
     1.1 --- a/branchobj.h	Thu Dec 10 17:04:48 2009 +0000
     1.2 +++ b/branchobj.h	Mon Dec 14 10:17:55 2009 +0000
     1.3 @@ -6,8 +6,6 @@
     1.4  #include "ornamentedobj.h"
     1.5  #include "xlinkobj.h"
     1.6  
     1.7 -bool isAbove(BranchObj*,BranchObj*);
     1.8 -
     1.9  /*! \brief A branch visible in the map */
    1.10  
    1.11  /////////////////////////////////////////////////////////////////////////////
    1.12 @@ -18,8 +16,6 @@
    1.13  
    1.14      BranchObj (QGraphicsScene*,TreeItem *ti=NULL);
    1.15      ~BranchObj ();
    1.16 -	bool operator< ( const BranchObj & );
    1.17 -	bool operator== ( const BranchObj & );
    1.18      virtual void init ();
    1.19      virtual void copy (BranchObj*);
    1.20      void clear();
    1.21 @@ -43,8 +39,6 @@
    1.22      
    1.23      virtual void updateData();	//! Update represantatio of heading, flags, etc.
    1.24  
    1.25 -protected:	
    1.26 -	virtual void savePosInAngle();					// write pos in angle for resorting			
    1.27  public:	
    1.28  	virtual void setDefAttr (BranchModification);	// set default attributes (font, size, ...)
    1.29  
    1.30 @@ -65,9 +59,6 @@
    1.31  	QList<XLinkObj*> xlink;			// xlinks to other branches
    1.32  
    1.33  	AnimPoint anim;
    1.34 -
    1.35 -public:	
    1.36 -	float angle;					// used in mainbranch to reorder mainbranches
    1.37  };
    1.38  
    1.39