[Development] Virtual hook in qobject?

Allan Sandfeld Jensen kde at carewolf.com
Fri Sep 11 12:37:05 CEST 2020


Should we add a generic virtual hook in qobject, so any qobject can expand 
their with effectively virtual functions in Qt6?

I imagine something like QVariant QObject::virtual_hook(int id, QVariant 
args);

Or do we already have other useful work-arounds for this common problem?

Best regards
'Allan




More information about the Development mailing list