|
QGIS API Documentation 3.99.0-Master (2fe06baccd8)
|
Abstract base class for objects which track user history (i.e. More...
#include <qgshistoryprovider.h>

Public Member Functions | |
| ~QgsAbstractHistoryProvider () override | |
| virtual QgsHistoryEntryNode * | createNodeForEntry (const QgsHistoryEntry &entry, const QgsHistoryWidgetContext &context) |
| Creates a new history node for the given entry. | |
| virtual QString | id () const =0 |
| Returns the provider's unique id, which is used to associate existing history entries with the provider. | |
| virtual void | updateNodeForEntry (QgsHistoryEntryNode *node, const QgsHistoryEntry &entry, const QgsHistoryWidgetContext &context) |
| Updates an existing history node for the given entry. | |
Abstract base class for objects which track user history (i.e.
operations performed through the GUI).
QgsAbstractHistoryProvider subclasses are accessible through the QgsHistoryProviderRegistry class.
Definition at line 37 of file qgshistoryprovider.h.
|
overridedefault |
|
virtual |
Creates a new history node for the given entry.
Reimplemented in QgsDatabaseQueryHistoryProvider, and QgsProcessingHistoryProvider.
Definition at line 23 of file qgshistoryprovider.cpp.
|
pure virtual |
Returns the provider's unique id, which is used to associate existing history entries with the provider.
Implemented in QgsDatabaseQueryHistoryProvider, and QgsProcessingHistoryProvider.
|
virtual |
Updates an existing history node for the given entry.
Reimplemented in QgsDatabaseQueryHistoryProvider, and QgsProcessingHistoryProvider.
Definition at line 28 of file qgshistoryprovider.cpp.