![]() |
digiKam Developer Documentation
Professional Photo Management with the Power of Open Source
|
Inheritance diagram for Digikam::ActionJob:Public Slots | |
| void | cancel () |
| Call this method to cancel job. | |
Signals | |
| void | signalDone () |
| Use this signal in your implementation to inform ActionThreadBase manager the job is done. | |
| void | signalProgress (int) |
| Use this signal in your implementation to inform ActionThreadBase manager the job progress. | |
| void | signalStarted () |
| Use this signal in your implementation to inform ActionThreadBase manager that job is started. | |
Public Member Functions | |
| ActionJob (QObject *const parent=nullptr) | |
| Constructor which delegate deletion of QRunnable instance to ActionThreadBase, not QThreadPool. | |
| ~ActionJob () override | |
| Re-implement destructor in you implementation. | |
Public Attributes | |
| QElapsedTimer | m_timer |
| Timer to determine the running time of the job. | |
Protected Attributes | |
| bool | m_cancel = false |
| You can use this boolean in your implementation to know if job must be canceled. | |
|
override |
Don't forget to cancel job.