comparison data/model/Model.h @ 384:6f6ab834449d spectrogram-cache-rejig

* Merge from trunk
author Chris Cannam
date Wed, 27 Feb 2008 11:59:42 +0000
parents 1afaf98dbf11
children 5858cc462d0a
comparison
equal deleted inserted replaced
337:a6fab10ff9e6 384:6f6ab834449d
75 * Return the "artist" or "maker" of the model, if known. 75 * Return the "artist" or "maker" of the model, if known.
76 */ 76 */
77 virtual QString getMaker() const; 77 virtual QString getMaker() const;
78 78
79 /** 79 /**
80 * Return the location of the data in this model (e.g. source
81 * URL). This should not normally be returned for editable models
82 * that have been edited.
83 */
84 virtual QString getLocation() const;
85
86 /**
87 * Return the type of the model. For display purposes only.
88 */
89 virtual QString getTypeName() const = 0;
90
91 /**
80 * Return a copy of this model. 92 * Return a copy of this model.
81 * 93 *
82 * If the model is not editable, this may be effectively a shallow 94 * If the model is not editable, this may be effectively a shallow
83 * copy. If the model is editable, however, this operation must 95 * copy. If the model is editable, however, this operation must
84 * properly copy all of the model's editable data. 96 * properly copy all of the model's editable data.