File tree 3 files changed +9
-10
lines changed
3 files changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -158,6 +158,10 @@ delayed until an explicit reloading of the layer.
158
158
:param lazy: True to delay the loading, false otherwise
159
159
160
160
.. versionadded:: 3.2
161
+
162
+ .. seealso:: :py:func:`QgsDataProvider.reloadData`
163
+
164
+ .. seealso:: :py:func:`isLazy`
161
165
%End
162
166
163
167
bool isLazy() const;
@@ -167,6 +171,8 @@ Returns the lazy mode.
167
171
:return: True if the loading is delayed, false otherwise.
168
172
169
173
.. versionadded:: 3.2
174
+
175
+ .. seealso:: :py:func:`setLazy`
170
176
%End
171
177
172
178
QString geometryField() const;
Original file line number Diff line number Diff line change @@ -136,13 +136,16 @@ class CORE_EXPORT QgsVirtualLayerDefinition
136
136
* delayed until an explicit reloading of the layer.
137
137
* \param lazy True to delay the loading, false otherwise
138
138
* \since QGIS 3.2
139
+ * \see QgsDataProvider::reloadData()
140
+ * \see isLazy()
139
141
*/
140
142
void setLazy ( bool lazy ) { mLazy = lazy; }
141
143
142
144
/* *
143
145
* Returns the lazy mode.
144
146
* \returns True if the loading is delayed, false otherwise.
145
147
* \since QGIS 3.2
148
+ * \see setLazy()
146
149
*/
147
150
bool isLazy () const { return mLazy ; }
148
151
Original file line number Diff line number Diff line change @@ -53,17 +53,7 @@ class QgsVirtualLayerProvider: public QgsVectorDataProvider
53
53
QString description () const override ;
54
54
QgsAttributeList pkAttributeIndexes () const override ;
55
55
QSet<QgsMapLayerDependency> dependencies () const override ;
56
-
57
- /* *
58
- * Interrupts the pending query.
59
- * \since QGIS 3.2
60
- */
61
56
bool cancel () override ;
62
-
63
- /* *
64
- * Reloads the underlying data.
65
- * \since QGIS 3.2
66
- */
67
57
void reloadData () override ;
68
58
69
59
private:
You can’t perform that action at this time.
0 commit comments