signal in mainWindow and slot in other class
Solved
General and Desktop
-
I don't understand how I write:
I tried:connect(this,SIGNAL(clear_Adv_Cam),Cam,SLOT(clear()));
but it doesn't work
[edit, koahnig, added code tags]
-
I don't understand how I write:
I tried:connect(this,SIGNAL(clear_Adv_Cam),Cam,SLOT(clear()));
but it doesn't work
[edit, koahnig, added code tags]
I guess this would be better to add empty paranthesis for your signal
connect(this,SIGNAL(clear_Adv_Cam()),Cam,SLOT(clear()));
AFAIK you need to have the parameter list for both signal and slot. Since it is empty you need to have the empty parenthesis.
-
I guess this would be better to add empty paranthesis for your signal
connect(this,SIGNAL(clear_Adv_Cam()),Cam,SLOT(clear()));
AFAIK you need to have the parameter list for both signal and slot. Since it is empty you need to have the empty parenthesis.
@koahnig it works