This function is public. It can be used by both user and programmer.
QxEventManager.attachEventTypes(vEventTypes, vFunctionPointer);