85 Q_INVOKABLE
bool create(
const QVariantMap &map)
const;
103 Q_INVOKABLE QList<QObject*>
search(
const QVariantMap &map)
const;
117 Q_INVOKABLE
bool update(QObject *
object,
const QVariantMap &changes)
const;
131 Q_INVOKABLE QList<QObject*>
getChildren(QObject *
object)
const;
The class exposing the bookmark item to QML.
The class exposing the Bookmarks API to QML.
void changed(QmlBookmarkTreeNode *treeNode)
This signal is emitted when a bookmark item is edited.
Q_INVOKABLE QmlBookmarkTreeNode * lastUsedFolder() const
Get the last used bookmarks folder.
void created(QmlBookmarkTreeNode *treeNode)
This signal is emitted when a new bookmark item is created.
Q_INVOKABLE bool create(const QVariantMap &map) const
Creates a bookmark item.
Q_INVOKABLE QList< QObject * > search(const QVariantMap &map) const
QmlBookmarks::search.
void removed(QmlBookmarkTreeNode *treeNode)
This signal is emitted when a bookmark item is removed.
QmlBookmarks(QObject *parent=nullptr)
Q_INVOKABLE QmlBookmarkTreeNode * get(const QString &string) const
Get the first matched bookmark item.
Q_INVOKABLE QmlBookmarkTreeNode * menuFolder() const
Get the bookmarks menu folder.
Q_INVOKABLE bool remove(QmlBookmarkTreeNode *treeNode) const
Removes a bookmark item.
Q_INVOKABLE QmlBookmarkTreeNode * toolbarFolder() const
Get the bookmarks toolbar.
Q_INVOKABLE bool update(QObject *object, const QVariantMap &changes) const
Updates a bookmark item.
Q_INVOKABLE QmlBookmarkTreeNode * rootItem() const
Get the root bookmark item.
Q_INVOKABLE bool isBookmarked(const QString &url) const
Checks if the url is bookmarked.
Q_INVOKABLE QList< QObject * > getChildren(QObject *object) const
Get children of the bookmark item.
Q_INVOKABLE QmlBookmarkTreeNode * unsortedFolder() const
Get the unsorted bookmarks folder.