diff -r db0ec4bcf416 -r ed5b407975b3 linkablemapobj.h --- a/linkablemapobj.h Mon Apr 20 10:42:05 2009 +0000 +++ b/linkablemapobj.h Thu Apr 23 12:15:31 2009 +0000 @@ -19,7 +19,7 @@ */ class LinkableMapObj:public QObject, public MapObj { - Q_OBJECT + Q_OBJECT // FIXME-3 really needed here? public: /*! Orientation of an object depends on the position relative to the parent */ enum Orientation { @@ -101,7 +101,6 @@ QPointF getChildPos(); // returns pos where children dock QPointF getParPos(); // returns pos where parents dock Orientation getOrientation(); // get orientation - virtual int getDepth(); // return depth virtual QPointF getRandPos(); // make randomised position virtual void reposition(); @@ -126,11 +125,10 @@ VymModel* model; Orientation orientation; qreal linkwidth; // width of a link - int depth; // depth: undef=-1 mapCenter=0 branch=1..n QRectF bboxTotal; // bounding box including children LinkableMapObj* childObj; - LinkableMapObj* parObj; + LinkableMapObj* parObj; // FIXME-2 really still needed? Better get from TreeItem LinkableMapObj* parObjTmpBuf; // temporary buffer the original parent qreal bottomlineY; // vertical offset of dockpos to pos