◆ MetadataTask()
Digikam::MetadataTask::MetadataTask |
( |
| ) |
|
|
explicit |
◆ ~MetadataTask()
Digikam::MetadataTask::~MetadataTask |
( |
| ) |
|
|
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(), Digikam::DatabaseTask::~DatabaseTask(), DigikamGenericFileCopyPlugin::FCTask::~FCTask(), Digikam::FingerprintsTask::~FingerprintsTask(), Digikam::ImageQualityTask::~ImageQualityTask(), ~MetadataTask(), Digikam::ThumbsTask::~ThumbsTask(), DigikamGenericTimeAdjustPlugin::TimeAdjustTask::~TimeAdjustTask(), DigikamGenericTimeAdjustPlugin::TimePreviewTask::~TimePreviewTask(), and Digikam::VidSlideTask::~VidSlideTask().
◆ run()
void Digikam::MetadataTask::run |
( |
| ) |
|
|
overrideprotected |
References Digikam::ItemInfo::filePath(), Digikam::ItemInfo::isNull(), Digikam::MetadataHub::load(), Digikam::ActionJob::m_cancel, Digikam::CollectionScanner::Rescan, Digikam::CollectionScanner::scanFile(), Digikam::ActionJob::signalDone(), signalFinished(), Digikam::MetadataHub::write(), Digikam::MetadataHub::WRITE_ALL, Digikam::MetadataSynchronizer::WriteFromDatabaseToFile, and Digikam::MetadataHub::writeTags().
◆ setDirection()
◆ setMaintenanceData()
void Digikam::MetadataTask::setMaintenanceData |
( |
MaintenanceData *const |
data = nullptr | ) |
|
◆ setTagsOnly()
void Digikam::MetadataTask::setTagsOnly |
( |
bool |
value | ) |
|
◆ 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(), run(), Digikam::ThumbsTask::run(), and Digikam::Task::run().
◆ signalFinished
void Digikam::MetadataTask::signalFinished |
( |
const QImage & |
| ) |
|
|
signal |
◆ signalProgress
void Digikam::ActionJob::signalProgress |
( |
int |
| ) |
|
|
signalinherited |
◆ signalStarted
void Digikam::ActionJob::signalStarted |
( |
| ) |
|
|
signalinherited |
◆ 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(), Digikam::DatabaseTask::run(), Digikam::FingerprintsTask::run(), Digikam::ImageQualityTask::run(), run(), and Digikam::ThumbsTask::run().
The documentation for this class was generated from the following files: