QGIS API Documentation 3.37.0-Master (fdefdf9c27f)
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 cannot be copied. More...
 
 QgsScopedProxyProgressTask (const QString &description)
 Constructor for QgsScopedProxyProgressTask, with the specified description. More...
 
 ~QgsScopedProxyProgressTask ()
 
QgsScopedProxyProgressTaskoperator= (const QgsScopedProxyProgressTask &other)=delete
 QgsScopedProxyProgressTask cannot be copied. More...
 
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 99 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 cannot be copied.

◆ ~QgsScopedProxyProgressTask()

QgsScopedProxyProgressTask::~QgsScopedProxyProgressTask ( )

Definition at line 72 of file qgsproxyprogresstask.cpp.

Member Function Documentation

◆ operator=()

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

QgsScopedProxyProgressTask cannot be copied.

◆ 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: