With respect to this question:

http://stackoverflow.com/questions/5...ecuted/5765594

The connect call as:
Qt Code:
  1. QObject.connect(web, SIGNAL("loadFinished()"), xprinter.print_page_info)
To copy to clipboard, switch view to plain text mode 
doesn't work.

But in the answer provided:
Qt Code:
  1. web.loadFinished.connect(xprinter.print_page_info)
To copy to clipboard, switch view to plain text mode 
This works fine.

Please tell why?