/** QString QWidget::windowTitle() * bind/QWidget.h:40 */ static int TableView_windowTitle(lua_State *L) { try { TableView *self = *((TableView **)dub_checksdata(L, 1, "mimas.TableView")); lua_pushstring(L, self->windowTitle().toUtf8()); return 1; } catch (std::exception &e) { lua_pushfstring(L, "windowTitle: %s", e.what()); } catch (...) { lua_pushfstring(L, "windowTitle: Unknown exception"); } return dub_error(L); }