comparison base/Event.h @ 1641:751a52865270 single-point

Fix XML
author Chris Cannam
date Wed, 13 Mar 2019 14:46:40 +0000
parents e8099be64726
children 29a20719796e
comparison
equal deleted inserted replaced
1640:e7f557789f99 1641:751a52865270
250 if (m_haveLevel) stream << QString("level=\"%1\" ").arg(m_level); 250 if (m_haveLevel) stream << QString("level=\"%1\" ").arg(m_level);
251 if (m_haveReferenceFrame) stream << QString("referenceFrame=\"%1\" ") 251 if (m_haveReferenceFrame) stream << QString("referenceFrame=\"%1\" ")
252 .arg(m_referenceFrame); 252 .arg(m_referenceFrame);
253 stream << QString("label=\"%1\" ") 253 stream << QString("label=\"%1\" ")
254 .arg(XmlExportable::encodeEntities(m_label)); 254 .arg(XmlExportable::encodeEntities(m_label));
255 stream << extraAttributes << ">\n"; 255 stream << extraAttributes << "/>\n";
256 } 256 }
257 257
258 QString toXmlString(QString indent = "", 258 QString toXmlString(QString indent = "",
259 QString extraAttributes = "") const { 259 QString extraAttributes = "") const {
260 QString s; 260 QString s;