I have HTML page opened in class KHTMLPart (core of Konqueror), I need to know if the KHTML use some plugin for this page.
Basicaly I have this code:
havePlugin bool;
khtml = new KHTMLPart;
khtml->openURL(url);
// wait few second until page is loaded
havePlugin = ??? // this is your job
Use KDE api version 3.3 and class KHTMLPart from this API ([login to view URL])
You probably have to traverse kpart hierarchy. Be aware that frames, iframes is object too, but I'm looking only for external plugins, especialy for flash.
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code in C++ language of all work done.
2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables): It must be able to compile with gcc.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
## Platform
Linux