QGIS API Documentation 3.40.0-Bratislava (b56115d8743)
Loading...
Searching...
No Matches
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 QgsScopedProxyProgressTask &other)=delete
 
 QgsScopedProxyProgressTask (const QString &description)
 Constructor for QgsScopedProxyProgressTask, with the specified description.
 
 ~QgsScopedProxyProgressTask ()
 
QgsScopedProxyProgressTaskoperator= (const QgsScopedProxyProgressTask &other)=delete
 
void setProgress (double progress)
 Sets the progress (from 0 to 100) for the proxied operation.
 

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 97 of file qgsproxyprogresstask.h.

Constructor & Destructor Documentation

◆ QgsScopedProxyProgressTask() [1/2]

QgsScopedProxyProgressTask::QgsScopedProxyProgressTask ( const QString &  description)

Constructor for QgsScopedProxyProgressTask, with the specified description.

Definition at line 66 of file qgsproxyprogresstask.cpp.

◆ QgsScopedProxyProgressTask() [2/2]

QgsScopedProxyProgressTask::QgsScopedProxyProgressTask ( const QgsScopedProxyProgressTask other)
delete

◆ ~QgsScopedProxyProgressTask()

QgsScopedProxyProgressTask::~QgsScopedProxyProgressTask ( )

Definition at line 72 of file qgsproxyprogresstask.cpp.

Member Function Documentation

◆ operator=()

QgsScopedProxyProgressTask & QgsScopedProxyProgressTask::operator= ( const QgsScopedProxyProgressTask other)
delete

◆ setProgress()

void QgsScopedProxyProgressTask::setProgress ( double  progress)

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

Definition at line 77 of file qgsproxyprogresstask.cpp.


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