diff -r 8c6faaa1e2b1 -r 4e558a15a804 mapcenterobj.cpp --- a/mapcenterobj.cpp Tue Mar 25 11:16:39 2008 +0000 +++ b/mapcenterobj.cpp Tue Apr 08 08:28:37 2008 +0000 @@ -3,6 +3,8 @@ #include "floatimageobj.h" #include "geometry.h" #include "mapcenterobj.h" +#include "mapeditor.h" + ///////////////////////////////////////////////////////////////// // MapCenterObj @@ -49,6 +51,11 @@ BranchObj::move(x,y); } +void MapCenterObj::move (QPointF absPos) +{ + BranchObj::move(absPos); +} + void MapCenterObj::moveBy (double x, double y) { BranchObj::moveBy(x,y); @@ -132,7 +139,8 @@ // Providing an ID for a branch makes export to XHTML easier QString idAttr; if (countXLinks()>0) - idAttr=attribut ("id",getSelectString()); + idAttr=attribut ("id",mapEditor->getModel()->getSelectString(this)); //TODO directly access model + else idAttr="";