1.  change “bool isEnabled()”  to "bool isEnabled() const".

2.  dolete license.