1.  change “bool isEnabled()”  to "bool isEnabled() const".
2.  dolete license.
Merge pull request #2767 from chengstory/master_Components#2

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