comparison layer/SingleColourLayer.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 5c59c433b358
children a55affd7ab6c
comparison
equal deleted inserted replaced
315:c30a7cd29f4a 316:c0b9eec70639
44 virtual QString getPropertyValueLabel(const PropertyName &, 44 virtual QString getPropertyValueLabel(const PropertyName &,
45 int value) const; 45 int value) const;
46 virtual RangeMapper *getNewPropertyRangeMapper(const PropertyName &) const; 46 virtual RangeMapper *getNewPropertyRangeMapper(const PropertyName &) const;
47 virtual void setProperty(const PropertyName &, int value); 47 virtual void setProperty(const PropertyName &, int value);
48 48
49 virtual QString toXmlString(QString indent = "", 49 virtual void toXml(QTextStream &stream, QString indent = "",
50 QString extraAttributes = "") const; 50 QString extraAttributes = "") const;
51 51
52 virtual void setProperties(const QXmlAttributes &attributes); 52 virtual void setProperties(const QXmlAttributes &attributes);
53 53
54 virtual void setDefaultColourFor(View *v); 54 virtual void setDefaultColourFor(View *v);
55 55