21 #include "qgis_core.h"
54 bool isCanceled()
const SIP_HOLDGIL {
return mCanceled; }
63 void setProgress(
double progress )
66 if (
static_cast< int >( mProgress * 10 ) !=
static_cast< int >( progress * 10 ) )
67 emit progressChanged( progress );
80 double progress() const
SIP_HOLDGIL {
return mProgress; }
90 unsigned long long processedCount() const
SIP_HOLDGIL {
return mProcessedCount; }
99 void setProcessedCount(
unsigned long long processedCount )
101 mProcessedCount = processedCount;
102 emit processedCountChanged( processedCount );
128 void progressChanged(
double progress );
138 void processedCountChanged(
unsigned long long processedCount );
142 bool mCanceled =
false;
144 double mProgress = 0.0;
145 unsigned long long mProcessedCount = 0;
149 #endif // QGSFEEDBACK_H