mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-16 00:03:12 -04:00
Fix API typo
This commit is contained in:
parent
28f2722650
commit
37e9272f3d
@ -23,7 +23,7 @@ class QgsTransaction : QObject /Abstract/
|
|||||||
and all layers need to be in read-only mode for a transaction to be committed
|
and all layers need to be in read-only mode for a transaction to be committed
|
||||||
or rolled back.
|
or rolled back.
|
||||||
|
|
||||||
Layers cannot only be included in one transaction at a time.
|
Layers can only be included in one transaction at a time.
|
||||||
|
|
||||||
When editing layers which are part of a transaction group, all changes are
|
When editing layers which are part of a transaction group, all changes are
|
||||||
sent directly to the data provider (bypassing the undo/redo stack), and the
|
sent directly to the data provider (bypassing the undo/redo stack), and the
|
||||||
@ -105,7 +105,7 @@ class QgsTransaction : QObject /Abstract/
|
|||||||
|
|
||||||
static bool supportsTransaction( const QgsVectorLayer *layer );
|
static bool supportsTransaction( const QgsVectorLayer *layer );
|
||||||
%Docstring
|
%Docstring
|
||||||
Checks if a the provider of a given ``layer`` supports transactions.
|
Checks if the provider of a given ``layer`` supports transactions.
|
||||||
:rtype: bool
|
:rtype: bool
|
||||||
%End
|
%End
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ class QgsVectorLayer;
|
|||||||
* and all layers need to be in read-only mode for a transaction to be committed
|
* and all layers need to be in read-only mode for a transaction to be committed
|
||||||
* or rolled back.
|
* or rolled back.
|
||||||
*
|
*
|
||||||
* Layers cannot only be included in one transaction at a time.
|
* Layers can only be included in one transaction at a time.
|
||||||
*
|
*
|
||||||
* When editing layers which are part of a transaction group, all changes are
|
* When editing layers which are part of a transaction group, all changes are
|
||||||
* sent directly to the data provider (bypassing the undo/redo stack), and the
|
* sent directly to the data provider (bypassing the undo/redo stack), and the
|
||||||
@ -115,7 +115,7 @@ class CORE_EXPORT QgsTransaction : public QObject SIP_ABSTRACT
|
|||||||
virtual bool executeSql( const QString &sql, QString &error SIP_OUT, bool isDirty = false ) = 0;
|
virtual bool executeSql( const QString &sql, QString &error SIP_OUT, bool isDirty = false ) = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Checks if a the provider of a given \a layer supports transactions.
|
* Checks if the provider of a given \a layer supports transactions.
|
||||||
*/
|
*/
|
||||||
static bool supportsTransaction( const QgsVectorLayer *layer );
|
static bool supportsTransaction( const QgsVectorLayer *layer );
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user