Oh sorry about that, I have corrected it:

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

But still recieved the same errors. Any ideas?