Skip to content

Commit

Permalink
Fix clazy fully-qualified-moc-types warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Nov 20, 2019
1 parent 4b8f37d commit 214bbe9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions python/core/auto_generated/qgsvectorlayer.sip.in
Expand Up @@ -581,7 +581,7 @@ Returns the number of features that are selected in this layer.
.. seealso:: :py:func:`selectedFeatureIds`
%End

void selectByRect( QgsRectangle &rect, SelectBehavior behavior = SetSelection );
void selectByRect( QgsRectangle &rect, QgsVectorLayer::SelectBehavior behavior = QgsVectorLayer::SetSelection );
%Docstring
Selects features found within the search rectangle (in layer's coordinates)

Expand All @@ -596,7 +596,7 @@ Selects features found within the search rectangle (in layer's coordinates)
.. seealso:: :py:func:`selectByIds`
%End

void selectByExpression( const QString &expression, SelectBehavior behavior = SetSelection );
void selectByExpression( const QString &expression, QgsVectorLayer::SelectBehavior behavior = QgsVectorLayer::SetSelection );
%Docstring
Selects matching features using an expression.

Expand All @@ -611,7 +611,7 @@ Selects matching features using an expression.
.. versionadded:: 2.16
%End

void selectByIds( const QgsFeatureIds &ids, SelectBehavior behavior = SetSelection );
void selectByIds( const QgsFeatureIds &ids, QgsVectorLayer::SelectBehavior behavior = QgsVectorLayer::SetSelection );
%Docstring
Selects matching features using a list of feature IDs. Will emit the
selectionChanged() signal with the clearAndSelect flag set.
Expand Down
6 changes: 3 additions & 3 deletions src/core/qgsvectorlayer.h
Expand Up @@ -712,7 +712,7 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
* \see selectByExpression()
* \see selectByIds()
*/
Q_INVOKABLE void selectByRect( QgsRectangle &rect, SelectBehavior behavior = SetSelection );
Q_INVOKABLE void selectByRect( QgsRectangle &rect, QgsVectorLayer::SelectBehavior behavior = QgsVectorLayer::SetSelection );

/**
* Selects matching features using an expression.
Expand All @@ -723,7 +723,7 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
* \see selectByIds()
* \since QGIS 2.16
*/
Q_INVOKABLE void selectByExpression( const QString &expression, SelectBehavior behavior = SetSelection );
Q_INVOKABLE void selectByExpression( const QString &expression, QgsVectorLayer::SelectBehavior behavior = QgsVectorLayer::SetSelection );

/**
* Selects matching features using a list of feature IDs. Will emit the
Expand All @@ -735,7 +735,7 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
* \see selectByExpression()
* \since QGIS 2.16
*/
Q_INVOKABLE void selectByIds( const QgsFeatureIds &ids, SelectBehavior behavior = SetSelection );
Q_INVOKABLE void selectByIds( const QgsFeatureIds &ids, QgsVectorLayer::SelectBehavior behavior = QgsVectorLayer::SetSelection );

/**
* Modifies the current selection on this layer
Expand Down

0 comments on commit 214bbe9

Please sign in to comment.