QGIS API Documentation  3.20.0-Odense (decaadbb31)
Public Member Functions | List of all members
QgsScopedProxyProgressTask Class Reference

Scoped QgsScopedProxyProgressTask, which automatically adds the proxy task to the application task manager on construction and finalizes the task when it goes out of scope. More...

#include <qgsproxyprogresstask.h>

Public Member Functions

 QgsScopedProxyProgressTask (const QString &description)
 Constructor for QgsScopedProxyProgressTask, with the specified description. More...
 
 ~QgsScopedProxyProgressTask ()
 
void setProgress (double progress)
 Sets the progress (from 0 to 100) for the proxied operation. More...
 

Detailed Description

Scoped QgsScopedProxyProgressTask, which automatically adds the proxy task to the application task manager on construction and finalizes the task when it goes out of scope.

Since
QGIS 3.4

Definition at line 83 of file qgsproxyprogresstask.h.

Constructor & Destructor Documentation

◆ QgsScopedProxyProgressTask()

QgsScopedProxyProgressTask::QgsScopedProxyProgressTask ( const QString &  description)

Constructor for QgsScopedProxyProgressTask, with the specified description.

Definition at line 56 of file qgsproxyprogresstask.cpp.

◆ ~QgsScopedProxyProgressTask()

QgsScopedProxyProgressTask::~QgsScopedProxyProgressTask ( )

Definition at line 62 of file qgsproxyprogresstask.cpp.

Member Function Documentation

◆ setProgress()

void QgsScopedProxyProgressTask::setProgress ( double  progress)

Sets the progress (from 0 to 100) for the proxied operation.

Definition at line 67 of file qgsproxyprogresstask.cpp.


The documentation for this class was generated from the following files: