mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
dox++
This commit is contained in:
parent
2ed85987d1
commit
43bbaf0c5d
@ -177,6 +177,8 @@ Create a new geometry check.
|
||||
virtual void prepare( const QgsGeometryCheckContext *context, const QVariantMap &configuration );
|
||||
%Docstring
|
||||
Will be run in the main thread before collectErrors is called (which may be run from a background thread).
|
||||
|
||||
.. versionadded:: 3.10
|
||||
%End
|
||||
|
||||
|
||||
|
@ -255,6 +255,8 @@ class ANALYSIS_EXPORT QgsGeometryCheck
|
||||
|
||||
/**
|
||||
* Will be run in the main thread before collectErrors is called (which may be run from a background thread).
|
||||
*
|
||||
* \since QGIS 3.10
|
||||
*/
|
||||
virtual void prepare( const QgsGeometryCheckContext *context, const QVariantMap &configuration );
|
||||
|
||||
|
@ -60,8 +60,11 @@ struct ANALYSIS_EXPORT QgsGeometryCheckContext
|
||||
const QgsCoordinateTransformContext transformContext;
|
||||
|
||||
/**
|
||||
* The project ... blablabla
|
||||
* Only to be used in the main thread (prepare method)
|
||||
* The project can be used to resolve additional layers.
|
||||
*
|
||||
* This must only be accessed from the main thread (i.e. do not access from the collectError method)
|
||||
*
|
||||
* \since QGIS 3.10
|
||||
*/
|
||||
const QgsProject *project;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user