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

* Merge from trunk
author Chris Cannam
date Wed, 27 Feb 2008 11:59:42 +0000
parents 7a4bd2c8585c
children 1415e35881f6
line wrap: on
line diff
--- a/data/model/SparseValueModel.h	Thu Nov 15 14:03:56 2007 +0000
+++ b/data/model/SparseValueModel.h	Wed Feb 27 11:59:42 2008 +0000
@@ -51,6 +51,9 @@
     using SparseModel<PointType>::m_points;
     using SparseModel<PointType>::modelChanged;
     using SparseModel<PointType>::getPoints;
+    using SparseModel<PointType>::tr;
+
+    QString getTypeName() const { return tr("Sparse Value"); }
 
     virtual float getValueMinimum() const { return m_valueMinimum; }
     virtual float getValueMaximum() const { return m_valueMaximum; }