[Kde-imaging] KIPI::ImageCollection and attributes()/setAttributes()

AurélienGâteau aurelien.gateau at free.fr
Tue May 23 09:48:57 CEST 2006


>I'd also like the ability to exclude certain images from the sync. Now,
>I notice from the docs that there exists a few methods in
>KIPI::ImageInfo called attributes(), clearAttributes() and
>addAttribute(). Unf. the docs are a little lacking here. Do these
>methods allow me to use the host application to store generic key/value
>pairs of data about a given image? If so this this perfect for my "Do
>not sync flag" and also for storing the remote gallery image id etc. for
>subsequent syncs.

Yes from what I remember (I think Jesper designed this part), the
clearAttributes / addAttributes are used for extra info about an image,
provided by the host app.

>But unfortunatly the same methods are not present in the
>KIPI::ImageCollection object where I would store my sync preferences...
>   (e.g. Which remote gallery, which remote album etc.)
>
>If I've guessed correctly, would it be OK to add this extra
>functionality to KIPI::ImageCollection?

I think so, but as Angelo said, you will have to wait a bit until the
enhance/break-KIPI-API party starts :-)



More information about the Kde-imaging mailing list