1.1 --- a/linkablemapobj.cpp Wed May 30 15:23:07 2007 +0000
1.2 +++ b/linkablemapobj.cpp Fri Jun 29 09:43:53 2007 +0000
1.3 @@ -91,6 +91,9 @@
1.4 relPos=QPointF(0,0);
1.5 useRelPos=false;
1.6 useOrientation=true;
1.7 +
1.8 + // Reset ID
1.9 + id="";
1.10 }
1.11
1.12 void LinkableMapObj::copy (LinkableMapObj* other)
1.13 @@ -294,6 +297,15 @@
1.14 return linkpos;
1.15 }
1.16
1.17 +void LinkableMapObj::setID (const QString &s)
1.18 +{
1.19 + id=s;
1.20 +}
1.21 +
1.22 +QString LinkableMapObj::getID()
1.23 +{
1.24 + return id;
1.25 +}
1.26
1.27 void LinkableMapObj::setLinkColor()
1.28 {