Mercurial > hg > svcore
diff data/model/TextModel.h @ 288:7b96b3bd4bae
* Fix #1757772 tempo, dynamic related plug-ins bug -- make auto-align
only auto-align if there is a unit involved
* Fix #1755366 text layer bug in retrieved session
* Fix input model selection in plugin parameter dialog (was being ignored)
* Use lighter background than the standard widget one for panes (assuming the
widget background is light but not white) -- similarly darker if dark
* Fix colour reference counting in loaded session in SingleColourLayer
* Reset overview pane colour when switching dark background on or off
author | Chris Cannam |
---|---|
date | Tue, 14 Aug 2007 13:58:53 +0000 |
parents | 3a13b0d4934e |
children | 726b32522e3f |
line wrap: on
line diff
--- a/data/model/TextModel.h Mon Aug 13 14:51:35 2007 +0000 +++ b/data/model/TextModel.h Tue Aug 14 13:58:53 2007 +0000 @@ -81,11 +81,13 @@ SparseModel<TextPoint>(sampleRate, resolution, notifyOnAdd) { } - virtual QString toXmlString(QString indent = "", - QString extraAttributes = "") const + virtual void toXml(QTextStream &out, + QString indent = "", + QString extraAttributes = "") const { - return SparseModel<TextPoint>::toXmlString - (indent, + SparseModel<TextPoint>::toXml + (out, + indent, QString("%1 subtype=\"text\"") .arg(extraAttributes)); }