Skip to content

Commit

Permalink
Header files: remove all mentions of '\since QGIS 2.'
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Feb 18, 2024
1 parent a5c8f01 commit 02caeb9
Show file tree
Hide file tree
Showing 856 changed files with 1 addition and 4,679 deletions.
Empty file modified external/o2/src/o1freshbooks.h
100755 → 100644
Empty file.
2 changes: 1 addition & 1 deletion external/untwine/untwine/src/api/untwine.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,4 @@ namespace Untwine {

} // namespace Untwine

#endif // UNTWINE_H
#endif // UNTWINE_H
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ so they have the same:
- coordinate reference system
- cell size and raster size
- offset of the raster grid

.. versionadded:: 2.12
%End

%TypeHeaderCode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ class QgsRasterCalculatorEntry
{
%Docstring(signature="appended")
Represents an individual raster layer/band number entry within a raster calculation.

.. versionadded:: 2.18
%End

%TypeHeaderCode
Expand Down Expand Up @@ -141,8 +139,6 @@ QgsRasterCalculator constructor.

.. deprecated:: QGIS 3.8
use the version with transformContext instead

.. versionadded:: 2.10
%End

Result processCalculation( QgsFeedback *feedback = 0 );
Expand Down
6 changes: 0 additions & 6 deletions python/PyQt6/core/auto_generated/browser/qgsdataitem.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -113,18 +113,12 @@ Create children. Children are not expected to have parent set.
%End

Qgis::BrowserItemState state() const;
%Docstring

.. versionadded:: 2.8
%End

virtual void setState( Qgis::BrowserItemState state );
%Docstring
Set item state. It also take care about starting/stopping loading icon animation.

:param state:

.. versionadded:: 2.8
%End

virtual void addChildItem( QgsDataItem *child /Transfer/, bool refresh = false );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ There are two occasions when :py:func:`~createDataItem` is called:
# to create items in directory structure. For this capabilities have to return at least
of the following: :py:class:`QgsDataProvider`.Dir or :py:class:`QgsDataProvider`.File. Passed path is the file
or directory being inspected, parent item is a valid :py:class:`QgsDirectoryItem`

.. versionadded:: 2.10
%End

%TypeHeaderCode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ When created, it automatically adds providers from provider plugins (e.g. PostGI

:py:class:`QgsDataItemProviderRegistry` is not usually directly created, but rather accessed through
:py:func:`QgsApplication.dataItemProviderRegistry()`.

.. versionadded:: 2.10
%End

%TypeHeaderCode
Expand Down
6 changes: 0 additions & 6 deletions python/PyQt6/core/auto_generated/browser/qgslayeritem.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -65,22 +65,16 @@ Returns provider key
QStringList supportedCrs() const;
%Docstring
Returns the supported CRS

.. versionadded:: 2.8
%End

QStringList supportedFormats() const;
%Docstring
Returns the supported formats

.. versionadded:: 2.8
%End

virtual QString comments() const;
%Docstring
Returns comments of the layer

.. versionadded:: 2.12
%End

static QString layerTypeAsString( Qgis::BrowserLayerType layerType );
Expand Down
8 changes: 0 additions & 8 deletions python/PyQt6/core/auto_generated/diagram/qgsdiagram.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ Base class for all diagram types.
virtual QgsDiagram *clone() const = 0 /Factory/;
%Docstring
Returns an instance that is equivalent to this one

.. versionadded:: 2.4
%End

void clearCache();
Expand All @@ -50,8 +48,6 @@ Returns a prepared expression for the specified context.

:param expression: expression string
:param context: expression context

.. versionadded:: 2.12
%End

virtual void renderDiagram( const QgsFeature &feature, QgsRenderContext &c, const QgsDiagramSettings &s, QPointF position ) = 0;
Expand Down Expand Up @@ -79,8 +75,6 @@ Returns the size of the legend item for the diagram corresponding to a specified
:param value: value to return legend item size for
:param s: diagram settings
:param is: interpolation settings

.. versionadded:: 2.16
%End

protected:
Expand Down Expand Up @@ -139,8 +133,6 @@ Returns the scaled size of a diagram for a value, respecting the specified diagr
:param value: value to calculate corresponding circular size for
:param s: diagram settings
:param is: interpolation settings

.. versionadded:: 2.16
%End

};
Expand Down
14 changes: 0 additions & 14 deletions python/PyQt6/core/auto_generated/dxf/qgsdxfexport.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -349,8 +349,6 @@ Write a group code with a point
.. note::

available in Python bindings as writeGroupPointV2

.. versionadded:: 2.15
%End

void writeGroup( const QColor &color, int exactMatch = 62, int rgbCode = 420, int transparencyCode = 440 );
Expand Down Expand Up @@ -412,8 +410,6 @@ Write a tuple of group code and a handle
void writeLine( const QgsPoint &pt1, const QgsPoint &pt2, const QString &layer, const QString &lineStyleName, const QColor &color, double width = -1 );
%Docstring
Write line (as a polyline)

.. versionadded:: 2.15
%End

void writePoint( const QString &layer, const QColor &color, const QgsPoint &pt ) /PyName=writePointV2/;
Expand All @@ -423,8 +419,6 @@ Write point
.. note::

available in Python bindings as writePointV2

.. versionadded:: 2.15
%End

void writeFilledCircle( const QString &layer, const QColor &color, const QgsPoint &pt, double radius ) /PyName=writeFillCircleV2/;
Expand All @@ -434,8 +428,6 @@ Write filled circle (as hatch)
.. note::

available in Python bindings as writePointV2

.. versionadded:: 2.15
%End

void writeCircle( const QString &layer, const QColor &color, const QgsPoint &pt, double radius, const QString &lineStyleName, double width ) /PyName=writeCircleV2/;
Expand All @@ -445,8 +437,6 @@ Write circle (as polyline)
.. note::

available in Python bindings as writeCircleV2

.. versionadded:: 2.15
%End

void writeText( const QString &layer, const QString &text, const QgsPoint &pt, double size, double angle, const QColor &color, QgsDxfExport::HAlign hali = QgsDxfExport::HAlign::Undefined, QgsDxfExport::VAlign vali = QgsDxfExport::VAlign::Undefined ) /PyName=writeTextV2/;
Expand All @@ -456,8 +446,6 @@ Write text (TEXT)
.. note::

available in Python bindings as writeTextV2

.. versionadded:: 2.15
%End

void writeMText( const QString &layer, const QString &text, const QgsPoint &pt, double width, double angle, const QColor &color );
Expand All @@ -467,8 +455,6 @@ Write mtext (MTEXT)
.. note::

available in Python bindings as writeMTextV2

.. versionadded:: 2.15
%End

static double mapUnitScaleFactor( double scale, Qgis::RenderUnit symbolUnits, Qgis::DistanceUnit mapUnits, double mapUnitsPerPixel = 1.0 );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,15 +119,11 @@ Returns a clone of this element. To be implemented by subclasses.
bool showLabel() const;
%Docstring
Controls if this element should be labeled with a title (field, relation or groupname).

.. versionadded:: 2.18
%End

void setShowLabel( bool showLabel );
%Docstring
Controls if this element should be labeled with a title (field, relation or groupname).

.. versionadded:: 2.18
%End

int horizontalStretch() const;
Expand Down
2 changes: 0 additions & 2 deletions python/PyQt6/core/auto_generated/effects/qgsblureffect.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ class QgsBlurEffect : QgsPaintEffect /NoDefaultCtors/
%Docstring(signature="appended")
A paint effect which blurs a source picture, using a number of different blur
methods.

.. versionadded:: 2.9
%End

%TypeHeaderCode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ class QgsColorEffect : QgsPaintEffect /NoDefaultCtors/
%Docstring(signature="appended")
A paint effect which alters the colors (e.g., brightness, contrast) in a
source picture.

.. versionadded:: 2.9
%End

%TypeHeaderCode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ picture for the following drop shadow effect without actually drawing the blurre
picture to the paint device. If the blur effect had a Render drawMode then the
blurred picture will be drawn on the paint device, but the following drop shadow
effect will be drawn using the original picture, not the blurred version.

.. versionadded:: 2.9
%End

%TypeHeaderCode
Expand Down
6 changes: 0 additions & 6 deletions python/PyQt6/core/auto_generated/effects/qgsgloweffect.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ class QgsGlowEffect : QgsPaintEffect
%Docstring(signature="appended")
Base class for paint effect which draw a glow inside or outside a
picture.

.. versionadded:: 2.9
%End

%TypeHeaderCode
Expand Down Expand Up @@ -350,8 +348,6 @@ class QgsOuterGlowEffect : QgsGlowEffect
{
%Docstring(signature="appended")
A paint effect which draws a glow outside of a picture.

.. versionadded:: 2.9
%End

%TypeHeaderCode
Expand Down Expand Up @@ -386,8 +382,6 @@ class QgsInnerGlowEffect : QgsGlowEffect
{
%Docstring(signature="appended")
A paint effect which draws a glow within a picture.

.. versionadded:: 2.9
%End

%TypeHeaderCode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ format.

Operations are written to either modify an image in place or return a new image, depending
on which is faster for the particular operation.

.. versionadded:: 2.7
%End

%TypeHeaderCode
Expand Down Expand Up @@ -174,8 +172,6 @@ Calculates the non-transparent region of an image.
:param center: return rectangle will be centered on the center of the original image if set to ``True``

.. seealso:: :py:func:`cropTransparent`

.. versionadded:: 2.9
%End

static QImage cropTransparent( const QImage &image, QSize minSize = QSize(), bool center = false );
Expand All @@ -187,8 +183,6 @@ Crop any transparent border from around an image.
cropped image is smaller than the minimum size, it will be centered
in the returned image.
:param center: cropped image will be centered on the center of the original image if set to ``True``

.. versionadded:: 2.9
%End

public:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ method. This will perform the paint effect on the intercepted drawing operations
and render the result to the render context's paint device.

.. seealso:: :py:class:`QgsPaintEffectRegistry`

.. versionadded:: 2.9
%End

%TypeHeaderCode
Expand Down Expand Up @@ -328,8 +326,6 @@ The draw source effect can be used to draw an unaltered copy of the original sou
picture. Minor changes like lowering the opacity and applying a blend mode are
supported, however these changes will force the resultant output to be rasterized.
If no alterations are performed then the original picture will be rendered as a vector.

.. versionadded:: 2.9
%End

%TypeHeaderCode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ Stores metadata about a paint effect class.
It's necessary to implement the :py:func:`~createPaintEffect` function.
In C++ you can use the :py:class:`QgsPaintEffectMetadata` convenience class to
simplify creation of the metadata.

.. versionadded:: 2.9
%End

%TypeHeaderCode
Expand Down Expand Up @@ -88,8 +86,6 @@ Registry of available paint effects.

:py:class:`QgsPaintEffectRegistry` is not usually directly created, but rather accessed through
:py:func:`QgsApplication.paintEffectRegistry()`.

.. versionadded:: 2.9
%End

%TypeHeaderCode
Expand Down Expand Up @@ -168,8 +164,6 @@ Tests whether a paint effect matches the default effects stack.
:return: ``True`` if effect is default stack

.. seealso:: :py:func:`defaultStack`

.. versionadded:: 2.12
%End

private:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ class QgsShadowEffect : QgsPaintEffect /NoDefaultCtors/
{
%Docstring(signature="appended")
Base class for paint effects which offset, blurred shadows

.. versionadded:: 2.9
%End

%TypeHeaderCode
Expand Down Expand Up @@ -300,8 +298,6 @@ class QgsDropShadowEffect : QgsShadowEffect /NoDefaultCtors/
{
%Docstring(signature="appended")
A paint effect which draws an offset and optionally blurred drop shadow

.. versionadded:: 2.9
%End

%TypeHeaderCode
Expand Down Expand Up @@ -337,8 +333,6 @@ class QgsInnerShadowEffect : QgsShadowEffect /NoDefaultCtors/
%Docstring(signature="appended")
A paint effect which draws an offset and optionally blurred drop shadow
within a picture.

.. versionadded:: 2.9
%End

%TypeHeaderCode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ class QgsTransformEffect : QgsPaintEffect /NoDefaultCtors/
%Docstring(signature="appended")
A paint effect which applies transformations (such as move,
scale and rotate) to a picture.

.. versionadded:: 2.9
%End

%TypeHeaderCode
Expand Down
Loading

0 comments on commit 02caeb9

Please sign in to comment.