diff base/Layer.h @ 6:44bbf5793d84

* Rework handling of layer properties in file I/O -- we now get the individual layers to load and save them rather than doing it via generic property lists in the base class, so as to ensure we read and write meaningful values rather than generic int values requiring conversion.
author Chris Cannam
date Thu, 19 Jan 2006 12:54:38 +0000
parents 581f67f370f3
children 49a95b174050
line wrap: on
line diff
--- a/base/Layer.h	Tue Jan 17 17:45:55 2006 +0000
+++ b/base/Layer.h	Thu Jan 19 12:54:38 2006 +0000
@@ -16,6 +16,7 @@
 
 #include <QObject>
 #include <QRect>
+#include <QXmlAttributes>
 
 class ZoomConstraint;
 class Model;
@@ -91,6 +92,8 @@
     virtual QString toXmlString(QString indent = "",
 				QString extraAttributes = "") const;
 
+    virtual void setProperties(const QXmlAttributes &) = 0;
+
 signals:
     void modelChanged();
     void modelCompletionChanged();