#include <kis_busy_progress_indicator.h>
◆ KisBusyProgressIndicator()
| KisBusyProgressIndicator::KisBusyProgressIndicator |
( |
KoProgressProxy * | progressProxy | ) |
|
|
explicit |
◆ ~KisBusyProgressIndicator()
| KisBusyProgressIndicator::~KisBusyProgressIndicator |
( |
| ) |
|
|
override |
◆ prepareDestroying()
| void KisBusyProgressIndicator::prepareDestroying |
( |
| ) |
|
To be called when progressProxy is and will be no longer available and this object is going to be deleted as well.
Definition at line 64 of file kis_busy_progress_indicator.cpp.
65{
66 m_d->progressProxy = 0;
67}
References m_d.
◆ sigStartTimer
| void KisBusyProgressIndicator::sigStartTimer |
( |
| ) |
|
|
signal |
◆ slotStartTimer
| void KisBusyProgressIndicator::slotStartTimer |
( |
| ) |
|
|
privateslot |
Call only via emitting sigStartTimer, to ensure it is called in the context of the QObject's thread.
Definition at line 95 of file kis_busy_progress_indicator.cpp.
96{
97 m_d->timerStarted.ref();
99 m_d->startProgressReport();
100}
References m_d.
◆ timerFinished
| void KisBusyProgressIndicator::timerFinished |
( |
| ) |
|
|
privateslot |
Definition at line 69 of file kis_busy_progress_indicator.cpp.
70{
71 int value =
m_d->numUpdates.fetchAndStoreOrdered(0);
72
75
76 if (
m_d->numEmptyTicks > 2) {
77 m_d->timerStarted = 0;
79 m_d->stopProgressReport();
80 }
81 } else {
82 m_d->numEmptyTicks = 0;
83 }
84}
float value(const T *src, size_t ch)
References m_d, and value().
◆ update
| void KisBusyProgressIndicator::update |
( |
| ) |
|
|
slot |
◆ m_d
| const QScopedPointer<Private> KisBusyProgressIndicator::m_d |
|
private |
The documentation for this class was generated from the following files: