diff data/model/ImageModel.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/ImageModel.h	Thu Nov 15 14:03:56 2007 +0000
+++ b/data/model/ImageModel.h	Wed Feb 27 11:59:42 2008 +0000
@@ -38,6 +38,8 @@
     long frame;
     QString image;
     QString label;
+
+    QString getLabel() const { return label; }
     
     void toXml(QTextStream &stream,
                QString indent = "",
@@ -87,6 +89,8 @@
 	SparseModel<ImagePoint>(sampleRate, resolution, notifyOnAdd)
     { }
 
+    QString getTypeName() const { return tr("Image"); }
+
     virtual void toXml(QTextStream &out,
                        QString indent = "",
                        QString extraAttributes = "") const