ornamentedobj.cpp
changeset 632 f4282e4db9f7
parent 613 8fb5b3956b3e
child 635 459f0a2d5485
     1.1 --- a/ornamentedobj.cpp	Wed Oct 24 12:21:24 2007 +0000
     1.2 +++ b/ornamentedobj.cpp	Thu Dec 06 18:30:29 2007 +0000
     1.3 @@ -57,6 +57,8 @@
     1.4  	standardFlags->clone(standardFlagsDefault);
     1.5  	standardFlags->setName ("standardFlags");
     1.6  
     1.7 +	attributes.clear();
     1.8 +
     1.9  	frame = new FrameObj (scene);
    1.10  
    1.11  	hideExport=false;
    1.12 @@ -342,6 +344,16 @@
    1.13  	return vymLink;
    1.14  }
    1.15  
    1.16 +QList <Attribute> OrnamentedObj::getAttributes()
    1.17 +{
    1.18 +	return attributes;
    1.19 +}
    1.20 +
    1.21 +
    1.22 +void OrnamentedObj::setAttributes (const QList <Attribute> &al)
    1.23 +{
    1.24 +	attributes=al;
    1.25 +}
    1.26  
    1.27  void OrnamentedObj::clearStandardFlags()
    1.28  {
    1.29 @@ -459,7 +471,7 @@
    1.30  	return hidden;
    1.31  }	
    1.32  
    1.33 -QString OrnamentedObj::getOrnAttr()
    1.34 +QString OrnamentedObj::getOrnXMLAttr()
    1.35  {
    1.36  	QString posAttr;
    1.37