Mercurial > hg > svgui
comparison layer/SpectrumLayer.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 | 1284955856ab |
children | 2f83b6e3b8ca 64e84e5efb76 |
comparison
equal
deleted
inserted
replaced
315:c30a7cd29f4a | 316:c0b9eec70639 |
---|---|
89 WindowType getWindowType() const { return m_windowType; } | 89 WindowType getWindowType() const { return m_windowType; } |
90 | 90 |
91 void setShowPeaks(bool); | 91 void setShowPeaks(bool); |
92 bool getShowPeaks() const { return m_showPeaks; } | 92 bool getShowPeaks() const { return m_showPeaks; } |
93 | 93 |
94 virtual QString toXmlString(QString indent = "", | 94 virtual void toXml(QTextStream &stream, QString indent = "", |
95 QString extraAttributes = "") const; | 95 QString extraAttributes = "") const; |
96 | 96 |
97 protected slots: | 97 protected slots: |
98 void preferenceChanged(PropertyContainer::PropertyName name); | 98 void preferenceChanged(PropertyContainer::PropertyName name); |
99 | 99 |
100 protected: | 100 protected: |