[PATCH] KFileDialog overwrite confirmation

Michael Pyne mpyne at purinchu.net
Mon Jul 14 03:26:46 BST 2008


On Sunday 13 July 2008, Rafael Fernández López wrote:
> Hi,
>
> Well, I know how it works ;), what I meant is if setConfirmOverride _needs_
> to be virtual.


It can't, it would break BC. ;)


However I pretty much agree with your idea on making it an enum in general for 
readability.


And yes, deliberately bouncing unhandled code to KAbstractFileWidget is likely 
to crash since it is defined as = 0.  But there's nowhere else to go to handle 
it so there's no use in trying to hide the error (and you never know when an 
implementation will later be added.)


Regards,
 - Michael Pyne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080713/9cbbacfa/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080713/9cbbacfa/attachment.sig>


More information about the kde-core-devel mailing list