comparison view/View.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 c30a7cd29f4a
children 984c1975f1ff
comparison
equal deleted inserted replaced
315:c30a7cd29f4a 316:c0b9eec70639
241 virtual int getTextLabelHeight(const Layer *layer, QPainter &) const; 241 virtual int getTextLabelHeight(const Layer *layer, QPainter &) const;
242 242
243 virtual bool getValueExtents(QString unit, float &min, float &max, 243 virtual bool getValueExtents(QString unit, float &min, float &max,
244 bool &log) const; 244 bool &log) const;
245 245
246 virtual QString toXmlString(QString indent = "", 246 virtual void toXml(QTextStream &stream, QString indent = "",
247 QString extraAttributes = "") const; 247 QString extraAttributes = "") const;
248 248
249 // First frame actually in model, to right of scale, if present 249 // First frame actually in model, to right of scale, if present
250 virtual size_t getFirstVisibleFrame() const; 250 virtual size_t getFirstVisibleFrame() const;
251 virtual size_t getLastVisibleFrame() const; 251 virtual size_t getLastVisibleFrame() const;
252 252