I'm really not fond of that naming convention "onSomethingHappened", slots should be named after an action, like Qt does. So maybe something more like "updateSelection" or something like that.