comparison data/model/Model.cpp @ 314:70a232b1f12a

* Make XmlExportable::toXml the function that is universally overridden (and pure virtual) instead of toXmlString. Tidies up some classes, notably the model classes, significantly. Closes #1794561.
author Chris Cannam
date Thu, 18 Oct 2007 10:15:07 +0000
parents 7b96b3bd4bae
children 3ff8f571da09
comparison
equal deleted inserted replaced
313:29485aa03da4 314:70a232b1f12a
45 .arg(getStartFrame()) 45 .arg(getStartFrame())
46 .arg(getEndFrame()) 46 .arg(getEndFrame())
47 .arg(extraAttributes); 47 .arg(extraAttributes);
48 } 48 }
49 49
50 QString
51 Model::toXmlString(QString indent, QString extraAttributes) const
52 {
53 QString s;
54 50
55 {
56 QTextStream out(&s);
57 toXml(out, indent, extraAttributes);
58 }
59
60 return s;
61 }
62