diff -r 6a5e2c27f8a4 -r 3f90aab4794d mapcenterobj.cpp --- a/mapcenterobj.cpp Fri Feb 01 15:28:35 2008 +0000 +++ b/mapcenterobj.cpp Mon Jul 14 11:25:09 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="";