On Saturday, 24 de September de 2011 20:23:35 Peter Kuemmel wrote: > > > > Definitely no boilerplate code. > > > > > > I only see a chance with generated headers, or does 'boilerplate code' > > > mean only hand written code? > > > > Boilerplate means stuff you have to write to get things up and running. > > OK, despite all the other points you mentioned I attach here a file which > demonstrates the idea I'm talking about. In principle it only "frees" > the signal and forwards the call to QObject::connect, which is already > implemented by Oliver, so I assume it supports all features of Oliver's > code. No boilerplate code to write, only the 'new and ugly' connect > call.
The same technique can be used to bypass the signal protection and emit the
signal.
So I'm skeptical about the advantage and still afraid of the drawbacks.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Software Architect - Intel Open Source Technology Center
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Qt5-feedback mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback
