QGIS API Documentation 3.30.0-'s-Hertogenbosch (f186b8efe0)
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 94 of file qgsproxyprogresstask.h.

Constructor & Destructor Documentation

◆ QgsScopedProxyProgressTask()

QgsScopedProxyProgressTask::QgsScopedProxyProgressTask ( const QString &  description)

Constructor for QgsScopedProxyProgressTask, with the specified description.

Definition at line 63 of file qgsproxyprogresstask.cpp.

◆ ~QgsScopedProxyProgressTask()

QgsScopedProxyProgressTask::~QgsScopedProxyProgressTask ( )

Definition at line 69 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 74 of file qgsproxyprogresstask.cpp.


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