diff -r e3f722759c7e -r 340bc29da9a0 mapcenterobj.cpp --- a/mapcenterobj.cpp Wed May 20 15:40:14 2009 +0000 +++ b/mapcenterobj.cpp Tue May 26 11:23:44 2009 +0000 @@ -19,13 +19,6 @@ init(); } -MapCenterObj::MapCenterObj(QGraphicsScene* s,VymModel *m) : BranchObj (s) -{ -// cout << "Const MapCenterObj canvas="<setFont(font); - //FIXME-2 no treeitem yet: setDefAttr(MovedBranch); + //FIXME-2 no treeitem yet: setDefAttr(MovedBranch); and already in BI::createMapObj ?!? frame->setFrameType (FrameObj::Rectangle); } -void MapCenterObj::move (double x, double y) -{ - BranchObj::move(x,y); -} - -void MapCenterObj::move (QPointF absPos) -{ - BranchObj::move(absPos); -} - -void MapCenterObj::moveBy (double x, double y) -{ - BranchObj::moveBy(x,y); -} - -void MapCenterObj::moveAll (double x, double y) -{ - // Get rel. position - double dx=x-absPos.x(); - double dy=y-absPos.y(); - - // Move myself and branches - moveAllBy (dx,dy); -} - -void MapCenterObj::moveAllBy (double dx, double dy) -{ - // Move myself and children - BranchObj::moveBy(dx,dy); -} void MapCenterObj::updateLink() {