◆ Mode
Enumerator |
---|
Unknown | |
ComputeDatabaseJunk | |
CleanCoreDb | |
CleanThumbsDb | |
CleanRecognitionDb | |
CleanSimilarityDb | |
ShrinkDatabases | |
◆ DatabaseTask()
Digikam::DatabaseTask::DatabaseTask |
( |
| ) |
|
|
explicit |
◆ ~DatabaseTask()
Digikam::DatabaseTask::~DatabaseTask |
( |
| ) |
|
|
override |
◆ cancel
void Digikam::ActionJob::cancel |
( |
| ) |
|
|
slotinherited |
Call this method to cancel job.
References Digikam::ActionJob::m_cancel.
Referenced by Digikam::ActionThreadBase::cancel(), Digikam::ActionJob::~ActionJob(), DigikamGenericPrintCreatorPlugin::AdvPrintTask::~AdvPrintTask(), ~DatabaseTask(), DigikamGenericFileCopyPlugin::FCTask::~FCTask(), Digikam::FingerprintsTask::~FingerprintsTask(), Digikam::ImageQualityTask::~ImageQualityTask(), Digikam::MetadataTask::~MetadataTask(), Digikam::ThumbsTask::~ThumbsTask(), DigikamGenericTimeAdjustPlugin::TimeAdjustTask::~TimeAdjustTask(), DigikamGenericTimeAdjustPlugin::TimePreviewTask::~TimePreviewTask(), and Digikam::VidSlideTask::~VidSlideTask().
◆ computeDatabaseJunk()
void Digikam::DatabaseTask::computeDatabaseJunk |
( |
bool |
thumbsDb = false , |
|
|
bool |
facesDb = false , |
|
|
bool |
similarityDb = false |
|
) |
| |
◆ run()
void Digikam::DatabaseTask::run |
( |
| ) |
|
|
overrideprotected |
References Digikam::FacialRecognitionWrapper::allIdentities(), Digikam::FaceTagsEditor::databaseFaces(), Digikam::CoreDbAccess::db(), Digikam::SimilarityDbAccess::db(), Digikam::ThumbsDbAccess::db(), Digikam::TagPropertyName::faceEngineUuid(), Digikam::FaceUtils::faceRectDisplayMargin(), Digikam::ItemInfo::filePath(), Digikam::ItemInfo::fileSize(), Digikam::ThumbsDb::findAll(), Digikam::CoreDB::getObsoleteItemIds(), Digikam::CoreDB::getTagProperties(), Digikam::SimilarityDbAccess::isInitialized(), Digikam::ThumbsDbAccess::isInitialized(), Digikam::ItemInfo::isNull(), Digikam::ActionJob::m_cancel, Digikam::FaceTagsIface::region(), signalAddItemsToProcess(), signalFinished(), Digikam::ActionJob::signalStarted(), Digikam::TagRegion::toRect(), Digikam::ItemInfo::uniqueHash(), Digikam::CoreDB::vacuum(), Digikam::SimilarityDb::vacuum(), Digikam::ThumbsDb::vacuum(), Digikam::FacialRecognitionWrapper::vacuum(), and Digikam::TagProperty::value.
◆ setMaintenanceData()
void Digikam::DatabaseTask::setMaintenanceData |
( |
MaintenanceData *const |
data = nullptr | ) |
|
◆ setMode()
void Digikam::DatabaseTask::setMode |
( |
Mode |
mode | ) |
|
◆ signalAddItemsToProcess
void Digikam::DatabaseTask::signalAddItemsToProcess |
( |
int |
count | ) |
|
|
signal |
Signal to emit the count of additional items to process.
Referenced by run().
◆ signalData
void Digikam::DatabaseTask::signalData |
( |
const QList< qlonglong > & |
staleImageIds, |
|
|
const QList< int > & |
staleThumbIds, |
|
|
const QList< Identity > & |
staleIdentities, |
|
|
const QList< qlonglong > & |
staleSimilarityImageIds |
|
) |
| |
|
signal |
◆ signalDone
void Digikam::ActionJob::signalDone |
( |
| ) |
|
|
signalinherited |
Use this signal in your implementation to inform ActionThreadBase manager the job is done.
Referenced by DigikamGenericDNGConverterPlugin::DNGConverterTask::run(), DigikamGenericTimeAdjustPlugin::TimeAdjustTask::run(), DigikamGenericTimeAdjustPlugin::TimePreviewTask::run(), DigikamGenericFileCopyPlugin::FCTask::run(), Digikam::AlbumsJob::run(), Digikam::DatesJob::run(), Digikam::GPSJob::run(), Digikam::TagsJob::run(), Digikam::CopyOrMoveJob::run(), Digikam::DeleteJob::run(), Digikam::RenameFileJob::run(), Digikam::DTrashItemsListingJob::run(), Digikam::RestoreDTrashItemsJob::run(), Digikam::EmptyDTrashItemsJob::run(), Digikam::VidSlideTask::run(), Digikam::FingerprintsTask::run(), Digikam::ImageQualityTask::run(), Digikam::MetadataTask::run(), Digikam::ThumbsTask::run(), and Digikam::Task::run().
◆ signalFinished [1/2]
void Digikam::DatabaseTask::signalFinished |
( |
| ) |
|
|
signal |
◆ signalFinished [2/2]
void Digikam::DatabaseTask::signalFinished |
( |
bool |
done, |
|
|
bool |
errorFree |
|
) |
| |
|
signal |
◆ signalProgress
void Digikam::ActionJob::signalProgress |
( |
int |
| ) |
|
|
signalinherited |
◆ signalStarted
void Digikam::ActionJob::signalStarted |
( |
| ) |
|
|
signalinherited |
Use this signal in your implementation to inform ActionThreadBase manager that job is started
Referenced by run().
◆ m_cancel
bool Digikam::ActionJob::m_cancel |
|
protectedinherited |
You can use this boolean in your implementation to know if job must be canceled.
Referenced by Digikam::ActionJob::cancel(), Digikam::SearchesJob::isCanceled(), DigikamGenericTimeAdjustPlugin::TimeAdjustTask::run(), DigikamGenericTimeAdjustPlugin::TimePreviewTask::run(), DigikamGenericFileCopyPlugin::FCTask::run(), Digikam::CopyOrMoveJob::run(), Digikam::DeleteJob::run(), Digikam::RenameFileJob::run(), Digikam::VidSlideTask::run(), run(), Digikam::FingerprintsTask::run(), Digikam::ImageQualityTask::run(), Digikam::MetadataTask::run(), and Digikam::ThumbsTask::run().
The documentation for this class was generated from the following files: