copy all toXML() from master commit 4b82c3a0c4 into the current branch, because the new concept will be used only for user properties

This commit is contained in:
Martin Marmsoler
2021-03-07 10:09:45 +01:00
parent 058824f29a
commit 5d3710c4b2
26 changed files with 267 additions and 294 deletions

View File

@@ -72,13 +72,12 @@ bool PartTerminal::fromXmlPriv(const QDomElement &xml_elmt) {
*/
void PartTerminal::toXmlPriv(QDomElement& e) const {
e.appendChild(QETXML::createXmlProperty("uuid", d->m_uuid));
e.setAttribute("uuid", d->m_uuid.toString());
d->m_pos = pos();
d->m_pos = pos();
// Do not store terminal data in its own child
QDomDocument doc = e.ownerDocument();
e.appendChild(d->toXml(doc));
e.appendChild(d -> toXml(doc));
}