Class QtLuaListener emits signals when its parent receives event messages. This is convenient because the Lua program can define event handling functions using the signal connection function qt.connect.
QtLuaListener