Whats is wrong with following call. IDBTable is QTableWidget
connect(m_GUI->m_UI->IDBTable,SIGNAL(cellPressed(2, 0)), this, SLOT(slotGoToWelcomeScreen()));
Whats is wrong with following call. IDBTable is QTableWidget
connect(m_GUI->m_UI->IDBTable,SIGNAL(cellPressed(2, 0)), this, SLOT(slotGoToWelcomeScreen()));
Your signal definition is wrong. There is no such signal cellPressed(2, 0)
but only cellPressed(int, int)
. Please read the documentation about signals and slots and prefer the new signal slot syntax to catch such errors during compile time.