Skip to content
Permalink
Browse files

Update some version numbers in API docs

  • Loading branch information
nyalldawson committed Jan 6, 2019
1 parent a180edc commit 3cb1be2bbc66c6fc1d6211826f6b3df4d9cba1f9
@@ -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/;
@@ -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();
@@ -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();
@@ -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 );
@@ -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();
@@ -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();
@@ -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();
@@ -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;

@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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( );

@@ -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 );

0 comments on commit 3cb1be2

Please sign in to comment.
You can’t perform that action at this time.