connect(mw, SIGNAL(signalRowSelected(QVariant rowdata)), this, SLOT(slotDisplayRow(QVariant rowdata)));
This is incorrect syntax for a connect() statement. It should be:
connect(mw,
SIGNAL(signalRowSelected
(QVariant)),
this,
SLOT(slotDisplayRow
(QVariant)));
connect(mw, SIGNAL(signalRowSelected(QVariant)), this, SLOT(slotDisplayRow(QVariant)));
To copy to clipboard, switch view to plain text mode
If you paid attention to the runtime output from the debugger, you would have seen an error message that the connect() call failed.
And have you actually verified that the "mw" used in the connect call really is a pointer to you QMainWindow instance and not some sub-widget (like a QFrame, for example)?
Bookmarks