comparison layer/WaveformLayer.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 2f83b6e3b8ca 64e84e5efb76
comparison
equal deleted inserted replaced
315:c30a7cd29f4a 316:c0b9eec70639
177 float &value, QString &unit) const; 177 float &value, QString &unit) const;
178 178
179 virtual bool getYScaleDifference(const View *v, int y0, int y1, 179 virtual bool getYScaleDifference(const View *v, int y0, int y1,
180 float &diff, QString &unit) const; 180 float &diff, QString &unit) const;
181 181
182 virtual QString toXmlString(QString indent = "", 182 virtual void toXml(QTextStream &stream, QString indent = "",
183 QString extraAttributes = "") const; 183 QString extraAttributes = "") const;
184 184
185 virtual void setProperties(const QXmlAttributes &attributes); 185 virtual void setProperties(const QXmlAttributes &attributes);
186 186
187 virtual int getVerticalZoomSteps(int &defaultStep) const; 187 virtual int getVerticalZoomSteps(int &defaultStep) const;
188 virtual int getCurrentVerticalZoomStep() const; 188 virtual int getCurrentVerticalZoomStep() const;