mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-04 00:04:25 -05:00 
			
		
		
		
	Cleanup
This commit is contained in:
		
							parent
							
								
									0e3280768c
								
							
						
					
					
						commit
						c3066c2c46
					
				@ -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();
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user