Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
docs
  • Loading branch information
signedav committed May 11, 2020
1 parent 87de7de commit 3c963ab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions python/core/auto_generated/qgsvectorlayerutils.sip.in
Expand Up @@ -300,8 +300,9 @@ The following operations will be performed to convert the input features:
static bool impactsCascadeFeatures( const QgsVectorLayer *layer, const QgsFeatureIds &fids, const QgsProject *project, QgsDuplicateFeatureContext &context );
%Docstring

:return: true if the ``is`` connected as parent in at least one composition relation of the ``project``
or contains joins, where cascade delete is set.
:return: true if at least one feature of the ``fids`` on ``layer`` is connected as parent in at
least one composition relation of the ``project`` or contains joins, where cascade delete is set.
The ``context`` is used to get more details.

.. versionadded:: 3.14
%End
Expand Down
5 changes: 3 additions & 2 deletions src/core/qgsvectorlayerutils.h
Expand Up @@ -321,8 +321,9 @@ class CORE_EXPORT QgsVectorLayerUtils
static QString getFeatureDisplayString( const QgsVectorLayer *layer, const QgsFeature &feature );

/**
* \returns true if the \a is connected as parent in at least one composition relation of the \a project
* or contains joins, where cascade delete is set.
* \returns true if at least one feature of the \a fids on \a layer is connected as parent in at
* least one composition relation of the \a project or contains joins, where cascade delete is set.
* The \a context is used to get more details.
*
* \since QGIS 3.14
*/
Expand Down

0 comments on commit 3c963ab

Please sign in to comment.