1.1 --- a/linkablemapobj.cpp Tue Aug 05 07:36:53 2008 +0000
1.2 +++ b/linkablemapobj.cpp Mon Oct 06 11:10:20 2008 +0000
1.3 @@ -99,6 +99,9 @@
1.4
1.5 // Reset ID
1.6 objID="";
1.7 +
1.8 + // Crossreference to treemodel
1.9 + treeItem=NULL;
1.10 }
1.11
1.12 void LinkableMapObj::copy (LinkableMapObj* other)
1.13 @@ -111,6 +114,17 @@
1.14 relPos=other->relPos;
1.15 useOrientation=other->useOrientation;
1.16 objID=other->objID;
1.17 + treeItem=other->treeItem;
1.18 +}
1.19 +
1.20 +void LinkableMapObj::setTreeItem (TreeItem *ti)
1.21 +{
1.22 + treeItem=ti;
1.23 +}
1.24 +
1.25 +TreeItem* LinkableMapObj::getTreeItem ()
1.26 +{
1.27 + return treeItem;
1.28 }
1.29
1.30 void LinkableMapObj::setModel (VymModel *vm)