mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-15 00:07:25 -05:00
Don't return doubles for bools
This commit is contained in:
parent
28008c21c0
commit
0b81fecd7f
@ -890,7 +890,7 @@ Enable/disable ticks rotation for rotated or reprojected grids.
|
||||
.. versionadded:: 3.16
|
||||
%End
|
||||
|
||||
double rotatedTicksEnabled() const;
|
||||
bool rotatedTicksEnabled() const;
|
||||
%Docstring
|
||||
Gets whether ticks rotation for rotated or reprojected grids is enabled.
|
||||
|
||||
@ -964,7 +964,7 @@ Enable/disable annotations rotation for rotated or reprojected grids.
|
||||
.. versionadded:: 3.16
|
||||
%End
|
||||
|
||||
double rotatedAnnotationsEnabled() const;
|
||||
bool rotatedAnnotationsEnabled() const;
|
||||
%Docstring
|
||||
Gets whether annotations rotation for rotated or reprojected grids is
|
||||
enabled.
|
||||
|
||||
@ -890,7 +890,7 @@ Enable/disable ticks rotation for rotated or reprojected grids.
|
||||
.. versionadded:: 3.16
|
||||
%End
|
||||
|
||||
double rotatedTicksEnabled() const;
|
||||
bool rotatedTicksEnabled() const;
|
||||
%Docstring
|
||||
Gets whether ticks rotation for rotated or reprojected grids is enabled.
|
||||
|
||||
@ -964,7 +964,7 @@ Enable/disable annotations rotation for rotated or reprojected grids.
|
||||
.. versionadded:: 3.16
|
||||
%End
|
||||
|
||||
double rotatedAnnotationsEnabled() const;
|
||||
bool rotatedAnnotationsEnabled() const;
|
||||
%Docstring
|
||||
Gets whether annotations rotation for rotated or reprojected grids is
|
||||
enabled.
|
||||
|
||||
@ -821,7 +821,7 @@ class CORE_EXPORT QgsLayoutItemMapGrid : public QgsLayoutItemMapItem
|
||||
* \see setRotatedTicksEnabled()
|
||||
* \since QGIS 3.16
|
||||
*/
|
||||
double rotatedTicksEnabled() const { return mRotatedTicksEnabled; }
|
||||
bool rotatedTicksEnabled() const { return mRotatedTicksEnabled; }
|
||||
|
||||
/**
|
||||
* Sets the tick length calculation mode.
|
||||
@ -877,7 +877,7 @@ class CORE_EXPORT QgsLayoutItemMapGrid : public QgsLayoutItemMapItem
|
||||
* \see setRotatedAnnotationsEnabled()
|
||||
* \since QGIS 3.16
|
||||
*/
|
||||
double rotatedAnnotationsEnabled() const { return mRotatedAnnotationsEnabled; }
|
||||
bool rotatedAnnotationsEnabled() const { return mRotatedAnnotationsEnabled; }
|
||||
|
||||
/**
|
||||
* Sets the annotation length calculation mode.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user