QGIS/python/core/auto_generated/qgstransactiongroup.sip.in
Nyall Dawson c864d22d1f Add "get ..." to doxygen compliance blacklist
Should be "gets ..." for consistent tense, or better yet
"returns ..." for consistency.
2018-05-27 14:05:06 +10:00

76 lines
2.2 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgstransactiongroup.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsTransactionGroup : QObject
{
%TypeHeaderCode
#include "qgstransactiongroup.h"
%End
public:
explicit QgsTransactionGroup( QObject *parent = 0 );
%Docstring
Constructor for QgsTransactionGroup
%End
bool addLayer( QgsVectorLayer *layer );
%Docstring
Add a layer to this transaction group.
Will return true if it is compatible and has been added.
%End
QSet<QgsVectorLayer *> layers() const;
%Docstring
Gets the set of layers currently managed by this transaction group.
:return: Layer set
%End
bool modified() const;
%Docstring
Returns true if any of the layers in this group reports a modification.
%End
QString connString() const;
%Docstring
Returns the connection string used by this transaction group.
Layers need be compatible when added.
%End
QString providerKey() const;
%Docstring
Returns the provider key used by this transaction group.
Layers need be compatible when added.
%End
bool isEmpty() const;
%Docstring
Returns true if there are no layers in this transaction group.
%End
signals:
void commitError( const QString &msg );
%Docstring
Will be emitted whenever there is a commit error
%End
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgstransactiongroup.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/