◆ ActionJob()
Digikam::ActionJob::ActionJob |
( |
QObject *const |
parent = nullptr | ) |
|
|
explicit |
Constructor which delegate deletion of QRunnable instance to ActionThreadBase, not QThreadPool.
◆ ~ActionJob()
Digikam::ActionJob::~ActionJob |
( |
| ) |
|
|
override |
Re-implement destructor in you implementation. Don't forget to cancel job.
References cancel().
◆ cancel
void Digikam::ActionJob::cancel |
( |
| ) |
|
|
slot |
Call this method to cancel job.
References m_cancel.
Referenced by Digikam::ActionThreadBase::cancel(), ~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().
◆ signalDone
void Digikam::ActionJob::signalDone |
( |
| ) |
|
|
signal |
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().
◆ signalProgress
void Digikam::ActionJob::signalProgress |
( |
int |
| ) |
|
|
signal |
◆ signalStarted
void Digikam::ActionJob::signalStarted |
( |
| ) |
|
|
signal |
◆ m_cancel
bool Digikam::ActionJob::m_cancel |
|
protected |
You can use this boolean in your implementation to know if job must be canceled.
Referenced by 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: