diff data/model/SparseTimeValueModel.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/SparseTimeValueModel.h	Thu Nov 15 14:03:56 2007 +0000
+++ b/data/model/SparseTimeValueModel.h	Wed Feb 27 11:59:42 2008 +0000
@@ -38,6 +38,8 @@
     long frame;
     float value;
     QString label;
+
+    QString getLabel() const { return label; }
     
     void toXml(QTextStream &stream, QString indent = "",
                QString extraAttributes = "") const
@@ -93,6 +95,8 @@
     {
 	PlayParameterRepository::getInstance()->addModel(this);
     }
+
+    QString getTypeName() const { return tr("Sparse Time-Value"); }
 };