If you want the item that has been clicked, connect to the QTreeWidget::itemClickked() signal.

Cheers,
_