[Qt5-feedback] Make some undocumented features documented
Thiago Macieira
thiago at kde.org
Wed May 25 06:35:28 CEST 2011
On Wednesday, 25 de May de 2011 02:45:01 BRM wrote:
> Q_PRIVATE_SIGNAL
> Q_PROTECTED_SIGNAL
All signals are protected today. I already said it might change in Qt 5 so we
can use C++0x-based connect statements.
> Q_PROTECTED_SLOT
> - probably just an easier way to write "protected Q_SLOTS" now that I think
> about it more. It's probably more readability/clarity than anything else.
"protected slots" is a lot more readable to me than "Q_PROTECTED_SLOT".
> FYI - I typically only use the Q_SLOTS/Q_SIGNALS macros myself, namely as I
> don't want the underlying interface to change if say Boost Signal/Slot
> mechanism was used instead of Qt Signal/Slot - e.g. I always want to use
> the Qt mechanism.
That's a good procedure, Qt public headers themselves are like that.
But not the private headers and those used in applications only.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Senior Product Manager - Nokia, Qt Development Frameworks
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt.nokia.com/pipermail/qt5-feedback/attachments/20110525/203e223b/attachment.bin
More information about the Qt5-feedback
mailing list