[Digikam-devel] Getting list of images
caulier.gilles at gmail.com
Sun Nov 24 22:32:01 GMT 2013
Try this code :
QStringList paths = DatabaseAccess().db()->getItemURLsInAlbum(id);
...where "id" is tag album ID. It's return a list of paths of all
items set with tag.
This code is used for ex into fingerprint generator (Maintenance tool) :
2013/11/24 Kevin Dalley <kevin at kelphead.org>:
> Is there an easy way to get a list of all images using a given tag? My
> preference: return ImageInfoList, so that I can pass it to
> I suspect that this is easy, but I haven't figured out how to do it.
> I'm trying to fix a digikam bug,
> where renaming a tag does not change the image file, or the sidecar
> file. Also deleting a tag does not effect the image or sidecar file.
> Digikam-devel mailing list
> Digikam-devel at kde.org
More information about the Digikam-devel