The qvtkConnect/ qvtkReconnect / qvtkDisconnect helper methods in ctkVTKObject.h currently only provide the old, macro-based ( SLOT(...)) way of connecting Qt slots.
They should be upgraded to (additionally, in the short run, as a full replacement, in the long run?) support the "new" (since Qt 5) way of using function pointers / lambdas.
This way, connections could already be verified at compile time and not only at run time.
The
qvtkConnect/qvtkReconnect/qvtkDisconnecthelper methods inctkVTKObject.hcurrently only provide the old, macro-based (SLOT(...)) way of connecting Qt slots.They should be upgraded to (additionally, in the short run, as a full replacement, in the long run?) support the "new" (since Qt 5) way of using function pointers / lambdas.
This way, connections could already be verified at compile time and not only at run time.