[Kde-imaging] KIPI::ImageCollection and attributes()/setAttributes()
Colin Guthrie
kde at colin.guthr.ie
Sun May 21 21:39:36 CEST 2006
Hi,
Apologies if I'm getting ahead of myself here as I've only just read the
docs and not really fully absorbed it all yet.
As I posted on the Digikam list (and in another thread here I think), I
want to make the Gallery2 integration much tighter in Digikam (and make
it possible for other applications to do the same if so desired.
One of the things I want to do is to be able to configure an Album (or
KIPI::ImageCollection in KIPI speak) to be synced (sunk?) to a given
remote Gallery2 (and within a given album in that gallery).
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.
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?
Cheers
Col.
--
+------------------------+
| Colin Guthrie |
+------------------------+
| kde(at)colin.guthr.ie |
| http://colin.guthr.ie/ |
+------------------------+
More information about the Kde-imaging
mailing list