Home > Back-end >  Qt connect function
Qt connect function

Time:01-26

The connect (mH264Encoder, SIGNAL (sig_GetOneFrame (QImage)), and this, SIGNAL (sig_GetOneFrame (QImage)));
//connect the signals and slots, which sig_GetOneFrame (QImage) for custom groove function
Why signals and slots? It can be? This line of code?

CodePudding user response:

This SIGNAL is forwarded mH264Encoder issued sig_GetOneFrame (QImage) SIGNAL of this SIGNAL is mH264Encoder SIGNAL, then this has carried on the forwarding to the SIGNAL forward is if this sig_GetOneFrame sig_GetOneFrame SIGNAL is a function of slots and you hope that in this process from mH264Encoder sig_GetOneFrame (QImage) SIGNAL, you should write the connect (mH264Encoder, SIGNAL (sig_GetOneFrame (QImage)), and this, SLOT (sig_GetOneFrame (QImage)));
  • Related