PyQt: the old style signals are not working
-
With respect to this question:
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.
-
It is more likely that the problem was in the incorrect signature than in the fact that it doesn't work. QWebKit::loadFinished has a bool as argument as stated in the edited post.
-
Thanks its working now :)