Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Effective Qt — Prefer to use normalised signal/slot signatures (marcmutz.wordpress.com)
34 points by Tsiolkovsky on July 27, 2011 | hide | past | favorite | 4 comments


I never ever thought about this, but it does make sense. In any case, I've always used normalized signal/slot names simply because I usually autocomplete them in QtCreator and it uses normalized ones.

Having said that, I don't really dynamically change the signals/slots after setup, so the performance penalty would result in a slightly slower application startup and not affect runtime performance (unless similar normalization must happen at runtime too? I did not check).


I seem to remember Qt Creator does add const and & symbols, not sure though, and cannot check at the moment.


Nope, it adds just the function and parameter types.


Then all my code is OK by default, thanks :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: