comparison layer/SpectrogramLayer.h @ 11:2d5005f2b3d9

* 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 561be41ad083
children 01849cd277e6
comparison
equal deleted inserted replaced
10:8f5b812baaee 11:2d5005f2b3d9
132 132
133 virtual QString getPropertyContainerIconName() const { return "spectrogram"; } 133 virtual QString getPropertyContainerIconName() const { return "spectrogram"; }
134 134
135 virtual QString toXmlString(QString indent = "", 135 virtual QString toXmlString(QString indent = "",
136 QString extraAttributes = "") const; 136 QString extraAttributes = "") const;
137
138 void setProperties(const QXmlAttributes &attributes);
137 139
138 protected slots: 140 protected slots:
139 void cacheInvalid(); 141 void cacheInvalid();
140 void cacheInvalid(size_t startFrame, size_t endFrame); 142 void cacheInvalid(size_t startFrame, size_t endFrame);
141 143