I think you need only two, no? request.accepted = true
or request.accepted = false and request.download = true (which could imply accepted = false) If you accept _and_ download, then we should reboot the computer :) (or print console.debug output) Simon ________________________________________ From: ext Kenneth Rohde Christiansen [[email protected]] Sent: Thursday, October 13, 2011 20:22 To: Vestbo Tor.Arne (Nokia-MP-Qt/Oslo) Cc: Hausmann Simon (Nokia-MP-Qt/Oslo); [email protected] Subject: Re: [webkit-qt] decidePolicyForNavigationAction QML API What is you do request.accepted = true request.cancelled = true? request.addedToDownload = true ? Kenneth On Thu, Oct 13, 2011 at 8:17 PM, Tor Arne Vestbø <[email protected]> wrote: > Nice! > > On 13.10.11 18:56, [email protected] wrote: >> >> Connections { target: view onNavigationRequested: { // ... >> request.accept(); } } > > request.accepted = true > > QML-style, matches MouseArea { onPressed: mouse.accepted = true } > > :) > > tor arne > _______________________________________________ > webkit-qt mailing list > [email protected] > http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt > -- Kenneth Rohde Christiansen Senior Engineer Application and Service Frameworks, Nokia Danmark A/S Phone +45 4093 0598 / E-mail kenneth.christiansen at gmail.com http://codeposts.blogspot.com ﹆﹆﹆ _______________________________________________ webkit-qt mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt
