This commit is contained in:
Matthias Kuhn 2018-09-26 19:47:26 +02:00
parent 0e3280768c
commit c3066c2c46
No known key found for this signature in database
GPG Key ID: 7A7F1A1C90C3E6A7
2 changed files with 0 additions and 20 deletions

View File

@ -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();

View File

@ -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();