This is how I sent the signal

Qt Code:
  1. wdgt.trvModules->dataChanged(wdgt.trvModules->currentIndex(),wdgt.trvModules->currentIndex());
To copy to clipboard, switch view to plain text mode 

I had it right at the end of the method that changes the data. I have also added a call to setData in the same place.

Qt Code:
  1. wdgt.trvModules->model()->setData(wdgt.trvModules->currentIndex(),classSize);
  2.  
  3. wdgt.trvModules->dataChanged(wdgt.trvModules->currentIndex(),wdgt.trvModules->currentIndex());
To copy to clipboard, switch view to plain text mode 

Where wdgt.trvModules is a pointer to teh QTreeView and I'm changing the selected (singular) item.