From a6d554d233e3593110a5288f13c92eb6f0e1c05a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Bartoletti?= Date: Thu, 29 Apr 2021 12:58:29 +0200 Subject: [PATCH] Apply paul's suggestions:wq --- python/gui/auto_generated/qgsmaptooledit.sip.in | 8 ++++---- src/core/qgis.h | 12 ++++++------ src/gui/qgsmaptooledit.h | 8 ++++---- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/python/gui/auto_generated/qgsmaptooledit.sip.in b/python/gui/auto_generated/qgsmaptooledit.sip.in index 68072b09cf1..873327e644c 100644 --- a/python/gui/auto_generated/qgsmaptooledit.sip.in +++ b/python/gui/auto_generated/qgsmaptooledit.sip.in @@ -25,14 +25,14 @@ Base class for map tools that edit vector geometry double defaultZValue() const; %Docstring -Returns default Z value -Use for set Z coordinate to new vertex +Returns default Z value. +Used for setting Z coordinate to new vertex. %End double defaultMValue() const; %Docstring -Returns default M value -Use for set M coordinate to new vertex +Returns default M value. +Used for setting M coordinate to new vertex. .. versionadded:: 3.20 %End diff --git a/src/core/qgis.h b/src/core/qgis.h index 42c9879d10e..922b455218c 100644 --- a/src/core/qgis.h +++ b/src/core/qgis.h @@ -169,16 +169,16 @@ class CORE_EXPORT Qgis static const double SCALE_PRECISION; /** - * Default Z coordinate value - * This value have to be assigned to the Z coordinate for the vertex. - * \since QGIS 3.0 + * Default Z coordinate value. + * This value have to be assigned to the Z coordinate for the vertex. + * \since QGIS 3.0 */ static const double DEFAULT_Z_COORDINATE; /** - * Default M coordinate value - * This value have to be assigned to the M coordinate for the vertex. - * \since QGIS 3.20 + * Default M coordinate value. + * This value have to be assigned to the M coordinate for the vertex. + * \since QGIS 3.20 */ static const double DEFAULT_M_COORDINATE; diff --git a/src/gui/qgsmaptooledit.h b/src/gui/qgsmaptooledit.h index 4c98082975f..7e3808ae7b3 100644 --- a/src/gui/qgsmaptooledit.h +++ b/src/gui/qgsmaptooledit.h @@ -39,14 +39,14 @@ class GUI_EXPORT QgsMapToolEdit: public QgsMapTool Flags flags() const override { return QgsMapTool::EditTool; } /** - * Returns default Z value - * Use for set Z coordinate to new vertex + * Returns default Z value. + * Used for setting Z coordinate to new vertex. */ double defaultZValue() const; /** - * Returns default M value - * Use for set M coordinate to new vertex + * Returns default M value. + * Used for setting M coordinate to new vertex. * * \since QGIS 3.20 */