24 #ifndef DIGIKAM_FILE_ACTION_IMAGE_INFO_LIST_H
25 #define DIGIKAM_FILE_ACTION_IMAGE_INFO_LIST_H
29 #include <QAtomicPointer>
31 #include <QExplicitlySharedDataPointer>
72 void advance(QAtomicPointer<ProgressItem>& ptr,
int n);
88 void written(
int numberOfInfos);
134 const QString& action,
153 const QString& action,
172 QExplicitlySharedDataPointer<FileActionProgressItemContainer>
container;
Definition: fileactionimageinfolist.h:104
void schedulingForWrite(int numberOfInfos, const QString &action, FileActionProgressItemCreator *const creator) const
db worker calls this before sending to file worker
Definition: fileactionimageinfolist.h:152
void schedulingForDB(const QString &action, FileActionProgressItemCreator *const creator)
Definition: fileactionimageinfolist.h:140
FileActionProgressItemContainer * progress() const
Definition: fileactionimageinfolist.h:127
FileActionItemInfoList()
Definition: fileactionimageinfolist.h:107
void finishedWriting() const
Definition: fileactionimageinfolist.h:168
FileActionItemInfoList(const FileActionItemInfoList ©)
Definition: fileactionimageinfolist.h:111
void schedulingForWrite(const QString &action, FileActionProgressItemCreator *const creator) const
Definition: fileactionimageinfolist.h:159
QExplicitlySharedDataPointer< FileActionProgressItemContainer > container
Definition: fileactionimageinfolist.h:172
static FileActionItemInfoList create(const QList< ItemInfo > &list)
Definition: fileactionimageinfolist.cpp:123
void dbProcessedOne() const
db worker progress info
Definition: fileactionimageinfolist.h:147
void writtenToOne() const
file worker calls this when finished
Definition: fileactionimageinfolist.h:166
void dbFinished() const
Definition: fileactionimageinfolist.h:149
void written(int numberOfInfos) const
Definition: fileactionimageinfolist.h:167
~FileActionItemInfoList()
Definition: fileactionimageinfolist.h:117
static FileActionItemInfoList continueTask(const QList< ItemInfo > &list, FileActionProgressItemContainer *const container)
Definition: fileactionimageinfolist.cpp:132
void schedulingForDB(int numberOfInfos, const QString &action, FileActionProgressItemCreator *const creator)
before sending to db worker
Definition: fileactionimageinfolist.h:133
void dbProcessed(int numberOfInfos) const
Definition: fileactionimageinfolist.h:148
Definition: fileactionimageinfolist.h:78
FileActionProgressItemContainer()
Definition: fileactionimageinfolist.cpp:78
void schedulingForDB(int numberOfInfos, const QString &action, FileActionProgressItemCreator *const creator)
Definition: fileactionimageinfolist.cpp:82
void dbProcessed(int numberOfInfos)
Definition: fileactionimageinfolist.cpp:89
void signalWrittingDone()
void dbFinished()
Definition: fileactionimageinfolist.cpp:94
void schedulingForWrite(int numberOfInfos, const QString &action, FileActionProgressItemCreator *const creator)
Definition: fileactionimageinfolist.cpp:101
void written(int numberOfInfos)
Definition: fileactionimageinfolist.cpp:111
void finishedWriting()
Definition: fileactionimageinfolist.cpp:116
Definition: fileactionimageinfolist.h:43
virtual ~FileActionProgressItemCreator()=default
virtual ProgressItem * createProgressItem(const QString &action) const =0
virtual void addProgressItem(ProgressItem *const item)=0
FileActionProgressItemCreator()=default
Definition: iteminfo.h:78
Definition: progressmanager.h:45
Definition: fileactionimageinfolist.h:59
QAtomicPointer< ProgressItem > secondItem
Definition: fileactionimageinfolist.h:63
void advance(QAtomicPointer< ProgressItem > &ptr, int n)
Definition: fileactionimageinfolist.cpp:65
void scheduleOnProgressItem(QAtomicPointer< ProgressItem > &ptr, int total, const QString &action, FileActionProgressItemCreator *const creator)
Definition: fileactionimageinfolist.cpp:38
QAtomicPointer< ProgressItem > firstItem
Definition: fileactionimageinfolist.h:62
Definition: piwigotalker.h:48
Definition: datefolderview.cpp:43