comparison layer/TimeRulerLayer.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
49 49
50 virtual bool getValueExtents(float &, float &, bool &, QString &) const { 50 virtual bool getValueExtents(float &, float &, bool &, QString &) const {
51 return false; 51 return false;
52 } 52 }
53 53
54 virtual QString toXmlString(QString indent = "", 54 virtual void toXml(QTextStream &stream, QString indent = "",
55 QString extraAttributes = "") const; 55 QString extraAttributes = "") const;
56 56
57 void setProperties(const QXmlAttributes &attributes); 57 void setProperties(const QXmlAttributes &attributes);
58 58
59 protected: 59 protected:
60 Model *m_model; 60 Model *m_model;