|
QGIS API Documentation 4.0.0-Norrköping (1ddcee3d0e4)
|
A QgsProxyProgressTask with automatic lifetime. More...
#include <qgsproxyprogresstask.h>
Public Member Functions | |
| QgsScopedProxyProgressTask (const QgsScopedProxyProgressTask &other)=delete | |
| QgsScopedProxyProgressTask (const QString &description) | |
| Constructor for QgsScopedProxyProgressTask, with the specified description. | |
| ~QgsScopedProxyProgressTask () | |
| QgsScopedProxyProgressTask & | operator= (const QgsScopedProxyProgressTask &other)=delete |
| void | setProgress (double progress) |
| Sets the progress (from 0 to 100) for the proxied operation. | |
A QgsProxyProgressTask with automatic lifetime.
QgsScopedProxyProgressTask implements a QgsProxyProgressTask which automatically adds the proxy task to the application task manager on construction and finalizes the task when it goes out of scope.
Definition at line 96 of file qgsproxyprogresstask.h.
| QgsScopedProxyProgressTask::QgsScopedProxyProgressTask | ( | const QString & | description | ) |
Constructor for QgsScopedProxyProgressTask, with the specified description.
Definition at line 69 of file qgsproxyprogresstask.cpp.
|
delete |
| QgsScopedProxyProgressTask::~QgsScopedProxyProgressTask | ( | ) |
Definition at line 75 of file qgsproxyprogresstask.cpp.
|
delete |
| void QgsScopedProxyProgressTask::setProgress | ( | double | progress | ) |
Sets the progress (from 0 to 100) for the proxied operation.
Definition at line 80 of file qgsproxyprogresstask.cpp.