◆ DeactivatingMode
Enumerator |
---|
FlushSignals | Already sent signals are cleared.
|
KeepSignals | The thread is stopped, but already sent signals remain in the queue.
|
PhaseOut | The thread is stopped when all signals emitted until now have been processed.
|
◆ State
Enumerator |
---|
Inactive | |
Scheduled | |
Running | |
Deactivating | |
◆ ItemFilterModelPreparer()
◆ aboutToDeactivate()
void Digikam::WorkerObject::aboutToDeactivate |
( |
| ) |
|
|
protectedvirtualinherited |
◆ aboutToQuitLoop()
void Digikam::WorkerObject::aboutToQuitLoop |
( |
| ) |
|
|
protectedvirtualinherited |
Called from within thread's event loop to quit processing. Quit any blocking operation. Immediately afterwards, the event loop will be quit.
Referenced by Digikam::WorkerObject::event().
◆ addRunnable()
◆ checkVersion()
◆ connectAndSchedule() [1/2]
bool Digikam::WorkerObject::connectAndSchedule |
( |
const QObject * |
sender, |
|
|
const char * |
signal, |
|
|
const char * |
method, |
|
|
Qt::ConnectionType |
type = Qt::AutoConnection |
|
) |
| const |
|
inherited |
◆ connectAndSchedule() [2/2]
bool Digikam::WorkerObject::connectAndSchedule |
( |
const QObject * |
sender, |
|
|
const char * |
signal, |
|
|
const WorkerObject * |
receiver, |
|
|
const char * |
method, |
|
|
Qt::ConnectionType |
type = Qt::AutoConnection |
|
) |
| |
|
staticinherited |
◆ deactivate
Quits execution of this worker object. If mode is FlushSignals, all already emitted signals will be cleared. If mode is KeepSignals, already emitted signals are not cleared and will be kept in the event queue until destruction or schedule() is called. If mode is PhaseOut, already emitted signals will be processed and the thread quit immediately afterwards.
References Digikam::WorkerObject::aboutToDeactivate(), Digikam::WorkerObject::Deactivating, Digikam::WorkerObject::FlushSignals, Digikam::WorkerObject::Inactive, Digikam::WorkerObject::KeepSignals, Digikam::WorkerObject::Running, and Digikam::WorkerObject::Scheduled.
Referenced by Digikam::FileActionMngr::shutDown(), Digikam::WorkerObject::shutDown(), and Digikam::FacePipeline::Private::stop().
◆ discarded
◆ disconnectAndSchedule()
bool Digikam::WorkerObject::disconnectAndSchedule |
( |
const QObject * |
sender, |
|
|
const char * |
signal, |
|
|
const WorkerObject * |
receiver, |
|
|
const char * |
method |
|
) |
| |
|
staticinherited |
◆ event()
bool Digikam::WorkerObject::event |
( |
QEvent * |
e | ) |
|
|
overrideprotectedinherited |
◆ finished
void Digikam::WorkerObject::finished |
( |
| ) |
|
|
signalinherited |
◆ priority()
QThread::Priority Digikam::WorkerObject::priority |
( |
| ) |
const |
|
inherited |
◆ process()
◆ processed
◆ removeRunnable()
◆ run()
void Digikam::WorkerObject::run |
( |
| ) |
|
|
protectedinherited |
◆ schedule
void Digikam::WorkerObject::schedule |
( |
| ) |
|
|
slotinherited |
◆ setEventLoop()
void Digikam::WorkerObject::setEventLoop |
( |
QEventLoop * |
loop | ) |
|
|
protectedinherited |
◆ setPriority()
void Digikam::WorkerObject::setPriority |
( |
QThread::Priority |
priority | ) |
|
|
inherited |
◆ shutDown()
void Digikam::WorkerObject::shutDown |
( |
| ) |
|
|
protectedinherited |
If you are deleting data in your destructor which is accessed from the thread, do one of the following from your destructor to guarantee a safe shutdown: 1) Call this method 2) Call stop() and wait(), knowing that nothing will call start() anymore after this 3) Be sure the thread will never be running at destruction. Note: This irrevocably stops this object. Note: It is not sufficient that your parent class does this. Calling this method, or providing one of the above mentioned equivalent guarantees, must be done by every single last class in the hierarchy with an implemented destructor deleting data. (the base class destructor is always called after the derived class)
References Digikam::WorkerObject::deactivate(), Digikam::WorkerObject::PhaseOut, and Digikam::WorkerObject::wait().
Referenced by Digikam::WorkerObject::~WorkerObject().
◆ started
void Digikam::WorkerObject::started |
( |
| ) |
|
|
signalinherited |
◆ state()
Referenced by Digikam::FileActionMngrDatabaseWorker::applyMetadata(), Digikam::FileActionMngrDatabaseWorker::assignColorLabel(), Digikam::FileActionMngrDatabaseWorker::assignPickLabel(), Digikam::FileActionMngrDatabaseWorker::assignRating(), Digikam::FileActionMngrDatabaseWorker::copyAttributes(), Digikam::FileActionMngrDatabaseWorker::editGroup(), Digikam::FileActionMngrDatabaseWorker::setExifOrientation(), Digikam::FileActionMngrFileWorker::transform(), Digikam::FileActionMngrFileWorker::writeMetadata(), Digikam::FileActionMngrFileWorker::writeMetadataToFiles(), and Digikam::FileActionMngrFileWorker::writeOrientationToFiles().
◆ transitionToInactive()
void Digikam::WorkerObject::transitionToInactive |
( |
| ) |
|
|
protectedinherited |
◆ transitionToRunning()
bool Digikam::WorkerObject::transitionToRunning |
( |
| ) |
|
|
protectedinherited |
◆ wait()
void Digikam::WorkerObject::wait |
( |
| ) |
|
|
inherited |
The documentation for this class was generated from the following files: