Which of the following two ways of emitting a signal from my class which inherits from some class with signals is better and why?
1. Emitting my signal from within overridden method of a base class like QAbstractState:nEntry().
2. Creating handler for base class' signal like QAbstractState::entered(), connecting the signal with the handler and emitting my signal from within this handler.
Bookmarks