[webkit-qt] Addtojavascriptwindowobject

Michael dres-schmidt at t-online.de
Tue Aug 23 13:24:46 PDT 2011


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


More information about the webkit-qt mailing list