Mercurial > hg > svgui
comparison layer/NoteLayer.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 |
---|---|
90 virtual bool getValueExtents(float &min, float &max, | 90 virtual bool getValueExtents(float &min, float &max, |
91 bool &log, QString &unit) const; | 91 bool &log, QString &unit) const; |
92 | 92 |
93 virtual bool getDisplayExtents(float &min, float &max) const; | 93 virtual bool getDisplayExtents(float &min, float &max) const; |
94 | 94 |
95 virtual QString toXmlString(QString indent = "", | 95 virtual void toXml(QTextStream &stream, QString indent = "", |
96 QString extraAttributes = "") const; | 96 QString extraAttributes = "") const; |
97 | 97 |
98 void setProperties(const QXmlAttributes &attributes); | 98 void setProperties(const QXmlAttributes &attributes); |
99 | 99 |
100 protected: | 100 protected: |
101 void getScaleExtents(View *, float &min, float &max, bool &log) const; | 101 void getScaleExtents(View *, float &min, float &max, bool &log) const; |