Download.setAllowOverwrite

void setAllowOverwrite(bool allowed)

Sets the #WebKitDownload:allow-overwrite property.

Sets the #WebKitDownload:allow-overwrite property, which determines whether the download may overwrite an existing file on disk, or if it will fail if the destination already exists.

Parameters

allowedthe new value for the #WebKitDownload:allow-overwrite property