![]() |
digiKam Developer Documentation
Professional Photo Management with the Power of Open Source
|
Inheritance diagram for Digikam::IOJobsThread:Public Slots | |
| void | slotCancel () |
| cancels thread execution | |
Signals | |
| void | collectionTrashItemInfo (const DTrashItemInfo &trashItemInfo) |
| void | signalFinished () |
| void | signalOneProccessed (const QUrl &url) |
| void | signalRenameFailed (const QUrl &url) |
| void | signalTrashCountersMap (const QMap< QString, int > &counterMap) |
Public Member Functions | |
| IOJobsThread (QObject *const parent) | |
| void | buildTrashCounters () |
| creates a job for count trash items from all collections | |
| void | copyOrMove (IOJobData *const data) |
| Starts a number of jobs to copy or move source files to destination. | |
| void | deleteFiles (IOJobData *const data) |
| Starts a number of jobs to delete multiple files. | |
| void | emptyDTrashItems (IOJobData *const data) |
| creates a job for every item to delete from collection trash | |
| QStringList & | errorsList () const |
| bool | hasErrors () const |
| hasErrors | |
| bool | isCanceled () const |
| isCanceled | |
| IOJobData * | jobData () const |
| void | listDTrashItems (const QString &collectionPath) |
| Starts a job for listing trash items in a collection. | |
| void | renameFile (IOJobData *const data) |
| Starts one job to rename a file to a new name. | |
| void | restoreDTrashItems (IOJobData *const data) |
| creates a job for every item to restore back to album | |
Public Member Functions inherited from Digikam::ActionThreadBase | |
| ActionThreadBase (QObject *const parent=nullptr) | |
| void | cancel (bool isCancel=true) |
| Cancel processing of current jobs under progress. | |
| int | maximumNumberOfThreads () const |
| void | setDefaultMaximumNumberOfThreads () |
| Reset maximum number of threads used to parallelize collection of job processing to max core detected on computer. | |
| void | setMaximumNumberOfThreads (int n) |
| Adjust maximum number of threads used to parallelize collection of job processing. | |
Additional Inherited Members | |
Protected Slots inherited from Digikam::ActionThreadBase | |
| virtual void | slotJobFinished () |
Protected Member Functions inherited from Digikam::ActionThreadBase | |
| void | appendJobs (const ActionJobCollection &jobs) |
| Append a collection of jobs to process into QThreadPool. | |
| bool | isEmpty () const |
| int | pendingCount () const |
| void | run () override |
| Main thread loop used to process jobs in todo list. | |
| void Digikam::IOJobsThread::copyOrMove | ( | IOJobData *const | data | ) |
| data | IOJobsData container |
| void Digikam::IOJobsThread::deleteFiles | ( | IOJobData *const | data | ) |
| data | IOJobsData container |
| void Digikam::IOJobsThread::emptyDTrashItems | ( | IOJobData *const | data | ) |
| data | IOJobsData container |
| QStringList & Digikam::IOJobsThread::errorsList | ( | ) | const |
| bool Digikam::IOJobsThread::hasErrors | ( | ) | const |
| bool Digikam::IOJobsThread::isCanceled | ( | ) | const |
| IOJobData * Digikam::IOJobsThread::jobData | ( | ) | const |
| void Digikam::IOJobsThread::listDTrashItems | ( | const QString & | collectionPath | ) |
| collectionPath |
| void Digikam::IOJobsThread::renameFile | ( | IOJobData *const | data | ) |
| data | IOJobsData container |
| void Digikam::IOJobsThread::restoreDTrashItems | ( | IOJobData *const | data | ) |
| data | IOJobsData container |