25 #ifndef DIGIKAM_ALBUM_THUMBNAIL_LOADER_H
26 #define DIGIKAM_ALBUM_THUMBNAIL_LOADER_H
42 class LoadingDescription;
74 void setThumbnailSize(
int size,
int face);
79 int thumbnailSize()
const;
88 bool getAlbumThumbnail(
PAlbum*
const album);
99 QPixmap getAlbumThumbnailDirectly(
PAlbum*
const album);
118 bool getTagThumbnail(
TAlbum*
const album, QPixmap& icon);
129 QPixmap getTagThumbnailDirectly(
TAlbum*
const album);
136 QPixmap getFaceThumbnailDirectly(
TAlbum*
const album);
143 QPixmap getStandardTagIcon(RelativeSize size = NormalSize);
144 QPixmap getStandardTagRootIcon(RelativeSize size = NormalSize);
145 QPixmap getStandardTagIcon(
TAlbum*
const album, RelativeSize size = NormalSize);
146 QPixmap getStandardFaceIcon(
TAlbum*
const album, RelativeSize size = NormalSize);
147 QPixmap getNewTagIcon(RelativeSize size = NormalSize);
149 QPixmap getStandardAlbumIcon(RelativeSize size = NormalSize);
150 QPixmap getStandardAlbumTrashIcon(RelativeSize size = NormalSize);
151 QPixmap getStandardAlbumRootIcon(RelativeSize size = NormalSize);
152 QPixmap getStandardAlbumIcon(
PAlbum*
const album, RelativeSize size = NormalSize);
194 void slotGotThumbnailFromIcon(
const LoadingDescription& loadingDescription,
const QPixmap& pixmap);
195 void slotIconChanged(
Album* album);
196 void slotDispatchThumbnailInternal(
int albumID,
const QPixmap& thumbnail);
205 void addUrl(
Album*
const album, qlonglong
id);
206 QPixmap loadIcon(
const QString& name,
int size = 0)
const;
212 friend class AlbumThumbnailLoaderCreator;
Definition: albumthumbnailloader.h:45
void signalDispatchThumbnailInternal(int albumID, const QPixmap &thumbnail)
void signalThumbnail(Album *album, const QPixmap &)
void signalFailed(Album *album)
void signalReloadThumbnails()
RelativeSize
Definition: albumthumbnailloader.h:60
@ NormalSize
Definition: albumthumbnailloader.h:61
Abstract base class for all album types.
Definition: album.h:67
Definition: loadingdescription.h:45
@ Album
Definition: coredbfields.h:58
Definition: datefolderview.cpp:43