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();