diff -r f0fe7c36ec5c -r 43268373032d xlink.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xlink.cpp Wed Jun 09 13:14:08 2010 +0000 @@ -0,0 +1,192 @@ +#include + +#include "xlink.h" + +#include "vymmodel.h" +#include "xlinkitem.h" +#include "xlinkobj.h" + +///////////////////////////////////////////////////////////////// +// Link +///////////////////////////////////////////////////////////////// + +Link::Link (VymModel *m) +{ + //qDebug() << "Const Link () this="<getSelectString(beginBranch)); + QString endSelAttr=attribut ("endID", model->getSelectString(endBranch)); + s=singleElement ("xlink", colAttr +widAttr +begSelAttr +endSelAttr); + + } + } + return s; +} + +XLinkObj* Link::getXLinkObj() +{ + return xlo; +} + +XLinkObj* Link::createMapObj(QGraphicsScene *scene) +{ + if (!xlo) xlo=new XLinkObj (scene,this); + return xlo; +} + +