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;
80 void commitError(
const QString &msg );
83 void onEditingStarted();
84 void onLayerDeleted();
85 void onCommitChanges();
89 bool mEditingStarting =
false;
90 bool mEditingStopping =
false;
92 void disableTransaction();
94 QSet<QgsVectorLayer *> mLayers;
96 std::unique_ptr<QgsTransaction> mTransaction;
102 #endif // QGSTRANSACTIONGROUP_H