comparison layer/Colour3DPlotLayer.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 8f01867cc191 0895517bb2d1
comparison
equal deleted inserted replaced
315:c30a7cd29f4a 316:c0b9eec70639
97 void setNormalizeVisibleArea(bool n); 97 void setNormalizeVisibleArea(bool n);
98 bool getNormalizeVisibleArea() const; 98 bool getNormalizeVisibleArea() const;
99 99
100 virtual const Model *getSliceableModel() const { return m_model; } 100 virtual const Model *getSliceableModel() const { return m_model; }
101 101
102 virtual QString toXmlString(QString indent = "", 102 virtual void toXml(QTextStream &stream, QString indent = "",
103 QString extraAttributes = "") const; 103 QString extraAttributes = "") const;
104 104
105 protected slots: 105 protected slots:
106 void cacheInvalid(); 106 void cacheInvalid();
107 void cacheInvalid(size_t startFrame, size_t endFrame); 107 void cacheInvalid(size_t startFrame, size_t endFrame);
108 108