23#include <QApplication>
30#include <QMimeDatabase>
34#include <klocalizedstring.h>
55 : loadingDescription(description),
83 bool firstThreadCreated =
false;
99 bool wantPixmap =
true;
100 bool highlight =
true;
101 bool sendSurrogate =
true;
102 bool notifiedForResults =
false;
104 int size = ThumbnailSize::maxThumbsSize();
117 const QRect& detailRect,
bool setLastDescription =
true);
119 QList<LoadingDescription> makeDescriptions(
const QList<ThumbnailIdentifier>& identifiers,
int size);
120 QList<LoadingDescription> makeDescriptions(
const QList<QPair<ThumbnailIdentifier, QRect> >& idsAndRects,
int size);
121 bool hasHighlightingBorder()
const;
122 int pixmapSizeForThumbnailSize(
int thumbnailSize)
const;
123 int thumbnailSizeForPixmapSize(
int pixmapSize)
const;
163 bool received =
false;
179 QList<Private::CatcherResult>
tasks;
Definition iccprofile.h:33
Definition loadingdescription.h:35
Definition thumbnailcreator.h:41
StorageMethod
Definition thumbnailcreator.h:45
Definition thumbnailinfo.h:31
Definition thumbnailloadthread_p.h:144
QImage image
Definition thumbnailloadthread_p.h:161
CatcherResult(const LoadingDescription &d, const QImage &image)
Definition thumbnailloadthread_p.h:152
LoadingDescription description
Definition thumbnailloadthread_p.h:162
CatcherResult(const LoadingDescription &d)
Definition thumbnailloadthread_p.h:147
Definition thumbnailloadthread_p.h:129
QMutex mutex
Definition thumbnailloadthread_p.h:182
QList< Private::CatcherResult > intermediate
Definition thumbnailloadthread_p.h:180
CatcherState
Definition thumbnailloadthread_p.h:134
@ Accepting
Definition thumbnailloadthread_p.h:136
@ Waiting
Definition thumbnailloadthread_p.h:137
@ Inactive
Definition thumbnailloadthread_p.h:135
QList< Private::CatcherResult > tasks
Definition thumbnailloadthread_p.h:179
QWaitCondition condVar
Definition thumbnailloadthread_p.h:183
Definition thumbnailloadthread.h:290
Definition thumbnailinfo.h:105
Definition thumbnailloadthread_p.h:67
~ThumbnailLoadThreadStaticPriv()
Definition thumbnailloadthread_p.h:72
ThumbnailLoadThreadStaticPriv & operator=(const ThumbnailLoadThreadStaticPriv &)=delete
ThumbnailLoadThreadStaticPriv()=default
ThumbnailLoadThreadStaticPriv(const ThumbnailLoadThreadStaticPriv &)=delete
Definition thumbnailloadthread_p.h:93
QMutex resultsMutex
Definition thumbnailloadthread_p.h:109
QList< LoadingDescription > lastDescriptions
Definition thumbnailloadthread_p.h:111
QHash< QString, ThumbnailResult > collectedResults
Definition thumbnailloadthread_p.h:108
Definition thumbnailloadthread.h:36
Definition thumbnailloadthread_p.h:50
ThumbnailResult(const LoadingDescription &description, const QImage &image)
Definition thumbnailloadthread_p.h:54
QImage image
Definition thumbnailloadthread_p.h:61
LoadingDescription loadingDescription
Definition thumbnailloadthread_p.h:60
Definition datefolderview.cpp:34