diff data/model/SparseOneDimensionalModel.h @ 384:6f6ab834449d spectrogram-cache-rejig

* Merge from trunk
author Chris Cannam
date Wed, 27 Feb 2008 11:59:42 +0000
parents 7a4bd2c8585c
children
line wrap: on
line diff
--- a/data/model/SparseOneDimensionalModel.h	Thu Nov 15 14:03:56 2007 +0000
+++ b/data/model/SparseOneDimensionalModel.h	Wed Feb 27 11:59:42 2008 +0000
@@ -30,7 +30,9 @@
     
     long frame;
     QString label;
-    
+
+    QString getLabel() const { return label; }
+
     void toXml(QTextStream &stream,
                QString indent = "",
                QString extraAttributes = "") const
@@ -84,6 +86,8 @@
 	}
 	return -1;
     }
+
+    QString getTypeName() const { return tr("Sparse 1-D"); }
 };
 
 #endif