Reputation: 2053
In my Qt creator application im emitting a signal by calling a member function,
void MyWidget::EmitSignal()
{
emit Update();
}
How to track the emitted signal while i call the member function?
Upvotes: 5
Views: 1647
Reputation: 259
connect(this,&MyWdiget::Update,this,&MyWidget::SomeRecivedSlot);
or
connect(this,SIGNAL(Update()),this,SLOT(SomeRecivedSlot()));
Follow the above methods and it is working
Upvotes: 6