comparison base/Model.cpp @ 4:149bb02a41ba

* Session file save, and the skeleton of session file load.
author Chris Cannam
date Fri, 13 Jan 2006 18:05:07 +0000
parents 581f67f370f3
children a6ef94ecbe74
comparison
equal deleted inserted replaced
3:581f67f370f3 4:149bb02a41ba
16 { 16 {
17 QString s; 17 QString s;
18 18
19 s += indent; 19 s += indent;
20 20
21 s += QString("<model id=\"%1\" name=\"%2\" %3/>\n") 21 s += QString("<model id=\"%1\" name=\"%2\" sampleRate=\"%3\" start=\"%4\" end=\"%5\" %6/>\n")
22 .arg((intptr_t)this) 22 .arg(getObjectExportId(this))
23 .arg(objectName()) 23 .arg(objectName())
24 .arg(getSampleRate())
25 .arg(getStartFrame())
26 .arg(getEndFrame())
24 .arg(extraAttributes); 27 .arg(extraAttributes);
25 28
26 return s; 29 return s;
27 } 30 }
28 31