PyQt: the old style signals are not working
Language Bindings
3
Posts
2
Posters
3.3k
Views
1
Watching
-
wrote on 29 Apr 2011, 06:29 last edited by
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.
-
wrote on 3 May 2011, 05:05 last edited by
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.
-
wrote on 4 May 2011, 04:55 last edited by
Thanks its working now :)
3/3