diff -r ceb4532eae34 -r 910ba9fab728 linkablemapobj.cpp --- a/linkablemapobj.cpp Fri Dec 08 20:18:58 2006 +0000 +++ b/linkablemapobj.cpp Thu Dec 14 17:01:44 2006 +0000 @@ -72,7 +72,7 @@ linkpos=LinkBottom; arcsegs=13; -// FIXME instead of linkcolor pen.color() could be used +// FIXME instead of linkcolor pen.color() could be used all around pen.setWidth (1); pen.setColor (linkcolor); pen.setCapStyle ( Qt::RoundCap ); @@ -639,36 +639,8 @@ (int)( + 150*sin (a))); } -/* -void LinkableMapObj::alignRelativeTo (QPointF ref) -{ - // Overloaded, only called for BO, FIO, ... - // FIXME not needed? -} -*/ - void LinkableMapObj::reposition() { - cout << "LMO::reposition\n"; - // FIXME LMO::reposition not needed? Is overloaded in BranchObj... - /* - if (depth==0) - { - // only calculate the sizes once. If the deepest LMO changes its height, - // all upper LMOs have to change, too. - calcBBoxSizeWithChilds(); - - alignRelativeTo ( QPointF (absPos.x(), - absPos.y()-(bboxTotal.height()-bbox.height())/2) ); - } else - { - // This is only important for moving branches: - // For editing a branch it isn't called... - cout << " reposition to abs "<show(); -// FIXME not needed? setVisibility (visible); }