Hi, I want to connect QAbstractItemView::selectionChanged, but I don't know why it's not working :S


Qt Code:
  1. m_itemSelectedModel = ui.m_myTableView->selectionModel();
  2. bool test = QObject::connect(m_itemSelectedModel , SIGNAL(selectionChanged()), this, SLOT(my_private_slot()));
To copy to clipboard, switch view to plain text mode 

thanks!