25 #ifndef DIGIKAM_LOAD_SAVE_TASK_H
26 #define DIGIKAM_LOAD_SAVE_TASK_H
199 const QString& format);
Definition: dimgloaderobserver.h:41
Definition: loadsavethread.h:51
Definition: loadsavetask.h:46
virtual bool continueQuery()=0
TaskType
Definition: loadsavetask.h:50
@ TaskTypeLoading
Definition: loadsavetask.h:51
@ TaskTypeSaving
Definition: loadsavetask.h:52
virtual ~LoadSaveTask()
Definition: loadsavetask.cpp:45
virtual void progressInfo(float progress)=0
LoadSaveThread * m_thread
Definition: loadsavetask.h:70
LoadSaveTask(LoadSaveThread *const thread)
Definition: loadsavetask.cpp:40
virtual TaskType type()=0
Definition: loadsavethread.h:103
AccessMode
Definition: loadsavethread.h:127
@ AccessModeReadWrite
Definition: loadsavethread.h:135
Definition: loadingdescription.h:45
Definition: loadingcache.h:43
Definition: loadingcache.h:63
Definition: loadsavetask.h:83
LoadingTaskStatus status() const
Definition: loadsavetask.cpp:64
QString filePath() const
Definition: loadsavetask.cpp:69
bool continueQuery() override
Definition: loadsavetask.cpp:109
const LoadingDescription & loadingDescription() const
Definition: loadsavetask.cpp:74
void setStatus(LoadingTaskStatus status)
Definition: loadsavetask.cpp:114
LoadingTask(LoadSaveThread *const thread, const LoadingDescription &description, LoadingTaskStatus loadingTaskStatus=LoadingTaskStatusLoading)
Definition: loadsavetask.cpp:51
TaskType type() override
Definition: loadsavetask.cpp:93
~LoadingTask() override
Definition: loadsavetask.cpp:60
LoadingTaskStatus
Definition: loadsavetask.h:87
@ LoadingTaskStatusPreloading
Definition: loadsavetask.h:89
@ LoadingTaskStatusLoading
Definition: loadsavetask.h:88
@ LoadingTaskStatusStopping
Definition: loadsavetask.h:90
void execute() override
Definition: loadsavetask.cpp:79
volatile LoadingTaskStatus m_loadingTaskStatus
Definition: loadsavetask.h:120
LoadingDescription m_loadingDescription
Definition: loadsavetask.h:119
void progressInfo(float progress) override
Definition: loadsavetask.cpp:98
Definition: loadsavetask.h:185
SavingTaskStatus status() const
Definition: loadsavetask.cpp:488
SavingTask(LoadSaveThread *const thread, const DImg &img, const QString &filePath, const QString &format)
Definition: loadsavetask.cpp:476
QString filePath() const
Definition: loadsavetask.cpp:493
TaskType type() override
Definition: loadsavetask.cpp:506
void setStatus(SavingTaskStatus status)
Definition: loadsavetask.cpp:524
bool continueQuery() override
Definition: loadsavetask.cpp:519
void progressInfo(float progress) override
Definition: loadsavetask.cpp:511
void execute() override
Definition: loadsavetask.cpp:498
SavingTaskStatus
Definition: loadsavetask.h:189
@ SavingTaskStatusSaving
Definition: loadsavetask.h:190
@ SavingTaskStatusStopping
Definition: loadsavetask.h:191
Definition: loadsavetask.h:134
LoadSaveNotifier * loadSaveNotifier() const override
Definition: loadsavetask.cpp:459
QString cacheKey() const override
Definition: loadsavetask.cpp:413
void progressInfo(float progress) override
Definition: loadsavetask.cpp:388
void removeListener(LoadingProcessListener *const listener) override
Definition: loadsavetask.cpp:423
bool querySendNotifyEvent() const override
Definition: loadsavetask.cpp:454
void execute() override
Definition: loadsavetask.cpp:133
SharedLoadingTask(LoadSaveThread *const thread, const LoadingDescription &description, LoadSaveThread::AccessMode mode=LoadSaveThread::AccessModeReadWrite, LoadingTaskStatus loadingTaskStatus=LoadingTaskStatusLoading)
Definition: loadsavetask.cpp:121
LoadSaveThread::AccessMode accessMode() const override
Definition: loadsavetask.cpp:464
DImg m_img
Definition: loadsavetask.h:172
bool completed() const override
Definition: loadsavetask.cpp:408
LoadSaveThread::AccessMode m_accessMode
Definition: loadsavetask.h:170
bool needsPostProcessing() const
Definition: loadsavetask.cpp:336
QList< LoadingProcessListener * > m_listeners
Definition: loadsavetask.h:171
DImg img() const
Definition: loadsavetask.cpp:469
void addListener(LoadingProcessListener *const listener) override
Definition: loadsavetask.cpp:418
void setResult(const LoadingDescription &loadingDescription, const DImg &img) override
Definition: loadsavetask.cpp:322
virtual void postProcess()
Definition: loadsavetask.cpp:341
volatile bool m_completed
Definition: loadsavetask.h:169
void notifyNewLoadingProcess(LoadingProcess *const process, const LoadingDescription &description) override
Definition: loadsavetask.cpp:428
Definition: piwigotalker.h:48
Definition: datefolderview.cpp:43