The on_XX-methods in Qt are a mechanism introduced in Qt 4.0 to connect hand written code to designer generated form classes. See http://doc.trolltech.com/4.5/qmetaob...ectSlotsByName
In the name of the method, you see wether the name of the signal is written in the past (clicked) or in the future (aboutToBeClicked). Most objects only provide signals that are emitted AFTER the state has changed, e.g. clicked, triggered




Reply With Quote

?
.

nTransition(QEvent *event)? there is no such thing in Qt sources and Qt Assistant. Only onX methods are in WebCore which wasn't designed by Trolls, just ported would be my guess.

Bookmarks