diff 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
line wrap: on
line diff
--- a/view/View.h	Wed Oct 17 12:58:45 2007 +0000
+++ b/view/View.h	Thu Oct 18 10:15:07 2007 +0000
@@ -243,8 +243,8 @@
     virtual bool getValueExtents(QString unit, float &min, float &max,
                                  bool &log) const;
 
-    virtual QString toXmlString(QString indent = "",
-				QString extraAttributes = "") const;
+    virtual void toXml(QTextStream &stream, QString indent = "",
+                       QString extraAttributes = "") const;
 
     // First frame actually in model, to right of scale, if present
     virtual size_t getFirstVisibleFrame() const;