Revision 791786

Go back to digest for 6th April 2008

Features in Graphics

Marcel Wiesweg committed changes in /trunk/extragear/graphics/digikam/digikam:

AbstractAlbumModel is a QAbstractItemModel based on our Albums as managed by AlbumManager.

This base class provides most of the functionality for mapping albums to QModelIndexes and vice versa and complete mapping of the signals from AlbumManager when an album is added, deleted or renamed. Editing and Drag-and-Drop is not implemented.

AbstractSpecificAlbumModel is a subclass that manages thumbnail generation for album and tag thumbnails.

AbstractCheckableAlbumModel adds a property to make the albums in the model checkable. The check states are kept in an internal QHash. Various methods are provided to access the check state by Album*.

AlbumModel and TagModel are finally the subclasses that can readily be used, providing physical albums and tags resp.

File Changes

Added 2 files
  • /trunk/extragear/graphics/digikam/digikam
  •   /albummodel.cpp
  •   /albummodel.h
2 files changed in total