changeset 452:325112751f0e

* Save/load of region models
author Chris Cannam
date Thu, 09 Oct 2008 12:04:22 +0000
parents 3c5252e7cefd
children 1f15beefcd76
files data/fft/FFTDataServer.cpp data/model/NoteModel.h data/model/RegionModel.h
diffstat 3 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/data/fft/FFTDataServer.cpp	Wed Oct 08 15:27:31 2008 +0000
+++ b/data/fft/FFTDataServer.cpp	Thu Oct 09 12:04:22 2008 +0000
@@ -27,7 +27,7 @@
 #include "base/Profiler.h"
 #include "base/Thread.h" // for debug mutex locker
 
-//#define DEBUG_FFT_SERVER 1
+#define DEBUG_FFT_SERVER 1
 //#define DEBUG_FFT_SERVER_FILL 1
 
 #ifdef DEBUG_FFT_SERVER_FILL
--- a/data/model/NoteModel.h	Wed Oct 08 15:27:31 2008 +0000
+++ b/data/model/NoteModel.h	Thu Oct 09 12:04:22 2008 +0000
@@ -146,7 +146,7 @@
         IntervalModel<Note>::toXml
 	    (out,
              indent,
-	     QString("%1 valueQuantization=\"%2\"")
+	     QString("%1 subtype=\"note\" valueQuantization=\"%2\"")
 	     .arg(extraAttributes).arg(m_valueQuantization));
     }
 
--- a/data/model/RegionModel.h	Wed Oct 08 15:27:31 2008 +0000
+++ b/data/model/RegionModel.h	Thu Oct 09 12:04:22 2008 +0000
@@ -132,7 +132,7 @@
         IntervalModel<RegionRec>::toXml
 	    (out,
              indent,
-	     QString("%1 valueQuantization=\"%2\"")
+	     QString("%1 subtype=\"region\" valueQuantization=\"%2\"")
 	     .arg(extraAttributes).arg(m_valueQuantization));
     }