Skip to content

Commit

Permalink
Header files: remove all mentions of '\since QGIS 3.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Feb 7, 2024
1 parent fc1f121 commit fa35901
Show file tree
Hide file tree
Showing 1,474 changed files with 4 additions and 7,347 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@ Abstract base class for material settings.

This is not considered stable API, and may change in future QGIS releases. It is
exposed to the Python bindings as a tech preview only.

.. versionadded:: 3.0
%End

%TypeHeaderCode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ with three color components: ambient, diffuse and specular.

This is not considered stable API, and may change in future QGIS releases. It is
exposed to the Python bindings as a tech preview only.

.. versionadded:: 3.0
%End

%TypeHeaderCode
Expand Down
2 changes: 0 additions & 2 deletions python/3d/auto_generated/processing/qgs3dalgorithms.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ class Qgs3DAlgorithms: QgsProcessingProvider
{
%Docstring(signature="appended")
QGIS 3D processing algorithm provider.

.. versionadded:: 3.0
%End

%TypeHeaderCode
Expand Down
2 changes: 0 additions & 2 deletions python/3d/auto_generated/qgs3dmapscene.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ Entity that encapsulates our 3D scene - contains all other entities (such as ter
.. note::

Not available in Python bindings

.. versionadded:: 3.0
%End

%TypeHeaderCode
Expand Down
6 changes: 0 additions & 6 deletions python/3d/auto_generated/qgs3dmapsettings.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ class Qgs3DMapSettings : QObject, QgsTemporalRangeObject
{
%Docstring(signature="appended")
Definition of the world.

.. versionadded:: 3.0
%End

%TypeHeaderCode
Expand Down Expand Up @@ -125,8 +123,6 @@ Returns the path resolver for conversion between relative and absolute paths
during rendering operations, e.g. for resolving relative symbol paths.

.. seealso:: :py:func:`setPathResolver`

.. versionadded:: 3.0
%End

void setPathResolver( const QgsPathResolver &resolver );
Expand All @@ -135,8 +131,6 @@ Sets the path ``resolver`` for conversion between relative and absolute paths
during rendering operations, e.g. for resolving relative symbol paths.

.. seealso:: :py:func:`pathResolver`

.. versionadded:: 3.0
%End

QgsMapThemeCollection *mapThemeCollection() const;
Expand Down
2 changes: 0 additions & 2 deletions python/3d/auto_generated/qgscameracontroller.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ Object that controls camera movement based on user input
.. note::

Not available in Python bindings

.. versionadded:: 3.0
%End

%TypeHeaderCode
Expand Down
4 changes: 0 additions & 4 deletions python/3d/auto_generated/qgsvectorlayer3drenderer.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ Metadata for vector layer 3D renderer to allow creation of its instances from XM

This is not considered stable API, and may change in future QGIS releases. It is
exposed to the Python bindings as a tech preview only.

.. versionadded:: 3.0
%End

%TypeHeaderCode
Expand All @@ -45,8 +43,6 @@ class QgsVectorLayer3DRenderer : QgsAbstractVectorLayer3DRenderer
%Docstring(signature="appended")
3D renderer that renders all features of a vector layer with the same 3D symbol.
The appearance is completely defined by the symbol.

.. versionadded:: 3.0
%End

%TypeHeaderCode
Expand Down
2 changes: 0 additions & 2 deletions python/3d/auto_generated/symbols/qgsline3dsymbol.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ class QgsLine3DSymbol : QgsAbstract3DSymbol /NoDefaultCtors/

This is not considered stable API, and may change in future QGIS releases. It is
exposed to the Python bindings as a tech preview only.

.. versionadded:: 3.0
%End

%TypeHeaderCode
Expand Down
2 changes: 0 additions & 2 deletions python/3d/auto_generated/symbols/qgspoint3dsymbol.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ class QgsPoint3DSymbol : QgsAbstract3DSymbol /NoDefaultCtors/

This is not considered stable API, and may change in future QGIS releases. It is
exposed to the Python bindings as a tech preview only.

.. versionadded:: 3.0
%End

%TypeHeaderCode
Expand Down
2 changes: 0 additions & 2 deletions python/3d/auto_generated/symbols/qgspolygon3dsymbol.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ class QgsPolygon3DSymbol : QgsAbstract3DSymbol /NoDefaultCtors/

This is not considered stable API, and may change in future QGIS releases. It is
exposed to the Python bindings as a tech preview only.

.. versionadded:: 3.0
%End

%TypeHeaderCode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@ Abstract base class for material settings.

This is not considered stable API, and may change in future QGIS releases. It is
exposed to the Python bindings as a tech preview only.

.. versionadded:: 3.0
%End

%TypeHeaderCode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ with three color components: ambient, diffuse and specular.

This is not considered stable API, and may change in future QGIS releases. It is
exposed to the Python bindings as a tech preview only.

.. versionadded:: 3.0
%End

%TypeHeaderCode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ class Qgs3DAlgorithms: QgsProcessingProvider
{
%Docstring(signature="appended")
QGIS 3D processing algorithm provider.

.. versionadded:: 3.0
%End

%TypeHeaderCode
Expand Down
2 changes: 0 additions & 2 deletions python/PyQt6/3d/auto_generated/qgs3dmapscene.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ Entity that encapsulates our 3D scene - contains all other entities (such as ter
.. note::

Not available in Python bindings

.. versionadded:: 3.0
%End

%TypeHeaderCode
Expand Down
6 changes: 0 additions & 6 deletions python/PyQt6/3d/auto_generated/qgs3dmapsettings.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ class Qgs3DMapSettings : QObject, QgsTemporalRangeObject
{
%Docstring(signature="appended")
Definition of the world.

.. versionadded:: 3.0
%End

%TypeHeaderCode
Expand Down Expand Up @@ -125,8 +123,6 @@ Returns the path resolver for conversion between relative and absolute paths
during rendering operations, e.g. for resolving relative symbol paths.

.. seealso:: :py:func:`setPathResolver`

.. versionadded:: 3.0
%End

void setPathResolver( const QgsPathResolver &resolver );
Expand All @@ -135,8 +131,6 @@ Sets the path ``resolver`` for conversion between relative and absolute paths
during rendering operations, e.g. for resolving relative symbol paths.

.. seealso:: :py:func:`pathResolver`

.. versionadded:: 3.0
%End

QgsMapThemeCollection *mapThemeCollection() const;
Expand Down
2 changes: 0 additions & 2 deletions python/PyQt6/3d/auto_generated/qgscameracontroller.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ Object that controls camera movement based on user input
.. note::

Not available in Python bindings

.. versionadded:: 3.0
%End

%TypeHeaderCode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ Metadata for vector layer 3D renderer to allow creation of its instances from XM

This is not considered stable API, and may change in future QGIS releases. It is
exposed to the Python bindings as a tech preview only.

.. versionadded:: 3.0
%End

%TypeHeaderCode
Expand All @@ -45,8 +43,6 @@ class QgsVectorLayer3DRenderer : QgsAbstractVectorLayer3DRenderer
%Docstring(signature="appended")
3D renderer that renders all features of a vector layer with the same 3D symbol.
The appearance is completely defined by the symbol.

.. versionadded:: 3.0
%End

%TypeHeaderCode
Expand Down
2 changes: 0 additions & 2 deletions python/PyQt6/3d/auto_generated/symbols/qgsline3dsymbol.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ class QgsLine3DSymbol : QgsAbstract3DSymbol /NoDefaultCtors/

This is not considered stable API, and may change in future QGIS releases. It is
exposed to the Python bindings as a tech preview only.

.. versionadded:: 3.0
%End

%TypeHeaderCode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ class QgsPoint3DSymbol : QgsAbstract3DSymbol /NoDefaultCtors/

This is not considered stable API, and may change in future QGIS releases. It is
exposed to the Python bindings as a tech preview only.

.. versionadded:: 3.0
%End

%TypeHeaderCode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ class QgsPolygon3DSymbol : QgsAbstract3DSymbol /NoDefaultCtors/

This is not considered stable API, and may change in future QGIS releases. It is
exposed to the Python bindings as a tech preview only.

.. versionadded:: 3.0
%End

%TypeHeaderCode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ weighted with distance. Smaller values mean sharper peaks at the data points.
Point values are weighted by 1 / ( distance ^ coefficient ).

.. seealso:: :py:func:`distanceCoefficient`

.. versionadded:: 3.0
%End

double distanceCoefficient() const;
Expand All @@ -49,8 +47,6 @@ The default is a coefficient of 2.
Point values are weighted by 1 / ( distance ^ coefficient ).

.. seealso:: :py:func:`setDistanceCoefficient`

.. versionadded:: 3.0
%End

};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ class QgsTinInterpolator: QgsInterpolator
{
%Docstring(signature="appended")
Interpolation in a triangular irregular network

.. versionadded:: 3.0
%End

%TypeHeaderCode
Expand Down Expand Up @@ -47,8 +45,6 @@ These fields should be used when creating
a suitable feature sink for :py:func:`~QgsTinInterpolator.setTriangulationSink`

.. seealso:: :py:func:`setTriangulationSink`

.. versionadded:: 3.0
%End

void setTriangulationSink( QgsFeatureSink *sink );
Expand All @@ -59,8 +55,6 @@ The sink must be setup to accept LineString features, with fields matching
those returned by :py:func:`~QgsTinInterpolator.triangulationFields`.

.. seealso:: :py:func:`triangulationFields`

.. versionadded:: 3.0
%End

};
Expand Down
6 changes: 0 additions & 6 deletions python/PyQt6/analysis/auto_generated/network/qgsgraph.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ class QgsGraphEdge
{
%Docstring(signature="appended")
This class implements a graph edge

.. versionadded:: 3.0
%End

%TypeHeaderCode
Expand Down Expand Up @@ -65,8 +63,6 @@ class QgsGraphVertex
{
%Docstring(signature="appended")
This class implements a graph vertex

.. versionadded:: 3.0
%End

%TypeHeaderCode
Expand Down Expand Up @@ -111,8 +107,6 @@ class QgsGraph
{
%Docstring(signature="appended")
Mathematical graph representation

.. versionadded:: 3.0
%End

%TypeHeaderCode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ class QgsNetworkDistanceStrategy : QgsNetworkStrategy
%Docstring(signature="appended")
Strategy for calculating edge cost based on its length. Should be
used for finding shortest path between two points.

.. versionadded:: 3.0
%End

%TypeHeaderCode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ class QgsNetworkSpeedStrategy : QgsNetworkStrategy
%Docstring(signature="appended")
Strategy for calculating edge cost based on travel time. Should be
used for finding fastest path between two points.

.. versionadded:: 3.0
%End

%TypeHeaderCode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ class QgsNetworkStrategy
take into account travel distance, amount of time or money. Currently there are two strategies
implemented in the analysis library: :py:class:`QgsNetworkDistanceStrategy` and :py:class:`QgsNetworkSpeedStrategy`.
:py:class:`QgsNetworkStrategy` implemented using "strategy" design pattern.

.. versionadded:: 3.0
%End

%TypeHeaderCode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ class QgsVectorLayerDirector : QgsGraphDirector
{
%Docstring(signature="appended")
Determine making the graph from vector line layer

.. versionadded:: 3.0
%End

%TypeHeaderCode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ class QgsNativeAlgorithms: QgsProcessingProvider
{
%Docstring(signature="appended")
Native c++ processing algorithm provider.

.. versionadded:: 3.0
%End

%TypeHeaderCode
Expand Down
2 changes: 0 additions & 2 deletions python/PyQt6/analysis/auto_generated/raster/qgskde.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ class QgsKernelDensityEstimation
{
%Docstring(signature="appended")
Performs Kernel Density Estimation ("heatmap") calculations on a vector layer.

.. versionadded:: 3.0
%End

%TypeHeaderCode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ class QgsGeometrySnapper : QObject
:py:class:`QgsGeometrySnapper` allows a geometry to be snapped to the geometries within a
different reference layer. Vertices in the geometries will be modified to
match the reference layer features within a specified snap tolerance.

.. versionadded:: 3.0
%End

%TypeHeaderCode
Expand Down Expand Up @@ -85,8 +83,6 @@ features are fed to to the snapper one-by-one by calling :py:func:`~QgsGeometryS
After processing all desired features, the results can be fetched by calling :py:func:`~QgsGeometrySnapper.snappedGeometries`.
The returned :py:class:`QgsGeometryMap` can be passed to :py:func:`QgsVectorDataProvider.changeGeometryValues()` to save
the snapped geometries back to the source layer.

.. versionadded:: 3.0
%End

%TypeHeaderCode
Expand Down
2 changes: 1 addition & 1 deletion python/PyQt6/core/auto_additions/qgsdiagramrenderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
QgsDiagramLayerSettings.StartAngle = QgsDiagramLayerSettings.Property.StartAngle
QgsDiagramLayerSettings.StartAngle.is_monkey_patched = True
QgsDiagramLayerSettings.StartAngle.__doc__ = "Angle offset for pie diagram"
QgsDiagramLayerSettings.Property.__doc__ = "Data definable properties.\n\n.. versionadded:: 3.0\n\n" + '* ``BackgroundColor``: ' + QgsDiagramLayerSettings.Property.BackgroundColor.__doc__ + '\n' + '* ``StrokeColor``: ' + QgsDiagramLayerSettings.Property.StrokeColor.__doc__ + '\n' + '* ``StrokeWidth``: ' + QgsDiagramLayerSettings.Property.StrokeWidth.__doc__ + '\n' + '* ``PositionX``: ' + QgsDiagramLayerSettings.Property.PositionX.__doc__ + '\n' + '* ``PositionY``: ' + QgsDiagramLayerSettings.Property.PositionY.__doc__ + '\n' + '* ``Distance``: ' + QgsDiagramLayerSettings.Property.Distance.__doc__ + '\n' + '* ``Priority``: ' + QgsDiagramLayerSettings.Property.Priority.__doc__ + '\n' + '* ``ZIndex``: ' + QgsDiagramLayerSettings.Property.ZIndex.__doc__ + '\n' + '* ``IsObstacle``: ' + QgsDiagramLayerSettings.Property.IsObstacle.__doc__ + '\n' + '* ``Show``: ' + QgsDiagramLayerSettings.Property.Show.__doc__ + '\n' + '* ``AlwaysShow``: ' + QgsDiagramLayerSettings.Property.AlwaysShow.__doc__ + '\n' + '* ``StartAngle``: ' + QgsDiagramLayerSettings.Property.StartAngle.__doc__
QgsDiagramLayerSettings.Property.__doc__ = "Data definable properties.\n\n" + '* ``BackgroundColor``: ' + QgsDiagramLayerSettings.Property.BackgroundColor.__doc__ + '\n' + '* ``StrokeColor``: ' + QgsDiagramLayerSettings.Property.StrokeColor.__doc__ + '\n' + '* ``StrokeWidth``: ' + QgsDiagramLayerSettings.Property.StrokeWidth.__doc__ + '\n' + '* ``PositionX``: ' + QgsDiagramLayerSettings.Property.PositionX.__doc__ + '\n' + '* ``PositionY``: ' + QgsDiagramLayerSettings.Property.PositionY.__doc__ + '\n' + '* ``Distance``: ' + QgsDiagramLayerSettings.Property.Distance.__doc__ + '\n' + '* ``Priority``: ' + QgsDiagramLayerSettings.Property.Priority.__doc__ + '\n' + '* ``ZIndex``: ' + QgsDiagramLayerSettings.Property.ZIndex.__doc__ + '\n' + '* ``IsObstacle``: ' + QgsDiagramLayerSettings.Property.IsObstacle.__doc__ + '\n' + '* ``Show``: ' + QgsDiagramLayerSettings.Property.Show.__doc__ + '\n' + '* ``AlwaysShow``: ' + QgsDiagramLayerSettings.Property.AlwaysShow.__doc__ + '\n' + '* ``StartAngle``: ' + QgsDiagramLayerSettings.Property.StartAngle.__doc__
# --
QgsDiagramSettings.Height = QgsDiagramSettings.LabelPlacementMethod.Height
QgsDiagramSettings.XHeight = QgsDiagramSettings.LabelPlacementMethod.XHeight
Expand Down
Loading

0 comments on commit fa35901

Please sign in to comment.