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
allowed | the new value for the #WebKitDownload:allow-overwrite property |