Mercurial > hg > svcore
comparison data/model/Model.h @ 314:70a232b1f12a
* Make XmlExportable::toXml the function that is universally overridden (and
pure virtual) instead of toXmlString. Tidies up some classes, notably the
model classes, significantly. Closes #1794561.
author | Chris Cannam |
---|---|
date | Thu, 18 Oct 2007 10:15:07 +0000 |
parents | c022976d18e8 |
children | 3ff8f571da09 |
comparison
equal
deleted
inserted
replaced
313:29485aa03da4 | 314:70a232b1f12a |
---|---|
130 | 130 |
131 virtual void toXml(QTextStream &stream, | 131 virtual void toXml(QTextStream &stream, |
132 QString indent = "", | 132 QString indent = "", |
133 QString extraAttributes = "") const; | 133 QString extraAttributes = "") const; |
134 | 134 |
135 virtual QString toXmlString(QString indent = "", | |
136 QString extraAttributes = "") const; | |
137 | |
138 virtual QString toDelimitedDataString(QString) const { return ""; } | 135 virtual QString toDelimitedDataString(QString) const { return ""; } |
139 | 136 |
140 signals: | 137 signals: |
141 /** | 138 /** |
142 * Emitted when a model has been edited (or more data retrieved | 139 * Emitted when a model has been edited (or more data retrieved |