diff -r c2a05fa925a1 -r 9c26d66d4c53 linkablemapobj.h --- a/linkablemapobj.h Fri Dec 08 20:18:56 2006 +0000 +++ b/linkablemapobj.h Wed Apr 25 16:02:54 2007 +0000 @@ -1,7 +1,6 @@ #ifndef LINKABLEMAPOBJ_H #define LINKABLEMAPOBJ_H -#include "frameobj.h" #include "noteobj.h" #include "headingobj.h" #include "flagrowobj.h" @@ -57,9 +56,6 @@ virtual void setLinkColor(); // sets color according to colorhint, overloaded virtual void setLinkColor(QColor); QColor getLinkColor(); - virtual FrameType getFrameType (); - virtual void setFrameType (const FrameType &); - virtual void setFrameType (const QString &); virtual void setVisibility (bool); virtual void setOrientation(); virtual void updateLink(); // update parPos and childPos @@ -88,7 +84,6 @@ //virtual QRectF getBBoxSizeWithChilds();// return size of BBox including childs virtual void calcBBoxSizeWithChilds()=0;// calc size of BBox including childs recursivly - virtual void setSelBox(); virtual void select(); virtual void unselect(); virtual QString getSelectString()=0; @@ -101,7 +96,9 @@ QPointF childPos; QPointF parPos; bool link2ParPos; // While moving around, sometimes link to parent - MapEditor* mapEditor; // for updateNoteFlag() and toggleScroll() + MapEditor* mapEditor; // for and toggleScroll(), get default styles + // and mapEditor->updateActions() + // and mapEditor->updateSelection() LinkOrient orientation; qreal linkwidth; // width of a link int depth; // depth: undef=-1 mapCenter=0 branch=1..n @@ -129,8 +126,6 @@ bool selected; // Used for marking the selection bool hideLinkUnselected; // to hide links if unselected - QGraphicsRectItem* selbox; - FrameObj *frame; // frame around object qreal topPad, botPad, leftPad, rightPad; // padding within bbox