The luaQ functions complete the Lua API with facilities related to the QtLua interface. Some luaQ functions are only meaningful for C++ program. The following snipped ensure that all available functions are accessible in both C and C++.

 #include "qtluautils.h"
 #ifdef __cplusplus
 # include "qtluaengine.h"
 #endif

Subsections

  1. luaopen_qt
  2. luaQ_call
  3. luaQ_checkqobject<TYPE>
  4. luaQ_checkqvariant<TYPE>
  5. luaQ_complete
  6. luaQ_connect
  7. luaQ_disconnect
  8. luaQ_doevents
  9. luaQ_engine
  10. luaQ_getfield
  11. luaQ_optqobject<TYPE>
  12. luaQ_optqvariant<TYPE>
  13. luaQ_pcall
  14. luaQ_print
  15. luaQ_pushmeta
  16. luaQ_pushqt
  17. luaQ_register
  18. luaQ_toqobject
  19. luaQ_toqvariant
  20. luaQ_traceback