diff layer/SliceLayer.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
line wrap: on
line diff
--- a/layer/SliceLayer.h	Wed Oct 17 12:58:45 2007 +0000
+++ b/layer/SliceLayer.h	Thu Oct 18 10:15:07 2007 +0000
@@ -101,8 +101,8 @@
     void setNormalize(bool n);
     bool getNormalize() const;
 
-    virtual QString toXmlString(QString indent = "",
-				QString extraAttributes = "") const;
+    virtual void toXml(QTextStream &stream, QString indent = "",
+                       QString extraAttributes = "") const;
 
 public slots:
     void sliceableModelReplaced(const Model *, const Model *);