comparison layer/SpectrogramLayer.h @ 316:c0b9eec70639

* 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 cd2492c5fe45
children bbc9666cb961 2f83b6e3b8ca
comparison
equal deleted inserted replaced
315:c30a7cd29f4a 316:c0b9eec70639
205 205
206 virtual bool setDisplayExtents(float min, float max); 206 virtual bool setDisplayExtents(float min, float max);
207 207
208 virtual bool getYScaleValue(const View *, int, float &, QString &) const; 208 virtual bool getYScaleValue(const View *, int, float &, QString &) const;
209 209
210 virtual QString toXmlString(QString indent = "", 210 virtual void toXml(QTextStream &stream, QString indent = "",
211 QString extraAttributes = "") const; 211 QString extraAttributes = "") const;
212 212
213 void setProperties(const QXmlAttributes &attributes); 213 void setProperties(const QXmlAttributes &attributes);
214 214
215 virtual void setLayerDormant(const View *v, bool dormant); 215 virtual void setLayerDormant(const View *v, bool dormant);
216 216