Mercurial > hg > svcore
comparison data/model/RegionModel.h @ 627:080d8bdd8762
* Fix failure to encode entities in label texts
author | Chris Cannam |
---|---|
date | Mon, 05 Jul 2010 11:54:19 +0000 |
parents | b1dc68507e46 |
children | 3a5ee4b6c9ad |
comparison
equal
deleted
inserted
replaced
626:686fc1703a33 | 627:080d8bdd8762 |
---|---|
53 QString indent = "", | 53 QString indent = "", |
54 QString extraAttributes = "") const | 54 QString extraAttributes = "") const |
55 { | 55 { |
56 stream << | 56 stream << |
57 QString("%1<point frame=\"%2\" value=\"%3\" duration=\"%4\" label=\"%5\" %6/>\n") | 57 QString("%1<point frame=\"%2\" value=\"%3\" duration=\"%4\" label=\"%5\" %6/>\n") |
58 .arg(indent).arg(frame).arg(value).arg(duration).arg(label).arg(extraAttributes); | 58 .arg(indent).arg(frame).arg(value).arg(duration) |
59 .arg(XmlExportable::encodeEntities(label)).arg(extraAttributes); | |
59 } | 60 } |
60 | 61 |
61 QString toDelimitedDataString(QString delimiter, size_t sampleRate) const | 62 QString toDelimitedDataString(QString delimiter, size_t sampleRate) const |
62 { | 63 { |
63 QStringList list; | 64 QStringList list; |