On Monday 10 March 2008 08:49:31 william lee wrote:
> Hi Trolltech and Qt Fans,
>     I have a question about QtWebKit API.
>     Is there any signal or virtual function where I can handle the
> javascript command "window.close()"?  I just want to close the external
> QWebView holder when execuate "window.close()".
>     I can't find anything relatived in QWebView, QWebPage and QWebFrame.
>
>    Thanks~~
>
>
> Best Regards,
> William

QWebPage will give off the signal windowCloseRequested which is probably what 
you are looking for.  Some example usage can be found in the demo browser's 
tabwidget.cpp.

-Benjamin Meyer

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to