@@ -147,14 +147,10 @@ A multiline method signature
147
147
virtual QgsMapLayerRenderer *createMapRenderer( QgsRenderContext &rendererContext ) /Factory/;
148
148
%Docstring
149
149
Factory annotation
150
-
151
- :rtype: QgsMapLayerRenderer
152
150
%End
153
151
154
152
SomeObject *createAnother() /Factory/;
155
153
%Docstring
156
-
157
- :rtype: SomeObject
158
154
%End
159
155
160
156
virtual SomeObject *createAnother2() /Factory/;
@@ -178,14 +174,10 @@ Here's some comment mentioning another class QgsAutoAwesomemater.makeLessAwesome
178
174
I return a pointer. If something bad happens, I return None.
179
175
180
176
:return: pointer to something cool
181
- :rtype: MyPointer
182
-
183
177
%End
184
178
185
179
bool isOKwithErrMesg( QString &ErrMsg /Out/ );
186
180
%Docstring
187
-
188
- :rtype: bool
189
181
%End
190
182
191
183
void InOutParam( bool &ok = true /In,Out/ );
@@ -203,14 +195,10 @@ complex default value and type (i.e. containing commas) should be given as a str
203
195
204
196
int inlineKeyWordShouldNotAppear();
205
197
%Docstring
206
-
207
- :rtype: int
208
198
%End
209
199
210
200
QString labelForRange( double lower, double upper ) const /PyName=labelForLowerUpper/;
211
201
%Docstring
212
-
213
- :rtype: str
214
202
%End
215
203
216
204
void setComposition( QgsComposition *c /KeepReference/ );
@@ -219,8 +207,6 @@ complex default value and type (i.e. containing commas) should be given as a str
219
207
220
208
bool removeFunctionBody( const QList<int, QString> &list, QgsVectorLayer *vl, Some::Thing _part = -1 /*default =-1*/ );
221
209
%Docstring
222
-
223
- :rtype: bool
224
210
%End
225
211
226
212
@@ -232,22 +218,16 @@ complex default value and type (i.e. containing commas) should be given as a str
232
218
QgsRaster::RasterBuildPyramids buildPyramidsFlag() const;
233
219
%Docstring
234
220
Removing function body with namespaced return value
235
-
236
- :rtype: QgsRaster.RasterBuildPyramids
237
221
%End
238
222
239
223
virtual const QgsLayerMetadata &metadata() const;
240
224
%Docstring
241
225
Removing function body with virtual const reference
242
-
243
- :rtype: QgsLayerMetadata
244
226
%End
245
227
246
228
bool myMultiLineBody();
247
229
%Docstring
248
230
Mulitline body
249
-
250
- :rtype: bool
251
231
%End
252
232
253
233
@@ -261,46 +241,32 @@ Mulitline body
261
241
262
242
QString returnTypeString() const;
263
243
%Docstring
264
-
265
- :rtype: str
266
244
%End
267
245
268
246
double returnTypeDouble() const;
269
247
%Docstring
270
-
271
- :rtype: float
272
248
%End
273
249
274
250
QList< QgsAnnotation * > returnTypeList();
275
251
%Docstring
276
-
277
- :rtype: list of QgsAnnotation
278
252
%End
279
253
280
254
QVector< QgsAnnotation > returnTypeVector();
281
255
%Docstring
282
-
283
- :rtype: list of QgsAnnotation
284
256
%End
285
257
286
258
QStringList returnTypeStringList();
287
259
%Docstring
288
-
289
- :rtype: list of str
290
260
%End
291
261
292
262
QSet<QgsActionScope> returnTypeSet();
293
263
%Docstring
294
-
295
- :rtype: set of QgsActionScope
296
264
%End
297
265
298
266
This<Member> shouldBeIncluded;
299
267
300
268
static QString invokableMethod();
301
269
%Docstring
302
-
303
- :rtype: str
304
270
%End
305
271
306
272
bool initializedMember;
@@ -311,8 +277,6 @@ Mulitline body
311
277
312
278
bool isValid( const QgsAbstractGeometry *geom ) const;
313
279
%Docstring
314
-
315
- :rtype: bool
316
280
%End
317
281
318
282
int part;
@@ -362,8 +326,6 @@ remove argument
362
326
protected:
363
327
bool thisShouldBeListed();
364
328
%Docstring
365
-
366
- :rtype: bool
367
329
%End
368
330
369
331
0 commit comments