On Thu, Oct 13, 2011 at 3:40 PM,  <[email protected]> wrote:
> I think you need only two, no?
>
> request.accepted = true
>
> or
>
> request.accepted = false
>
> and
>
> request.download = true
> (which could imply accepted = false)

This is confusing... I think using three functions for the three
possible answers is better.

If this is async, the request can outlive the function that handles
the signal, this is not the case for mouse.accepted, it needs to be
decided before the event handler function returns.

If you want to avoid functions, an enumeration is better than two booleans.


Cheers,

-- 
Caio Marcelo de Oliveira Filho
OpenBossa - INdT
_______________________________________________
webkit-qt mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt

Reply via email to