What is not working? is my_private_slot declared as a slot? Q_OBJECT makro in the header file? or maybe
QObject::connect(m_itemSelectedModel ,
SIGNAL(selectionChanged
(const QItemSelection
&,
const QItemSelection
&)),
this,
SLOT(my_private_slot
()));
QObject::connect(m_itemSelectedModel , SIGNAL(selectionChanged(const QItemSelection&, const QItemSelection&)), this, SLOT(my_private_slot()));
To copy to clipboard, switch view to plain text mode
EDIT: maybe I should try refresh before answering a thread I have opened in a tab...
Bookmarks