digiKam
Digikam::ActionJob Class Reference
+ Inheritance diagram for Digikam::ActionJob:

Public Slots

void cancel ()
 

Signals

void signalDone ()
 
void signalProgress (int)
 
void signalStarted ()
 

Public Member Functions

 ActionJob (QObject *const parent=nullptr)
 
 ~ActionJob () override
 

Protected Attributes

bool m_cancel
 

Constructor & Destructor Documentation

◆ 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().

Member Function Documentation

◆ cancel

◆ signalDone

◆ signalProgress

void Digikam::ActionJob::signalProgress ( int  )
signal

Use this signal in your implementation to inform ActionThreadBase manager the job progress

Referenced by Digikam::VidSlideTask::run().

◆ signalStarted

void Digikam::ActionJob::signalStarted ( )
signal

Use this signal in your implementation to inform ActionThreadBase manager that job is started

Referenced by Digikam::DatabaseTask::run().

Member Data Documentation

◆ m_cancel


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