How detect plugin in KHTMLPart

Koos Vriezen koos.vriezen at xs4all.nl
Thu Nov 24 20:02:50 GMT 2005


On Thu, Nov 24, 2005 at 07:30:45PM +0100, Miroslav Suchý wrote:
> Hello, can somebody help me?
> 
> I have KHTMLPart class and I openURL(). How can I find out, that KHTML
> use some plugin for this page?
> In another words:
> 
> havePlugin bool;
> khtml = new KHTMLPart;
> khtml->openURL(url);
> havePlugin = ???

Traverse the kpart hierarchy, I think. Of course (i)frames will also
show up here as KHTMLPart objects.

Koos

> Best Regards
> 	Miroslav Suchy
> 
> -- 
>                                         ,,,
>                                        (o o)
>   =================================oOO==(_)==OOo===========
>  )               mailto:miroslav at suchy.cz
> (   ICQ: #70802630 tel:+420-603-775737 skype:MiroslavSuchy
>  )
> ( "Programming today is a race between software engineers
>  ) striving to build bigger and better idiot-proof programs,
> (  and the Universe trying to produce bigger and better idiots.
>  )  So far, the Universe is winning."  -- Rich Cook
> (________________________________________Oooo._____________
>                                  .oooO   (   )
>                                  (   )    ) /
>                                   \ (    (_/
>                                    \_)
> 




More information about the kfm-devel mailing list