[Interest] Qt5 connect signal to signal

Johannes Lochmann johannes.lochmann at topcontrol.it
Tue Mar 10 09:04:20 CET 2020

Hi Hamish,

Yes, you are right.
Link Tipp: https://wiki.qt.io/New_Signal_Slot_Syntax

Best regards,


Mit freundlichen Grüßen - Distinti saluti - Best regards
Head of Software Development 
+39 0471 319 999
+39 0471 319 990
johannes.lochmann at topcontrol.it

​Enzenbergweg 24/A - Via Enzenberg 24/A
I-39018 Terlan - Terlano (BZ)
 Driving efficiency in food processing
Caution: The unauthorized use of this message is prohibited and may be prosecuted by law. Anyone who receives this communication in error is requested to inform us immediately and then delete the message. 
​The information on the processing of personal data of customers and suppliers made pursuant to the art. 13-14 GDPR is available at the link: https://www.topcontrol.it/en/privacy  
-----Original Message-----
From: Interest <interest-bounces at qt-project.org> On Behalf Of Hamish Moffatt
Sent: Tuesday, March 10, 2020 06:27
To: interest at qt-project.org
Subject: [Interest] Qt5 connect signal to signal

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?


Interest mailing list
Interest at qt-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20200310/0b9cdfd2/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image477972.jpg
Type: image/jpeg
Size: 7025 bytes
Desc: image477972.jpg
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20200310/0b9cdfd2/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image945611.jpg
Type: image/jpeg
Size: 57199 bytes
Desc: image945611.jpg
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20200310/0b9cdfd2/attachment-0003.jpg>

More information about the Interest mailing list