SIP_SKIP QgsExpression::cloneTo

This commit is contained in:
Matthias Kuhn 2017-05-04 09:41:29 +02:00
parent 3d43f639d5
commit 41dc9d1e17
2 changed files with 5 additions and 11 deletions

View File

@ -924,15 +924,6 @@ return index of the function in Functions array
protected:
void cloneTo( QgsExpression::Node *target ) const;
%Docstring
Needs to be called by all subclasses as part of their clone() implementation.
.. note::
Not available in python bindings
.. versionadded:: 3.0
%End
private:
virtual bool prepareNode( QgsExpression *parent, const QgsExpressionContext *context ) = 0 ;

View File

@ -1036,12 +1036,15 @@ class CORE_EXPORT QgsExpression
protected:
/**
* Copies the members of this node to the node provided in \a target.
* Needs to be called by all subclasses as part of their clone() implementation.
*
* \note Not available in python bindings
* \note Not available in python bindings, QgsExpression::Node is not
* going to be subclassed from python. If that's what you are looking
* for, look into writing a custom python expression function.
* \since QGIS 3.0
*/
void cloneTo( QgsExpression::Node *target ) const;
void cloneTo( QgsExpression::Node *target ) const SIP_SKIP;
private: