24 #ifndef DIGIKAM_ITEM_FILTER_MODEL_P_H
25 #define DIGIKAM_ITEM_FILTER_MODEL_P_H
31 #include <QMutexLocker>
35 #include <QWaitCondition>
86 class DIGIKAM_DATABASE_EXPORT
ItemFilterModel::ItemFilterModelPrivate :
public QObject
172 explicit ItemFilterModelPrivate(QObject*) =
delete;
Definition: itemfiltersettings.h:313
Definition: itemfiltermodelthreads.h:85
Definition: itemfiltermodelthreads.h:69
Definition: itemfiltermodel_p.h:54
ItemFilterModelTodoPackage(const QVector< ItemInfo > &infos, const QVector< QVariant > &extraValues, int version, bool isForReAdd)
Definition: itemfiltermodel_p.h:63
bool isForReAdd
Definition: itemfiltermodel_p.h:77
QVector< ItemInfo > infos
Definition: itemfiltermodel_p.h:74
ItemFilterModelTodoPackage()
Definition: itemfiltermodel_p.h:57
unsigned int version
Definition: itemfiltermodel_p.h:76
QVector< QVariant > extraValues
Definition: itemfiltermodel_p.h:75
QHash< qlonglong, bool > filterResults
Definition: itemfiltermodel_p.h:78
Definition: itemfiltermodel.h:125
volatile unsigned int version
Definition: itemfiltermodel_p.h:111
ItemFilterSettings filter
Definition: itemfiltermodel_p.h:106
ItemFilterModelFilterer * filterer
Definition: itemfiltermodel_p.h:129
bool hasOneMatchForText
Definition: itemfiltermodel_p.h:133
void preprocessInfos(const QList< ItemInfo > &infos, const QList< QVariant > &extraValues)
VersionItemFilterSettings versionFilter
Definition: itemfiltermodel_p.h:108
unsigned int lastFilteredVersion
Definition: itemfiltermodel_p.h:113
~ItemFilterModelPrivate() override
int sentOutForReAdd
Definition: itemfiltermodel_p.h:115
GroupItemFilterSettings groupFilter
Definition: itemfiltermodel_p.h:109
void infosToProcess(const QList< ItemInfo > &infos)
unsigned int lastDiscardVersion
Definition: itemfiltermodel_p.h:112
void packageToFilter(const ItemFilterModelTodoPackage &package)
QList< ItemFilterModelPrepareHook * > prepareHooks
Definition: itemfiltermodel_p.h:135
void infosToProcess(const QList< ItemInfo > &infos, const QList< QVariant > &extraValues, bool forReAdd=true)
void reAddItemInfos(const QList< ItemInfo > &infos, const QList< QVariant > &extraValues)
QHash< qlonglong, bool > filterResults
Definition: itemfiltermodel_p.h:131
void packageDiscarded(const ItemFilterModelTodoPackage &package)
ItemFilterModel * q
Definition: itemfiltermodel_p.h:102
void packageFinished(const ItemFilterModelTodoPackage &package)
bool needPrepareComments
Definition: itemfiltermodel_p.h:120
VersionItemFilterSettings versionFilterCopy
Definition: itemfiltermodel_p.h:126
bool hasOneMatch
Definition: itemfiltermodel_p.h:132
bool needPrepareGroups
Definition: itemfiltermodel_p.h:122
bool needPrepareTags
Definition: itemfiltermodel_p.h:121
ItemModel * imageModel
Definition: itemfiltermodel_p.h:104
bool needPrepare
Definition: itemfiltermodel_p.h:119
void init(ItemFilterModel *q)
QMutex mutex
Definition: itemfiltermodel_p.h:124
QTimer * updateFilterTimer
Definition: itemfiltermodel_p.h:117
GroupItemFilterSettings groupFilterCopy
Definition: itemfiltermodel_p.h:127
ItemFilterModelPreparer * preparer
Definition: itemfiltermodel_p.h:128
int sentOut
Definition: itemfiltermodel_p.h:114
ItemFilterSettings filterCopy
Definition: itemfiltermodel_p.h:125
void packageToPrepare(const ItemFilterModelTodoPackage &package)
void processAddedInfos(const QList< ItemInfo > &infos, const QList< QVariant > &extraValues)
ItemSortSettings sorter
Definition: itemfiltermodel_p.h:107
Definition: itemfiltersettings.h:98
Definition: itemmodel.h:53
Definition: itemsortsettings.h:49
Definition: itemfiltersettings.h:269
Definition: datefolderview.cpp:43
const int PrepareChunkSize
Definition: itemfiltermodel_p.h:50
const int FilterChunkSize
Definition: itemfiltermodel_p.h:51