Mercurial > hg > svcore
comparison data/model/Model.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 | 1afaf98dbf11 |
children | 5858cc462d0a |
comparison
equal
deleted
inserted
replaced
344:277006c62fea | 345:700cd3350391 |
---|---|
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. |