• Skip to content
  • Skip to link menu
KDE 4.4 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

digikam

Digikam::AlbumModel

Digikam::AlbumModel Class Reference

#include <albummodel.h>

Inheritance diagram for Digikam::AlbumModel:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 AlbumModel (RootAlbumBehavior rootBehavior=IncludeRootAlbum, QObject *parent=0)
PAlbum * albumForIndex (const QModelIndex &index) const

Protected Member Functions

virtual Album * albumForId (int id) const
virtual QVariant decorationRole (Album *a) const

Detailed Description

Definition at line 34 of file albummodel.h.


Constructor & Destructor Documentation

Digikam::AlbumModel::AlbumModel ( RootAlbumBehavior  rootBehavior = IncludeRootAlbum,
QObject *  parent = 0 
) [explicit]

Create a model containing all physical albums.

Definition at line 40 of file albummodel.cpp.


Member Function Documentation

Album * Digikam::AlbumModel::albumForId ( int  id  )  const [protected, virtual]

need to implement in subclass

Implements Digikam::AbstractCountingAlbumModel.

Definition at line 60 of file albummodel.cpp.

PAlbum * Digikam::AlbumModel::albumForIndex ( const QModelIndex &  index  )  const

Returns the album object associated with the given model index.

Reimplemented from Digikam::AbstractAlbumModel.

Definition at line 49 of file albummodel.cpp.

QVariant Digikam::AlbumModel::decorationRole ( Album *  a  )  const [protected, virtual]

For subclassing convenience: A part of the implementation of data().

Reimplemented from Digikam::AbstractAlbumModel.

Definition at line 54 of file albummodel.cpp.


The documentation for this class was generated from the following files:
  • albummodel.h
  • albummodel.cpp

digikam

Skip menu "digikam"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • digikam
Generated for API Reference by doxygen 1.5.9-20090814
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal