[Interest] Heavily Commented Example: Simple Single Frontend with Two BackendsLow,

Thiago Macieira thiago.macieira at intel.com
Fri Oct 26 17:18:26 CEST 2012

On sexta-feira, 26 de outubro de 2012 17.06.44, Till Oliver Knoll wrote:
> Good practise is probably to *always" add Q_OBJECT to all
> QObject-derived classes, because if you don't, chances are that you
> simply forgot and qobject_cast fails in a subtle way: the result of
> the cast will simply be "different" aka "wrong".

It should produce a compilation error if you do that.


Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20121026/c23e067b/attachment.sig>

More information about the Interest mailing list