I have an interesting problem (or not):
I want to catch a signal clicked, that is coming from a button in another class... How do i do that?
Printable View
I have an interesting problem (or not):
I want to catch a signal clicked, that is coming from a button in another class... How do i do that?
hi,
use class name before the button
ex: anotherClass->button
hope it helps
Bala
connect(source class->button, SIGNAL(clicked()), target_class, SLOT(handleButtonClick())). The connect statement connects signals and slots.