On Mon, Sep 26, 2011 at 3:39 PM, Tarandeep Singh <tarand...@gmail.com>wrote:

> Hi,
>
> I am using QWebPage to load urls. Sometimes url redirects to different url
> (either using http redirect or by using javascript).
>
> What I am trying to accomplish here is- if a redirect occur, stop rendering
> the page and simply print/return the redirected url. I connected QWebFrame's
> signal -urlChanged and then tried to call
>
> page->triggerAction( QWebPage::Stop);
>
> But my process crashes.
>
> So is there a way to accomplish what I am trying to do here and how?
>

You could override the
QWebPage::acceptNavigationRequest<http://doc.qt.nokia.com/latest/qwebpage.html#acceptNavigationRequest>


>
> Thanks,
> Tarandeep
>
> _______________________________________________
> webkit-qt mailing list
> webkit-qt@lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt
>
>


-- 
................................................................

*Sencha*
Jarred Nicholls, Senior Software Architect
@jarrednicholls
<http://twitter.com/jarrednicholls>
_______________________________________________
webkit-qt mailing list
webkit-qt@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt

Reply via email to