24 #ifndef DIGIKAM_DYNAMIC_THREAD_H
25 #define DIGIKAM_DYNAMIC_THREAD_H
33 #include <QMutexLocker>
74 virtual void run() = 0;
77 bool isRunning()
const;
78 bool isFinished()
const;
80 void setEmitSignals(
bool emitThem);
89 void setPriority(QThread::Priority priority);
90 QThread::Priority priority()
const;
136 bool runningFlag()
const volatile;
145 QMutex* threadMutex()
const;
152 #if (QT_VERSION > QT_VERSION_CHECK(5, 99, 0))
153 void start(QMutexLocker<QMutex>& locker);
154 void stop(QMutexLocker<QMutex>& locker);
155 void wait(QMutexLocker<QMutex>& locker);
157 void start(QMutexLocker& locker);
158 void stop(QMutexLocker& locker);
159 void wait(QMutexLocker& locker);
170 friend class DynamicThreadPriv;
Definition: dynamicthread.h:43
State
Definition: dynamicthread.h:49
@ Scheduled
Definition: dynamicthread.h:51
@ Running
Definition: dynamicthread.h:52
@ Inactive
Definition: dynamicthread.h:50
Definition: datefolderview.cpp:43