Imports cleanup
CC: avoid calling update when onlyAdapt is True
Use enabled instead of _onStateChanged (prevent double deconnection of slots,...)