◆ MaintenanceThread()
Digikam::MaintenanceThread::MaintenanceThread |
( |
QObject *const |
parent | ) |
|
|
explicit |
◆ ~MaintenanceThread()
Digikam::MaintenanceThread::~MaintenanceThread |
( |
| ) |
|
|
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(), cleanCoreDb(), cleanFacesDb(), cleanSimilarityDb(), cleanThumbsDb(), computeDatabaseJunk(), Digikam::IOJobsThread::copyOrMove(), DigikamGenericFileCopyPlugin::FCThread::createCopyJobs(), DigikamGenericMjpegStreamPlugin::MjpegFrameThread::createFrameJob(), Digikam::DatesDBJobsThread::datesListing(), Digikam::IOJobsThread::deleteFiles(), Digikam::IOJobsThread::emptyDTrashItems(), generateFingerprints(), 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(), Digikam::SearchesDBJobsThread::searchesListing(), DigikamGenericTimeAdjustPlugin::TimeAdjustThread::setPreviewDates(), DigikamGenericTimeAdjustPlugin::TimeAdjustThread::setUpdatedDates(), shrinkDatabases(), sortByImageQuality(), syncMetadata(), and Digikam::TagsDBJobsThread::tagsListing().
◆ cancel()
void Digikam::MaintenanceThread::cancel |
( |
| ) |
|
◆ cleanCoreDb()
void Digikam::MaintenanceThread::cleanCoreDb |
( |
const QList< qlonglong > & |
imageIds | ) |
|
◆ cleanFacesDb()
void Digikam::MaintenanceThread::cleanFacesDb |
( |
const QList< Identity > & |
staleIdentities | ) |
|
◆ cleanSimilarityDb()
void Digikam::MaintenanceThread::cleanSimilarityDb |
( |
const QList< qlonglong > & |
imageIds | ) |
|
◆ cleanThumbsDb()
void Digikam::MaintenanceThread::cleanThumbsDb |
( |
const QList< int > & |
thumbnailIds | ) |
|
◆ computeDatabaseJunk()
void Digikam::MaintenanceThread::computeDatabaseJunk |
( |
bool |
thumbsDb = false , |
|
|
bool |
facesDb = false , |
|
|
bool |
similarityDb = false |
|
) |
| |
◆ generateFingerprints()
void Digikam::MaintenanceThread::generateFingerprints |
( |
const QList< qlonglong > & |
itemIds, |
|
|
bool |
rebuildAll |
|
) |
| |
◆ generateThumbs()
void Digikam::MaintenanceThread::generateThumbs |
( |
const QStringList & |
paths | ) |
|
◆ getThumbFingerprintPath()
QString Digikam::MaintenanceThread::getThumbFingerprintPath |
( |
| ) |
|
◆ 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 cleanCoreDb(), cleanFacesDb(), cleanSimilarityDb(), cleanThumbsDb(), Digikam::IOJobsThread::copyOrMove(), Digikam::IOJobsThread::deleteFiles(), generateFingerprints(), generateThumbs(), Digikam::SearchesDBJobsThread::searchesListing(), sortByImageQuality(), and syncMetadata().
◆ pendingCount()
int Digikam::ActionThreadBase::pendingCount |
( |
| ) |
const |
|
protectedinherited |
Return the number of pending jobs to process.
◆ run()
void Digikam::ActionThreadBase::run |
( |
| ) |
|
|
overrideprotectedinherited |
◆ setDefaultMaximumNumberOfThreads()
void Digikam::ActionThreadBase::setDefaultMaximumNumberOfThreads |
( |
| ) |
|
|
inherited |
◆ setMaximumNumberOfThreads()
void Digikam::ActionThreadBase::setMaximumNumberOfThreads |
( |
int |
n | ) |
|
|
inherited |
◆ setUseMultiCore()
void Digikam::MaintenanceThread::setUseMultiCore |
( |
const bool |
b | ) |
|
◆ shrinkDatabases()
void Digikam::MaintenanceThread::shrinkDatabases |
( |
| ) |
|
◆ signalAddItemsToProcess
void Digikam::MaintenanceThread::signalAddItemsToProcess |
( |
int |
count | ) |
|
|
signal |
◆ signalAdvance [1/2]
void Digikam::MaintenanceThread::signalAdvance |
( |
| ) |
|
|
signal |
◆ signalAdvance [2/2]
void Digikam::MaintenanceThread::signalAdvance |
( |
const QImage & |
| ) |
|
|
signal |
Emit when an item have been processed. QImage can be used to pass item thumbnail processed.
◆ signalCanceled
void Digikam::MaintenanceThread::signalCanceled |
( |
| ) |
|
|
signal |
◆ signalCompleted
void Digikam::MaintenanceThread::signalCompleted |
( |
| ) |
|
|
signal |
Emit when a items list have been fully processed.
◆ signalData
void Digikam::MaintenanceThread::signalData |
( |
const QList< qlonglong > & |
staleImageIds, |
|
|
const QList< int > & |
staleThumbIds, |
|
|
const QList< Identity > & |
staleIdentities, |
|
|
const QList< qlonglong > & |
staleSimilarityImageIds |
|
) |
| |
|
signal |
◆ signalFinished
void Digikam::MaintenanceThread::signalFinished |
( |
bool |
done, |
|
|
bool |
errorFree |
|
) |
| |
|
signal |
Signal to emit after processing with info if the processing was done and if yes, without errors.
Referenced by cleanCoreDb(), cleanFacesDb(), cleanSimilarityDb(), cleanThumbsDb(), computeDatabaseJunk(), generateFingerprints(), generateThumbs(), shrinkDatabases(), sortByImageQuality(), and syncMetadata().
◆ signalStarted
void Digikam::MaintenanceThread::signalStarted |
( |
| ) |
|
|
signal |
◆ slotJobFinished
void Digikam::ActionThreadBase::slotJobFinished |
( |
| ) |
|
|
protectedslotinherited |
◆ sortByImageQuality()
void Digikam::MaintenanceThread::sortByImageQuality |
( |
const QStringList & |
paths, |
|
|
const ImageQualityContainer & |
quality |
|
) |
| |
◆ syncMetadata()
The documentation for this class was generated from the following files: