Hello,
I have a little problem with connecting a signal to a slot.
I try doing this:QObject::connect(tbl,SIGNAL(clicked(int,int,int,co nst QPoint&)),this,SLOT(registerDblKlikket(int,int,int ,const QPoint&)));
this is happening inside a slot, so this connection is only supposed to be active under certain circumstances. I don't get an compile-time error, but when the slot where this connection is, is activated I get the following messages in the debug window:QObject::connect: No such signal QWidget::clicked(int,int,int,const QPoint&)
QObject::connect: (sender name: 'tbl')
QObject::connect: (receiver name: 'MainForm')
I can't see whats wrong, there is indeed a signal called clicked(...), but why is it complaining about QWidget::clicked(...). Is there something wrong
with the sender, tbl
It is a QTable.
Can someone help me?
Bookmarks