QGIS API Documentation 3.28.0-Firenze (ed3ad0430f)
|
Encapsulates a history entry. More...
#include <qgshistoryproviderregistry.h>
Public Member Functions | |
QgsHistoryEntry (const QString &providerId, const QDateTime ×tamp, const QVariantMap &entry) | |
Constructor for QgsHistoryEntry entry, with the specified providerId and timestamp. More... | |
QgsHistoryEntry (const QVariantMap &entry) | |
Constructor for QgsHistoryEntry entry. More... | |
Public Attributes | |
QVariantMap | entry |
Entry details. More... | |
QString | providerId |
Associated history provider ID. More... | |
QDateTime | timestamp |
Entry timestamp. More... | |
Encapsulates a history entry.
Definition at line 40 of file qgshistoryproviderregistry.h.
QgsHistoryEntry::QgsHistoryEntry | ( | const QString & | providerId, |
const QDateTime & | timestamp, | ||
const QVariantMap & | entry | ||
) |
Constructor for QgsHistoryEntry entry, with the specified providerId and timestamp.
Definition at line 32 of file qgshistoryproviderregistry.cpp.
QgsHistoryEntry::QgsHistoryEntry | ( | const QVariantMap & | entry | ) |
Constructor for QgsHistoryEntry entry.
The entry timestamp will be automatically set to the current date/time.
Definition at line 40 of file qgshistoryproviderregistry.cpp.
QVariantMap QgsHistoryEntry::entry |
Entry details.
Entries details are stored as a free-form map. Interpretation of this map is the responsibility of the associated history provider.
Definition at line 68 of file qgshistoryproviderregistry.h.
QString QgsHistoryEntry::providerId |
Associated history provider ID.
Definition at line 60 of file qgshistoryproviderregistry.h.
QDateTime QgsHistoryEntry::timestamp |
Entry timestamp.
Definition at line 57 of file qgshistoryproviderregistry.h.