22 QgsPointLocatorInitTask::QgsPointLocatorInitTask(
QgsPointLocator *loc )
23 :
QgsTask( tr(
"Indexing %1" ).arg( loc->layer()->id() ),
QgsTask::Flags() )
27 bool QgsPointLocatorInitTask::isBuildOK()
const
32 bool QgsPointLocatorInitTask::run()
34 mBuildOK = mLoc->rebuildIndex();
The class defines interface for querying point location:
Abstract base class for long running background tasks.