[Kde-imaging] [Bug 125234] Kipi plugins should be able to access image tags

Gilles Caulier caulier.gilles at free.fr
Tue Apr 11 15:35:13 CEST 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=125234         




------- Additional Comments From caulier.gilles free fr  2006-04-11 15:35 -------
Vardhman, 

i second Jesper about this point. ImageInfo::attributes() is the better way to use Image tags.

This is want mean that :

- plugins need to check this properties.
- kipi Hosts interface need to do something about this method, if host support Tags (KPhotoAlbum, and digiKam for example).

Like you working with digiKam, and if you want do some tests, i recommend you to check the digikam kipi-interface :

http://websvn.kde.org/trunk/extragear/graphics/digikam/digikam/kipiinterface.cpp?rev=526233&view=auto

... look like we have this code :

QMap<QString,QVariant> DigikamImageInfo::attributes()
{
    QMap<QString,QVariant> res;

    // TODO ! This will used for the futures tags Digikam features.

    return res;
}

void DigikamImageInfo::clearAttributes()
{
    // TODO ! This will used for the futures tags Digikam features.
}

void DigikamImageInfo::addAttributes( const QMap<QString,QVariant>& )
{
    // TODO ! This will used for the futures tags Digikam features.
}

This is want mean that something must be done here (:=))). If you is interressed to implement this feature, we can trying to implement this method together and after you just need to support ImageInfo::attributes() in your Flicker plugin.

My 10 cts...

Gilles


More information about the Kde-imaging mailing list