16 #ifndef QGSTRANSACTIONGROUP_H
17 #define QGSTRANSACTIONGROUP_H
19 #include "qgis_core.h"
51 QSet<QgsVectorLayer *> layers()
const;
56 bool modified()
const;
62 QString connString()
const;
68 QString providerKey()
const;
83 void onEditingStarted();
84 void onLayerDeleted();
85 void onBeforeCommitChanges(
bool stopEditing );
89 bool mEditingStarting =
false;
90 bool mEditingStopping =
false;
92 void disableTransaction();
96 QSet<QgsVectorLayer *> mLayers;
98 std::unique_ptr<QgsTransaction> mTransaction;
101 QString mProviderKey;
void commitError(const QString &msg)
Will be emitted whenever there is a commit error.
Represents a vector layer which manages a vector based data sets.