18#ifndef QGSPROXYPROGRESSTASK_H
19#define QGSPROXYPROGRESSTASK_H
24#include <QWaitCondition>
54 void finalize(
bool result );
63 void setProxyProgress(
double progress );
78 QWaitCondition mNotFinishedWaitCondition;
79 QMutex mNotFinishedMutex;
80 bool mAlreadyFinished =
false;
A QgsTask shell which proxies progress reports.
void canceled()
Emitted when the task is canceled.
Scoped QgsScopedProxyProgressTask, which automatically adds the proxy task to the application task ma...
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.