diff data/model/ImageModel.h @ 345:700cd3350391

* Improvements to layer summary dialog (LayerTree, LayerTreeDialog), & rename. It's still rather unstable though.
author Chris Cannam
date Wed, 28 Nov 2007 17:45:37 +0000
parents f14e2f7b24f7
children 6a96bff0bd59
line wrap: on
line diff
--- a/data/model/ImageModel.h	Wed Nov 28 13:20:40 2007 +0000
+++ b/data/model/ImageModel.h	Wed Nov 28 17:45:37 2007 +0000
@@ -89,6 +89,8 @@
 	SparseModel<ImagePoint>(sampleRate, resolution, notifyOnAdd)
     { }
 
+    QString getTypeName() const { return tr("Image"); }
+
     virtual void toXml(QTextStream &out,
                        QString indent = "",
                        QString extraAttributes = "") const