A New Krazy Checker for Classes Requiring Q_OBJECT

Richard Moore richmoore44 at gmail.com
Fri May 11 12:03:37 BST 2007


On 5/11/07, Thiago Macieira <thiago at kde.org> wrote:
> Arguably, there might be a reason to derive in the QObject hierarchy
> without including a Q_OBJECT macro, for instance to access a protected
> member function, etc. But I don't believe it exists for direct QObject
> derivation.

In the case of the KJSembed EventProxy it is to allow it to have an
event filter. Having the macro won't do any harm though, so we might
as well add it in that case.

Cheers

Rich.




More information about the kde-core-devel mailing list