Mercurial > hg > svcore
diff data/model/TextModel.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/TextModel.h Thu Nov 15 14:03:56 2007 +0000 +++ b/data/model/TextModel.h Wed Feb 27 11:59:42 2008 +0000 @@ -38,6 +38,8 @@ long frame; float height; QString label; + + QString getLabel() const { return label; } void toXml(QTextStream &stream, QString indent = "", QString extraAttributes = "") const @@ -93,6 +95,8 @@ QString("%1 subtype=\"text\"") .arg(extraAttributes)); } + + QString getTypeName() const { return tr("Text"); } };