[Development] Adoption of virtual_hook()

simon.hausmann at nokia.com simon.hausmann at nokia.com
Wed Apr 11 09:34:20 CEST 2012


I would say that qt_metacall is our equivalent. We used that with slots in QStyle for example to achieve the same effect with slightly more convenience :)

Simon

--
Sendt fra min Nokia N911.04.12 08:19 skrev Saether Jan-Arve (Nokia-MP/Oslo):
The "Little Manual of API Design" [1] recommends adding a virtual_hook() that can be used later on if we need to extend the class without BIC. Lots of classes does not have this hook.

Isn't this something we should fix before Qt5 is out?

Jan-Arve

[1]: Little Manual of API Design, http://chaos.troll.no/~shausman/api-design/api-design.pdf

_______________________________________________
Development mailing list
Development at qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


More information about the Development mailing list