The following is a code snippet from a Qt Jambi browser application.
public void loadDone() {
statusBar().showMessage("Loading done...");System.out.println("kya 1");
System.out.println(browser.page().mainFrame().frameName());
List list=browser.page().mainFrame().childFrames();
for (Object frame : list)
System.out.println(((QWebFrame)frame).frameName()+" "+((QWebFrame)frame).title()+" "+((QWebFrame)frame).toPlainText());
System.out.println("kya 2");
}
The loadDone() method does get executed when the loading of a web page is done. "kya 1" and "kya 2" are duly printed but the name of the frame as well as the child frames are not getting printed. I am opening the page : www.qt.nokia.com