16#ifndef QGSTRANSACTIONGROUP_H
17#define QGSTRANSACTIONGROUP_H
52 QSet<QgsVectorLayer *> layers()
const;
57 bool modified()
const;
63 QString connString()
const;
69 QString providerKey()
const;
84 void onEditingStarted();
85 void onLayerDeleted();
86 void onBeforeCommitChanges(
bool stopEditing );
90 bool mEditingStopping =
false;
92 void disableTransaction();
96 QSet<QgsVectorLayer *> mLayers;
98 std::unique_ptr<QgsTransaction> mTransaction;
101 QString mProviderKey;
Represents a transaction group.
void commitError(const QString &msg)
Will be emitted whenever there is a commit error.
Represents a vector layer which manages a vector based dataset.