QGIS API Documentation 3.28.0-Firenze (ed3ad0430f)
Public Member Functions | Public Attributes | List of all members
QgsHistoryEntry Class Reference

Encapsulates a history entry. More...

#include <qgshistoryproviderregistry.h>

Public Member Functions

 QgsHistoryEntry (const QString &providerId, const QDateTime &timestamp, 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...
 

Detailed Description

Encapsulates a history entry.

Since
QGIS 3.24

Definition at line 40 of file qgshistoryproviderregistry.h.

Constructor & Destructor Documentation

◆ QgsHistoryEntry() [1/2]

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() [2/2]

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.

Member Data Documentation

◆ entry

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.

◆ providerId

QString QgsHistoryEntry::providerId

Associated history provider ID.

Definition at line 60 of file qgshistoryproviderregistry.h.

◆ timestamp

QDateTime QgsHistoryEntry::timestamp

Entry timestamp.

Definition at line 57 of file qgshistoryproviderregistry.h.


The documentation for this class was generated from the following files: