diff base/PlayParameters.h @ 314:70a232b1f12a

* 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 41d64b873d87
children 5858cc462d0a
line wrap: on
line diff
--- a/base/PlayParameters.h	Wed Oct 17 12:58:45 2007 +0000
+++ b/base/PlayParameters.h	Thu Oct 18 10:15:07 2007 +0000
@@ -36,8 +36,9 @@
 
     virtual void copyFrom(const PlayParameters *);
 
-    virtual QString toXmlString(QString indent = "",
-                                QString extraAttributes = "") const;
+    virtual void toXml(QTextStream &stream,
+                       QString indent = "",
+                       QString extraAttributes = "") const;
 
 public slots:
     virtual void setPlayMuted(bool muted);