[Development] Enum classes in signals?

Jason H jhihn at gmx.com
Tue Feb 5 17:43:03 CET 2019

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?

More information about the Development mailing list