Skip to content

Commit b9ec373

Browse files
committedMay 1, 2017
Fully qualify nested classes for vintage sip
1 parent 7a4527d commit b9ec373

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
 

‎python/core/qgsexpression.sip

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,7 @@ The help text for the function.
669669

670670
protected:
671671

672-
static bool allParamsStatic( const NodeFunction *node, QgsExpression *parent, const QgsExpressionContext *context );
672+
static bool allParamsStatic( const QgsExpression::NodeFunction *node, QgsExpression *parent, const QgsExpressionContext *context );
673673
%Docstring
674674
This will return true if all the params for the provided function ``node`` are static within the
675675
constraints imposed by the ``context`` within the given ``parent``.

‎src/core/qgsexpression.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ class CORE_EXPORT QgsExpression
661661
*
662662
* \note Added in QGIS 3.0
663663
*/
664-
static bool allParamsStatic( const NodeFunction *node, QgsExpression *parent, const QgsExpressionContext *context );
664+
static bool allParamsStatic( const QgsExpression::NodeFunction *node, QgsExpression *parent, const QgsExpressionContext *context );
665665

666666
private:
667667
QString mName;
@@ -782,9 +782,9 @@ class CORE_EXPORT QgsExpression
782782

783783
virtual QSet<QString> referencedColumns( const QgsExpression::NodeFunction *node ) const override;
784784

785-
virtual bool isStatic( const NodeFunction *node, QgsExpression *parent, const QgsExpressionContext *context ) const override;
785+
virtual bool isStatic( const QgsExpression::NodeFunction *node, QgsExpression *parent, const QgsExpressionContext *context ) const override;
786786

787-
virtual bool prepare( const NodeFunction *node, QgsExpression *parent, const QgsExpressionContext *context ) const override;
787+
virtual bool prepare( const QgsExpression::NodeFunction *node, QgsExpression *parent, const QgsExpressionContext *context ) const override;
788788

789789
/**
790790
* Set a function that will be called in the prepare step to determine if the function is

0 commit comments

Comments
 (0)
Please sign in to comment.