From: <dhu...@us...> - 2006-12-15 09:23:44
|
Revision: 66 http://svn.sourceforge.net/qcell/?rev=66&view=rev Author: dhubleizh Date: 2006-12-15 01:23:43 -0800 (Fri, 15 Dec 2006) Log Message: ----------- - the idea of filename in Neighbourhood wasn't good - better implement that somewhere upper Modified Paths: -------------- trunk/qcell/baseheaders/Neighbourhood.h trunk/qcell/basesources/Neighbourhood.cpp Modified: trunk/qcell/baseheaders/Neighbourhood.h =================================================================== --- trunk/qcell/baseheaders/Neighbourhood.h 2006-12-15 09:10:52 UTC (rev 65) +++ trunk/qcell/baseheaders/Neighbourhood.h 2006-12-15 09:23:43 UTC (rev 66) @@ -49,7 +49,7 @@ bool fromXmlString(QString *xmlString); bool fromDomElement(QDomElement *xmlElement); - QString toXmlString(QString name); + QString toXmlString(); int getNeighbourNumber(void); bool getBoolValueOf(int index); int getIntValueOf(int index); Modified: trunk/qcell/basesources/Neighbourhood.cpp =================================================================== --- trunk/qcell/basesources/Neighbourhood.cpp 2006-12-15 09:10:52 UTC (rev 65) +++ trunk/qcell/basesources/Neighbourhood.cpp 2006-12-15 09:23:43 UTC (rev 66) @@ -220,13 +220,12 @@ return 0; } -QString Neighbourhood::toXmlString(QString name) +QString Neighbourhood::toXmlString() { QDomDocument doc; QDomElement root, element; NContainer temp; root = doc.createElement("Neighbourhood"); - root.setAttribute( "name", name ); doc.appendChild(root); foreach(temp, neighbourVector) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |