The class exposing the History API to QML.
Q_INVOKABLE void deleteAll()
Clears all the history.
Q_INVOKABLE void addUrl(const QVariantMap &map)
Add url to the history.
Q_INVOKABLE void deleteUrl(const QString &url)
Deletes a url from the history.
void visitRemoved(QmlHistoryItem *historyItem)
The signal emitted when a HistoryEntry is removed.
Q_INVOKABLE void deleteRange(const QVariantMap &map)
Deletes history entries within the given range.
QmlHistory(QObject *parent=nullptr)
void visited(QmlHistoryItem *historyItem)
The signal emitted when a HistoryEntry is added.
Q_INVOKABLE QList< QObject * > search(const QString &text)
Searches History Entries against a search query.
Q_INVOKABLE int getVisits(const QString &url)
Get the visit count of a url.
The class exposing HistoryEntry to QML.