diff -r a8a98a94899a -r 7ddbe3fa34a1 selection.cpp --- a/selection.cpp Tue Nov 04 12:09:10 2008 +0000 +++ b/selection.cpp Mon Dec 08 16:57:33 2008 +0000 @@ -36,23 +36,23 @@ lastSelectList.clear(); } -void Selection::update() // TODO this needs to be adapted to several views + +void Selection::update() // FIXME VM emit signal in VM instead { +/* QRectF bbox; //int w=0; for (int i=0; i< selectList.count(); ++i) { bbox=selectList.at(i)->getBBox(); - /* FIXME VM move to MapEditor selboxList.at(i)->setRect ( bbox.x()-w,bbox.y()-w, bbox.width()+2*w, bbox.height()+2*w); selboxList.at(i)->setPen (color); selboxList.at(i)->setBrush (color); - */ } +*/ } - bool Selection::select(LinkableMapObj *lmo) // TODO no multiselections yet { if (!selectList.isEmpty()) unselect(); @@ -203,7 +203,8 @@ return NULL; } -QString Selection::getSelectString()// TODO no multiselections yet +QString Selection::getSelectString() // FIXME VM this is also in VM ?! clean up here... +// TODO no multiselections yet { if (selectList.count()==1) {