Hi,

On Apr 11, 2012, at 15:09 , ext Thiago Macieira wrote:

> For non-QObject classes which *already* have virtual tables, we should 
> consider it. Fortunately, those classes are minority in Qt, we have very few 
> of them.

grep'ing through the source code, we have several virtual_hooks in Qt:

QAccessibleInterface - is this still needed? We have QAccessible2 now that uses 
proper interfaces

QSqlResult - this is a good example of virtual_hook, we used it to add several 
new functions to the SQL drivers during the Qt 4 lifetime. However, it should 
now be cleaned up to use real virtual functions (task 25252 created).

QIconEngine - uses "AvailableSizesHook". Since this is in QtWidgets, I wonder 
whether it's worth cleaning up.

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

Reply via email to