@@ -338,6 +338,10 @@ namespace QgsWms
338
338
*/
339
339
QgsProjectVersion versionAsNumber () const ;
340
340
341
+ /* *
342
+ * Returns true if \a version is valid, false otherwise.
343
+ * \since QGIS 3.4
344
+ */
341
345
bool versionIsValid ( const QString version ) const ;
342
346
343
347
/* *
@@ -417,16 +421,46 @@ namespace QgsWms
417
421
*/
418
422
QList<QgsWmsParametersLayer> layersParameters () const ;
419
423
424
+ /* *
425
+ * Returns FI_POLYGON_TOLERANCE parameter or an empty string if not
426
+ * defined.
427
+ * \since QGIS 3.4
428
+ */
420
429
QString polygonTolerance () const ;
421
430
431
+ /* *
432
+ * Returns FI_LINE_TOLERANCE parameter or an empty string if not
433
+ * defined.
434
+ * \since QGIS 3.4
435
+ */
422
436
QString lineTolerance () const ;
423
437
438
+ /* *
439
+ * Returns FI_POINT_TOLERANCE parameter or an empty string if not
440
+ * defined.
441
+ * \since QGIS 3.4
442
+ */
424
443
QString pointTolerance () const ;
425
444
445
+ /* *
446
+ * Returns FI_POLYGON_TOLERANCE parameter as an integer.
447
+ * \throws QgsBadRequestException
448
+ * \since QGIS 3.4
449
+ */
426
450
int polygonToleranceAsInt () const ;
427
451
452
+ /* *
453
+ * Returns FI_LINE_TOLERANCE parameter as an integer.
454
+ * \throws QgsBadRequestException
455
+ * \since QGIS 3.4
456
+ */
428
457
int lineToleranceAsInt () const ;
429
458
459
+ /* *
460
+ * Returns FI_POINT_TOLERANCE parameter as an integer.
461
+ * \throws QgsBadRequestException
462
+ * \since QGIS 3.4
463
+ */
430
464
int pointToleranceAsInt () const ;
431
465
432
466
/* *
@@ -454,8 +488,18 @@ namespace QgsWms
454
488
*/
455
489
bool infoFormatIsImage () const ;
456
490
491
+ /* *
492
+ * Returns IMAGE_QUALITY parameter or an empty string if not
493
+ * defined.
494
+ * \since QGIS 3.4
495
+ */
457
496
QString imageQuality () const ;
458
497
498
+ /* *
499
+ * Returns IMAGE_QUALITY parameter as an integer.
500
+ * \throws QgsBadRequestException
501
+ * \since QGIS 3.4
502
+ */
459
503
int imageQualityAsInt () const ;
460
504
461
505
/* *
@@ -1054,8 +1098,19 @@ namespace QgsWms
1054
1098
*/
1055
1099
bool withMapTip () const ;
1056
1100
1101
+ /* *
1102
+ * Returns WMTVER parameter or an empty string if not defined.
1103
+ * \since QGIS 3.4
1104
+ */
1057
1105
QString wmtver () const ;
1058
1106
1107
+ /* *
1108
+ * Returns a layout parameter thanks to its \a id.
1109
+ * \param id Parameter id
1110
+ * \param ok True if the parameter is valid, false otherwise
1111
+ * \returns The layout parameter
1112
+ * \since QGIS 3.4
1113
+ */
1059
1114
QString layoutParameter ( const QString &id, bool &ok ) const ;
1060
1115
1061
1116
private:
0 commit comments