Download.setAllowOverwrite

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.

class Download
void
setAllowOverwrite
(
bool allowed
)

Parameters

allowed bool

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

Meta

Since

2.6