5

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?

6
  • Your description of the problem is not clear for me. Can you edit it or put more details or code? Nov 27, 2015 at 8:06
  • @AlexanderTyapkov : I edited , pls Refer above
    – shivcena
    Nov 27, 2015 at 8:19
  • What do you mean by track the emitted signal?
    – jpo38
    Nov 27, 2015 at 8:21
  • @jpo38: i want to call another method while its emits the signal
    – shivcena
    Nov 27, 2015 at 8:22
  • Why cannot you call another method inside of EmitSignal slot? Nov 27, 2015 at 8:25

1 Answer 1

6
connect(this,&MyWdiget::Update,this,&MyWidget::SomeRecivedSlot);

or

connect(this,SIGNAL(Update()),this,SLOT(SomeRecivedSlot()));

Follow the above methods and it is working

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.