◆ Task()
◆ ~Task()
◆ 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(), Digikam::MetadataTask::~MetadataTask(), Digikam::ThumbsTask::~ThumbsTask(), DigikamGenericTimeAdjustPlugin::TimeAdjustTask::~TimeAdjustTask(), DigikamGenericTimeAdjustPlugin::TimePreviewTask::~TimePreviewTask(), and Digikam::VidSlideTask::~VidSlideTask().
◆ run()
void Digikam::Task::run |
( |
| ) |
|
|
overrideprotected |
References Digikam::ActionData::BatchCanceled, Digikam::ActionData::BatchDone, Digikam::ActionData::BatchFailed, Digikam::ActionData::BatchSkipped, Digikam::ActionData::BatchStarted, Digikam::BatchTool::clone(), Digikam::BatchTool::CustomTool, Digikam::FileSaveConflictBox::DIFFNAME, Digikam::BatchToolsFactory::findTool(), Digikam::ItemInfo::fromUrl(), Digikam::DFileOperations::getUniqueFileUrl(), Digikam::BatchToolSet::group, Digikam::MetaEngine::hasSidecar(), Digikam::BatchToolSet::index, Digikam::BatchToolsFactory::instance(), Digikam::DFileOperations::localFileRename(), Digikam::BatchToolSet::name, Digikam::FileSaveConflictBox::OVERWRITE, Digikam::BatchToolSet::settings, Digikam::MetaEngine::sidecarPath(), Digikam::ActionJob::signalDone(), Digikam::BatchTool::toolDescription(), Digikam::BatchTool::toolIcon(), and Digikam::BatchTool::toolTitle().
◆ setItem()
◆ setSettings()
void Digikam::Task::setSettings |
( |
const QueueSettings & |
settings | ) |
|
◆ 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 run().
◆ signalFinished
◆ signalProgress
void Digikam::ActionJob::signalProgress |
( |
int |
| ) |
|
|
signalinherited |
◆ signalStarted
void Digikam::ActionJob::signalStarted |
( |
| ) |
|
|
signalinherited |
◆ signalStarting
◆ slotCancel
void Digikam::Task::slotCancel |
( |
| ) |
|
|
slot |
◆ 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(), Digikam::MetadataTask::run(), and Digikam::ThumbsTask::run().
The documentation for this class was generated from the following files:
- core/utilities/queuemanager/manager/task.h
- core/utilities/queuemanager/manager/task.cpp