52 static void cleanUp();
59 static void initializeNoThumbnailStorage();
73 static void setDisplayingWidget(QWidget*
const widget);
88 QPixmap& pixmap,
int size,
bool onlyStorage =
false);
107 void findGroup(QList<ThumbnailIdentifier>& identifiers);
108 void findGroup(QList<ThumbnailIdentifier>& identifiers,
int size);
115 const QRect& rect, QPixmap& pixmap,
int size,
bool onlyStorage =
false);
118 void findGroup(
const QList<QPair<ThumbnailIdentifier, QRect> >& filePathAndRects);
119 void findGroup(
const QList<QPair<ThumbnailIdentifier, QRect> >& filePathsAndRects,
int size);
126 const QRect& rect, QPixmap& pixmap,
int size);
134 void preloadGroup(QList<ThumbnailIdentifier>& identifiers);
135 void preloadGroup(QList<ThumbnailIdentifier>& identifiers,
int size);
141 void pregenerateGroup(
const QList<ThumbnailIdentifier>& identifiers);
142 void pregenerateGroup(
const QList<ThumbnailIdentifier>& identifiers,
int size);
160 QList<LoadingDescription> lastDescriptions()
const;
171 void setThumbnailSize(
int size,
bool forFace =
false);
178 static int maximumThumbnailSize();
179 static int maximumThumbnailPixmapSize(
bool withHighlighting);
190 void setPixmapRequested(
bool wantPixmap);
197 void setHighlightPixmap(
bool highlight);
203 int thumbnailToPixmapSize(
int size)
const;
204 static int thumbnailToPixmapSize(
bool withHighlight,
int size);
209 int pixmapToThumbnailSize(
int size)
const;
219 void setSendSurrogatePixmap(
bool send);
227 void storeDetailThumbnail(
const QString& filePath,
228 const QRect& detailRect,
230 bool isFace =
false);
231 int storedSize()
const;
240 static void deleteThumbnail(
const QString& filePath);
254 void thumbnailLoaded(
const LoadingDescription& loadingDescription,
const QImage& img)
override;
259 bool emitSignal,
const QRect& detailRect,
bool onlyStorage =
false);
261 bool checkSize(
int size);
272 void slotThumbnailsAvailable();