| 
    QGIS API Documentation 3.99.0-Master (f78f5286a64)
    
   | 
 
Encapsulates a history entry. More...
#include <qgshistoryentry.h>
Public Member Functions | |
| QgsHistoryEntry ()=default | |
| Constructor for an invalid entry.   | |
| QgsHistoryEntry (const QString &providerId, const QDateTime ×tamp, const QVariantMap &entry) | |
| Constructor for QgsHistoryEntry entry, with the specified providerId and timestamp.   | |
| QgsHistoryEntry (const QVariantMap &entry) | |
| Constructor for QgsHistoryEntry entry.   | |
| bool | isValid () const | 
Returns true if the entry is valid.   | |
Public Attributes | |
| QVariantMap | entry | 
| Entry details.   | |
| long long | id = 0 | 
| Entry ID.   | |
| QString | providerId | 
| Associated history provider ID.   | |
| QDateTime | timestamp | 
| Entry timestamp.   | |
      
  | 
  default | 
Constructor for an invalid entry.
      
  | 
  explicit | 
Constructor for QgsHistoryEntry entry, with the specified providerId and timestamp.
Definition at line 19 of file qgshistoryentry.cpp.
      
  | 
  explicit | 
Constructor for QgsHistoryEntry entry.
The entry timestamp will be automatically set to the current date/time.
Definition at line 26 of file qgshistoryentry.cpp.
| bool QgsHistoryEntry::isValid | ( | ) | const | 
Returns true if the entry is valid. 
Definition at line 32 of file qgshistoryentry.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 80 of file qgshistoryentry.h.
| long long QgsHistoryEntry::id = 0 | 
| QString QgsHistoryEntry::providerId | 
Associated history provider ID.
Definition at line 72 of file qgshistoryentry.h.
| QDateTime QgsHistoryEntry::timestamp | 
Entry timestamp.
Definition at line 69 of file qgshistoryentry.h.