[webkit-qt] Addtojavascriptwindowobject

Robert Hogan lists at roberthogan.net
Wed Aug 24 14:58:12 PDT 2011


It sounds like you want this:

https://bugs.webkit.org/show_bug.cgi?id=50615

It removes the need to listen to the javaScriptWindowObjectCleared() 
signal.

There doesn't seem to be any good reason why it hasn't been approved. Maybe 
one of the reviewers can take another look?

On Tuesday 23 August 2011 21:24:46 Michael wrote:
> Hi,
> 
> I am using qtwebkit Bridge by connecting the frame's
> javascriptwindowobjectcleared Signal to my addtojavescriptwindowobject
> slot. All is enclosed in one class, WebView As a member. But If i 
> instantiate multiple objects of my class and show a webview frame in
> one class all other classes slots are also called by the frames
> javascriptwindowobjectcleared signal
> 
> It seems the signal is NOT tied to a particular frame. Is there an
> elegant way to connect each frame's signal to only one object's slot?
> Or do i have to connect just before opening The frame and disconnect
> right after?
> 
> Thank you!
> 
> Mike
> 
> Von meinem iPhone gesendet
> _______________________________________________
> webkit-qt mailing list
> webkit-qt at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt


More information about the webkit-qt mailing list