File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -75,11 +75,11 @@ class QgsProcessingContext
75
75
Sets the expression ``context``.
76
76
%End
77
77
78
- QgsProject &temporaryLayerStore();
78
+ QgsMapLayerStore &temporaryLayerStore();
79
79
%Docstring
80
- Returns a reference to the project used for storing temporary layers during
80
+ Returns a reference to the layer store used for storing temporary layers during
81
81
algorithm execution.
82
- :rtype: QgsProject
82
+ :rtype: QgsMapLayerStore
83
83
%End
84
84
85
85
QgsFeatureRequest::InvalidGeometryCheck invalidGeometryCheck() const;
Original file line number Diff line number Diff line change @@ -90,10 +90,10 @@ class CORE_EXPORT QgsProcessingContext
90
90
void setExpressionContext ( const QgsExpressionContext &context ) { mExpressionContext = context; }
91
91
92
92
/* *
93
- * Returns a reference to the project used for storing temporary layers during
93
+ * Returns a reference to the layer store used for storing temporary layers during
94
94
* algorithm execution.
95
95
*/
96
- QgsProject &temporaryLayerStore () { return tempProject ; }
96
+ QgsMapLayerStore &temporaryLayerStore () { return tempLayerStore ; }
97
97
98
98
/* *
99
99
* Returns the behavior used for checking invalid geometries in input layers.
@@ -147,7 +147,7 @@ class CORE_EXPORT QgsProcessingContext
147
147
QgsProcessingContext::Flags mFlags = 0 ;
148
148
QPointer< QgsProject > mProject ;
149
149
// ! Temporary project owned by the context, used for storing temporarily loaded map layers
150
- QgsProject tempProject ;
150
+ QgsMapLayerStore tempLayerStore ;
151
151
QgsExpressionContext mExpressionContext ;
152
152
QgsFeatureRequest::InvalidGeometryCheck mInvalidGeometryCheck = QgsFeatureRequest::GeometryNoCheck;
153
153
std::function< void ( const QgsFeature & ) > mInvalidGeometryCallback ;
You can’t perform that action at this time.
0 commit comments