Skip to content
Permalink
Browse files

Cleanup

  • Loading branch information
m-kuhn committed Sep 26, 2018
1 parent 0e32807 commit c3066c2c46865f8afdeda56aca67d193c99e8d9a
Showing with 0 additions and 20 deletions.
  1. +0 −10 python/core/auto_generated/qgsvectorlayer.sip.in
  2. +0 −10 src/core/qgsvectorlayer.h
@@ -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();
@@ -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();

0 comments on commit c3066c2

Please sign in to comment.
You can’t perform that action at this time.