[Kde-imaging] Naming inconsistencies

Jesper K. Pedersen blackie at blackie.dk
Sat May 29 10:32:01 CEST 2004


On Saturday 29 May 2004 00:00, Aurelien Gateau wrote:
| Hello,
|
| Today I was looking at our current API and spotted a few inconsistencies in
| the names we are using.
|
| * Album vs ImageCollection
| Our image container class is named ImageCollection, but we have some
| various parts where we're speaking about Album. I think we should rename
| ImageCollection to Album. This means the following changes:
|
| ImageCollection -> Album
| ImageCollectionShared -> AlbumShared
|
| And also in the Interface class:
| - currentAlbum -> currentView
I strongly disagree on this. If you want to clear those things it should be 
the other way. I'd say it does little sense to return an Album when asking 
for the selection for example.

| * description vs comment
| In the ImageInfo class, we have descriptions but the corresponding KIPI
| features names it comments. Since we use comments in ImageCollection/Album,
| I suggest we rename the description "property" in ImageInfo to comment.
Fine with me.


More information about the Kde-imaging mailing list