◆ SearchesDBJobsThread()
Digikam::SearchesDBJobsThread::SearchesDBJobsThread |
( |
QObject *const |
parent | ) |
|
|
explicit |
◆ ~SearchesDBJobsThread()
Digikam::SearchesDBJobsThread::~SearchesDBJobsThread |
( |
| ) |
|
|
override |
◆ appendJobs()
Append a collection of jobs to process into QThreadPool. Jobs are add to pending lists and will be deleted by ActionThreadBase, not QThreadPool.
Referenced by Digikam::AlbumsDBJobsThread::albumsListing(), Digikam::MaintenanceThread::cleanCoreDb(), Digikam::MaintenanceThread::cleanFacesDb(), Digikam::MaintenanceThread::cleanSimilarityDb(), Digikam::MaintenanceThread::cleanThumbsDb(), Digikam::MaintenanceThread::computeDatabaseJunk(), Digikam::IOJobsThread::copyOrMove(), DigikamGenericFileCopyPlugin::FCThread::createCopyJobs(), DigikamGenericMjpegStreamPlugin::MjpegFrameThread::createFrameJob(), Digikam::DatesDBJobsThread::datesListing(), Digikam::IOJobsThread::deleteFiles(), Digikam::IOJobsThread::emptyDTrashItems(), Digikam::MaintenanceThread::generateFingerprints(), Digikam::MaintenanceThread::generateThumbs(), Digikam::GPSDBJobsThread::GPSListing(), DigikamGenericDNGConverterPlugin::DNGConverterActionThread::identifyRawFiles(), Digikam::IOJobsThread::listDTrashItems(), DigikamGenericPrintCreatorPlugin::AdvPrintThread::preparePrint(), DigikamGenericPrintCreatorPlugin::AdvPrintThread::preview(), DigikamGenericPrintCreatorPlugin::AdvPrintThread::print(), Digikam::ActionThread::processQueueItems(), DigikamGenericDNGConverterPlugin::DNGConverterActionThread::processRawFiles(), Digikam::VidSlideThread::processStream(), Digikam::IOJobsThread::renameFile(), DigikamGenericSendByMailPlugin::ImageResizeThread::resize(), Digikam::IOJobsThread::restoreDTrashItems(), searchesListing(), DigikamGenericTimeAdjustPlugin::TimeAdjustThread::setPreviewDates(), DigikamGenericTimeAdjustPlugin::TimeAdjustThread::setUpdatedDates(), Digikam::MaintenanceThread::shrinkDatabases(), Digikam::MaintenanceThread::sortByImageQuality(), Digikam::MaintenanceThread::syncMetadata(), and Digikam::TagsDBJobsThread::tagsListing().
◆ cancel()
void Digikam::ActionThreadBase::cancel |
( |
| ) |
|
|
inherited |
◆ connectFinishAndErrorSignals()
void Digikam::DBJobsThread::connectFinishAndErrorSignals |
( |
DBJob *const |
j | ) |
|
|
protectedinherited |
◆ data
◆ error
void Digikam::DBJobsThread::error |
( |
const QString & |
errString | ) |
|
|
slotinherited |
◆ errorsList()
QList< QString > & Digikam::DBJobsThread::errorsList |
( |
| ) |
|
|
inherited |
A method to get all errors reported from jobs.
- Returns
- String list with errors
◆ finished
void Digikam::DBJobsThread::finished |
( |
| ) |
|
|
signalinherited |
◆ hasErrors()
bool Digikam::DBJobsThread::hasErrors |
( |
| ) |
|
|
inherited |
hasErrors: a method to check for jobs errors
- Returns
- bool: true if the error list is not empty
◆ isEmpty()
bool Digikam::ActionThreadBase::isEmpty |
( |
| ) |
const |
|
protectedinherited |
◆ maximumNumberOfThreads()
int Digikam::ActionThreadBase::maximumNumberOfThreads |
( |
| ) |
const |
|
inherited |
Return the maximum number of threads used to parallelize collection of job processing.
Referenced by Digikam::MaintenanceThread::cleanCoreDb(), Digikam::MaintenanceThread::cleanFacesDb(), Digikam::MaintenanceThread::cleanSimilarityDb(), Digikam::MaintenanceThread::cleanThumbsDb(), Digikam::IOJobsThread::copyOrMove(), Digikam::IOJobsThread::deleteFiles(), Digikam::MaintenanceThread::generateFingerprints(), Digikam::MaintenanceThread::generateThumbs(), searchesListing(), Digikam::MaintenanceThread::sortByImageQuality(), and Digikam::MaintenanceThread::syncMetadata().
◆ pendingCount()
int Digikam::ActionThreadBase::pendingCount |
( |
| ) |
const |
|
protectedinherited |
Return the number of pending jobs to process.
◆ run()
void Digikam::ActionThreadBase::run |
( |
| ) |
|
|
overrideprotectedinherited |
◆ searchesListing()
void Digikam::SearchesDBJobsThread::searchesListing |
( |
const SearchesDBJobInfo & |
info | ) |
|
Starts searches listing and scanning.
- Parameters
-
info | represents the searches job info |
References Digikam::ActionThreadBase::appendJobs(), Digikam::DBJobsThread::connectFinishAndErrorSignals(), Digikam::DBJobsThread::data(), Digikam::SearchesDBJobInfo::imageIds(), Digikam::SearchesDBJobInfo::isAlbumUpdate(), Digikam::SearchesDBJobInfo::isDuplicatesJob(), Digikam::ActionThreadBase::maximumNumberOfThreads(), Digikam::SearchesJob::signalDuplicatesResults(), Digikam::SearchesJob::signalImageProcessed(), slotDuplicatesResults(), and slotImageProcessed().
Referenced by Digikam::DBJobsManager::startSearchesJobThread().
◆ setDefaultMaximumNumberOfThreads()
void Digikam::ActionThreadBase::setDefaultMaximumNumberOfThreads |
( |
| ) |
|
|
inherited |
◆ setMaximumNumberOfThreads()
void Digikam::ActionThreadBase::setMaximumNumberOfThreads |
( |
int |
n | ) |
|
|
inherited |
◆ signalProgress
void Digikam::SearchesDBJobsThread::signalProgress |
( |
int |
percentage | ) |
|
|
signal |
◆ slotDuplicatesResults
◆ slotImageProcessed
void Digikam::SearchesDBJobsThread::slotImageProcessed |
( |
| ) |
|
|
slot |
◆ slotJobFinished
void Digikam::ActionThreadBase::slotJobFinished |
( |
| ) |
|
|
protectedslotinherited |
The documentation for this class was generated from the following files: