Definition at line 14 of file progressnotifier.cpp.
◆ ProgressNotifierImpl()
qi::ProgressNotifierImpl::ProgressNotifierImpl |
( |
Future< void > |
operationFuture | ) |
|
|
inlineexplicit |
◆ _notifyCanceled()
void qi::ProgressNotifierImpl::_notifyCanceled |
( |
| ) |
|
|
inlineoverride |
◆ _notifyFailed()
void qi::ProgressNotifierImpl::_notifyFailed |
( |
| ) |
|
|
inlineoverride |
◆ _notifyFinished()
void qi::ProgressNotifierImpl::_notifyFinished |
( |
| ) |
|
|
inlineoverride |
◆ _notifyProgressed()
void qi::ProgressNotifierImpl::_notifyProgressed |
( |
double |
newProgress | ) |
|
|
inlineoverride |
◆ _notifyRunning()
void qi::ProgressNotifierImpl::_notifyRunning |
( |
| ) |
|
|
inlineoverride |
◆ _reset()
void qi::ProgressNotifierImpl::_reset |
( |
| ) |
|
|
inlineoverride |
◆ isRunning()
bool qi::ProgressNotifierImpl::isRunning |
( |
| ) |
const |
|
inlineoverridevirtual |
- Returns
- true if the operation associated to this notifier has started and is neither finished nor canceled nor failed yet, false otherwise.
Implements qi::ProgressNotifier.
Definition at line 72 of file progressnotifier.cpp.
◆ notifyCanceled()
void qi::ProgressNotifierImpl::notifyCanceled |
( |
| ) |
|
|
inlineoverridevirtual |
◆ notifyFailed()
void qi::ProgressNotifierImpl::notifyFailed |
( |
| ) |
|
|
inlineoverridevirtual |
◆ notifyFinished()
void qi::ProgressNotifierImpl::notifyFinished |
( |
| ) |
|
|
inlineoverridevirtual |
◆ notifyProgressed()
void qi::ProgressNotifierImpl::notifyProgressed |
( |
double |
newProgress | ) |
|
|
inlineoverridevirtual |
Notify the observers that the operation progressed.
- Parameters
-
newProgress | New value representing the total progress of the operation. By default, uses a range from 0.0 (no work has been done yet) to 1.0 (all work is done). The operation implementation is free to use another range if necessary but should clarify the meaning of this value in its documentation. |
Implements qi::ProgressNotifier.
Definition at line 64 of file progressnotifier.cpp.
◆ notifyRunning()
void qi::ProgressNotifierImpl::notifyRunning |
( |
| ) |
|
|
inlineoverridevirtual |
◆ reset()
void qi::ProgressNotifierImpl::reset |
( |
| ) |
|
|
inlineoverridevirtual |
◆ waitForFinished()
Future<void> qi::ProgressNotifierImpl::waitForFinished |
( |
| ) |
|
|
inlineoverridevirtual |
◆ _opFuture
Future<void> qi::ProgressNotifierImpl::_opFuture |
The documentation for this class was generated from the following file: