comparison layer/SliceLayer.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
comparison
equal deleted inserted replaced
315:c30a7cd29f4a 316:c0b9eec70639
99 float getGain() const; 99 float getGain() const;
100 100
101 void setNormalize(bool n); 101 void setNormalize(bool n);
102 bool getNormalize() const; 102 bool getNormalize() const;
103 103
104 virtual QString toXmlString(QString indent = "", 104 virtual void toXml(QTextStream &stream, QString indent = "",
105 QString extraAttributes = "") const; 105 QString extraAttributes = "") const;
106 106
107 public slots: 107 public slots:
108 void sliceableModelReplaced(const Model *, const Model *); 108 void sliceableModelReplaced(const Model *, const Model *);
109 void modelAboutToBeDeleted(Model *); 109 void modelAboutToBeDeleted(Model *);
110 110