18#ifndef QGSPROXYPROGRESSTASK_H 
   19#define QGSPROXYPROGRESSTASK_H 
   24#include <QWaitCondition> 
   57    void finalize( 
bool result );
 
   66    void setProxyProgress( 
double progress );
 
   81    QWaitCondition mNotFinishedWaitCondition;
 
   82    QMutex mNotFinishedMutex;
 
   83    bool mAlreadyFinished = 
false;
 
 
A QgsTask shell which proxies progress reports.
 
QgsProxyProgressTask(const QgsProxyProgressTask &other)=delete
 
void canceled()
Emitted when the task is canceled.
 
QgsProxyProgressTask & operator=(const QgsProxyProgressTask &other)=delete
 
A QgsProxyProgressTask with automatic lifetime.
 
QgsScopedProxyProgressTask & operator=(const QgsScopedProxyProgressTask &other)=delete
 
QgsScopedProxyProgressTask(const QgsScopedProxyProgressTask &other)=delete
 
Abstract base class for long running background tasks.
 
virtual bool run()=0
Performs the task's operation.
 
virtual void cancel()
Notifies the task that it should terminate.
 
void setProgress(double progress)
Sets the task's current progress.