[PATCH] KFileDialog overwrite confirmation

alessandro diaferia alediaferia at gmail.com
Fri Jul 11 15:14:45 BST 2008


2008/7/11 alessandro diaferia <alediaferia at gmail.com>:

> 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


Thanks Rafael for linking me the policies. I see that it is not binary
compatible because of virtual funcions. Do you have hints for me to make it
binary compatible?
Is it just matter of making them not virtual?

P.S. sorry for poor indentation.. Hope to clean everything if i found a way
to not break compatibility =)

Regards
-- 
Alessandro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080711/b2959646/attachment.htm>


More information about the kde-core-devel mailing list