[Interest] Qt5 connect signal to signal

Hamish Moffatt hamish at risingsoftware.com
Tue Mar 10 06:27:29 CET 2020


In the old syntax one could:

connect(source, SIGNAL(readProgress(int)), SIGNAL(progress(int)));


In the new syntax, is it equivalent to use

connect(source, &SourceClass::readProgress, this, &ThisClass::progress);

... assuming that all of this is on a single thread?


I'm not quite clear what thread context the first is using when 
repeating the signal?


Hamish



More information about the Interest mailing list