/** bool QWidget::close() * bind/QWidget.h:29 */ static int LineEdit_close(lua_State *L) { try { LineEdit *self = *((LineEdit **)dub_checksdata(L, 1, "mimas.LineEdit")); lua_pushboolean(L, self->close()); return 1; } catch (std::exception &e) { lua_pushfstring(L, "close: %s", e.what()); } catch (...) { lua_pushfstring(L, "close: Unknown exception"); } return dub_error(L); }