I'm trying to get the doubleClicked signal connected to my slot, but I receive an error.
The following code produces an error:
this,
Qt::QueuedConnection);
QObject::connect(m_ui.m_myTable,
SIGNAL(doubleClicked ( const QModelIndex & index )),
this,
SLOT(myDoubleClick ( const QModelIndex & index )),
Qt::QueuedConnection);
To copy to clipboard, switch view to plain text mode
where 'm_ui.m_myTable' is of type, QTableView*.
Here is the error message:
QMetaObject::connectSlotsByName(): No matching signal for on_clearLogButton_clicked()
Object::connect: No such signal QTableView::doubleClicked(QModelIndex&index)
Object::connect: (sender name: 'm_holdemAllTable')
Object::connect: (receiver name: 'QTPokerClientClass')
Does anyone know how to avoid this error?
I got some iunput from the following thread, but I don't know how the thread ended.
http://www.qtcentre.org/forum/f-qt-p...cell-1037.html
Thanks,
DP
Bookmarks