[PATCH] KFileDialog overwrite confirmation

alessandro diaferia alediaferia at gmail.com
Fri Jul 11 14:37:54 BST 2008


Hi all.
I managed in patching some files to implement
KFileDialog::setConfirmOverwrite(bool). This makes KFileDialog show this
message http://alediaferia.files.wordpress.com/2008/07/overwrite.png
if someone tries to overwrite a file. I don't know whether
setConfirmOverwrite() should be enabled only if the OperationMode is set to
Saving.

Btw here come the diffs.. Please check these out and let me know if it is
appliable and respects kdelibs coding style.
Hope in your suggestions guys.

Cheers.

-- 
Alessandro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080711/3bf3ab3c/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kabstractfilewidget_h_patch.diff
Type: application/octet-stream
Size: 451 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080711/3bf3ab3c/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kfiledialog_cpp_patch.diff
Type: application/octet-stream
Size: 1679 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080711/3bf3ab3c/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kfiledialog_h_patch.diff
Type: application/octet-stream
Size: 842 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080711/3bf3ab3c/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kfilewidget_cpp_patch.diff
Type: application/octet-stream
Size: 2440 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080711/3bf3ab3c/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kfilewidget_h_patch.diff
Type: application/octet-stream
Size: 959 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080711/3bf3ab3c/attachment-0004.obj>


More information about the kde-core-devel mailing list