diff widgets/Pane.cpp @ 8:06bba0b79b1c

* Session file save, and the skeleton of session file load.
author Chris Cannam
date Fri, 13 Jan 2006 18:05:07 +0000
parents 37b110168acf
children 01849cd277e6
line wrap: on
line diff
--- a/widgets/Pane.cpp	Thu Jan 12 17:45:23 2006 +0000
+++ b/widgets/Pane.cpp	Fri Jan 13 18:05:07 2006 +0000
@@ -389,7 +389,16 @@
 
     emit paneInteractedWith();
 }
-    
+
+QString
+Pane::toXmlString(QString indent, QString extraAttributes) const
+{
+    return View::toXmlString
+	(indent,
+	 QString("type=\"pane\" centreLineVisible=\"%1\" %2")
+	 .arg(m_centreLineVisible).arg(extraAttributes));
+}
+
 
 #ifdef INCLUDE_MOCFILES
 #include "Pane.moc.cpp"