Skip to content
Permalink
Browse files

Update dox, bindings

  • Loading branch information
nyalldawson committed Jun 11, 2018
1 parent b88c2f4 commit 3b89ee07ce55cd37e6be845135e70bed2fd8b283
Showing with 12 additions and 5 deletions.
  1. +9 −1 python/core/auto_generated/qgsproject.sip.in
  2. +3 −4 src/core/qgsproject.h
@@ -599,14 +599,22 @@ Make sure that this is only called when all layers are not in edit mode.
%End


QgsTransactionGroup *transactionGroup( const QString &providerKey, const QString &connString );
%Docstring
Get a transaction group from a provider key and connection string.

Returns None if a matching transaction group is not available.

.. versionadded:: 3.2
%End

bool evaluateDefaultValues() const;
%Docstring
Should default values be evaluated on provider side when requested and not when committed.

.. versionadded:: 2.16
%End


void setEvaluateDefaultValues( bool evaluateDefaultValues );
%Docstring
Defines if default values should be evaluated on provider side when requested and not when committed.
@@ -585,12 +585,11 @@ class CORE_EXPORT QgsProject : public QObject, public QgsExpressionContextGenera
QMap< QPair< QString, QString>, QgsTransactionGroup *> transactionGroups() SIP_SKIP;

/**
* Get a transaction group by getting provider & connection string.
* Returns null pointer if transaction group is not available.
* Get a transaction group from a provider key and connection string.
*
* providerKey, connString -> transactionGroup
* Returns nullptr if a matching transaction group is not available.
*
* \since QGIS 3.0
* \since QGIS 3.2
*/
QgsTransactionGroup *transactionGroup( const QString &providerKey, const QString &connString );

0 comments on commit 3b89ee0

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