bool luaQ_connect(lua_State*L, QObject*o, const char *s, int fi)

Connects the signal with signature s from the Qt object o to the function at position fi in the stack. Returns true in case of success. Returns false if the specified signal was not found.

See also qt.connect(...)