digiKam
DigikamGenericDNGConverterPlugin::DNGConverterActionThread Class Reference
+ Inheritance diagram for DigikamGenericDNGConverterPlugin::DNGConverterActionThread:

Signals

void signalCancelDNGConverterTask ()
 
void signalFinished (const DigikamGenericDNGConverterPlugin::DNGConverterActionData &ad)
 
void signalStarting (const DigikamGenericDNGConverterPlugin::DNGConverterActionData &ad)
 

Public Member Functions

void cancel ()
 
 DNGConverterActionThread (QObject *const parent)
 
void identifyRawFile (const QUrl &url)
 
void identifyRawFiles (const QList< QUrl > &urlList)
 
int maximumNumberOfThreads () const
 
void processRawFile (const QUrl &url)
 
void processRawFiles (const QList< QUrl > &urlList)
 
void setBackupOriginalRawFile (bool b)
 
void setCompressLossLess (bool b)
 
void setDefaultMaximumNumberOfThreads ()
 
void setMaximumNumberOfThreads (int n)
 
void setPreviewMode (int mode)
 
void setUpdateFileDate (bool b)
 
 ~DNGConverterActionThread ()
 

Protected Slots

void slotJobFinished ()
 

Protected Member Functions

void appendJobs (const ActionJobCollection &jobs)
 
bool isEmpty () const
 
int pendingCount () const
 
void run () override
 

Constructor & Destructor Documentation

◆ DNGConverterActionThread()

DigikamGenericDNGConverterPlugin::DNGConverterActionThread::DNGConverterActionThread ( QObject *const  parent)
explicit

◆ ~DNGConverterActionThread()

DigikamGenericDNGConverterPlugin::DNGConverterActionThread::~DNGConverterActionThread ( )

References cancel().

Member Function Documentation

◆ appendJobs()

void Digikam::ActionThreadBase::appendJobs ( const ActionJobCollection jobs)
protectedinherited

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(), identifyRawFiles(), Digikam::IOJobsThread::listDTrashItems(), DigikamGenericPrintCreatorPlugin::AdvPrintThread::preparePrint(), DigikamGenericPrintCreatorPlugin::AdvPrintThread::preview(), DigikamGenericPrintCreatorPlugin::AdvPrintThread::print(), Digikam::ActionThread::processQueueItems(), processRawFiles(), Digikam::VidSlideThread::processStream(), Digikam::IOJobsThread::renameFile(), DigikamGenericSendByMailPlugin::ImageResizeThread::resize(), Digikam::IOJobsThread::restoreDTrashItems(), Digikam::SearchesDBJobsThread::searchesListing(), DigikamGenericTimeAdjustPlugin::TimeAdjustThread::setPreviewDates(), DigikamGenericTimeAdjustPlugin::TimeAdjustThread::setUpdatedDates(), Digikam::MaintenanceThread::shrinkDatabases(), Digikam::MaintenanceThread::sortByImageQuality(), Digikam::MaintenanceThread::syncMetadata(), and Digikam::TagsDBJobsThread::tagsListing().

◆ cancel()

void DigikamGenericDNGConverterPlugin::DNGConverterActionThread::cancel ( )

◆ identifyRawFile()

void DigikamGenericDNGConverterPlugin::DNGConverterActionThread::identifyRawFile ( const QUrl &  url)

References identifyRawFiles().

◆ identifyRawFiles()

◆ isEmpty()

bool Digikam::ActionThreadBase::isEmpty ( ) const
protectedinherited

Return true if list of pending jobs to process is empty.

Referenced by Digikam::ActionThreadBase::slotJobFinished().

◆ maximumNumberOfThreads()

◆ pendingCount()

int Digikam::ActionThreadBase::pendingCount ( ) const
protectedinherited

Return the number of pending jobs to process.

◆ processRawFile()

void DigikamGenericDNGConverterPlugin::DNGConverterActionThread::processRawFile ( const QUrl &  url)

References processRawFiles().

◆ processRawFiles()

◆ run()

void Digikam::ActionThreadBase::run ( )
overrideprotectedinherited

Main thread loop used to process jobs in todo list.

References Digikam::ActionThreadBase::slotJobFinished().

◆ setBackupOriginalRawFile()

void DigikamGenericDNGConverterPlugin::DNGConverterActionThread::setBackupOriginalRawFile ( bool  b)

◆ setCompressLossLess()

void DigikamGenericDNGConverterPlugin::DNGConverterActionThread::setCompressLossLess ( bool  b)

◆ setDefaultMaximumNumberOfThreads()

void Digikam::ActionThreadBase::setDefaultMaximumNumberOfThreads ( )
inherited

Reset maximum number of threads used to parallelize collection of job processing to max core detected on computer. This method is called in constructor.

References Digikam::ActionThreadBase::setMaximumNumberOfThreads().

Referenced by Digikam::ActionThreadBase::ActionThreadBase(), Digikam::ActionThread::setSettings(), and Digikam::MaintenanceThread::setUseMultiCore().

◆ setMaximumNumberOfThreads()

void Digikam::ActionThreadBase::setMaximumNumberOfThreads ( int  n)
inherited

Adjust maximum number of threads used to parallelize collection of job processing.

Referenced by Digikam::ActionThreadBase::setDefaultMaximumNumberOfThreads(), Digikam::ActionThread::setSettings(), and Digikam::MaintenanceThread::setUseMultiCore().

◆ setPreviewMode()

void DigikamGenericDNGConverterPlugin::DNGConverterActionThread::setPreviewMode ( int  mode)

◆ setUpdateFileDate()

void DigikamGenericDNGConverterPlugin::DNGConverterActionThread::setUpdateFileDate ( bool  b)

◆ signalCancelDNGConverterTask

void DigikamGenericDNGConverterPlugin::DNGConverterActionThread::signalCancelDNGConverterTask ( )
signal

Signal to emit to sub-tasks to cancel processing.

Referenced by cancel(), identifyRawFiles(), and processRawFiles().

◆ signalFinished

void DigikamGenericDNGConverterPlugin::DNGConverterActionThread::signalFinished ( const DigikamGenericDNGConverterPlugin::DNGConverterActionData ad)
signal

◆ signalStarting

void DigikamGenericDNGConverterPlugin::DNGConverterActionThread::signalStarting ( const DigikamGenericDNGConverterPlugin::DNGConverterActionData ad)
signal

◆ slotJobFinished

void Digikam::ActionThreadBase::slotJobFinished ( )
protectedslotinherited

The documentation for this class was generated from the following files: