ravi.xolve
29th April 2011, 07:27
With respect to this question:
http://stackoverflow.com/questions/5765077/qtwebkit-loadfinished-and-loadprogress-slots-are-never-executed/5765594
The connect call as:
QObject.connect(web, SIGNAL("loadFinished()"), xprinter.print_page_info)
doesn't work.
But in the answer provided:
web.loadFinished.connect(xprinter.print_page_info)
This works fine.
Please tell why?
http://stackoverflow.com/questions/5765077/qtwebkit-loadfinished-and-loadprogress-slots-are-never-executed/5765594
The connect call as:
QObject.connect(web, SIGNAL("loadFinished()"), xprinter.print_page_info)
doesn't work.
But in the answer provided:
web.loadFinished.connect(xprinter.print_page_info)
This works fine.
Please tell why?