![]() |
digiKam Developer Documentation
Professional Photo Management with the Power of Open Source
|
Inheritance diagram for Digikam::DatabaseTask:Public Types | |
| enum | Mode { Unknown , ComputeDatabaseJunk , CleanCoreDb , CleanThumbsDb , CleanRecognitionDb , CleanSimilarityDb , ShrinkDatabases } |
Signals | |
| void | signalAddItemsToProcess (int count) |
| Signal to emit the count of additional items to process. | |
| void | signalData (const QList< qlonglong > &staleImageIds, const QList< int > &staleThumbIds, const QList< Identity > &staleIdentities, const QList< qlonglong > &staleSimilarityImageIds) |
| void | signalFinished () |
| void | signalFinishedWithFeedback (bool done, bool errorFree) |
Signals inherited from Digikam::ActionJob | |
| void | signalDone () |
| Use this signal in your implementation to inform ActionThreadBase manager the job is done. | |
| void | signalProgress (int) |
| Use this signal in your implementation to inform ActionThreadBase manager the job progress. | |
| void | signalStarted () |
| Use this signal in your implementation to inform ActionThreadBase manager that job is started. | |
Public Member Functions | |
| void | computeDatabaseJunk (bool thumbsDb=false, bool facesDb=false, bool similarityDb=false) |
| void | setMaintenanceData (MaintenanceData *const data=nullptr) |
| void | setMode (Mode mode) |
Public Member Functions inherited from Digikam::ActionJob | |
| ActionJob (QObject *const parent=nullptr) | |
| Constructor which delegate deletion of QRunnable instance to ActionThreadBase, not QThreadPool. | |
| ~ActionJob () override | |
| Re-implement destructor in you implementation. | |
Protected Member Functions | |
| void | run () override |
Additional Inherited Members | |
Public Slots inherited from Digikam::ActionJob | |
| void | cancel () |
| Call this method to cancel job. | |
Public Attributes inherited from Digikam::ActionJob | |
| QElapsedTimer | m_timer |
| Timer to determine the running time of the job. | |
Protected Attributes inherited from Digikam::ActionJob | |
| bool | m_cancel = false |
| You can use this boolean in your implementation to know if job must be canceled. | |