https://bugs.kde.org/show_bug.cgi?id=414055

--- Comment #6 from [email protected] ---
SlideshowBuilder is just a class to parse album recursively. It's only used by
digiKam, not shwofoto, as this one do not support albums.

Slideshow tool can be started from digiKam, and only digiKam in recursive mode
from main menu. SlideshowBuilder will parse current album content to pupolate
items, and recursively, it will descend in children albums to do the same.

At end, Slideshow settings will contains all albums items parsed. Slideshow
will use this settings to render items.

SlideshowBuilder is query the database to list album items. This class must be
moved in DInfoIface from libs/database/utils/iface/, the derivated class of
abstract DInfoInterface from libs/dplugins/iface/. DInfoIface is only used by
digiKam.

So the abstract DInfoIfnterface must integrate a virtual pure method to parse
recursively albums and return a QList<Url> to be generic and compatible with
SlideShowSettings.

The DMetaInfoIface must implement an empty version of this new method. It's for
Showfoto.

The DInfoIface must use SlideshowBuilder code to populate items using database.

Note : SlideShowBuilder class must be renamed as AlbumsParser or something like
that to be more generic, as DInfoIface can be used by other plugins in the
future.

Gilles

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to