comparison base/Layer.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 31c4ed2d5da6
comparison
equal deleted inserted replaced
3:581f67f370f3 4:149bb02a41ba
39 { 39 {
40 QString s; 40 QString s;
41 41
42 s += indent; 42 s += indent;
43 43
44 s += QString("<layer type=\"%1\" id=\"%2\" name=\"%3\" model=\"%4\" %5/>\n") 44 s += QString("<layer id=\"%2\" type=\"%1\" name=\"%3\" model=\"%4\" %5/>\n")
45 .arg(LayerFactory::instance()->getLayerTypeName 45 .arg(LayerFactory::instance()->getLayerTypeName
46 (LayerFactory::instance()->getLayerType(this))) 46 (LayerFactory::instance()->getLayerType(this)))
47 .arg((intptr_t)this) 47 .arg(getObjectExportId(this))
48 .arg(objectName()) 48 .arg(objectName())
49 .arg((intptr_t)getModel()) 49 .arg(getObjectExportId(getModel()))
50 .arg(extraAttributes); 50 .arg(extraAttributes);
51 51
52 return s; 52 return s;
53 } 53 }
54 54