historywindow moved to mainwindow. Started to get rid of Q3PtrList finally
4 #include "linkablemapobj.h"
6 enum XLinkState {undefinedXLink,initXLink,activeXLink,deleteXLink};
8 /////////////////////////////////////////////////////////////////////////////
9 class XLinkObj:public MapObj {
15 virtual void copy (XLinkObj*);
16 void setBegin (BranchObj*);
17 BranchObj* getBegin();
18 void setEnd (BranchObj*);
21 void setColor(QColor);
25 bool activate (); // Sets pointers in branchObjects
26 void deactivate(); // removes those pointers
27 bool isUsed(); // true, if at least on branch uses it
29 BranchObj* otherBranch (BranchObj*);
32 void setVisibility (bool);
33 void setVisibility ();
41 Q3CanvasPolygon *poly;
42 BranchObj *beginBranch;
44 BranchObj *visBranch; // the "visible" part of a partially scrolled link
45 XLinkState xLinkState; // init during drawing or active