QGIS API Documentation 3.41.0-Master (3440c17df1d)
|
Abstract base class for objects which track user history (i.e. More...
#include <qgshistoryprovider.h>
Public Member Functions | |
virtual | ~QgsAbstractHistoryProvider () |
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 36 of file qgshistoryprovider.h.
|
virtualdefault |
|
virtual |
Creates a new history node for the given entry.
Reimplemented in QgsProcessingHistoryProvider, and QgsDatabaseQueryHistoryProvider.
Definition at line 22 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 QgsProcessingHistoryProvider, and QgsDatabaseQueryHistoryProvider.
|
virtual |
Updates an existing history node for the given entry.
Reimplemented in QgsProcessingHistoryProvider, and QgsDatabaseQueryHistoryProvider.
Definition at line 27 of file qgshistoryprovider.cpp.