87 bool removeProvider(
const QString &
id );
92 QStringList providerIds()
const;
175 QList< QgsHistoryEntry > queryEntries(
const QDateTime &start = QDateTime(),
const QDateTime &end = QDateTime(),
181 static QString userHistoryDbPath();
221 bool createDatabase(
const QString &filename, QString &error );
224 bool openDatabase(
const QString &filename, QString &error );
237 bool runEmptyQuery(
const QString &query );
239 QMap< QString, QgsAbstractHistoryProvider * > mProviders;
Abstract base class for objects which track user history (i.e.
Encapsulates a history entry.
Contains options for storing history entries.
HistoryEntryOptions()
Constructor for HistoryEntryOptions.
The QgsHistoryProviderRegistry is a registry for objects which track user history (i....
void entryAdded(long long id, const QgsHistoryEntry &entry, Qgis::HistoryProviderBackend backend)
Emitted when an entry is added.
void entryUpdated(long long id, const QVariantMap &entry, Qgis::HistoryProviderBackend backend)
Emitted when an entry is updated.
void historyCleared(Qgis::HistoryProviderBackend backend, const QString &providerId)
Emitted when the history is cleared for a backend.