86 bool removeProvider(
const QString &
id );
91 QStringList providerIds()
const;
178 static QString userHistoryDbPath();
217 bool createDatabase(
const QString &filename, QString &error );
220 bool openDatabase(
const QString &filename, QString &error );
233 bool runEmptyQuery(
const QString &query );
235 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.