diff 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
line wrap: on
line diff
--- a/base/Model.cpp	Thu Jan 12 17:19:08 2006 +0000
+++ b/base/Model.cpp	Fri Jan 13 18:05:07 2006 +0000
@@ -18,9 +18,12 @@
     
     s += indent;
 
-    s += QString("<model id=\"%1\" name=\"%2\" %3/>\n")
-	.arg((intptr_t)this)
+    s += QString("<model id=\"%1\" name=\"%2\" sampleRate=\"%3\" start=\"%4\" end=\"%5\" %6/>\n")
+	.arg(getObjectExportId(this))
 	.arg(objectName())
+	.arg(getSampleRate())
+	.arg(getStartFrame())
+	.arg(getEndFrame())
 	.arg(extraAttributes);
 
     return s;