diff data/model/NoteModel.h @ 288:7b96b3bd4bae

* Fix #1757772 tempo, dynamic related plug-ins bug -- make auto-align only auto-align if there is a unit involved * Fix #1755366 text layer bug in retrieved session * Fix input model selection in plugin parameter dialog (was being ignored) * Use lighter background than the standard widget one for panes (assuming the widget background is light but not white) -- similarly darker if dark * Fix colour reference counting in loaded session in SingleColourLayer * Reset overview pane colour when switching dark background on or off
author Chris Cannam
date Tue, 14 Aug 2007 13:58:53 +0000
parents 9c85517ff0f5
children 70a232b1f12a
line wrap: on
line diff
--- a/data/model/NoteModel.h	Mon Aug 13 14:51:35 2007 +0000
+++ b/data/model/NoteModel.h	Tue Aug 14 13:58:53 2007 +0000
@@ -120,11 +120,13 @@
      */
     virtual PointList getPoints(long frame) const;
 
-    virtual QString toXmlString(QString indent = "",
-				QString extraAttributes = "") const
+    virtual void toXml(QTextStream &out,
+                       QString indent = "",
+                       QString extraAttributes = "") const
     {
-	return SparseValueModel<Note>::toXmlString
-	    (indent,
+	return SparseValueModel<Note>::toXml
+	    (out,
+             indent,
 	     QString("%1 valueQuantization=\"%2\"")
 	     .arg(extraAttributes).arg(m_valueQuantization));
     }