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 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;
104 #endif // QGSTRANSACTIONGROUP_H