issue #3457
1. replace UIAction NULL to nullptr.
2. modify  class variable  name.
issue #3457 use C++ 11 auto loop.