[Qt-interest] try-catch in QApplication::notify() reimplementation

Andre Somers andre at familiesomers.nl
Fri Aug 6 07:23:02 CEST 2010


Op 5-8-2010 23:29, Malyushytsky, Alex schreef:
> Virtual functions does not have to have "virtual" keword in the derived classes.
> So notify is virtual, check:
>
> bool QCoreApplication::notify ( QObject * receiver, QEvent * event )   [virtual]
>
> Alex
>    
As a side note, it *is* considdered good style to use the virtual 
keyword in derived classes anyway, especially if that class is part of 
some API or is meant to be subclassed itself.

André




More information about the Qt-interest-old mailing list