comparison data/model/Model.h @ 333:1afaf98dbf11

* Factor out uses of "Sonic Visualiser" in "common" code to applicationName() * Add ability to show work title + artist in top-left of pane (thinking of Vect but may be useful in SV in future) * A few other generalisations useful for Vect
author Chris Cannam
date Fri, 09 Nov 2007 17:46:58 +0000
parents 3ff8f571da09
children 700cd3350391
comparison
equal deleted inserted replaced
332:13e5870040e6 333:1afaf98dbf11
65 * itself has already been resampled. 65 * itself has already been resampled.
66 */ 66 */
67 virtual size_t getNativeRate() const { return getSampleRate(); } 67 virtual size_t getNativeRate() const { return getSampleRate(); }
68 68
69 /** 69 /**
70 * Return the "work title" of the model, if known.
71 */
72 virtual QString getTitle() const;
73
74 /**
75 * Return the "artist" or "maker" of the model, if known.
76 */
77 virtual QString getMaker() const;
78
79 /**
70 * Return a copy of this model. 80 * Return a copy of this model.
71 * 81 *
72 * If the model is not editable, this may be effectively a shallow 82 * If the model is not editable, this may be effectively a shallow
73 * copy. If the model is editable, however, this operation must 83 * copy. If the model is editable, however, this operation must
74 * properly copy all of the model's editable data. 84 * properly copy all of the model's editable data.