QGIS API Documentation 3.43.0-Master (b60ef06885e)
|
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 99 of file qgsproxyprogresstask.h.
QgsScopedProxyProgressTask::QgsScopedProxyProgressTask | ( | const QString & | description | ) |
Constructor for QgsScopedProxyProgressTask, with the specified description.
Definition at line 67 of file qgsproxyprogresstask.cpp.
|
delete |
QgsScopedProxyProgressTask::~QgsScopedProxyProgressTask | ( | ) |
Definition at line 73 of file qgsproxyprogresstask.cpp.
|
delete |
void QgsScopedProxyProgressTask::setProgress | ( | double | progress | ) |
Sets the progress (from 0 to 100) for the proxied operation.
Definition at line 78 of file qgsproxyprogresstask.cpp.