Skip to content

Commit

Permalink
Update some version numbers in API docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jan 6, 2019
1 parent a180edc commit 3cb1be2
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 18 deletions.
Expand Up @@ -80,14 +80,14 @@ Returns a string representation of the expression

:param cStyle: if true operators will follow C syntax

.. versionadded:: 3.6
.. versionadded:: 3.4.4
%End

QList<const QgsRasterCalcNode *> findNodes( const QgsRasterCalcNode::Type type ) const;
%Docstring
Returns a list of nodes of a specific ``type``

.. versionadded:: 3.6
.. versionadded:: 3.4.4
%End

static QgsRasterCalcNode *parseRasterCalcString( const QString &str, QString &parserErrorMsg ) /Factory/;
Expand Down
Expand Up @@ -230,7 +230,7 @@ Returns the geometry at the specified ``index``. An IndexError will be raised if
Indexes can be less than 0, in which case they correspond to geometries from the end of the collect. E.g. an index of -1
corresponds to the last geometry in the collection.

.. versionadded:: 3.6
.. versionadded:: 3.4.4
%End
%MethodCode
const int count = sipCpp->numGeometries();
Expand All @@ -256,7 +256,7 @@ Deletes the geometry at the specified ``index``. A geometry at the ``index`` mus
Indexes can be less than 0, in which case they correspond to geometries from the end of the collection. E.g. an index of -1
corresponds to the last geometry in the collection.

.. versionadded:: 3.6
.. versionadded:: 3.4.4
%End
%MethodCode
const int count = sipCpp->numGeometries();
Expand All @@ -275,7 +275,7 @@ corresponds to the last geometry in the collection.
%Docstring
Iterates through all geometries in the collection.

.. versionadded:: 3.6
.. versionadded:: 3.4.4
%End
%MethodCode
sipRes = sipConvertFromNewType( new QgsGeometryPartIterator( sipCpp ), sipType_QgsGeometryPartIterator, Py_None );
Expand Down
6 changes: 3 additions & 3 deletions python/core/auto_generated/geometry/qgslinestring.sip.in
Expand Up @@ -515,7 +515,7 @@ Returns the point at the specified ``index``. An IndexError will be raised if no
Indexes can be less than 0, in which case they correspond to positions from the end of the line. E.g. an index of -1
corresponds to the last point in the line.

.. versionadded:: 3.6
.. versionadded:: 3.4.4
%End
%MethodCode
const int count = sipCpp->numPoints();
Expand All @@ -542,7 +542,7 @@ Sets the point at the specified ``index``. A point at the ``index`` must already
Indexes can be less than 0, in which case they correspond to positions from the end of the line. E.g. an index of -1
corresponds to the last point in the line.

.. versionadded:: 3.6
.. versionadded:: 3.4.4
%End
%MethodCode
const int count = sipCpp->numPoints();
Expand Down Expand Up @@ -572,7 +572,7 @@ Deletes the vertex at the specified ``index``. A point at the ``index`` must alr
Indexes can be less than 0, in which case they correspond to positions from the end of the line. E.g. an index of -1
corresponds to the last point in the line.

.. versionadded:: 3.6
.. versionadded:: 3.4.4
%End
%MethodCode
const int count = sipCpp->numPoints();
Expand Down
4 changes: 2 additions & 2 deletions src/analysis/raster/qgsrastercalcnode.h
Expand Up @@ -109,13 +109,13 @@ class ANALYSIS_EXPORT QgsRasterCalcNode
/**
* Returns a string representation of the expression
* \param cStyle if true operators will follow C syntax
* \since QGIS 3.6
* \since QGIS 3.4.4
*/
QString toString( bool cStyle = false ) const;

/**
* Returns a list of nodes of a specific \a type
* \since QGIS 3.6
* \since QGIS 3.4.4
*/
QList<const QgsRasterCalcNode *> findNodes( const QgsRasterCalcNode::Type type ) const;

Expand Down
6 changes: 3 additions & 3 deletions src/core/geometry/qgsgeometrycollection.h
Expand Up @@ -242,7 +242,7 @@ class CORE_EXPORT QgsGeometryCollection: public QgsAbstractGeometry
* Indexes can be less than 0, in which case they correspond to geometries from the end of the collect. E.g. an index of -1
* corresponds to the last geometry in the collection.
*
* \since QGIS 3.6
* \since QGIS 3.4.4
*/
SIP_PYOBJECT __getitem__( int index ) SIP_TYPEHINT( QgsAbstractGeometry );
% MethodCode
Expand All @@ -268,7 +268,7 @@ class CORE_EXPORT QgsGeometryCollection: public QgsAbstractGeometry
* Indexes can be less than 0, in which case they correspond to geometries from the end of the collection. E.g. an index of -1
* corresponds to the last geometry in the collection.
*
* \since QGIS 3.6
* \since QGIS 3.4.4
*/
void __delitem__( int index );
% MethodCode
Expand All @@ -287,7 +287,7 @@ class CORE_EXPORT QgsGeometryCollection: public QgsAbstractGeometry
/**
* Iterates through all geometries in the collection.
*
* \since QGIS 3.6
* \since QGIS 3.4.4
*/
SIP_PYOBJECT __iter__() SIP_TYPEHINT( QgsGeometryPartIterator );
% MethodCode
Expand Down
6 changes: 3 additions & 3 deletions src/core/geometry/qgslinestring.h
Expand Up @@ -648,7 +648,7 @@ class CORE_EXPORT QgsLineString: public QgsCurve
* Indexes can be less than 0, in which case they correspond to positions from the end of the line. E.g. an index of -1
* corresponds to the last point in the line.
*
* \since QGIS 3.6
* \since QGIS 3.4.4
*/
SIP_PYOBJECT __getitem__( int index ) SIP_TYPEHINT( QgsPoint );
% MethodCode
Expand All @@ -675,7 +675,7 @@ class CORE_EXPORT QgsLineString: public QgsCurve
* Indexes can be less than 0, in which case they correspond to positions from the end of the line. E.g. an index of -1
* corresponds to the last point in the line.
*
* \since QGIS 3.6
* \since QGIS 3.4.4
*/
void __setitem__( int index, const QgsPoint &point );
% MethodCode
Expand Down Expand Up @@ -705,7 +705,7 @@ class CORE_EXPORT QgsLineString: public QgsCurve
* Indexes can be less than 0, in which case they correspond to positions from the end of the line. E.g. an index of -1
* corresponds to the last point in the line.
*
* \since QGIS 3.6
* \since QGIS 3.4.4
*/
void __delitem__( int index );
% MethodCode
Expand Down
4 changes: 2 additions & 2 deletions src/core/qgsopenclutils.h
Expand Up @@ -143,7 +143,7 @@ class CORE_EXPORT QgsOpenClUtils
/**
* Returns the active platform OpenCL version string (e.g. 1.1, 2.0 etc.)
* or a blank string if there is no active platform.
* \since QGIS 3.6
* \since QGIS 3.4.4
*/
static QString activePlatformVersion( );

Expand Down Expand Up @@ -196,7 +196,7 @@ class CORE_EXPORT QgsOpenClUtils
* Build the program from \a source in the given \a context and depending on \a exceptionBehavior
* can throw or catch the exceptions
* \return the built program
* \deprecated since QGIS 3.6
* \deprecated since QGIS 3.4.4
*/
Q_DECL_DEPRECATED static cl::Program buildProgram( const cl::Context &context, const QString &source, ExceptionBehavior exceptionBehavior = Catch );

Expand Down

0 comments on commit 3cb1be2

Please sign in to comment.