Le 22/10/2016 à 22:36, Guillaume Munch a écrit :
I know that this is not really followed in LyX currently but I suggest to write "Q_EMIT titleChanged(this)" instead. This is meant to warn the reader that something they do not expect can happen. (And similarly whenever a signal is emitted.) The keyword is usually "emit" but Qt keywords are disabled in LyX for some reason.
It should be Qt's job to enforce this. I cannot look up each and every method in frontends/qt4 to see whether it is a signal or not.
JMarc