You must not put any parameter names but only types into connect() statement.

Qt Code:
  1. connect(sender, SIGNAL(itemClicked(QTreeWidgetItem*, int)), receiver, SLOT(...));
To copy to clipboard, switch view to plain text mode