void Trill::write(Xml& xml) const { xml.stag(QString("%1 id=\"%2\"").arg(name()).arg(id())); xml.tag("subtype", trillTypeName()); SLine::writeProperties(xml); if (_accidental) _accidental->write(xml); xml.etag(); }
void Trill::write(Xml& xml) const { if (!xml.canWrite(this)) return; xml.stag(QString("%1 id=\"%2\"").arg(name()).arg(xml.spannerId(this))); xml.tag("subtype", trillTypeName()); SLine::writeProperties(xml); if (_accidental) _accidental->write(xml); xml.etag(); }
void Trill::write(XmlWriter& xml) const { if (!xml.canWrite(this)) return; xml.stag(this); xml.tag("subtype", trillTypeName()); writeProperty(xml, Pid::PLAY); writeProperty(xml, Pid::ORNAMENT_STYLE); writeProperty(xml, Pid::PLACEMENT); SLine::writeProperties(xml); if (_accidental) _accidental->write(xml); xml.etag(); }