Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Sep 26, 2018
1 parent 0e32807 commit c3066c2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
10 changes: 0 additions & 10 deletions python/core/auto_generated/qgsvectorlayer.sip.in
Expand Up @@ -2397,16 +2397,6 @@ Is emitted, when editing on this layer has started
void editingStopped();
%Docstring
Is emitted, when edited changes successfully have been written to the data provider
%End

void canCommitChanges( bool *canCommit );
%Docstring
Emitted when a layer wants to commit changes to the data provider.
Can be used to prevent the layer from being saved by setting ``canCommit`` to false.

It is the developers responsibility to inform the user about this in a suitable manner.

.. versionadded:: 3.4
%End

void beforeCommitChanges();
Expand Down
10 changes: 0 additions & 10 deletions src/core/qgsvectorlayer.h
Expand Up @@ -2157,16 +2157,6 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
//! Is emitted, when edited changes successfully have been written to the data provider
void editingStopped();

/**
* Emitted when a layer wants to commit changes to the data provider.
* Can be used to prevent the layer from being saved by setting \a canCommit to false.
*
* It is the developers responsibility to inform the user about this in a suitable manner.
*
* \since QGIS 3.4
*/
void canCommitChanges( bool *canCommit );

//! Is emitted, before changes are committed to the data provider
void beforeCommitChanges();

Expand Down

0 comments on commit c3066c2

Please sign in to comment.