BookmarkFile.setIcon

void setIcon(string uri, string href, string mimeType)

Sets the icon for the bookmark for uri. If href is null, unsets the currently set icon. href can either be a full URL for the icon file or the icon name following the Icon Naming specification.

If no bookmark for uri is found one is created.

Parameters

uria valid URI
hrefthe URI of the icon for the bookmark, or null
mimeTypethe MIME type of the icon for the bookmark