# HG changeset patch # User Chris Cannam # Date 1137693551 0 # Node ID 49a95b1740504ba9afaa6f5b1c18955afefdc3ae # Parent 44bbf5793d84a75ca192d060352740a89efb6eb4 * Add more icons and rationalise menu options to the usual set (on the File menu) * Fixes to import/export of dense 3-D data sets and imported models diff -r 44bbf5793d84 -r 49a95b174050 base/Layer.h --- a/base/Layer.h Thu Jan 19 12:54:38 2006 +0000 +++ b/base/Layer.h Thu Jan 19 17:59:11 2006 +0000 @@ -89,9 +89,21 @@ virtual void setObjectName(const QString &name); + /** + * Convert the layer's data (though not those of the model it + * refers to) into an XML string for file output. This class + * implements the basic name/type/model-id output; subclasses will + * typically call this superclass implementation with extra + * attributes describing their particular properties. + */ virtual QString toXmlString(QString indent = "", QString extraAttributes = "") const; + /** + * Set the particular properties of a layer (those specific to the + * subclass) from a set of XML attributes. This is the effective + * inverse of the toXmlString method. + */ virtual void setProperties(const QXmlAttributes &) = 0; signals: