[Development] Enum classes in signals?

Alexander Nassian nassian at bitshift-dynamics.com
Tue Feb 5 17:46:36 CET 2019

Is it really deprecated? Didn’t find any notice and wonder how it could get deprecated as the f-ptr syntax is not functionally equivalent to the macro syntax.

Beste Grüße / Best regards,
Alexander Nassian

> Am 05.02.2019 um 17:43 schrieb Jason H <jhihn at gmx.com>:
> While I prefer enum classes myself, I just had to connect to a signal with one in it. This was unfortunate as I was attempting to use the old connection syntax SIGNAL()/SLOT() macros. I was not aware that the old syntax were being deprecated? What is the policy on this?
> Should signals not use enum classes?
> Should Qt not use enum classes?
> Should Qt support old connection syntax? Where/when?
> Should all new connections be in the modern syntax?
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> https://lists.qt-project.org/listinfo/development



bitshift dynamics GmbH
Neudorfer Str. 1, 79541 Lörrach

Registergericht: Amtsgericht Freiburg i. Breisgau, HRB 713747

Geschäftsführer: Alexander Nassian, Markus Pfaffinger

http://www.bitshift-dynamics.de <http://www.bitshift-dynamics.de/>

Zentrale: +49 762158673 - 0
Fax: +49 7621 58673 - 90

Allgemeine Anfragen: 
info at bitshift-dynamics.com <mailto:info at bitshift-dynamics.com>
Support: support at bitshift-dynamics.com 
<mailto:support at bitshift-dynamics.com>
invoice at bitshift-dynamics.com <mailto:invoice at bitshift-dynamics.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20190205/5e12f077/attachment.html>

More information about the Development mailing list