[webkit-qt] decidePolicyForNavigationAction QML API
simon.hausmann at nokia.com
simon.hausmann at nokia.com
Thu Oct 13 11:40:52 PDT 2011
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 [kenneth.christiansen at gmail.com]
Sent: Thursday, October 13, 2011 20:22
To: Vestbo Tor.Arne (Nokia-MP-Qt/Oslo)
Cc: Hausmann Simon (Nokia-MP-Qt/Oslo); webkit-qt at lists.webkit.org
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ø
<tor.arne.vestbo at nokia.com> wrote:
> Nice!
>
> On 13.10.11 18:56, simon.hausmann at nokia.com wrote:
>>
>> Connections { target: view onNavigationRequested: { // ...
>> request.accept(); } }
>
> request.accepted = true
>
> QML-style, matches MouseArea { onPressed: mouse.accepted = true }
>
> :)
>
> tor arne
> _______________________________________________
> webkit-qt mailing list
> webkit-qt at lists.webkit.org
> 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 ﹆﹆﹆
More information about the webkit-qt
mailing list