1 #include "lqt_bind_QWidget.hpp"
3 int LuaBinder
< QWidget
>::__LuaWrapCall__windowFlags (lua_State
*L
) {
4 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
6 lua_pushstring(L
, "trying to reference deleted pointer");
10 QFlags
<Qt::WindowType
> ret
= __lua__obj
->QWidget::windowFlags();
11 lqtL_passudata(L
, new QFlags
<Qt::WindowType
>(ret
), "QFlags<Qt::WindowType>*");
14 int LuaBinder
< QWidget
>::__LuaWrapCall__setShown (lua_State
*L
) {
15 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
17 lua_pushstring(L
, "trying to reference deleted pointer");
21 bool arg1
= (bool)lua_toboolean(L
, 2);
22 __lua__obj
->QWidget::setShown(arg1
);
25 int LuaBinder
< QWidget
>::__LuaWrapCall__minimumSize (lua_State
*L
) {
26 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
28 lua_pushstring(L
, "trying to reference deleted pointer");
32 QSize ret
= __lua__obj
->QWidget::minimumSize();
33 lqtL_passudata(L
, new QSize(ret
), "QSize*");
36 int LuaBinder
< QWidget
>::__LuaWrapCall__showMinimized (lua_State
*L
) {
37 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
39 lua_pushstring(L
, "trying to reference deleted pointer");
43 __lua__obj
->QWidget::showMinimized();
46 int LuaBinder
< QWidget
>::__LuaWrapCall__statusTip (lua_State
*L
) {
47 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
49 lua_pushstring(L
, "trying to reference deleted pointer");
53 QString ret
= __lua__obj
->QWidget::statusTip();
54 lua_pushlstring(L
, ret
.toAscii().data(), ret
.toAscii().size());
57 int LuaBinder
< QWidget
>::__LuaWrapCall__styleSheet (lua_State
*L
) {
58 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
60 lua_pushstring(L
, "trying to reference deleted pointer");
64 QString ret
= __lua__obj
->QWidget::styleSheet();
65 lua_pushlstring(L
, ret
.toAscii().data(), ret
.toAscii().size());
68 int LuaBinder
< QWidget
>::__LuaWrapCall__childrenRegion (lua_State
*L
) {
69 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
71 lua_pushstring(L
, "trying to reference deleted pointer");
75 QRegion ret
= __lua__obj
->QWidget::childrenRegion();
76 lqtL_passudata(L
, new QRegion(ret
), "QRegion*");
79 int LuaBinder
< QWidget
>::__LuaWrapCall__mapTo (lua_State
*L
) {
80 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
82 lua_pushstring(L
, "trying to reference deleted pointer");
86 QWidget
* arg1
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 2, "QWidget*"));
87 const QPoint
& arg2
= **static_cast<QPoint
**>(lqtL_checkudata(L
, 3, "QPoint*"));
88 QPoint ret
= __lua__obj
->QWidget::mapTo(arg1
, arg2
);
89 lqtL_passudata(L
, new QPoint(ret
), "QPoint*");
92 int LuaBinder
< QWidget
>::__LuaWrapCall__setStyle (lua_State
*L
) {
93 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
95 lua_pushstring(L
, "trying to reference deleted pointer");
99 QStyle
* arg1
= *static_cast<QStyle
**>(lqtL_checkudata(L
, 2, "QStyle*"));
100 __lua__obj
->QWidget::setStyle(arg1
);
103 int LuaBinder
< QWidget
>::__LuaWrapCall__size (lua_State
*L
) {
104 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
106 lua_pushstring(L
, "trying to reference deleted pointer");
110 QSize ret
= __lua__obj
->QWidget::size();
111 lqtL_passudata(L
, new QSize(ret
), "QSize*");
114 int LuaBinder
< QWidget
>::__LuaWrapCall__tr__OverloadedVersion__1 (lua_State
*L
) {
115 const char * arg1
= lua_tostring(L
, 1);
116 const char * arg2
= (lua_type(L
, 2)==LUA_TSTRING
)?lua_tostring(L
, 2):static_cast< const char * >(0);
117 QString ret
= QWidget::tr(arg1
, arg2
);
118 lua_pushlstring(L
, ret
.toAscii().data(), ret
.toAscii().size());
121 int LuaBinder
< QWidget
>::__LuaWrapCall__tr__OverloadedVersion__2 (lua_State
*L
) {
122 const char * arg1
= lua_tostring(L
, 1);
123 const char * arg2
= lua_tostring(L
, 2);
124 int arg3
= lua_tointeger(L
, 3);
125 QString ret
= QWidget::tr(arg1
, arg2
, arg3
);
126 lua_pushlstring(L
, ret
.toAscii().data(), ret
.toAscii().size());
129 int LuaBinder
< QWidget
>::__LuaWrapCall__tr (lua_State
*L
) {
131 const int premium
= 11+lua_gettop(L
);
133 if ((lua_type(L
, 1)==LUA_TSTRING
)) {
136 score
[1] += premium
-1; // table: 0x1f92f50;
138 score
[1] -= premium
*premium
;
140 if ((lua_type(L
, 2)==LUA_TSTRING
)) {
143 score
[1] += premium
-1; // table: 0x1f92cc0;
145 score
[1] -= premium
*premium
;
148 if ((lua_type(L
, 1)==LUA_TSTRING
)) {
151 score
[2] += premium
-1; // table: 0x1f94970;
153 score
[2] -= premium
*premium
;
155 if ((lua_type(L
, 2)==LUA_TSTRING
)) {
158 score
[2] += premium
-1; // table: 0x1f94e60;
160 score
[2] -= premium
*premium
;
162 if (lua_isnumber(L
, 3)) {
165 score
[2] += premium
-1; // table: 0x1f95210;
167 score
[2] -= premium
*premium
;
170 for (int i
=1;i
<=2;i
++) {
171 if (score
[best
] < score
[i
]) { best
= i
; }
174 case 1: return __LuaWrapCall__tr__OverloadedVersion__1(L
); break;
175 case 2: return __LuaWrapCall__tr__OverloadedVersion__2(L
); break;
177 lua_pushstring(L
, "no overload of function __LuaWrapCall__tr matching arguments");
181 int LuaBinder
< QWidget
>::__LuaWrapCall__isVisible (lua_State
*L
) {
182 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
184 lua_pushstring(L
, "trying to reference deleted pointer");
188 bool ret
= __lua__obj
->QWidget::isVisible();
189 lua_pushboolean(L
, ret
);
192 int LuaBinder
< QWidget
>::__LuaWrapCall__whatsThis (lua_State
*L
) {
193 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
195 lua_pushstring(L
, "trying to reference deleted pointer");
199 QString ret
= __lua__obj
->QWidget::whatsThis();
200 lua_pushlstring(L
, ret
.toAscii().data(), ret
.toAscii().size());
203 int LuaBinder
< QWidget
>::__LuaWrapCall__layout (lua_State
*L
) {
204 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
206 lua_pushstring(L
, "trying to reference deleted pointer");
210 QLayout
* ret
= __lua__obj
->QWidget::layout();
211 lqtL_pushudata(L
, ret
, "QLayout*");
214 int LuaBinder
< QWidget
>::__LuaWrapCall__palette (lua_State
*L
) {
215 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
217 lua_pushstring(L
, "trying to reference deleted pointer");
221 const QPalette
& ret
= __lua__obj
->QWidget::palette();
222 lqtL_pushudata(L
, &(ret
), "QPalette*");
225 int LuaBinder
< QWidget
>::__LuaWrapCall__font (lua_State
*L
) {
226 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
228 lua_pushstring(L
, "trying to reference deleted pointer");
232 const QFont
& ret
= __lua__obj
->QWidget::font();
233 lqtL_pushudata(L
, &(ret
), "QFont*");
236 int LuaBinder
< QWidget
>::__LuaWrapCall__adjustSize (lua_State
*L
) {
237 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
239 lua_pushstring(L
, "trying to reference deleted pointer");
243 __lua__obj
->QWidget::adjustSize();
246 int LuaBinder
< QWidget
>::__LuaWrapCall__setAcceptDrops (lua_State
*L
) {
247 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
249 lua_pushstring(L
, "trying to reference deleted pointer");
253 bool arg1
= (bool)lua_toboolean(L
, 2);
254 __lua__obj
->QWidget::setAcceptDrops(arg1
);
257 int LuaBinder
< QWidget
>::__LuaWrapCall__unsetLocale (lua_State
*L
) {
258 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
260 lua_pushstring(L
, "trying to reference deleted pointer");
264 __lua__obj
->QWidget::unsetLocale();
267 int LuaBinder
< QWidget
>::__LuaWrapCall__pos (lua_State
*L
) {
268 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
270 lua_pushstring(L
, "trying to reference deleted pointer");
274 QPoint ret
= __lua__obj
->QWidget::pos();
275 lqtL_passudata(L
, new QPoint(ret
), "QPoint*");
278 int LuaBinder
< QWidget
>::__LuaWrapCall__setGeometry__OverloadedVersion__1 (lua_State
*L
) {
279 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
281 lua_pushstring(L
, "trying to reference deleted pointer");
285 int arg1
= lua_tointeger(L
, 2);
286 int arg2
= lua_tointeger(L
, 3);
287 int arg3
= lua_tointeger(L
, 4);
288 int arg4
= lua_tointeger(L
, 5);
289 __lua__obj
->QWidget::setGeometry(arg1
, arg2
, arg3
, arg4
);
292 int LuaBinder
< QWidget
>::__LuaWrapCall__setGeometry__OverloadedVersion__2 (lua_State
*L
) {
293 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
295 lua_pushstring(L
, "trying to reference deleted pointer");
299 const QRect
& arg1
= **static_cast<QRect
**>(lqtL_checkudata(L
, 2, "QRect*"));
300 __lua__obj
->QWidget::setGeometry(arg1
);
303 int LuaBinder
< QWidget
>::__LuaWrapCall__setGeometry (lua_State
*L
) {
305 const int premium
= 11+lua_gettop(L
);
307 score
[1] += lqtL_testudata(L
, 1, "QWidget*")?premium
:-premium
*premium
;
308 if (lua_isnumber(L
, 2)) {
311 score
[1] += premium
-1; // table: 0x1ff59b0;
313 score
[1] -= premium
*premium
;
315 if (lua_isnumber(L
, 3)) {
318 score
[1] += premium
-1; // table: 0x1ff5e90;
320 score
[1] -= premium
*premium
;
322 if (lua_isnumber(L
, 4)) {
325 score
[1] += premium
-1; // table: 0x1ff6260;
327 score
[1] -= premium
*premium
;
329 if (lua_isnumber(L
, 5)) {
332 score
[1] += premium
-1; // table: 0x1ff6200;
334 score
[1] -= premium
*premium
;
337 score
[2] += lqtL_testudata(L
, 1, "QWidget*")?premium
:-premium
*premium
;
338 if (lqtL_testudata(L
, 2, "QRect*")) {
341 score
[2] += premium
-1; // table: 0x1ff6f10;
343 score
[2] -= premium
*premium
;
346 for (int i
=1;i
<=2;i
++) {
347 if (score
[best
] < score
[i
]) { best
= i
; }
350 case 1: return __LuaWrapCall__setGeometry__OverloadedVersion__1(L
); break;
351 case 2: return __LuaWrapCall__setGeometry__OverloadedVersion__2(L
); break;
353 lua_pushstring(L
, "no overload of function __LuaWrapCall__setGeometry matching arguments");
357 int LuaBinder
< QWidget
>::__LuaWrapCall__windowIconText (lua_State
*L
) {
358 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
360 lua_pushstring(L
, "trying to reference deleted pointer");
364 QString ret
= __lua__obj
->QWidget::windowIconText();
365 lua_pushlstring(L
, ret
.toAscii().data(), ret
.toAscii().size());
368 int LuaBinder
< QWidget
>::__LuaWrapCall__isRightToLeft (lua_State
*L
) {
369 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
371 lua_pushstring(L
, "trying to reference deleted pointer");
375 bool ret
= __lua__obj
->QWidget::isRightToLeft();
376 lua_pushboolean(L
, ret
);
379 int LuaBinder
< QWidget
>::__LuaWrapCall__mapFrom (lua_State
*L
) {
380 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
382 lua_pushstring(L
, "trying to reference deleted pointer");
386 QWidget
* arg1
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 2, "QWidget*"));
387 const QPoint
& arg2
= **static_cast<QPoint
**>(lqtL_checkudata(L
, 3, "QPoint*"));
388 QPoint ret
= __lua__obj
->QWidget::mapFrom(arg1
, arg2
);
389 lqtL_passudata(L
, new QPoint(ret
), "QPoint*");
392 int LuaBinder
< QWidget
>::__LuaWrapCall__inputContext (lua_State
*L
) {
393 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
395 lua_pushstring(L
, "trying to reference deleted pointer");
399 QInputContext
* ret
= __lua__obj
->QWidget::inputContext();
400 lqtL_pushudata(L
, ret
, "QInputContext*");
403 int LuaBinder
< QWidget
>::__LuaWrapCall__windowState (lua_State
*L
) {
404 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
406 lua_pushstring(L
, "trying to reference deleted pointer");
410 QFlags
<Qt::WindowState
> ret
= __lua__obj
->QWidget::windowState();
411 lqtL_passudata(L
, new QFlags
<Qt::WindowState
>(ret
), "QFlags<Qt::WindowState>*");
414 int LuaBinder
< QWidget
>::__LuaWrapCall__minimumWidth (lua_State
*L
) {
415 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
417 lua_pushstring(L
, "trying to reference deleted pointer");
421 int ret
= __lua__obj
->QWidget::minimumWidth();
422 lua_pushinteger(L
, ret
);
425 int LuaBinder
< QWidget
>::__LuaWrapCall__addAction (lua_State
*L
) {
426 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
428 lua_pushstring(L
, "trying to reference deleted pointer");
432 QAction
* arg1
= *static_cast<QAction
**>(lqtL_checkudata(L
, 2, "QAction*"));
433 __lua__obj
->QWidget::addAction(arg1
);
436 int LuaBinder
< QWidget
>::__LuaWrapCall__isHidden (lua_State
*L
) {
437 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
439 lua_pushstring(L
, "trying to reference deleted pointer");
443 bool ret
= __lua__obj
->QWidget::isHidden();
444 lua_pushboolean(L
, ret
);
447 int LuaBinder
< QWidget
>::__LuaWrapCall__delete (lua_State
*L
) {
448 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
450 lua_pushstring(L
, "trying to reference deleted pointer");
458 int LuaBinder
< QWidget
>::__LuaWrapCall__setWindowTitle (lua_State
*L
) {
459 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
461 lua_pushstring(L
, "trying to reference deleted pointer");
465 const QString
& arg1
= QString::fromAscii(lua_tostring(L
, 2), lua_objlen(L
, 2));
466 __lua__obj
->QWidget::setWindowTitle(arg1
);
469 int LuaBinder
< QWidget
>::__LuaWrapCall__setStyleSheet (lua_State
*L
) {
470 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
472 lua_pushstring(L
, "trying to reference deleted pointer");
476 const QString
& arg1
= QString::fromAscii(lua_tostring(L
, 2), lua_objlen(L
, 2));
477 __lua__obj
->QWidget::setStyleSheet(arg1
);
480 int LuaBinder
< QWidget
>::__LuaWrapCall__releaseShortcut (lua_State
*L
) {
481 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
483 lua_pushstring(L
, "trying to reference deleted pointer");
487 int arg1
= lua_tointeger(L
, 2);
488 __lua__obj
->QWidget::releaseShortcut(arg1
);
491 int LuaBinder
< QWidget
>::__LuaWrapCall__setWhatsThis (lua_State
*L
) {
492 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
494 lua_pushstring(L
, "trying to reference deleted pointer");
498 const QString
& arg1
= QString::fromAscii(lua_tostring(L
, 2), lua_objlen(L
, 2));
499 __lua__obj
->QWidget::setWhatsThis(arg1
);
502 int LuaBinder
< QWidget
>::__LuaWrapCall__isEnabled (lua_State
*L
) {
503 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
505 lua_pushstring(L
, "trying to reference deleted pointer");
509 bool ret
= __lua__obj
->QWidget::isEnabled();
510 lua_pushboolean(L
, ret
);
513 int LuaBinder
< QWidget
>::__LuaWrapCall__addActions (lua_State
*L
) {
514 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
516 lua_pushstring(L
, "trying to reference deleted pointer");
520 QList
<QAction
*> arg1
= **static_cast<QList
<QAction
*>**>(lqtL_checkudata(L
, 2, "QList<QAction*>*"));
521 __lua__obj
->QWidget::addActions(arg1
);
524 int LuaBinder
< QWidget
>::__LuaWrapCall__setWindowModified (lua_State
*L
) {
525 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
527 lua_pushstring(L
, "trying to reference deleted pointer");
531 bool arg1
= (bool)lua_toboolean(L
, 2);
532 __lua__obj
->QWidget::setWindowModified(arg1
);
535 int LuaBinder
< QWidget
>::__LuaWrapCall__setWindowIconText (lua_State
*L
) {
536 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
538 lua_pushstring(L
, "trying to reference deleted pointer");
542 const QString
& arg1
= QString::fromAscii(lua_tostring(L
, 2), lua_objlen(L
, 2));
543 __lua__obj
->QWidget::setWindowIconText(arg1
);
546 int LuaBinder
< QWidget
>::__LuaWrapCall__setWindowRole (lua_State
*L
) {
547 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
549 lua_pushstring(L
, "trying to reference deleted pointer");
553 const QString
& arg1
= QString::fromAscii(lua_tostring(L
, 2), lua_objlen(L
, 2));
554 __lua__obj
->QWidget::setWindowRole(arg1
);
557 int LuaBinder
< QWidget
>::__LuaWrapCall__scroll__OverloadedVersion__1 (lua_State
*L
) {
558 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
560 lua_pushstring(L
, "trying to reference deleted pointer");
564 int arg1
= lua_tointeger(L
, 2);
565 int arg2
= lua_tointeger(L
, 3);
566 __lua__obj
->QWidget::scroll(arg1
, arg2
);
569 int LuaBinder
< QWidget
>::__LuaWrapCall__scroll__OverloadedVersion__2 (lua_State
*L
) {
570 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
572 lua_pushstring(L
, "trying to reference deleted pointer");
576 int arg1
= lua_tointeger(L
, 2);
577 int arg2
= lua_tointeger(L
, 3);
578 const QRect
& arg3
= **static_cast<QRect
**>(lqtL_checkudata(L
, 4, "QRect*"));
579 __lua__obj
->QWidget::scroll(arg1
, arg2
, arg3
);
582 int LuaBinder
< QWidget
>::__LuaWrapCall__scroll (lua_State
*L
) {
584 const int premium
= 11+lua_gettop(L
);
586 score
[1] += lqtL_testudata(L
, 1, "QWidget*")?premium
:-premium
*premium
;
587 if (lua_isnumber(L
, 2)) {
590 score
[1] += premium
-1; // table: 0x20081d0;
592 score
[1] -= premium
*premium
;
594 if (lua_isnumber(L
, 3)) {
597 score
[1] += premium
-1; // table: 0x20086f0;
599 score
[1] -= premium
*premium
;
602 score
[2] += lqtL_testudata(L
, 1, "QWidget*")?premium
:-premium
*premium
;
603 if (lua_isnumber(L
, 2)) {
606 score
[2] += premium
-1; // table: 0x2008fd0;
608 score
[2] -= premium
*premium
;
610 if (lua_isnumber(L
, 3)) {
613 score
[2] += premium
-1; // table: 0x20094e0;
615 score
[2] -= premium
*premium
;
617 if (lqtL_testudata(L
, 4, "QRect*")) {
620 score
[2] += premium
-1; // table: 0x2009890;
622 score
[2] -= premium
*premium
;
625 for (int i
=1;i
<=2;i
++) {
626 if (score
[best
] < score
[i
]) { best
= i
; }
629 case 1: return __LuaWrapCall__scroll__OverloadedVersion__1(L
); break;
630 case 2: return __LuaWrapCall__scroll__OverloadedVersion__2(L
); break;
632 lua_pushstring(L
, "no overload of function __LuaWrapCall__scroll matching arguments");
636 int LuaBinder
< QWidget
>::__LuaWrapCall__cursor (lua_State
*L
) {
637 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
639 lua_pushstring(L
, "trying to reference deleted pointer");
643 QCursor ret
= __lua__obj
->QWidget::cursor();
644 lqtL_passudata(L
, new QCursor(ret
), "QCursor*");
647 int LuaBinder
< QWidget
>::__LuaWrapCall__setFixedHeight (lua_State
*L
) {
648 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
650 lua_pushstring(L
, "trying to reference deleted pointer");
654 int arg1
= lua_tointeger(L
, 2);
655 __lua__obj
->QWidget::setFixedHeight(arg1
);
658 int LuaBinder
< QWidget
>::__LuaWrapCall__setShortcutAutoRepeat (lua_State
*L
) {
659 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
661 lua_pushstring(L
, "trying to reference deleted pointer");
665 int arg1
= lua_tointeger(L
, 2);
666 bool arg2
= lua_isboolean(L
, 3)?(bool)lua_toboolean(L
, 3):true;
667 __lua__obj
->QWidget::setShortcutAutoRepeat(arg1
, arg2
);
670 int LuaBinder
< QWidget
>::__LuaWrapCall__trUtf8__OverloadedVersion__1 (lua_State
*L
) {
671 const char * arg1
= lua_tostring(L
, 1);
672 const char * arg2
= (lua_type(L
, 2)==LUA_TSTRING
)?lua_tostring(L
, 2):static_cast< const char * >(0);
673 QString ret
= QWidget::trUtf8(arg1
, arg2
);
674 lua_pushlstring(L
, ret
.toAscii().data(), ret
.toAscii().size());
677 int LuaBinder
< QWidget
>::__LuaWrapCall__trUtf8__OverloadedVersion__2 (lua_State
*L
) {
678 const char * arg1
= lua_tostring(L
, 1);
679 const char * arg2
= lua_tostring(L
, 2);
680 int arg3
= lua_tointeger(L
, 3);
681 QString ret
= QWidget::trUtf8(arg1
, arg2
, arg3
);
682 lua_pushlstring(L
, ret
.toAscii().data(), ret
.toAscii().size());
685 int LuaBinder
< QWidget
>::__LuaWrapCall__trUtf8 (lua_State
*L
) {
687 const int premium
= 11+lua_gettop(L
);
689 if ((lua_type(L
, 1)==LUA_TSTRING
)) {
692 score
[1] += premium
-1; // table: 0x1f93c90;
694 score
[1] -= premium
*premium
;
696 if ((lua_type(L
, 2)==LUA_TSTRING
)) {
699 score
[1] += premium
-1; // table: 0x1f937f0;
701 score
[1] -= premium
*premium
;
704 if ((lua_type(L
, 1)==LUA_TSTRING
)) {
707 score
[2] += premium
-1; // table: 0x1f95a80;
709 score
[2] -= premium
*premium
;
711 if ((lua_type(L
, 2)==LUA_TSTRING
)) {
714 score
[2] += premium
-1; // table: 0x1f951b0;
716 score
[2] -= premium
*premium
;
718 if (lua_isnumber(L
, 3)) {
721 score
[2] += premium
-1; // table: 0x1f95f10;
723 score
[2] -= premium
*premium
;
726 for (int i
=1;i
<=2;i
++) {
727 if (score
[best
] < score
[i
]) { best
= i
; }
730 case 1: return __LuaWrapCall__trUtf8__OverloadedVersion__1(L
); break;
731 case 2: return __LuaWrapCall__trUtf8__OverloadedVersion__2(L
); break;
733 lua_pushstring(L
, "no overload of function __LuaWrapCall__trUtf8 matching arguments");
737 int LuaBinder
< QWidget
>::__LuaWrapCall__foregroundRole (lua_State
*L
) {
738 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
740 lua_pushstring(L
, "trying to reference deleted pointer");
744 QPalette::ColorRole ret
= __lua__obj
->QWidget::foregroundRole();
745 lqtL_pushenum(L
, ret
, "QPalette::ColorRole");
748 int LuaBinder
< QWidget
>::__LuaWrapCall__mapToGlobal (lua_State
*L
) {
749 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
751 lua_pushstring(L
, "trying to reference deleted pointer");
755 const QPoint
& arg1
= **static_cast<QPoint
**>(lqtL_checkudata(L
, 2, "QPoint*"));
756 QPoint ret
= __lua__obj
->QWidget::mapToGlobal(arg1
);
757 lqtL_passudata(L
, new QPoint(ret
), "QPoint*");
760 int LuaBinder
< QWidget
>::__LuaWrapCall__releaseMouse (lua_State
*L
) {
761 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
763 lua_pushstring(L
, "trying to reference deleted pointer");
767 __lua__obj
->QWidget::releaseMouse();
770 int LuaBinder
< QWidget
>::__LuaWrapCall__isEnabledTo (lua_State
*L
) {
771 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
773 lua_pushstring(L
, "trying to reference deleted pointer");
777 QWidget
* arg1
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 2, "QWidget*"));
778 bool ret
= __lua__obj
->QWidget::isEnabledTo(arg1
);
779 lua_pushboolean(L
, ret
);
782 int LuaBinder
< QWidget
>::__LuaWrapCall__isLeftToRight (lua_State
*L
) {
783 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
785 lua_pushstring(L
, "trying to reference deleted pointer");
789 bool ret
= __lua__obj
->QWidget::isLeftToRight();
790 lua_pushboolean(L
, ret
);
793 int LuaBinder
< QWidget
>::__LuaWrapCall__contextMenuPolicy (lua_State
*L
) {
794 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
796 lua_pushstring(L
, "trying to reference deleted pointer");
800 Qt::ContextMenuPolicy ret
= __lua__obj
->QWidget::contextMenuPolicy();
801 lqtL_pushenum(L
, ret
, "Qt::ContextMenuPolicy");
804 int LuaBinder
< QWidget
>::__LuaWrapCall__updatesEnabled (lua_State
*L
) {
805 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
807 lua_pushstring(L
, "trying to reference deleted pointer");
811 bool ret
= __lua__obj
->QWidget::updatesEnabled();
812 lua_pushboolean(L
, ret
);
815 int LuaBinder
< QWidget
>::__LuaWrapCall__isAncestorOf (lua_State
*L
) {
816 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
818 lua_pushstring(L
, "trying to reference deleted pointer");
822 const QWidget
* arg1
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 2, "QWidget*"));
823 bool ret
= __lua__obj
->QWidget::isAncestorOf(arg1
);
824 lua_pushboolean(L
, ret
);
827 int LuaBinder
< QWidget
>::__LuaWrapCall__normalGeometry (lua_State
*L
) {
828 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
830 lua_pushstring(L
, "trying to reference deleted pointer");
834 QRect ret
= __lua__obj
->QWidget::normalGeometry();
835 lqtL_passudata(L
, new QRect(ret
), "QRect*");
838 int LuaBinder
< QWidget
>::__LuaWrapCall__nextInFocusChain (lua_State
*L
) {
839 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
841 lua_pushstring(L
, "trying to reference deleted pointer");
845 QWidget
* ret
= __lua__obj
->QWidget::nextInFocusChain();
846 lqtL_pushudata(L
, ret
, "QWidget*");
849 int LuaBinder
< QWidget
>::__LuaWrapCall__sizePolicy (lua_State
*L
) {
850 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
852 lua_pushstring(L
, "trying to reference deleted pointer");
856 QSizePolicy ret
= __lua__obj
->QWidget::sizePolicy();
857 lqtL_passudata(L
, new QSizePolicy(ret
), "QSizePolicy*");
860 int LuaBinder
< QWidget
>::__LuaWrapCall__overrideWindowState (lua_State
*L
) {
861 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
863 lua_pushstring(L
, "trying to reference deleted pointer");
867 QFlags
<Qt::WindowState
> arg1
= **static_cast<QFlags
<Qt::WindowState
>**>(lqtL_checkudata(L
, 2, "QFlags<Qt::WindowState>*"));
868 __lua__obj
->QWidget::overrideWindowState(arg1
);
871 int LuaBinder
< QWidget
>::__LuaWrapCall__setMinimumSize__OverloadedVersion__1 (lua_State
*L
) {
872 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
874 lua_pushstring(L
, "trying to reference deleted pointer");
878 const QSize
& arg1
= **static_cast<QSize
**>(lqtL_checkudata(L
, 2, "QSize*"));
879 __lua__obj
->QWidget::setMinimumSize(arg1
);
882 int LuaBinder
< QWidget
>::__LuaWrapCall__setMinimumSize__OverloadedVersion__2 (lua_State
*L
) {
883 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
885 lua_pushstring(L
, "trying to reference deleted pointer");
889 int arg1
= lua_tointeger(L
, 2);
890 int arg2
= lua_tointeger(L
, 3);
891 __lua__obj
->QWidget::setMinimumSize(arg1
, arg2
);
894 int LuaBinder
< QWidget
>::__LuaWrapCall__setMinimumSize (lua_State
*L
) {
896 const int premium
= 11+lua_gettop(L
);
898 score
[1] += lqtL_testudata(L
, 1, "QWidget*")?premium
:-premium
*premium
;
899 if (lqtL_testudata(L
, 2, "QSize*")) {
902 score
[1] += premium
-1; // table: 0x1fab1d0;
904 score
[1] -= premium
*premium
;
907 score
[2] += lqtL_testudata(L
, 1, "QWidget*")?premium
:-premium
*premium
;
908 if (lua_isnumber(L
, 2)) {
911 score
[2] += premium
-1; // table: 0x1fabbf0;
913 score
[2] -= premium
*premium
;
915 if (lua_isnumber(L
, 3)) {
918 score
[2] += premium
-1; // table: 0x1fab6e0;
920 score
[2] -= premium
*premium
;
923 for (int i
=1;i
<=2;i
++) {
924 if (score
[best
] < score
[i
]) { best
= i
; }
927 case 1: return __LuaWrapCall__setMinimumSize__OverloadedVersion__1(L
); break;
928 case 2: return __LuaWrapCall__setMinimumSize__OverloadedVersion__2(L
); break;
930 lua_pushstring(L
, "no overload of function __LuaWrapCall__setMinimumSize matching arguments");
934 int LuaBinder
< QWidget
>::__LuaWrapCall__testAttribute (lua_State
*L
) {
935 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
937 lua_pushstring(L
, "trying to reference deleted pointer");
941 Qt::WidgetAttribute arg1
= static_cast<Qt::WidgetAttribute
>(lqtL_toenum(L
, 2, "Qt::WidgetAttribute"));
942 bool ret
= __lua__obj
->QWidget::testAttribute(arg1
);
943 lua_pushboolean(L
, ret
);
946 int LuaBinder
< QWidget
>::__LuaWrapCall__stackUnder (lua_State
*L
) {
947 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
949 lua_pushstring(L
, "trying to reference deleted pointer");
953 QWidget
* arg1
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 2, "QWidget*"));
954 __lua__obj
->QWidget::stackUnder(arg1
);
957 int LuaBinder
< QWidget
>::__LuaWrapCall__grabShortcut (lua_State
*L
) {
958 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
960 lua_pushstring(L
, "trying to reference deleted pointer");
964 const QKeySequence
& arg1
= **static_cast<QKeySequence
**>(lqtL_checkudata(L
, 2, "QKeySequence*"));
965 Qt::ShortcutContext arg2
= lqtL_isenum(L
, 3, "Qt::ShortcutContext")?static_cast<Qt::ShortcutContext
>(lqtL_toenum(L
, 3, "Qt::ShortcutContext")):Qt::WindowShortcut
;
966 int ret
= __lua__obj
->QWidget::grabShortcut(arg1
, arg2
);
967 lua_pushinteger(L
, ret
);
970 int LuaBinder
< QWidget
>::__LuaWrapCall__setMaximumSize__OverloadedVersion__1 (lua_State
*L
) {
971 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
973 lua_pushstring(L
, "trying to reference deleted pointer");
977 const QSize
& arg1
= **static_cast<QSize
**>(lqtL_checkudata(L
, 2, "QSize*"));
978 __lua__obj
->QWidget::setMaximumSize(arg1
);
981 int LuaBinder
< QWidget
>::__LuaWrapCall__setMaximumSize__OverloadedVersion__2 (lua_State
*L
) {
982 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
984 lua_pushstring(L
, "trying to reference deleted pointer");
988 int arg1
= lua_tointeger(L
, 2);
989 int arg2
= lua_tointeger(L
, 3);
990 __lua__obj
->QWidget::setMaximumSize(arg1
, arg2
);
993 int LuaBinder
< QWidget
>::__LuaWrapCall__setMaximumSize (lua_State
*L
) {
995 const int premium
= 11+lua_gettop(L
);
997 score
[1] += lqtL_testudata(L
, 1, "QWidget*")?premium
:-premium
*premium
;
998 if (lqtL_testudata(L
, 2, "QSize*")) {
1001 score
[1] += premium
-1; // table: 0x1facbb0;
1003 score
[1] -= premium
*premium
;
1006 score
[2] += lqtL_testudata(L
, 1, "QWidget*")?premium
:-premium
*premium
;
1007 if (lua_isnumber(L
, 2)) {
1008 score
[2] += premium
;
1010 score
[2] += premium
-1; // table: 0x1fad5d0;
1012 score
[2] -= premium
*premium
;
1014 if (lua_isnumber(L
, 3)) {
1015 score
[2] += premium
;
1017 score
[2] += premium
-1; // table: 0x1fad0c0;
1019 score
[2] -= premium
*premium
;
1022 for (int i
=1;i
<=2;i
++) {
1023 if (score
[best
] < score
[i
]) { best
= i
; }
1026 case 1: return __LuaWrapCall__setMaximumSize__OverloadedVersion__1(L
); break;
1027 case 2: return __LuaWrapCall__setMaximumSize__OverloadedVersion__2(L
); break;
1029 lua_pushstring(L
, "no overload of function __LuaWrapCall__setMaximumSize matching arguments");
1033 int LuaBinder
< QWidget
>::__LuaWrapCall__setBackgroundRole (lua_State
*L
) {
1034 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1035 if (__lua__obj
==0) {
1036 lua_pushstring(L
, "trying to reference deleted pointer");
1040 QPalette::ColorRole arg1
= static_cast<QPalette::ColorRole
>(lqtL_toenum(L
, 2, "QPalette::ColorRole"));
1041 __lua__obj
->QWidget::setBackgroundRole(arg1
);
1044 int LuaBinder
< QWidget
>::__LuaWrapCall__locale (lua_State
*L
) {
1045 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1046 if (__lua__obj
==0) {
1047 lua_pushstring(L
, "trying to reference deleted pointer");
1051 QLocale ret
= __lua__obj
->QWidget::locale();
1052 lqtL_passudata(L
, new QLocale(ret
), "QLocale*");
1055 int LuaBinder
< QWidget
>::__LuaWrapCall__mouseGrabber (lua_State
*L
) {
1056 QWidget
* ret
= QWidget::mouseGrabber();
1057 lqtL_pushudata(L
, ret
, "QWidget*");
1060 int LuaBinder
< QWidget
>::__LuaWrapCall__frameSize (lua_State
*L
) {
1061 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1062 if (__lua__obj
==0) {
1063 lua_pushstring(L
, "trying to reference deleted pointer");
1067 QSize ret
= __lua__obj
->QWidget::frameSize();
1068 lqtL_passudata(L
, new QSize(ret
), "QSize*");
1071 int LuaBinder
< QWidget
>::__LuaWrapCall__setInputContext (lua_State
*L
) {
1072 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1073 if (__lua__obj
==0) {
1074 lua_pushstring(L
, "trying to reference deleted pointer");
1078 QInputContext
* arg1
= *static_cast<QInputContext
**>(lqtL_checkudata(L
, 2, "QInputContext*"));
1079 __lua__obj
->QWidget::setInputContext(arg1
);
1082 int LuaBinder
< QWidget
>::__LuaWrapCall__repaint__OverloadedVersion__1 (lua_State
*L
) {
1083 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1084 if (__lua__obj
==0) {
1085 lua_pushstring(L
, "trying to reference deleted pointer");
1089 __lua__obj
->QWidget::repaint();
1092 int LuaBinder
< QWidget
>::__LuaWrapCall__repaint__OverloadedVersion__2 (lua_State
*L
) {
1093 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1094 if (__lua__obj
==0) {
1095 lua_pushstring(L
, "trying to reference deleted pointer");
1099 int arg1
= lua_tointeger(L
, 2);
1100 int arg2
= lua_tointeger(L
, 3);
1101 int arg3
= lua_tointeger(L
, 4);
1102 int arg4
= lua_tointeger(L
, 5);
1103 __lua__obj
->QWidget::repaint(arg1
, arg2
, arg3
, arg4
);
1106 int LuaBinder
< QWidget
>::__LuaWrapCall__repaint__OverloadedVersion__3 (lua_State
*L
) {
1107 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1108 if (__lua__obj
==0) {
1109 lua_pushstring(L
, "trying to reference deleted pointer");
1113 const QRect
& arg1
= **static_cast<QRect
**>(lqtL_checkudata(L
, 2, "QRect*"));
1114 __lua__obj
->QWidget::repaint(arg1
);
1117 int LuaBinder
< QWidget
>::__LuaWrapCall__repaint__OverloadedVersion__4 (lua_State
*L
) {
1118 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1119 if (__lua__obj
==0) {
1120 lua_pushstring(L
, "trying to reference deleted pointer");
1124 const QRegion
& arg1
= **static_cast<QRegion
**>(lqtL_checkudata(L
, 2, "QRegion*"));
1125 __lua__obj
->QWidget::repaint(arg1
);
1128 int LuaBinder
< QWidget
>::__LuaWrapCall__repaint (lua_State
*L
) {
1130 const int premium
= 11+lua_gettop(L
);
1132 score
[1] += lqtL_testudata(L
, 1, "QWidget*")?premium
:-premium
*premium
;
1134 score
[2] += lqtL_testudata(L
, 1, "QWidget*")?premium
:-premium
*premium
;
1135 if (lua_isnumber(L
, 2)) {
1136 score
[2] += premium
;
1138 score
[2] += premium
-1; // table: 0x1fe97e0;
1140 score
[2] -= premium
*premium
;
1142 if (lua_isnumber(L
, 3)) {
1143 score
[2] += premium
;
1145 score
[2] += premium
-1; // table: 0x1fe9cf0;
1147 score
[2] -= premium
*premium
;
1149 if (lua_isnumber(L
, 4)) {
1150 score
[2] += premium
;
1152 score
[2] += premium
-1; // table: 0x1fea0a0;
1154 score
[2] -= premium
*premium
;
1156 if (lua_isnumber(L
, 5)) {
1157 score
[2] += premium
;
1159 score
[2] += premium
-1; // table: 0x1fea040;
1161 score
[2] -= premium
*premium
;
1164 score
[3] += lqtL_testudata(L
, 1, "QWidget*")?premium
:-premium
*premium
;
1165 if (lqtL_testudata(L
, 2, "QRect*")) {
1166 score
[3] += premium
;
1168 score
[3] += premium
-1; // table: 0x1fead40;
1170 score
[3] -= premium
*premium
;
1173 score
[4] += lqtL_testudata(L
, 1, "QWidget*")?premium
:-premium
*premium
;
1174 if (lqtL_testudata(L
, 2, "QRegion*")) {
1175 score
[4] += premium
;
1177 score
[4] += premium
-1; // table: 0x1feb6b0;
1179 score
[4] -= premium
*premium
;
1182 for (int i
=1;i
<=4;i
++) {
1183 if (score
[best
] < score
[i
]) { best
= i
; }
1186 case 1: return __LuaWrapCall__repaint__OverloadedVersion__1(L
); break;
1187 case 2: return __LuaWrapCall__repaint__OverloadedVersion__2(L
); break;
1188 case 3: return __LuaWrapCall__repaint__OverloadedVersion__3(L
); break;
1189 case 4: return __LuaWrapCall__repaint__OverloadedVersion__4(L
); break;
1191 lua_pushstring(L
, "no overload of function __LuaWrapCall__repaint matching arguments");
1195 int LuaBinder
< QWidget
>::__LuaWrapCall__unsetCursor (lua_State
*L
) {
1196 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1197 if (__lua__obj
==0) {
1198 lua_pushstring(L
, "trying to reference deleted pointer");
1202 __lua__obj
->QWidget::unsetCursor();
1205 int LuaBinder
< QWidget
>::__LuaWrapCall__winId (lua_State
*L
) {
1206 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1207 if (__lua__obj
==0) {
1208 lua_pushstring(L
, "trying to reference deleted pointer");
1212 long unsigned int ret
= __lua__obj
->QWidget::winId();
1213 lua_pushinteger(L
, ret
);
1216 int LuaBinder
< QWidget
>::__LuaWrapCall__isWindowModified (lua_State
*L
) {
1217 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1218 if (__lua__obj
==0) {
1219 lua_pushstring(L
, "trying to reference deleted pointer");
1223 bool ret
= __lua__obj
->QWidget::isWindowModified();
1224 lua_pushboolean(L
, ret
);
1227 int LuaBinder
< QWidget
>::__LuaWrapCall__acceptDrops (lua_State
*L
) {
1228 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1229 if (__lua__obj
==0) {
1230 lua_pushstring(L
, "trying to reference deleted pointer");
1234 bool ret
= __lua__obj
->QWidget::acceptDrops();
1235 lua_pushboolean(L
, ret
);
1238 int LuaBinder
< QWidget
>::__LuaWrapCall__setFont (lua_State
*L
) {
1239 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1240 if (__lua__obj
==0) {
1241 lua_pushstring(L
, "trying to reference deleted pointer");
1245 const QFont
& arg1
= **static_cast<QFont
**>(lqtL_checkudata(L
, 2, "QFont*"));
1246 __lua__obj
->QWidget::setFont(arg1
);
1249 int LuaBinder
< QWidget
>::__LuaWrapCall__setWindowIcon (lua_State
*L
) {
1250 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1251 if (__lua__obj
==0) {
1252 lua_pushstring(L
, "trying to reference deleted pointer");
1256 const QIcon
& arg1
= **static_cast<QIcon
**>(lqtL_checkudata(L
, 2, "QIcon*"));
1257 __lua__obj
->QWidget::setWindowIcon(arg1
);
1260 int LuaBinder
< QWidget
>::__LuaWrapCall__setParent__OverloadedVersion__1 (lua_State
*L
) {
1261 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1262 if (__lua__obj
==0) {
1263 lua_pushstring(L
, "trying to reference deleted pointer");
1267 QWidget
* arg1
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 2, "QWidget*"));
1268 __lua__obj
->QWidget::setParent(arg1
);
1271 int LuaBinder
< QWidget
>::__LuaWrapCall__setParent__OverloadedVersion__2 (lua_State
*L
) {
1272 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1273 if (__lua__obj
==0) {
1274 lua_pushstring(L
, "trying to reference deleted pointer");
1278 QWidget
* arg1
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 2, "QWidget*"));
1279 QFlags
<Qt::WindowType
> arg2
= **static_cast<QFlags
<Qt::WindowType
>**>(lqtL_checkudata(L
, 3, "QFlags<Qt::WindowType>*"));
1280 __lua__obj
->QWidget::setParent(arg1
, arg2
);
1283 int LuaBinder
< QWidget
>::__LuaWrapCall__setParent (lua_State
*L
) {
1285 const int premium
= 11+lua_gettop(L
);
1287 score
[1] += lqtL_testudata(L
, 1, "QWidget*")?premium
:-premium
*premium
;
1288 if (lqtL_testudata(L
, 2, "QWidget*")) {
1289 score
[1] += premium
;
1291 score
[1] += premium
-1; // table: 0x2006920;
1293 score
[1] -= premium
*premium
;
1296 score
[2] += lqtL_testudata(L
, 1, "QWidget*")?premium
:-premium
*premium
;
1297 if (lqtL_testudata(L
, 2, "QWidget*")) {
1298 score
[2] += premium
;
1300 score
[2] += premium
-1; // table: 0x2007390;
1302 score
[2] -= premium
*premium
;
1304 if (lqtL_testudata(L
, 3, "QFlags<Qt::WindowType>*")) {
1305 score
[2] += premium
;
1307 score
[2] += premium
-1; // table: 0x2006e30;
1309 score
[2] -= premium
*premium
;
1312 for (int i
=1;i
<=2;i
++) {
1313 if (score
[best
] < score
[i
]) { best
= i
; }
1316 case 1: return __LuaWrapCall__setParent__OverloadedVersion__1(L
); break;
1317 case 2: return __LuaWrapCall__setParent__OverloadedVersion__2(L
); break;
1319 lua_pushstring(L
, "no overload of function __LuaWrapCall__setParent matching arguments");
1323 int LuaBinder
< QWidget
>::__LuaWrapCall__frameGeometry (lua_State
*L
) {
1324 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1325 if (__lua__obj
==0) {
1326 lua_pushstring(L
, "trying to reference deleted pointer");
1330 QRect ret
= __lua__obj
->QWidget::frameGeometry();
1331 lqtL_passudata(L
, new QRect(ret
), "QRect*");
1334 int LuaBinder
< QWidget
>::__LuaWrapCall__setLayoutDirection (lua_State
*L
) {
1335 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1336 if (__lua__obj
==0) {
1337 lua_pushstring(L
, "trying to reference deleted pointer");
1341 Qt::LayoutDirection arg1
= static_cast<Qt::LayoutDirection
>(lqtL_toenum(L
, 2, "Qt::LayoutDirection"));
1342 __lua__obj
->QWidget::setLayoutDirection(arg1
);
1345 int LuaBinder
< QWidget
>::__LuaWrapCall__setContentsMargins (lua_State
*L
) {
1346 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1347 if (__lua__obj
==0) {
1348 lua_pushstring(L
, "trying to reference deleted pointer");
1352 int arg1
= lua_tointeger(L
, 2);
1353 int arg2
= lua_tointeger(L
, 3);
1354 int arg3
= lua_tointeger(L
, 4);
1355 int arg4
= lua_tointeger(L
, 5);
1356 __lua__obj
->QWidget::setContentsMargins(arg1
, arg2
, arg3
, arg4
);
1359 int LuaBinder
< QWidget
>::__LuaWrapCall__new (lua_State
*L
) {
1360 QWidget
* arg1
= lqtL_testudata(L
, 1, "QWidget*")?*static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*")):static_cast< QWidget
* >(0);
1361 QFlags
<Qt::WindowType
> arg2
= lqtL_testudata(L
, 2, "QFlags<Qt::WindowType>*")?**static_cast<QFlags
<Qt::WindowType
>**>(lqtL_checkudata(L
, 2, "QFlags<Qt::WindowType>*")):static_cast< QFlags
<Qt::WindowType
> >(0);
1362 QWidget
* ret
= new LuaBinder
< QWidget
>(L
, arg1
, arg2
);
1363 lqtL_passudata(L
, ret
, "QWidget*");
1366 int LuaBinder
< QWidget
>::__LuaWrapCall__mapToParent (lua_State
*L
) {
1367 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1368 if (__lua__obj
==0) {
1369 lua_pushstring(L
, "trying to reference deleted pointer");
1373 const QPoint
& arg1
= **static_cast<QPoint
**>(lqtL_checkudata(L
, 2, "QPoint*"));
1374 QPoint ret
= __lua__obj
->QWidget::mapToParent(arg1
);
1375 lqtL_passudata(L
, new QPoint(ret
), "QPoint*");
1378 int LuaBinder
< QWidget
>::__LuaWrapCall__render (lua_State
*L
) {
1379 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1380 if (__lua__obj
==0) {
1381 lua_pushstring(L
, "trying to reference deleted pointer");
1385 QPaintDevice
* arg1
= *static_cast<QPaintDevice
**>(lqtL_checkudata(L
, 2, "QPaintDevice*"));
1386 const QPoint
& arg2
= lqtL_testudata(L
, 3, "QPoint*")?**static_cast<QPoint
**>(lqtL_checkudata(L
, 3, "QPoint*")):QPoint();
1387 const QRegion
& arg3
= lqtL_testudata(L
, 4, "QRegion*")?**static_cast<QRegion
**>(lqtL_checkudata(L
, 4, "QRegion*")):QRegion();
1388 QFlags
<QWidget::RenderFlag
> arg4
= lqtL_testudata(L
, 5, "QFlags<QWidget::RenderFlag>*")?**static_cast<QFlags
<QWidget::RenderFlag
>**>(lqtL_checkudata(L
, 5, "QFlags<QWidget::RenderFlag>*")):QFlags
<QWidget::RenderFlag
>(QFlag(3));
1389 __lua__obj
->QWidget::render(arg1
, arg2
, arg3
, arg4
);
1392 int LuaBinder
< QWidget
>::__LuaWrapCall__baseSize (lua_State
*L
) {
1393 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1394 if (__lua__obj
==0) {
1395 lua_pushstring(L
, "trying to reference deleted pointer");
1399 QSize ret
= __lua__obj
->QWidget::baseSize();
1400 lqtL_passudata(L
, new QSize(ret
), "QSize*");
1403 int LuaBinder
< QWidget
>::__LuaWrapCall__windowType (lua_State
*L
) {
1404 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1405 if (__lua__obj
==0) {
1406 lua_pushstring(L
, "trying to reference deleted pointer");
1410 Qt::WindowType ret
= __lua__obj
->QWidget::windowType();
1411 lqtL_pushenum(L
, ret
, "Qt::WindowType");
1414 int LuaBinder
< QWidget
>::__LuaWrapCall__setBaseSize__OverloadedVersion__1 (lua_State
*L
) {
1415 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1416 if (__lua__obj
==0) {
1417 lua_pushstring(L
, "trying to reference deleted pointer");
1421 const QSize
& arg1
= **static_cast<QSize
**>(lqtL_checkudata(L
, 2, "QSize*"));
1422 __lua__obj
->QWidget::setBaseSize(arg1
);
1425 int LuaBinder
< QWidget
>::__LuaWrapCall__setBaseSize__OverloadedVersion__2 (lua_State
*L
) {
1426 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1427 if (__lua__obj
==0) {
1428 lua_pushstring(L
, "trying to reference deleted pointer");
1432 int arg1
= lua_tointeger(L
, 2);
1433 int arg2
= lua_tointeger(L
, 3);
1434 __lua__obj
->QWidget::setBaseSize(arg1
, arg2
);
1437 int LuaBinder
< QWidget
>::__LuaWrapCall__setBaseSize (lua_State
*L
) {
1439 const int premium
= 11+lua_gettop(L
);
1441 score
[1] += lqtL_testudata(L
, 1, "QWidget*")?premium
:-premium
*premium
;
1442 if (lqtL_testudata(L
, 2, "QSize*")) {
1443 score
[1] += premium
;
1445 score
[1] += premium
-1; // table: 0x1fb38e0;
1447 score
[1] -= premium
*premium
;
1450 score
[2] += lqtL_testudata(L
, 1, "QWidget*")?premium
:-premium
*premium
;
1451 if (lua_isnumber(L
, 2)) {
1452 score
[2] += premium
;
1454 score
[2] += premium
-1; // table: 0x1fb4300;
1456 score
[2] -= premium
*premium
;
1458 if (lua_isnumber(L
, 3)) {
1459 score
[2] += premium
;
1461 score
[2] += premium
-1; // table: 0x1fb3df0;
1463 score
[2] -= premium
*premium
;
1466 for (int i
=1;i
<=2;i
++) {
1467 if (score
[best
] < score
[i
]) { best
= i
; }
1470 case 1: return __LuaWrapCall__setBaseSize__OverloadedVersion__1(L
); break;
1471 case 2: return __LuaWrapCall__setBaseSize__OverloadedVersion__2(L
); break;
1473 lua_pushstring(L
, "no overload of function __LuaWrapCall__setBaseSize matching arguments");
1477 int LuaBinder
< QWidget
>::__LuaWrapCall__find (lua_State
*L
) {
1478 long unsigned int arg1
= lua_tointeger(L
, 1);
1479 QWidget
* ret
= QWidget::find(arg1
);
1480 lqtL_pushudata(L
, ret
, "QWidget*");
1483 int LuaBinder
< QWidget
>::__LuaWrapCall__mask (lua_State
*L
) {
1484 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1485 if (__lua__obj
==0) {
1486 lua_pushstring(L
, "trying to reference deleted pointer");
1490 QRegion ret
= __lua__obj
->QWidget::mask();
1491 lqtL_passudata(L
, new QRegion(ret
), "QRegion*");
1494 int LuaBinder
< QWidget
>::__LuaWrapCall__isModal (lua_State
*L
) {
1495 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1496 if (__lua__obj
==0) {
1497 lua_pushstring(L
, "trying to reference deleted pointer");
1501 bool ret
= __lua__obj
->QWidget::isModal();
1502 lua_pushboolean(L
, ret
);
1505 int LuaBinder
< QWidget
>::__LuaWrapCall__maximumWidth (lua_State
*L
) {
1506 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1507 if (__lua__obj
==0) {
1508 lua_pushstring(L
, "trying to reference deleted pointer");
1512 int ret
= __lua__obj
->QWidget::maximumWidth();
1513 lua_pushinteger(L
, ret
);
1516 int LuaBinder
< QWidget
>::__LuaWrapCall__windowModality (lua_State
*L
) {
1517 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1518 if (__lua__obj
==0) {
1519 lua_pushstring(L
, "trying to reference deleted pointer");
1523 Qt::WindowModality ret
= __lua__obj
->QWidget::windowModality();
1524 lqtL_pushenum(L
, ret
, "Qt::WindowModality");
1527 int LuaBinder
< QWidget
>::__LuaWrapCall__setVisible (lua_State
*L
) {
1528 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1529 if (__lua__obj
==0) {
1530 lua_pushstring(L
, "trying to reference deleted pointer");
1534 bool arg1
= (bool)lua_toboolean(L
, 2);
1535 __lua__obj
->QWidget::setVisible(arg1
);
1538 int LuaBinder
< QWidget
>::__LuaWrapCall__setEnabled (lua_State
*L
) {
1539 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1540 if (__lua__obj
==0) {
1541 lua_pushstring(L
, "trying to reference deleted pointer");
1545 bool arg1
= (bool)lua_toboolean(L
, 2);
1546 __lua__obj
->QWidget::setEnabled(arg1
);
1549 int LuaBinder
< QWidget
>::__LuaWrapCall__topLevelWidget (lua_State
*L
) {
1550 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1551 if (__lua__obj
==0) {
1552 lua_pushstring(L
, "trying to reference deleted pointer");
1556 QWidget
* ret
= __lua__obj
->QWidget::topLevelWidget();
1557 lqtL_pushudata(L
, ret
, "QWidget*");
1560 int LuaBinder
< QWidget
>::__LuaWrapCall__resize__OverloadedVersion__1 (lua_State
*L
) {
1561 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1562 if (__lua__obj
==0) {
1563 lua_pushstring(L
, "trying to reference deleted pointer");
1567 int arg1
= lua_tointeger(L
, 2);
1568 int arg2
= lua_tointeger(L
, 3);
1569 __lua__obj
->QWidget::resize(arg1
, arg2
);
1572 int LuaBinder
< QWidget
>::__LuaWrapCall__resize__OverloadedVersion__2 (lua_State
*L
) {
1573 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1574 if (__lua__obj
==0) {
1575 lua_pushstring(L
, "trying to reference deleted pointer");
1579 const QSize
& arg1
= **static_cast<QSize
**>(lqtL_checkudata(L
, 2, "QSize*"));
1580 __lua__obj
->QWidget::resize(arg1
);
1583 int LuaBinder
< QWidget
>::__LuaWrapCall__resize (lua_State
*L
) {
1585 const int premium
= 11+lua_gettop(L
);
1587 score
[1] += lqtL_testudata(L
, 1, "QWidget*")?premium
:-premium
*premium
;
1588 if (lua_isnumber(L
, 2)) {
1589 score
[1] += premium
;
1591 score
[1] += premium
-1; // table: 0x1ff41e0;
1593 score
[1] -= premium
*premium
;
1595 if (lua_isnumber(L
, 3)) {
1596 score
[1] += premium
;
1598 score
[1] += premium
-1; // table: 0x1ff46f0;
1600 score
[1] -= premium
*premium
;
1603 score
[2] += lqtL_testudata(L
, 1, "QWidget*")?premium
:-premium
*premium
;
1604 if (lqtL_testudata(L
, 2, "QSize*")) {
1605 score
[2] += premium
;
1607 score
[2] += premium
-1; // table: 0x1ff4fd0;
1609 score
[2] -= premium
*premium
;
1612 for (int i
=1;i
<=2;i
++) {
1613 if (score
[best
] < score
[i
]) { best
= i
; }
1616 case 1: return __LuaWrapCall__resize__OverloadedVersion__1(L
); break;
1617 case 2: return __LuaWrapCall__resize__OverloadedVersion__2(L
); break;
1619 lua_pushstring(L
, "no overload of function __LuaWrapCall__resize matching arguments");
1623 int LuaBinder
< QWidget
>::__LuaWrapCall__hasMouseTracking (lua_State
*L
) {
1624 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1625 if (__lua__obj
==0) {
1626 lua_pushstring(L
, "trying to reference deleted pointer");
1630 bool ret
= __lua__obj
->QWidget::hasMouseTracking();
1631 lua_pushboolean(L
, ret
);
1634 int LuaBinder
< QWidget
>::__LuaWrapCall__actions (lua_State
*L
) {
1635 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1636 if (__lua__obj
==0) {
1637 lua_pushstring(L
, "trying to reference deleted pointer");
1641 QList
<QAction
*> ret
= __lua__obj
->QWidget::actions();
1642 lqtL_passudata(L
, new QList
<QAction
*>(ret
), "QList<QAction*>*");
1645 int LuaBinder
< QWidget
>::__LuaWrapCall__isEnabledToTLW (lua_State
*L
) {
1646 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1647 if (__lua__obj
==0) {
1648 lua_pushstring(L
, "trying to reference deleted pointer");
1652 bool ret
= __lua__obj
->QWidget::isEnabledToTLW();
1653 lua_pushboolean(L
, ret
);
1656 int LuaBinder
< QWidget
>::__LuaWrapCall__setFixedSize__OverloadedVersion__1 (lua_State
*L
) {
1657 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1658 if (__lua__obj
==0) {
1659 lua_pushstring(L
, "trying to reference deleted pointer");
1663 const QSize
& arg1
= **static_cast<QSize
**>(lqtL_checkudata(L
, 2, "QSize*"));
1664 __lua__obj
->QWidget::setFixedSize(arg1
);
1667 int LuaBinder
< QWidget
>::__LuaWrapCall__setFixedSize__OverloadedVersion__2 (lua_State
*L
) {
1668 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1669 if (__lua__obj
==0) {
1670 lua_pushstring(L
, "trying to reference deleted pointer");
1674 int arg1
= lua_tointeger(L
, 2);
1675 int arg2
= lua_tointeger(L
, 3);
1676 __lua__obj
->QWidget::setFixedSize(arg1
, arg2
);
1679 int LuaBinder
< QWidget
>::__LuaWrapCall__setFixedSize (lua_State
*L
) {
1681 const int premium
= 11+lua_gettop(L
);
1683 score
[1] += lqtL_testudata(L
, 1, "QWidget*")?premium
:-premium
*premium
;
1684 if (lqtL_testudata(L
, 2, "QSize*")) {
1685 score
[1] += premium
;
1687 score
[1] += premium
-1; // table: 0x1fb5280;
1689 score
[1] -= premium
*premium
;
1692 score
[2] += lqtL_testudata(L
, 1, "QWidget*")?premium
:-premium
*premium
;
1693 if (lua_isnumber(L
, 2)) {
1694 score
[2] += premium
;
1696 score
[2] += premium
-1; // table: 0x1fb5c00;
1698 score
[2] -= premium
*premium
;
1700 if (lua_isnumber(L
, 3)) {
1701 score
[2] += premium
;
1703 score
[2] += premium
-1; // table: 0x1fb6110;
1705 score
[2] -= premium
*premium
;
1708 for (int i
=1;i
<=2;i
++) {
1709 if (score
[best
] < score
[i
]) { best
= i
; }
1712 case 1: return __LuaWrapCall__setFixedSize__OverloadedVersion__1(L
); break;
1713 case 2: return __LuaWrapCall__setFixedSize__OverloadedVersion__2(L
); break;
1715 lua_pushstring(L
, "no overload of function __LuaWrapCall__setFixedSize matching arguments");
1719 int LuaBinder
< QWidget
>::__LuaWrapCall__backgroundRole (lua_State
*L
) {
1720 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1721 if (__lua__obj
==0) {
1722 lua_pushstring(L
, "trying to reference deleted pointer");
1726 QPalette::ColorRole ret
= __lua__obj
->QWidget::backgroundRole();
1727 lqtL_pushenum(L
, ret
, "QPalette::ColorRole");
1730 int LuaBinder
< QWidget
>::__LuaWrapCall__setContextMenuPolicy (lua_State
*L
) {
1731 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1732 if (__lua__obj
==0) {
1733 lua_pushstring(L
, "trying to reference deleted pointer");
1737 Qt::ContextMenuPolicy arg1
= static_cast<Qt::ContextMenuPolicy
>(lqtL_toenum(L
, 2, "Qt::ContextMenuPolicy"));
1738 __lua__obj
->QWidget::setContextMenuPolicy(arg1
);
1741 int LuaBinder
< QWidget
>::__LuaWrapCall__createWinId (lua_State
*L
) {
1742 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1743 if (__lua__obj
==0) {
1744 lua_pushstring(L
, "trying to reference deleted pointer");
1748 __lua__obj
->QWidget::createWinId();
1751 int LuaBinder
< QWidget
>::__LuaWrapCall__windowSurface (lua_State
*L
) {
1752 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1753 if (__lua__obj
==0) {
1754 lua_pushstring(L
, "trying to reference deleted pointer");
1758 QWindowSurface
* ret
= __lua__obj
->QWidget::windowSurface();
1759 lqtL_pushudata(L
, ret
, "QWindowSurface*");
1762 int LuaBinder
< QWidget
>::__LuaWrapCall__maximumSize (lua_State
*L
) {
1763 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1764 if (__lua__obj
==0) {
1765 lua_pushstring(L
, "trying to reference deleted pointer");
1769 QSize ret
= __lua__obj
->QWidget::maximumSize();
1770 lqtL_passudata(L
, new QSize(ret
), "QSize*");
1773 int LuaBinder
< QWidget
>::__LuaWrapCall__isMaximized (lua_State
*L
) {
1774 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1775 if (__lua__obj
==0) {
1776 lua_pushstring(L
, "trying to reference deleted pointer");
1780 bool ret
= __lua__obj
->QWidget::isMaximized();
1781 lua_pushboolean(L
, ret
);
1784 int LuaBinder
< QWidget
>::__LuaWrapCall__releaseKeyboard (lua_State
*L
) {
1785 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1786 if (__lua__obj
==0) {
1787 lua_pushstring(L
, "trying to reference deleted pointer");
1791 __lua__obj
->QWidget::releaseKeyboard();
1794 int LuaBinder
< QWidget
>::__LuaWrapCall__windowOpacity (lua_State
*L
) {
1795 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1796 if (__lua__obj
==0) {
1797 lua_pushstring(L
, "trying to reference deleted pointer");
1801 double ret
= __lua__obj
->QWidget::windowOpacity();
1802 lua_pushnumber(L
, ret
);
1805 int LuaBinder
< QWidget
>::__LuaWrapCall__isVisibleTo (lua_State
*L
) {
1806 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1807 if (__lua__obj
==0) {
1808 lua_pushstring(L
, "trying to reference deleted pointer");
1812 QWidget
* arg1
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 2, "QWidget*"));
1813 bool ret
= __lua__obj
->QWidget::isVisibleTo(arg1
);
1814 lua_pushboolean(L
, ret
);
1817 int LuaBinder
< QWidget
>::__LuaWrapCall__style (lua_State
*L
) {
1818 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1819 if (__lua__obj
==0) {
1820 lua_pushstring(L
, "trying to reference deleted pointer");
1824 QStyle
* ret
= __lua__obj
->QWidget::style();
1825 lqtL_pushudata(L
, ret
, "QStyle*");
1828 int LuaBinder
< QWidget
>::__LuaWrapCall__contentsRect (lua_State
*L
) {
1829 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1830 if (__lua__obj
==0) {
1831 lua_pushstring(L
, "trying to reference deleted pointer");
1835 QRect ret
= __lua__obj
->QWidget::contentsRect();
1836 lqtL_passudata(L
, new QRect(ret
), "QRect*");
1839 int LuaBinder
< QWidget
>::__LuaWrapCall__clearFocus (lua_State
*L
) {
1840 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1841 if (__lua__obj
==0) {
1842 lua_pushstring(L
, "trying to reference deleted pointer");
1846 __lua__obj
->QWidget::clearFocus();
1849 int LuaBinder
< QWidget
>::__LuaWrapCall__insertActions (lua_State
*L
) {
1850 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1851 if (__lua__obj
==0) {
1852 lua_pushstring(L
, "trying to reference deleted pointer");
1856 QAction
* arg1
= *static_cast<QAction
**>(lqtL_checkudata(L
, 2, "QAction*"));
1857 QList
<QAction
*> arg2
= **static_cast<QList
<QAction
*>**>(lqtL_checkudata(L
, 3, "QList<QAction*>*"));
1858 __lua__obj
->QWidget::insertActions(arg1
, arg2
);
1861 int LuaBinder
< QWidget
>::__LuaWrapCall__setShortcutEnabled (lua_State
*L
) {
1862 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1863 if (__lua__obj
==0) {
1864 lua_pushstring(L
, "trying to reference deleted pointer");
1868 int arg1
= lua_tointeger(L
, 2);
1869 bool arg2
= lua_isboolean(L
, 3)?(bool)lua_toboolean(L
, 3):true;
1870 __lua__obj
->QWidget::setShortcutEnabled(arg1
, arg2
);
1873 int LuaBinder
< QWidget
>::__LuaWrapCall__childrenRect (lua_State
*L
) {
1874 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1875 if (__lua__obj
==0) {
1876 lua_pushstring(L
, "trying to reference deleted pointer");
1880 QRect ret
= __lua__obj
->QWidget::childrenRect();
1881 lqtL_passudata(L
, new QRect(ret
), "QRect*");
1884 int LuaBinder
< QWidget
>::__LuaWrapCall__hide (lua_State
*L
) {
1885 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1886 if (__lua__obj
==0) {
1887 lua_pushstring(L
, "trying to reference deleted pointer");
1891 __lua__obj
->QWidget::hide();
1894 int LuaBinder
< QWidget
>::__LuaWrapCall__grabKeyboard (lua_State
*L
) {
1895 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1896 if (__lua__obj
==0) {
1897 lua_pushstring(L
, "trying to reference deleted pointer");
1901 __lua__obj
->QWidget::grabKeyboard();
1904 int LuaBinder
< QWidget
>::__LuaWrapCall__setWindowState (lua_State
*L
) {
1905 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1906 if (__lua__obj
==0) {
1907 lua_pushstring(L
, "trying to reference deleted pointer");
1911 QFlags
<Qt::WindowState
> arg1
= **static_cast<QFlags
<Qt::WindowState
>**>(lqtL_checkudata(L
, 2, "QFlags<Qt::WindowState>*"));
1912 __lua__obj
->QWidget::setWindowState(arg1
);
1915 int LuaBinder
< QWidget
>::__LuaWrapCall__setMaximumHeight (lua_State
*L
) {
1916 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1917 if (__lua__obj
==0) {
1918 lua_pushstring(L
, "trying to reference deleted pointer");
1922 int arg1
= lua_tointeger(L
, 2);
1923 __lua__obj
->QWidget::setMaximumHeight(arg1
);
1926 int LuaBinder
< QWidget
>::__LuaWrapCall__clearMask (lua_State
*L
) {
1927 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1928 if (__lua__obj
==0) {
1929 lua_pushstring(L
, "trying to reference deleted pointer");
1933 __lua__obj
->QWidget::clearMask();
1936 int LuaBinder
< QWidget
>::__LuaWrapCall__setFocusPolicy (lua_State
*L
) {
1937 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1938 if (__lua__obj
==0) {
1939 lua_pushstring(L
, "trying to reference deleted pointer");
1943 Qt::FocusPolicy arg1
= static_cast<Qt::FocusPolicy
>(lqtL_toenum(L
, 2, "Qt::FocusPolicy"));
1944 __lua__obj
->QWidget::setFocusPolicy(arg1
);
1947 int LuaBinder
< QWidget
>::__LuaWrapCall__hasFocus (lua_State
*L
) {
1948 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1949 if (__lua__obj
==0) {
1950 lua_pushstring(L
, "trying to reference deleted pointer");
1954 bool ret
= __lua__obj
->QWidget::hasFocus();
1955 lua_pushboolean(L
, ret
);
1958 int LuaBinder
< QWidget
>::__LuaWrapCall__removeAction (lua_State
*L
) {
1959 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1960 if (__lua__obj
==0) {
1961 lua_pushstring(L
, "trying to reference deleted pointer");
1965 QAction
* arg1
= *static_cast<QAction
**>(lqtL_checkudata(L
, 2, "QAction*"));
1966 __lua__obj
->QWidget::removeAction(arg1
);
1969 int LuaBinder
< QWidget
>::__LuaWrapCall__setStatusTip (lua_State
*L
) {
1970 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1971 if (__lua__obj
==0) {
1972 lua_pushstring(L
, "trying to reference deleted pointer");
1976 const QString
& arg1
= QString::fromAscii(lua_tostring(L
, 2), lua_objlen(L
, 2));
1977 __lua__obj
->QWidget::setStatusTip(arg1
);
1980 int LuaBinder
< QWidget
>::__LuaWrapCall__setFocus__OverloadedVersion__1 (lua_State
*L
) {
1981 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1982 if (__lua__obj
==0) {
1983 lua_pushstring(L
, "trying to reference deleted pointer");
1987 __lua__obj
->QWidget::setFocus();
1990 int LuaBinder
< QWidget
>::__LuaWrapCall__setFocus__OverloadedVersion__2 (lua_State
*L
) {
1991 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
1992 if (__lua__obj
==0) {
1993 lua_pushstring(L
, "trying to reference deleted pointer");
1997 Qt::FocusReason arg1
= static_cast<Qt::FocusReason
>(lqtL_toenum(L
, 2, "Qt::FocusReason"));
1998 __lua__obj
->QWidget::setFocus(arg1
);
2001 int LuaBinder
< QWidget
>::__LuaWrapCall__setFocus (lua_State
*L
) {
2003 const int premium
= 11+lua_gettop(L
);
2005 score
[1] += lqtL_testudata(L
, 1, "QWidget*")?premium
:-premium
*premium
;
2007 score
[2] += lqtL_testudata(L
, 1, "QWidget*")?premium
:-premium
*premium
;
2008 if (lqtL_isenum(L
, 2, "Qt::FocusReason")) {
2009 score
[2] += premium
;
2011 score
[2] += premium
-1; // table: 0x1fd8cf0;
2013 score
[2] -= premium
*premium
;
2016 for (int i
=1;i
<=2;i
++) {
2017 if (score
[best
] < score
[i
]) { best
= i
; }
2020 case 1: return __LuaWrapCall__setFocus__OverloadedVersion__1(L
); break;
2021 case 2: return __LuaWrapCall__setFocus__OverloadedVersion__2(L
); break;
2023 lua_pushstring(L
, "no overload of function __LuaWrapCall__setFocus matching arguments");
2027 int LuaBinder
< QWidget
>::__LuaWrapCall__fontMetrics (lua_State
*L
) {
2028 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2029 if (__lua__obj
==0) {
2030 lua_pushstring(L
, "trying to reference deleted pointer");
2034 QFontMetrics ret
= __lua__obj
->QWidget::fontMetrics();
2035 lqtL_passudata(L
, new QFontMetrics(ret
), "QFontMetrics*");
2038 int LuaBinder
< QWidget
>::__LuaWrapCall__setTabOrder (lua_State
*L
) {
2039 QWidget
* arg1
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2040 QWidget
* arg2
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 2, "QWidget*"));
2041 QWidget::setTabOrder(arg1
, arg2
);
2044 int LuaBinder
< QWidget
>::__LuaWrapCall__windowRole (lua_State
*L
) {
2045 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2046 if (__lua__obj
==0) {
2047 lua_pushstring(L
, "trying to reference deleted pointer");
2051 QString ret
= __lua__obj
->QWidget::windowRole();
2052 lua_pushlstring(L
, ret
.toAscii().data(), ret
.toAscii().size());
2055 int LuaBinder
< QWidget
>::__LuaWrapCall__underMouse (lua_State
*L
) {
2056 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2057 if (__lua__obj
==0) {
2058 lua_pushstring(L
, "trying to reference deleted pointer");
2062 bool ret
= __lua__obj
->QWidget::underMouse();
2063 lua_pushboolean(L
, ret
);
2066 int LuaBinder
< QWidget
>::__LuaWrapCall__metaObject (lua_State
*L
) {
2067 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2068 if (__lua__obj
==0) {
2069 lua_pushstring(L
, "trying to reference deleted pointer");
2073 const QMetaObject
* ret
= __lua__obj
->QWidget::metaObject();
2074 lqtL_pushudata(L
, ret
, "QMetaObject*");
2077 int LuaBinder
< QWidget
>::__LuaWrapCall__sizeHint (lua_State
*L
) {
2078 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2079 if (__lua__obj
==0) {
2080 lua_pushstring(L
, "trying to reference deleted pointer");
2084 QSize ret
= __lua__obj
->QWidget::sizeHint();
2085 lqtL_passudata(L
, new QSize(ret
), "QSize*");
2088 int LuaBinder
< QWidget
>::__LuaWrapCall__inputMethodQuery (lua_State
*L
) {
2089 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2090 if (__lua__obj
==0) {
2091 lua_pushstring(L
, "trying to reference deleted pointer");
2095 Qt::InputMethodQuery arg1
= static_cast<Qt::InputMethodQuery
>(lqtL_toenum(L
, 2, "Qt::InputMethodQuery"));
2096 QVariant ret
= __lua__obj
->QWidget::inputMethodQuery(arg1
);
2097 lqtL_passudata(L
, new QVariant(ret
), "QVariant*");
2100 int LuaBinder
< QWidget
>::__LuaWrapCall__grabMouse__OverloadedVersion__1 (lua_State
*L
) {
2101 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2102 if (__lua__obj
==0) {
2103 lua_pushstring(L
, "trying to reference deleted pointer");
2107 __lua__obj
->QWidget::grabMouse();
2110 int LuaBinder
< QWidget
>::__LuaWrapCall__grabMouse__OverloadedVersion__2 (lua_State
*L
) {
2111 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2112 if (__lua__obj
==0) {
2113 lua_pushstring(L
, "trying to reference deleted pointer");
2117 const QCursor
& arg1
= **static_cast<QCursor
**>(lqtL_checkudata(L
, 2, "QCursor*"));
2118 __lua__obj
->QWidget::grabMouse(arg1
);
2121 int LuaBinder
< QWidget
>::__LuaWrapCall__grabMouse (lua_State
*L
) {
2123 const int premium
= 11+lua_gettop(L
);
2125 score
[1] += lqtL_testudata(L
, 1, "QWidget*")?premium
:-premium
*premium
;
2127 score
[2] += lqtL_testudata(L
, 1, "QWidget*")?premium
:-premium
*premium
;
2128 if (lqtL_testudata(L
, 2, "QCursor*")) {
2129 score
[2] += premium
;
2131 score
[2] += premium
-1; // table: 0x1fde970;
2133 score
[2] -= premium
*premium
;
2136 for (int i
=1;i
<=2;i
++) {
2137 if (score
[best
] < score
[i
]) { best
= i
; }
2140 case 1: return __LuaWrapCall__grabMouse__OverloadedVersion__1(L
); break;
2141 case 2: return __LuaWrapCall__grabMouse__OverloadedVersion__2(L
); break;
2143 lua_pushstring(L
, "no overload of function __LuaWrapCall__grabMouse matching arguments");
2147 int LuaBinder
< QWidget
>::__LuaWrapCall__setMaximumWidth (lua_State
*L
) {
2148 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2149 if (__lua__obj
==0) {
2150 lua_pushstring(L
, "trying to reference deleted pointer");
2154 int arg1
= lua_tointeger(L
, 2);
2155 __lua__obj
->QWidget::setMaximumWidth(arg1
);
2158 int LuaBinder
< QWidget
>::__LuaWrapCall__updateGeometry (lua_State
*L
) {
2159 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2160 if (__lua__obj
==0) {
2161 lua_pushstring(L
, "trying to reference deleted pointer");
2165 __lua__obj
->QWidget::updateGeometry();
2168 int LuaBinder
< QWidget
>::__LuaWrapCall__setMinimumWidth (lua_State
*L
) {
2169 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2170 if (__lua__obj
==0) {
2171 lua_pushstring(L
, "trying to reference deleted pointer");
2175 int arg1
= lua_tointeger(L
, 2);
2176 __lua__obj
->QWidget::setMinimumWidth(arg1
);
2179 int LuaBinder
< QWidget
>::__LuaWrapCall__setToolTip (lua_State
*L
) {
2180 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2181 if (__lua__obj
==0) {
2182 lua_pushstring(L
, "trying to reference deleted pointer");
2186 const QString
& arg1
= QString::fromAscii(lua_tostring(L
, 2), lua_objlen(L
, 2));
2187 __lua__obj
->QWidget::setToolTip(arg1
);
2190 int LuaBinder
< QWidget
>::__LuaWrapCall__setSizeIncrement__OverloadedVersion__1 (lua_State
*L
) {
2191 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2192 if (__lua__obj
==0) {
2193 lua_pushstring(L
, "trying to reference deleted pointer");
2197 const QSize
& arg1
= **static_cast<QSize
**>(lqtL_checkudata(L
, 2, "QSize*"));
2198 __lua__obj
->QWidget::setSizeIncrement(arg1
);
2201 int LuaBinder
< QWidget
>::__LuaWrapCall__setSizeIncrement__OverloadedVersion__2 (lua_State
*L
) {
2202 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2203 if (__lua__obj
==0) {
2204 lua_pushstring(L
, "trying to reference deleted pointer");
2208 int arg1
= lua_tointeger(L
, 2);
2209 int arg2
= lua_tointeger(L
, 3);
2210 __lua__obj
->QWidget::setSizeIncrement(arg1
, arg2
);
2213 int LuaBinder
< QWidget
>::__LuaWrapCall__setSizeIncrement (lua_State
*L
) {
2215 const int premium
= 11+lua_gettop(L
);
2217 score
[1] += lqtL_testudata(L
, 1, "QWidget*")?premium
:-premium
*premium
;
2218 if (lqtL_testudata(L
, 2, "QSize*")) {
2219 score
[1] += premium
;
2221 score
[1] += premium
-1; // table: 0x1fb1860;
2223 score
[1] -= premium
*premium
;
2226 score
[2] += lqtL_testudata(L
, 1, "QWidget*")?premium
:-premium
*premium
;
2227 if (lua_isnumber(L
, 2)) {
2228 score
[2] += premium
;
2230 score
[2] += premium
-1; // table: 0x1fb22c0;
2232 score
[2] -= premium
*premium
;
2234 if (lua_isnumber(L
, 3)) {
2235 score
[2] += premium
;
2237 score
[2] += premium
-1; // table: 0x1fb27f0;
2239 score
[2] -= premium
*premium
;
2242 for (int i
=1;i
<=2;i
++) {
2243 if (score
[best
] < score
[i
]) { best
= i
; }
2246 case 1: return __LuaWrapCall__setSizeIncrement__OverloadedVersion__1(L
); break;
2247 case 2: return __LuaWrapCall__setSizeIncrement__OverloadedVersion__2(L
); break;
2249 lua_pushstring(L
, "no overload of function __LuaWrapCall__setSizeIncrement matching arguments");
2253 int LuaBinder
< QWidget
>::__LuaWrapCall__setFocusProxy (lua_State
*L
) {
2254 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2255 if (__lua__obj
==0) {
2256 lua_pushstring(L
, "trying to reference deleted pointer");
2260 QWidget
* arg1
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 2, "QWidget*"));
2261 __lua__obj
->QWidget::setFocusProxy(arg1
);
2264 int LuaBinder
< QWidget
>::__LuaWrapCall__show (lua_State
*L
) {
2265 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2266 if (__lua__obj
==0) {
2267 lua_pushstring(L
, "trying to reference deleted pointer");
2271 __lua__obj
->QWidget::show();
2274 int LuaBinder
< QWidget
>::__LuaWrapCall__y (lua_State
*L
) {
2275 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2276 if (__lua__obj
==0) {
2277 lua_pushstring(L
, "trying to reference deleted pointer");
2281 int ret
= __lua__obj
->QWidget::y();
2282 lua_pushinteger(L
, ret
);
2285 int LuaBinder
< QWidget
>::__LuaWrapCall__focusWidget (lua_State
*L
) {
2286 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2287 if (__lua__obj
==0) {
2288 lua_pushstring(L
, "trying to reference deleted pointer");
2292 QWidget
* ret
= __lua__obj
->QWidget::focusWidget();
2293 lqtL_pushudata(L
, ret
, "QWidget*");
2296 int LuaBinder
< QWidget
>::__LuaWrapCall__focusPolicy (lua_State
*L
) {
2297 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2298 if (__lua__obj
==0) {
2299 lua_pushstring(L
, "trying to reference deleted pointer");
2303 Qt::FocusPolicy ret
= __lua__obj
->QWidget::focusPolicy();
2304 lqtL_pushenum(L
, ret
, "Qt::FocusPolicy");
2307 int LuaBinder
< QWidget
>::__LuaWrapCall__focusProxy (lua_State
*L
) {
2308 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2309 if (__lua__obj
==0) {
2310 lua_pushstring(L
, "trying to reference deleted pointer");
2314 QWidget
* ret
= __lua__obj
->QWidget::focusProxy();
2315 lqtL_pushudata(L
, ret
, "QWidget*");
2318 int LuaBinder
< QWidget
>::__LuaWrapCall__childAt__OverloadedVersion__1 (lua_State
*L
) {
2319 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2320 if (__lua__obj
==0) {
2321 lua_pushstring(L
, "trying to reference deleted pointer");
2325 int arg1
= lua_tointeger(L
, 2);
2326 int arg2
= lua_tointeger(L
, 3);
2327 QWidget
* ret
= __lua__obj
->QWidget::childAt(arg1
, arg2
);
2328 lqtL_pushudata(L
, ret
, "QWidget*");
2331 int LuaBinder
< QWidget
>::__LuaWrapCall__childAt__OverloadedVersion__2 (lua_State
*L
) {
2332 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2333 if (__lua__obj
==0) {
2334 lua_pushstring(L
, "trying to reference deleted pointer");
2338 const QPoint
& arg1
= **static_cast<QPoint
**>(lqtL_checkudata(L
, 2, "QPoint*"));
2339 QWidget
* ret
= __lua__obj
->QWidget::childAt(arg1
);
2340 lqtL_pushudata(L
, ret
, "QWidget*");
2343 int LuaBinder
< QWidget
>::__LuaWrapCall__childAt (lua_State
*L
) {
2345 const int premium
= 11+lua_gettop(L
);
2347 score
[1] += lqtL_testudata(L
, 1, "QWidget*")?premium
:-premium
*premium
;
2348 if (lua_isnumber(L
, 2)) {
2349 score
[1] += premium
;
2351 score
[1] += premium
-1; // table: 0x2013b60;
2353 score
[1] -= premium
*premium
;
2355 if (lua_isnumber(L
, 3)) {
2356 score
[1] += premium
;
2358 score
[1] += premium
-1; // table: 0x2014090;
2360 score
[1] -= premium
*premium
;
2363 score
[2] += lqtL_testudata(L
, 1, "QWidget*")?premium
:-premium
*premium
;
2364 if (lqtL_testudata(L
, 2, "QPoint*")) {
2365 score
[2] += premium
;
2367 score
[2] += premium
-1; // table: 0x2014980;
2369 score
[2] -= premium
*premium
;
2372 for (int i
=1;i
<=2;i
++) {
2373 if (score
[best
] < score
[i
]) { best
= i
; }
2376 case 1: return __LuaWrapCall__childAt__OverloadedVersion__1(L
); break;
2377 case 2: return __LuaWrapCall__childAt__OverloadedVersion__2(L
); break;
2379 lua_pushstring(L
, "no overload of function __LuaWrapCall__childAt matching arguments");
2383 int LuaBinder
< QWidget
>::__LuaWrapCall__geometry (lua_State
*L
) {
2384 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2385 if (__lua__obj
==0) {
2386 lua_pushstring(L
, "trying to reference deleted pointer");
2390 const QRect
& ret
= __lua__obj
->QWidget::geometry();
2391 lqtL_pushudata(L
, &(ret
), "QRect*");
2394 int LuaBinder
< QWidget
>::__LuaWrapCall__setLayout (lua_State
*L
) {
2395 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2396 if (__lua__obj
==0) {
2397 lua_pushstring(L
, "trying to reference deleted pointer");
2401 QLayout
* arg1
= *static_cast<QLayout
**>(lqtL_checkudata(L
, 2, "QLayout*"));
2402 __lua__obj
->QWidget::setLayout(arg1
);
2405 int LuaBinder
< QWidget
>::__LuaWrapCall__setAutoFillBackground (lua_State
*L
) {
2406 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2407 if (__lua__obj
==0) {
2408 lua_pushstring(L
, "trying to reference deleted pointer");
2412 bool arg1
= (bool)lua_toboolean(L
, 2);
2413 __lua__obj
->QWidget::setAutoFillBackground(arg1
);
2416 int LuaBinder
< QWidget
>::__LuaWrapCall__setFixedWidth (lua_State
*L
) {
2417 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2418 if (__lua__obj
==0) {
2419 lua_pushstring(L
, "trying to reference deleted pointer");
2423 int arg1
= lua_tointeger(L
, 2);
2424 __lua__obj
->QWidget::setFixedWidth(arg1
);
2427 int LuaBinder
< QWidget
>::__LuaWrapCall__close (lua_State
*L
) {
2428 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2429 if (__lua__obj
==0) {
2430 lua_pushstring(L
, "trying to reference deleted pointer");
2434 bool ret
= __lua__obj
->QWidget::close();
2435 lua_pushboolean(L
, ret
);
2438 int LuaBinder
< QWidget
>::__LuaWrapCall__parentWidget (lua_State
*L
) {
2439 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2440 if (__lua__obj
==0) {
2441 lua_pushstring(L
, "trying to reference deleted pointer");
2445 QWidget
* ret
= __lua__obj
->QWidget::parentWidget();
2446 lqtL_pushudata(L
, ret
, "QWidget*");
2449 int LuaBinder
< QWidget
>::__LuaWrapCall__isTopLevel (lua_State
*L
) {
2450 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2451 if (__lua__obj
==0) {
2452 lua_pushstring(L
, "trying to reference deleted pointer");
2456 bool ret
= __lua__obj
->QWidget::isTopLevel();
2457 lua_pushboolean(L
, ret
);
2460 int LuaBinder
< QWidget
>::__LuaWrapCall__setWindowSurface (lua_State
*L
) {
2461 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2462 if (__lua__obj
==0) {
2463 lua_pushstring(L
, "trying to reference deleted pointer");
2467 QWindowSurface
* arg1
= *static_cast<QWindowSurface
**>(lqtL_checkudata(L
, 2, "QWindowSurface*"));
2468 __lua__obj
->QWidget::setWindowSurface(arg1
);
2471 int LuaBinder
< QWidget
>::__LuaWrapCall__update__OverloadedVersion__1 (lua_State
*L
) {
2472 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2473 if (__lua__obj
==0) {
2474 lua_pushstring(L
, "trying to reference deleted pointer");
2478 __lua__obj
->QWidget::update();
2481 int LuaBinder
< QWidget
>::__LuaWrapCall__update__OverloadedVersion__2 (lua_State
*L
) {
2482 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2483 if (__lua__obj
==0) {
2484 lua_pushstring(L
, "trying to reference deleted pointer");
2488 int arg1
= lua_tointeger(L
, 2);
2489 int arg2
= lua_tointeger(L
, 3);
2490 int arg3
= lua_tointeger(L
, 4);
2491 int arg4
= lua_tointeger(L
, 5);
2492 __lua__obj
->QWidget::update(arg1
, arg2
, arg3
, arg4
);
2495 int LuaBinder
< QWidget
>::__LuaWrapCall__update__OverloadedVersion__3 (lua_State
*L
) {
2496 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2497 if (__lua__obj
==0) {
2498 lua_pushstring(L
, "trying to reference deleted pointer");
2502 const QRect
& arg1
= **static_cast<QRect
**>(lqtL_checkudata(L
, 2, "QRect*"));
2503 __lua__obj
->QWidget::update(arg1
);
2506 int LuaBinder
< QWidget
>::__LuaWrapCall__update__OverloadedVersion__4 (lua_State
*L
) {
2507 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2508 if (__lua__obj
==0) {
2509 lua_pushstring(L
, "trying to reference deleted pointer");
2513 const QRegion
& arg1
= **static_cast<QRegion
**>(lqtL_checkudata(L
, 2, "QRegion*"));
2514 __lua__obj
->QWidget::update(arg1
);
2517 int LuaBinder
< QWidget
>::__LuaWrapCall__update (lua_State
*L
) {
2519 const int premium
= 11+lua_gettop(L
);
2521 score
[1] += lqtL_testudata(L
, 1, "QWidget*")?premium
:-premium
*premium
;
2523 score
[2] += lqtL_testudata(L
, 1, "QWidget*")?premium
:-premium
*premium
;
2524 if (lua_isnumber(L
, 2)) {
2525 score
[2] += premium
;
2527 score
[2] += premium
-1; // table: 0x1fe6fa0;
2529 score
[2] -= premium
*premium
;
2531 if (lua_isnumber(L
, 3)) {
2532 score
[2] += premium
;
2534 score
[2] += premium
-1; // table: 0x1fe74b0;
2536 score
[2] -= premium
*premium
;
2538 if (lua_isnumber(L
, 4)) {
2539 score
[2] += premium
;
2541 score
[2] += premium
-1; // table: 0x1fe7860;
2543 score
[2] -= premium
*premium
;
2545 if (lua_isnumber(L
, 5)) {
2546 score
[2] += premium
;
2548 score
[2] += premium
-1; // table: 0x1fe7800;
2550 score
[2] -= premium
*premium
;
2553 score
[3] += lqtL_testudata(L
, 1, "QWidget*")?premium
:-premium
*premium
;
2554 if (lqtL_testudata(L
, 2, "QRect*")) {
2555 score
[3] += premium
;
2557 score
[3] += premium
-1; // table: 0x1fe8500;
2559 score
[3] -= premium
*premium
;
2562 score
[4] += lqtL_testudata(L
, 1, "QWidget*")?premium
:-premium
*premium
;
2563 if (lqtL_testudata(L
, 2, "QRegion*")) {
2564 score
[4] += premium
;
2566 score
[4] += premium
-1; // table: 0x1fe8e70;
2568 score
[4] -= premium
*premium
;
2571 for (int i
=1;i
<=4;i
++) {
2572 if (score
[best
] < score
[i
]) { best
= i
; }
2575 case 1: return __LuaWrapCall__update__OverloadedVersion__1(L
); break;
2576 case 2: return __LuaWrapCall__update__OverloadedVersion__2(L
); break;
2577 case 3: return __LuaWrapCall__update__OverloadedVersion__3(L
); break;
2578 case 4: return __LuaWrapCall__update__OverloadedVersion__4(L
); break;
2580 lua_pushstring(L
, "no overload of function __LuaWrapCall__update matching arguments");
2584 int LuaBinder
< QWidget
>::__LuaWrapCall__isWindow (lua_State
*L
) {
2585 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2586 if (__lua__obj
==0) {
2587 lua_pushstring(L
, "trying to reference deleted pointer");
2591 bool ret
= __lua__obj
->QWidget::isWindow();
2592 lua_pushboolean(L
, ret
);
2595 int LuaBinder
< QWidget
>::__LuaWrapCall__internalWinId (lua_State
*L
) {
2596 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2597 if (__lua__obj
==0) {
2598 lua_pushstring(L
, "trying to reference deleted pointer");
2602 long unsigned int ret
= __lua__obj
->QWidget::internalWinId();
2603 lua_pushinteger(L
, ret
);
2606 int LuaBinder
< QWidget
>::__LuaWrapCall__setCursor (lua_State
*L
) {
2607 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2608 if (__lua__obj
==0) {
2609 lua_pushstring(L
, "trying to reference deleted pointer");
2613 const QCursor
& arg1
= **static_cast<QCursor
**>(lqtL_checkudata(L
, 2, "QCursor*"));
2614 __lua__obj
->QWidget::setCursor(arg1
);
2617 int LuaBinder
< QWidget
>::__LuaWrapCall__keyboardGrabber (lua_State
*L
) {
2618 QWidget
* ret
= QWidget::keyboardGrabber();
2619 lqtL_pushudata(L
, ret
, "QWidget*");
2622 int LuaBinder
< QWidget
>::__LuaWrapCall__x (lua_State
*L
) {
2623 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2624 if (__lua__obj
==0) {
2625 lua_pushstring(L
, "trying to reference deleted pointer");
2629 int ret
= __lua__obj
->QWidget::x();
2630 lua_pushinteger(L
, ret
);
2633 int LuaBinder
< QWidget
>::__LuaWrapCall__ensurePolished (lua_State
*L
) {
2634 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2635 if (__lua__obj
==0) {
2636 lua_pushstring(L
, "trying to reference deleted pointer");
2640 __lua__obj
->QWidget::ensurePolished();
2643 int LuaBinder
< QWidget
>::__LuaWrapCall__setMouseTracking (lua_State
*L
) {
2644 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2645 if (__lua__obj
==0) {
2646 lua_pushstring(L
, "trying to reference deleted pointer");
2650 bool arg1
= (bool)lua_toboolean(L
, 2);
2651 __lua__obj
->QWidget::setMouseTracking(arg1
);
2654 int LuaBinder
< QWidget
>::__LuaWrapCall__setAttribute (lua_State
*L
) {
2655 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2656 if (__lua__obj
==0) {
2657 lua_pushstring(L
, "trying to reference deleted pointer");
2661 Qt::WidgetAttribute arg1
= static_cast<Qt::WidgetAttribute
>(lqtL_toenum(L
, 2, "Qt::WidgetAttribute"));
2662 bool arg2
= lua_isboolean(L
, 3)?(bool)lua_toboolean(L
, 3):true;
2663 __lua__obj
->QWidget::setAttribute(arg1
, arg2
);
2666 int LuaBinder
< QWidget
>::__LuaWrapCall__window (lua_State
*L
) {
2667 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2668 if (__lua__obj
==0) {
2669 lua_pushstring(L
, "trying to reference deleted pointer");
2673 QWidget
* ret
= __lua__obj
->QWidget::window();
2674 lqtL_pushudata(L
, ret
, "QWidget*");
2677 int LuaBinder
< QWidget
>::__LuaWrapCall__setForegroundRole (lua_State
*L
) {
2678 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2679 if (__lua__obj
==0) {
2680 lua_pushstring(L
, "trying to reference deleted pointer");
2684 QPalette::ColorRole arg1
= static_cast<QPalette::ColorRole
>(lqtL_toenum(L
, 2, "QPalette::ColorRole"));
2685 __lua__obj
->QWidget::setForegroundRole(arg1
);
2688 int LuaBinder
< QWidget
>::__LuaWrapCall__setDisabled (lua_State
*L
) {
2689 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2690 if (__lua__obj
==0) {
2691 lua_pushstring(L
, "trying to reference deleted pointer");
2695 bool arg1
= (bool)lua_toboolean(L
, 2);
2696 __lua__obj
->QWidget::setDisabled(arg1
);
2699 int LuaBinder
< QWidget
>::__LuaWrapCall__mapFromParent (lua_State
*L
) {
2700 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2701 if (__lua__obj
==0) {
2702 lua_pushstring(L
, "trying to reference deleted pointer");
2706 const QPoint
& arg1
= **static_cast<QPoint
**>(lqtL_checkudata(L
, 2, "QPoint*"));
2707 QPoint ret
= __lua__obj
->QWidget::mapFromParent(arg1
);
2708 lqtL_passudata(L
, new QPoint(ret
), "QPoint*");
2711 int LuaBinder
< QWidget
>::__LuaWrapCall__setHidden (lua_State
*L
) {
2712 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2713 if (__lua__obj
==0) {
2714 lua_pushstring(L
, "trying to reference deleted pointer");
2718 bool arg1
= (bool)lua_toboolean(L
, 2);
2719 __lua__obj
->QWidget::setHidden(arg1
);
2722 int LuaBinder
< QWidget
>::__LuaWrapCall__setPalette (lua_State
*L
) {
2723 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2724 if (__lua__obj
==0) {
2725 lua_pushstring(L
, "trying to reference deleted pointer");
2729 const QPalette
& arg1
= **static_cast<QPalette
**>(lqtL_checkudata(L
, 2, "QPalette*"));
2730 __lua__obj
->QWidget::setPalette(arg1
);
2733 int LuaBinder
< QWidget
>::__LuaWrapCall__setUpdatesEnabled (lua_State
*L
) {
2734 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2735 if (__lua__obj
==0) {
2736 lua_pushstring(L
, "trying to reference deleted pointer");
2740 bool arg1
= (bool)lua_toboolean(L
, 2);
2741 __lua__obj
->QWidget::setUpdatesEnabled(arg1
);
2744 int LuaBinder
< QWidget
>::__LuaWrapCall__mapFromGlobal (lua_State
*L
) {
2745 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2746 if (__lua__obj
==0) {
2747 lua_pushstring(L
, "trying to reference deleted pointer");
2751 const QPoint
& arg1
= **static_cast<QPoint
**>(lqtL_checkudata(L
, 2, "QPoint*"));
2752 QPoint ret
= __lua__obj
->QWidget::mapFromGlobal(arg1
);
2753 lqtL_passudata(L
, new QPoint(ret
), "QPoint*");
2756 int LuaBinder
< QWidget
>::__LuaWrapCall__isFullScreen (lua_State
*L
) {
2757 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2758 if (__lua__obj
==0) {
2759 lua_pushstring(L
, "trying to reference deleted pointer");
2763 bool ret
= __lua__obj
->QWidget::isFullScreen();
2764 lua_pushboolean(L
, ret
);
2767 int LuaBinder
< QWidget
>::__LuaWrapCall__layoutDirection (lua_State
*L
) {
2768 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2769 if (__lua__obj
==0) {
2770 lua_pushstring(L
, "trying to reference deleted pointer");
2774 Qt::LayoutDirection ret
= __lua__obj
->QWidget::layoutDirection();
2775 lqtL_pushenum(L
, ret
, "Qt::LayoutDirection");
2778 int LuaBinder
< QWidget
>::__LuaWrapCall__rect (lua_State
*L
) {
2779 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2780 if (__lua__obj
==0) {
2781 lua_pushstring(L
, "trying to reference deleted pointer");
2785 QRect ret
= __lua__obj
->QWidget::rect();
2786 lqtL_passudata(L
, new QRect(ret
), "QRect*");
2789 int LuaBinder
< QWidget
>::__LuaWrapCall__activateWindow (lua_State
*L
) {
2790 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2791 if (__lua__obj
==0) {
2792 lua_pushstring(L
, "trying to reference deleted pointer");
2796 __lua__obj
->QWidget::activateWindow();
2799 int LuaBinder
< QWidget
>::__LuaWrapCall__showMaximized (lua_State
*L
) {
2800 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2801 if (__lua__obj
==0) {
2802 lua_pushstring(L
, "trying to reference deleted pointer");
2806 __lua__obj
->QWidget::showMaximized();
2809 int LuaBinder
< QWidget
>::__LuaWrapCall__height (lua_State
*L
) {
2810 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2811 if (__lua__obj
==0) {
2812 lua_pushstring(L
, "trying to reference deleted pointer");
2816 int ret
= __lua__obj
->QWidget::height();
2817 lua_pushinteger(L
, ret
);
2820 int LuaBinder
< QWidget
>::__LuaWrapCall__showFullScreen (lua_State
*L
) {
2821 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2822 if (__lua__obj
==0) {
2823 lua_pushstring(L
, "trying to reference deleted pointer");
2827 __lua__obj
->QWidget::showFullScreen();
2830 int LuaBinder
< QWidget
>::__LuaWrapCall__minimumHeight (lua_State
*L
) {
2831 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2832 if (__lua__obj
==0) {
2833 lua_pushstring(L
, "trying to reference deleted pointer");
2837 int ret
= __lua__obj
->QWidget::minimumHeight();
2838 lua_pushinteger(L
, ret
);
2841 int LuaBinder
< QWidget
>::__LuaWrapCall__insertAction (lua_State
*L
) {
2842 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2843 if (__lua__obj
==0) {
2844 lua_pushstring(L
, "trying to reference deleted pointer");
2848 QAction
* arg1
= *static_cast<QAction
**>(lqtL_checkudata(L
, 2, "QAction*"));
2849 QAction
* arg2
= *static_cast<QAction
**>(lqtL_checkudata(L
, 3, "QAction*"));
2850 __lua__obj
->QWidget::insertAction(arg1
, arg2
);
2853 int LuaBinder
< QWidget
>::__LuaWrapCall__devType (lua_State
*L
) {
2854 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2855 if (__lua__obj
==0) {
2856 lua_pushstring(L
, "trying to reference deleted pointer");
2860 int ret
= __lua__obj
->QWidget::devType();
2861 lua_pushinteger(L
, ret
);
2864 int LuaBinder
< QWidget
>::__LuaWrapCall__setMask__OverloadedVersion__1 (lua_State
*L
) {
2865 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2866 if (__lua__obj
==0) {
2867 lua_pushstring(L
, "trying to reference deleted pointer");
2871 const QBitmap
& arg1
= **static_cast<QBitmap
**>(lqtL_checkudata(L
, 2, "QBitmap*"));
2872 __lua__obj
->QWidget::setMask(arg1
);
2875 int LuaBinder
< QWidget
>::__LuaWrapCall__setMask__OverloadedVersion__2 (lua_State
*L
) {
2876 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2877 if (__lua__obj
==0) {
2878 lua_pushstring(L
, "trying to reference deleted pointer");
2882 const QRegion
& arg1
= **static_cast<QRegion
**>(lqtL_checkudata(L
, 2, "QRegion*"));
2883 __lua__obj
->QWidget::setMask(arg1
);
2886 int LuaBinder
< QWidget
>::__LuaWrapCall__setMask (lua_State
*L
) {
2888 const int premium
= 11+lua_gettop(L
);
2890 score
[1] += lqtL_testudata(L
, 1, "QWidget*")?premium
:-premium
*premium
;
2891 if (lqtL_testudata(L
, 2, "QBitmap*")) {
2892 score
[1] += premium
;
2894 score
[1] += premium
-1; // table: 0x1fc5530;
2896 score
[1] -= premium
*premium
;
2899 score
[2] += lqtL_testudata(L
, 1, "QWidget*")?premium
:-premium
*premium
;
2900 if (lqtL_testudata(L
, 2, "QRegion*")) {
2901 score
[2] += premium
;
2903 score
[2] += premium
-1; // table: 0x1fc5ea0;
2905 score
[2] -= premium
*premium
;
2908 for (int i
=1;i
<=2;i
++) {
2909 if (score
[best
] < score
[i
]) { best
= i
; }
2912 case 1: return __LuaWrapCall__setMask__OverloadedVersion__1(L
); break;
2913 case 2: return __LuaWrapCall__setMask__OverloadedVersion__2(L
); break;
2915 lua_pushstring(L
, "no overload of function __LuaWrapCall__setMask matching arguments");
2919 int LuaBinder
< QWidget
>::__LuaWrapCall__setWindowOpacity (lua_State
*L
) {
2920 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2921 if (__lua__obj
==0) {
2922 lua_pushstring(L
, "trying to reference deleted pointer");
2926 double arg1
= lua_tonumber(L
, 2);
2927 __lua__obj
->QWidget::setWindowOpacity(arg1
);
2930 int LuaBinder
< QWidget
>::__LuaWrapCall__move__OverloadedVersion__1 (lua_State
*L
) {
2931 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2932 if (__lua__obj
==0) {
2933 lua_pushstring(L
, "trying to reference deleted pointer");
2937 int arg1
= lua_tointeger(L
, 2);
2938 int arg2
= lua_tointeger(L
, 3);
2939 __lua__obj
->QWidget::move(arg1
, arg2
);
2942 int LuaBinder
< QWidget
>::__LuaWrapCall__move__OverloadedVersion__2 (lua_State
*L
) {
2943 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2944 if (__lua__obj
==0) {
2945 lua_pushstring(L
, "trying to reference deleted pointer");
2949 const QPoint
& arg1
= **static_cast<QPoint
**>(lqtL_checkudata(L
, 2, "QPoint*"));
2950 __lua__obj
->QWidget::move(arg1
);
2953 int LuaBinder
< QWidget
>::__LuaWrapCall__move (lua_State
*L
) {
2955 const int premium
= 11+lua_gettop(L
);
2957 score
[1] += lqtL_testudata(L
, 1, "QWidget*")?premium
:-premium
*premium
;
2958 if (lua_isnumber(L
, 2)) {
2959 score
[1] += premium
;
2961 score
[1] += premium
-1; // table: 0x1ff2a20;
2963 score
[1] -= premium
*premium
;
2965 if (lua_isnumber(L
, 3)) {
2966 score
[1] += premium
;
2968 score
[1] += premium
-1; // table: 0x1ff2f40;
2970 score
[1] -= premium
*premium
;
2973 score
[2] += lqtL_testudata(L
, 1, "QWidget*")?premium
:-premium
*premium
;
2974 if (lqtL_testudata(L
, 2, "QPoint*")) {
2975 score
[2] += premium
;
2977 score
[2] += premium
-1; // table: 0x1ff3820;
2979 score
[2] -= premium
*premium
;
2982 for (int i
=1;i
<=2;i
++) {
2983 if (score
[best
] < score
[i
]) { best
= i
; }
2986 case 1: return __LuaWrapCall__move__OverloadedVersion__1(L
); break;
2987 case 2: return __LuaWrapCall__move__OverloadedVersion__2(L
); break;
2989 lua_pushstring(L
, "no overload of function __LuaWrapCall__move matching arguments");
2993 int LuaBinder
< QWidget
>::__LuaWrapCall__restoreGeometry (lua_State
*L
) {
2994 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
2995 if (__lua__obj
==0) {
2996 lua_pushstring(L
, "trying to reference deleted pointer");
3000 const QByteArray
& arg1
= QByteArray(lua_tostring(L
, 2), lua_objlen(L
, 2));
3001 bool ret
= __lua__obj
->QWidget::restoreGeometry(arg1
);
3002 lua_pushboolean(L
, ret
);
3005 int LuaBinder
< QWidget
>::__LuaWrapCall__maximumHeight (lua_State
*L
) {
3006 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
3007 if (__lua__obj
==0) {
3008 lua_pushstring(L
, "trying to reference deleted pointer");
3012 int ret
= __lua__obj
->QWidget::maximumHeight();
3013 lua_pushinteger(L
, ret
);
3016 int LuaBinder
< QWidget
>::__LuaWrapCall__setWindowFlags (lua_State
*L
) {
3017 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
3018 if (__lua__obj
==0) {
3019 lua_pushstring(L
, "trying to reference deleted pointer");
3023 QFlags
<Qt::WindowType
> arg1
= **static_cast<QFlags
<Qt::WindowType
>**>(lqtL_checkudata(L
, 2, "QFlags<Qt::WindowType>*"));
3024 __lua__obj
->QWidget::setWindowFlags(arg1
);
3027 int LuaBinder
< QWidget
>::__LuaWrapCall__paintEngine (lua_State
*L
) {
3028 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
3029 if (__lua__obj
==0) {
3030 lua_pushstring(L
, "trying to reference deleted pointer");
3034 QPaintEngine
* ret
= __lua__obj
->QWidget::paintEngine();
3035 lqtL_pushudata(L
, ret
, "QPaintEngine*");
3038 int LuaBinder
< QWidget
>::__LuaWrapCall__isMinimized (lua_State
*L
) {
3039 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
3040 if (__lua__obj
==0) {
3041 lua_pushstring(L
, "trying to reference deleted pointer");
3045 bool ret
= __lua__obj
->QWidget::isMinimized();
3046 lua_pushboolean(L
, ret
);
3049 int LuaBinder
< QWidget
>::__LuaWrapCall__setMinimumHeight (lua_State
*L
) {
3050 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
3051 if (__lua__obj
==0) {
3052 lua_pushstring(L
, "trying to reference deleted pointer");
3056 int arg1
= lua_tointeger(L
, 2);
3057 __lua__obj
->QWidget::setMinimumHeight(arg1
);
3060 int LuaBinder
< QWidget
>::__LuaWrapCall__setSizePolicy__OverloadedVersion__1 (lua_State
*L
) {
3061 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
3062 if (__lua__obj
==0) {
3063 lua_pushstring(L
, "trying to reference deleted pointer");
3067 QSizePolicy arg1
= **static_cast<QSizePolicy
**>(lqtL_checkudata(L
, 2, "QSizePolicy*"));
3068 __lua__obj
->QWidget::setSizePolicy(arg1
);
3071 int LuaBinder
< QWidget
>::__LuaWrapCall__setSizePolicy__OverloadedVersion__2 (lua_State
*L
) {
3072 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
3073 if (__lua__obj
==0) {
3074 lua_pushstring(L
, "trying to reference deleted pointer");
3078 QSizePolicy::Policy arg1
= static_cast<QSizePolicy::Policy
>(lqtL_toenum(L
, 2, "QSizePolicy::Policy"));
3079 QSizePolicy::Policy arg2
= static_cast<QSizePolicy::Policy
>(lqtL_toenum(L
, 3, "QSizePolicy::Policy"));
3080 __lua__obj
->QWidget::setSizePolicy(arg1
, arg2
);
3083 int LuaBinder
< QWidget
>::__LuaWrapCall__setSizePolicy (lua_State
*L
) {
3085 const int premium
= 11+lua_gettop(L
);
3087 score
[1] += lqtL_testudata(L
, 1, "QWidget*")?premium
:-premium
*premium
;
3088 if (lqtL_testudata(L
, 2, "QSizePolicy*")) {
3089 score
[1] += premium
;
3091 score
[1] += premium
-1; // table: 0x1fff390;
3093 score
[1] -= premium
*premium
;
3096 score
[2] += lqtL_testudata(L
, 1, "QWidget*")?premium
:-premium
*premium
;
3097 if (lqtL_isenum(L
, 2, "QSizePolicy::Policy")) {
3098 score
[2] += premium
;
3100 score
[2] += premium
-1; // table: 0x1fffe00;
3102 score
[2] -= premium
*premium
;
3104 if (lqtL_isenum(L
, 3, "QSizePolicy::Policy")) {
3105 score
[2] += premium
;
3107 score
[2] += premium
-1; // table: 0x1fffa70;
3109 score
[2] -= premium
*premium
;
3112 for (int i
=1;i
<=2;i
++) {
3113 if (score
[best
] < score
[i
]) { best
= i
; }
3116 case 1: return __LuaWrapCall__setSizePolicy__OverloadedVersion__1(L
); break;
3117 case 2: return __LuaWrapCall__setSizePolicy__OverloadedVersion__2(L
); break;
3119 lua_pushstring(L
, "no overload of function __LuaWrapCall__setSizePolicy matching arguments");
3123 int LuaBinder
< QWidget
>::__LuaWrapCall__heightForWidth (lua_State
*L
) {
3124 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
3125 if (__lua__obj
==0) {
3126 lua_pushstring(L
, "trying to reference deleted pointer");
3130 int arg1
= lua_tointeger(L
, 2);
3131 int ret
= __lua__obj
->QWidget::heightForWidth(arg1
);
3132 lua_pushinteger(L
, ret
);
3135 int LuaBinder
< QWidget
>::__LuaWrapCall__visibleRegion (lua_State
*L
) {
3136 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
3137 if (__lua__obj
==0) {
3138 lua_pushstring(L
, "trying to reference deleted pointer");
3142 QRegion ret
= __lua__obj
->QWidget::visibleRegion();
3143 lqtL_passudata(L
, new QRegion(ret
), "QRegion*");
3146 int LuaBinder
< QWidget
>::__LuaWrapCall__getContentsMargins (lua_State
*L
) {
3147 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
3148 if (__lua__obj
==0) {
3149 lua_pushstring(L
, "trying to reference deleted pointer");
3153 int * arg1
= static_cast<int *>(lua_touserdata(L
, 2));
3154 int * arg2
= static_cast<int *>(lua_touserdata(L
, 3));
3155 int * arg3
= static_cast<int *>(lua_touserdata(L
, 4));
3156 int * arg4
= static_cast<int *>(lua_touserdata(L
, 5));
3157 __lua__obj
->QWidget::getContentsMargins(arg1
, arg2
, arg3
, arg4
);
3160 int LuaBinder
< QWidget
>::__LuaWrapCall__setWindowModality (lua_State
*L
) {
3161 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
3162 if (__lua__obj
==0) {
3163 lua_pushstring(L
, "trying to reference deleted pointer");
3167 Qt::WindowModality arg1
= static_cast<Qt::WindowModality
>(lqtL_toenum(L
, 2, "Qt::WindowModality"));
3168 __lua__obj
->QWidget::setWindowModality(arg1
);
3171 int LuaBinder
< QWidget
>::__LuaWrapCall__lower (lua_State
*L
) {
3172 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
3173 if (__lua__obj
==0) {
3174 lua_pushstring(L
, "trying to reference deleted pointer");
3178 __lua__obj
->QWidget::lower();
3181 int LuaBinder
< QWidget
>::__LuaWrapCall__windowTitle (lua_State
*L
) {
3182 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
3183 if (__lua__obj
==0) {
3184 lua_pushstring(L
, "trying to reference deleted pointer");
3188 QString ret
= __lua__obj
->QWidget::windowTitle();
3189 lua_pushlstring(L
, ret
.toAscii().data(), ret
.toAscii().size());
3192 int LuaBinder
< QWidget
>::__LuaWrapCall__sizeIncrement (lua_State
*L
) {
3193 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
3194 if (__lua__obj
==0) {
3195 lua_pushstring(L
, "trying to reference deleted pointer");
3199 QSize ret
= __lua__obj
->QWidget::sizeIncrement();
3200 lqtL_passudata(L
, new QSize(ret
), "QSize*");
3203 int LuaBinder
< QWidget
>::__LuaWrapCall__showNormal (lua_State
*L
) {
3204 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
3205 if (__lua__obj
==0) {
3206 lua_pushstring(L
, "trying to reference deleted pointer");
3210 __lua__obj
->QWidget::showNormal();
3213 int LuaBinder
< QWidget
>::__LuaWrapCall__unsetLayoutDirection (lua_State
*L
) {
3214 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
3215 if (__lua__obj
==0) {
3216 lua_pushstring(L
, "trying to reference deleted pointer");
3220 __lua__obj
->QWidget::unsetLayoutDirection();
3223 int LuaBinder
< QWidget
>::__LuaWrapCall__autoFillBackground (lua_State
*L
) {
3224 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
3225 if (__lua__obj
==0) {
3226 lua_pushstring(L
, "trying to reference deleted pointer");
3230 bool ret
= __lua__obj
->QWidget::autoFillBackground();
3231 lua_pushboolean(L
, ret
);
3234 int LuaBinder
< QWidget
>::__LuaWrapCall__isActiveWindow (lua_State
*L
) {
3235 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
3236 if (__lua__obj
==0) {
3237 lua_pushstring(L
, "trying to reference deleted pointer");
3241 bool ret
= __lua__obj
->QWidget::isActiveWindow();
3242 lua_pushboolean(L
, ret
);
3245 int LuaBinder
< QWidget
>::__LuaWrapCall__minimumSizeHint (lua_State
*L
) {
3246 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
3247 if (__lua__obj
==0) {
3248 lua_pushstring(L
, "trying to reference deleted pointer");
3252 QSize ret
= __lua__obj
->QWidget::minimumSizeHint();
3253 lqtL_passudata(L
, new QSize(ret
), "QSize*");
3256 int LuaBinder
< QWidget
>::__LuaWrapCall__width (lua_State
*L
) {
3257 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
3258 if (__lua__obj
==0) {
3259 lua_pushstring(L
, "trying to reference deleted pointer");
3263 int ret
= __lua__obj
->QWidget::width();
3264 lua_pushinteger(L
, ret
);
3267 int LuaBinder
< QWidget
>::__LuaWrapCall__setLocale (lua_State
*L
) {
3268 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
3269 if (__lua__obj
==0) {
3270 lua_pushstring(L
, "trying to reference deleted pointer");
3274 const QLocale
& arg1
= **static_cast<QLocale
**>(lqtL_checkudata(L
, 2, "QLocale*"));
3275 __lua__obj
->QWidget::setLocale(arg1
);
3278 int LuaBinder
< QWidget
>::__LuaWrapCall__saveGeometry (lua_State
*L
) {
3279 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
3280 if (__lua__obj
==0) {
3281 lua_pushstring(L
, "trying to reference deleted pointer");
3285 QByteArray ret
= __lua__obj
->QWidget::saveGeometry();
3286 lua_pushlstring(L
, ret
.data(), ret
.size());
3289 int LuaBinder
< QWidget
>::__LuaWrapCall__overrideWindowFlags (lua_State
*L
) {
3290 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
3291 if (__lua__obj
==0) {
3292 lua_pushstring(L
, "trying to reference deleted pointer");
3296 QFlags
<Qt::WindowType
> arg1
= **static_cast<QFlags
<Qt::WindowType
>**>(lqtL_checkudata(L
, 2, "QFlags<Qt::WindowType>*"));
3297 __lua__obj
->QWidget::overrideWindowFlags(arg1
);
3300 int LuaBinder
< QWidget
>::__LuaWrapCall__toolTip (lua_State
*L
) {
3301 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
3302 if (__lua__obj
==0) {
3303 lua_pushstring(L
, "trying to reference deleted pointer");
3307 QString ret
= __lua__obj
->QWidget::toolTip();
3308 lua_pushlstring(L
, ret
.toAscii().data(), ret
.toAscii().size());
3311 int LuaBinder
< QWidget
>::__LuaWrapCall__raise (lua_State
*L
) {
3312 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
3313 if (__lua__obj
==0) {
3314 lua_pushstring(L
, "trying to reference deleted pointer");
3318 __lua__obj
->QWidget::raise();
3321 int LuaBinder
< QWidget
>::__LuaWrapCall__windowIcon (lua_State
*L
) {
3322 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
3323 if (__lua__obj
==0) {
3324 lua_pushstring(L
, "trying to reference deleted pointer");
3328 QIcon ret
= __lua__obj
->QWidget::windowIcon();
3329 lqtL_passudata(L
, new QIcon(ret
), "QIcon*");
3332 int LuaBinder
< QWidget
>::__LuaWrapCall__fontInfo (lua_State
*L
) {
3333 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
3334 if (__lua__obj
==0) {
3335 lua_pushstring(L
, "trying to reference deleted pointer");
3339 QFontInfo ret
= __lua__obj
->QWidget::fontInfo();
3340 lqtL_passudata(L
, new QFontInfo(ret
), "QFontInfo*");
3343 int LuaBinder
< QWidget
>::__LuaWrapCall__handle (lua_State
*L
) {
3344 QWidget
*& __lua__obj
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
3345 if (__lua__obj
==0) {
3346 lua_pushstring(L
, "trying to reference deleted pointer");
3350 long unsigned int ret
= __lua__obj
->QWidget::handle();
3351 lua_pushinteger(L
, ret
);
3354 void LuaBinder
< QWidget
>::styleChange (QStyle
& arg1
) {
3355 bool absorbed
= false;
3356 int oldtop
= lua_gettop(L
);
3357 lqtL_pushudata(L
, this, "QWidget*");
3358 if (lua_getmetatable(L
, -1)) {
3359 lua_getfield(L
, -1, "styleChange");
3365 lqtL_pushudata(L
, &(arg1
), "QStyle*");
3366 if (lua_isfunction(L
, -1-2)) {
3367 lua_pcall(L
, 1+1, 2, 0);
3368 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
3372 lua_settop(L
, oldtop
);
3373 this->QWidget::styleChange(arg1
);
3375 lua_settop(L
, oldtop
);
3377 void LuaBinder
< QWidget
>::focusInEvent (QFocusEvent
* arg1
) {
3378 bool absorbed
= false;
3379 int oldtop
= lua_gettop(L
);
3380 lqtL_pushudata(L
, this, "QWidget*");
3381 if (lua_getmetatable(L
, -1)) {
3382 lua_getfield(L
, -1, "focusInEvent");
3388 lqtL_pushudata(L
, arg1
, "QFocusEvent*");
3389 if (lua_isfunction(L
, -1-2)) {
3390 lua_pcall(L
, 1+1, 2, 0);
3391 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
3395 lua_settop(L
, oldtop
);
3396 this->QWidget::focusInEvent(arg1
);
3398 lua_settop(L
, oldtop
);
3400 void LuaBinder
< QWidget
>::keyPressEvent (QKeyEvent
* arg1
) {
3401 bool absorbed
= false;
3402 int oldtop
= lua_gettop(L
);
3403 lqtL_pushudata(L
, this, "QWidget*");
3404 if (lua_getmetatable(L
, -1)) {
3405 lua_getfield(L
, -1, "keyPressEvent");
3411 lqtL_pushudata(L
, arg1
, "QKeyEvent*");
3412 if (lua_isfunction(L
, -1-2)) {
3413 lua_pcall(L
, 1+1, 2, 0);
3414 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
3418 lua_settop(L
, oldtop
);
3419 this->QWidget::keyPressEvent(arg1
);
3421 lua_settop(L
, oldtop
);
3423 void LuaBinder
< QWidget
>::contextMenuEvent (QContextMenuEvent
* arg1
) {
3424 bool absorbed
= false;
3425 int oldtop
= lua_gettop(L
);
3426 lqtL_pushudata(L
, this, "QWidget*");
3427 if (lua_getmetatable(L
, -1)) {
3428 lua_getfield(L
, -1, "contextMenuEvent");
3434 lqtL_pushudata(L
, arg1
, "QContextMenuEvent*");
3435 if (lua_isfunction(L
, -1-2)) {
3436 lua_pcall(L
, 1+1, 2, 0);
3437 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
3441 lua_settop(L
, oldtop
);
3442 this->QWidget::contextMenuEvent(arg1
);
3444 lua_settop(L
, oldtop
);
3446 int LuaBinder
< QWidget
>::devType () const {
3447 bool absorbed
= false;
3448 int oldtop
= lua_gettop(L
);
3449 lqtL_pushudata(L
, this, "QWidget*");
3450 if (lua_getmetatable(L
, -1)) {
3451 lua_getfield(L
, -1, "devType");
3457 if (lua_isfunction(L
, -0-2)) {
3458 lua_pcall(L
, 0+1, 2, 0);
3459 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
3463 lua_settop(L
, oldtop
);
3464 return this->QWidget::devType();
3466 int ret
= lua_tointeger(L
, -1);
3467 lua_settop(L
, oldtop
);
3470 void LuaBinder
< QWidget
>::setVisible (bool arg1
) {
3471 bool absorbed
= false;
3472 int oldtop
= lua_gettop(L
);
3473 lqtL_pushudata(L
, this, "QWidget*");
3474 if (lua_getmetatable(L
, -1)) {
3475 lua_getfield(L
, -1, "setVisible");
3481 lua_pushboolean(L
, arg1
);
3482 if (lua_isfunction(L
, -1-2)) {
3483 lua_pcall(L
, 1+1, 2, 0);
3484 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
3488 lua_settop(L
, oldtop
);
3489 this->QWidget::setVisible(arg1
);
3491 lua_settop(L
, oldtop
);
3493 void LuaBinder
< QWidget
>::keyReleaseEvent (QKeyEvent
* arg1
) {
3494 bool absorbed
= false;
3495 int oldtop
= lua_gettop(L
);
3496 lqtL_pushudata(L
, this, "QWidget*");
3497 if (lua_getmetatable(L
, -1)) {
3498 lua_getfield(L
, -1, "keyReleaseEvent");
3504 lqtL_pushudata(L
, arg1
, "QKeyEvent*");
3505 if (lua_isfunction(L
, -1-2)) {
3506 lua_pcall(L
, 1+1, 2, 0);
3507 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
3511 lua_settop(L
, oldtop
);
3512 this->QWidget::keyReleaseEvent(arg1
);
3514 lua_settop(L
, oldtop
);
3516 QPaintEngine
* LuaBinder
< QWidget
>::paintEngine () const {
3517 bool absorbed
= false;
3518 int oldtop
= lua_gettop(L
);
3519 lqtL_pushudata(L
, this, "QWidget*");
3520 if (lua_getmetatable(L
, -1)) {
3521 lua_getfield(L
, -1, "paintEngine");
3527 if (lua_isfunction(L
, -0-2)) {
3528 lua_pcall(L
, 0+1, 2, 0);
3529 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
3533 lua_settop(L
, oldtop
);
3534 return this->QWidget::paintEngine();
3536 QPaintEngine
* ret
= *static_cast<QPaintEngine
**>(lqtL_checkudata(L
, -1, "QPaintEngine*"));
3537 lua_settop(L
, oldtop
);
3540 void LuaBinder
< QWidget
>::dragLeaveEvent (QDragLeaveEvent
* arg1
) {
3541 bool absorbed
= false;
3542 int oldtop
= lua_gettop(L
);
3543 lqtL_pushudata(L
, this, "QWidget*");
3544 if (lua_getmetatable(L
, -1)) {
3545 lua_getfield(L
, -1, "dragLeaveEvent");
3551 lqtL_pushudata(L
, arg1
, "QDragLeaveEvent*");
3552 if (lua_isfunction(L
, -1-2)) {
3553 lua_pcall(L
, 1+1, 2, 0);
3554 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
3558 lua_settop(L
, oldtop
);
3559 this->QWidget::dragLeaveEvent(arg1
);
3561 lua_settop(L
, oldtop
);
3563 void LuaBinder
< QWidget
>::mousePressEvent (QMouseEvent
* arg1
) {
3564 bool absorbed
= false;
3565 int oldtop
= lua_gettop(L
);
3566 lqtL_pushudata(L
, this, "QWidget*");
3567 if (lua_getmetatable(L
, -1)) {
3568 lua_getfield(L
, -1, "mousePressEvent");
3574 lqtL_pushudata(L
, arg1
, "QMouseEvent*");
3575 if (lua_isfunction(L
, -1-2)) {
3576 lua_pcall(L
, 1+1, 2, 0);
3577 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
3581 lua_settop(L
, oldtop
);
3582 this->QWidget::mousePressEvent(arg1
);
3584 lua_settop(L
, oldtop
);
3586 QSize LuaBinder
< QWidget
>::sizeHint () const {
3587 bool absorbed
= false;
3588 int oldtop
= lua_gettop(L
);
3589 lqtL_pushudata(L
, this, "QWidget*");
3590 if (lua_getmetatable(L
, -1)) {
3591 lua_getfield(L
, -1, "sizeHint");
3597 if (lua_isfunction(L
, -0-2)) {
3598 lua_pcall(L
, 0+1, 2, 0);
3599 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
3603 lua_settop(L
, oldtop
);
3604 return this->QWidget::sizeHint();
3606 QSize ret
= **static_cast<QSize
**>(lqtL_checkudata(L
, -1, "QSize*"));
3607 lua_settop(L
, oldtop
);
3610 void LuaBinder
< QWidget
>::moveEvent (QMoveEvent
* arg1
) {
3611 bool absorbed
= false;
3612 int oldtop
= lua_gettop(L
);
3613 lqtL_pushudata(L
, this, "QWidget*");
3614 if (lua_getmetatable(L
, -1)) {
3615 lua_getfield(L
, -1, "moveEvent");
3621 lqtL_pushudata(L
, arg1
, "QMoveEvent*");
3622 if (lua_isfunction(L
, -1-2)) {
3623 lua_pcall(L
, 1+1, 2, 0);
3624 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
3628 lua_settop(L
, oldtop
);
3629 this->QWidget::moveEvent(arg1
);
3631 lua_settop(L
, oldtop
);
3633 void LuaBinder
< QWidget
>::tabletEvent (QTabletEvent
* arg1
) {
3634 bool absorbed
= false;
3635 int oldtop
= lua_gettop(L
);
3636 lqtL_pushudata(L
, this, "QWidget*");
3637 if (lua_getmetatable(L
, -1)) {
3638 lua_getfield(L
, -1, "tabletEvent");
3644 lqtL_pushudata(L
, arg1
, "QTabletEvent*");
3645 if (lua_isfunction(L
, -1-2)) {
3646 lua_pcall(L
, 1+1, 2, 0);
3647 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
3651 lua_settop(L
, oldtop
);
3652 this->QWidget::tabletEvent(arg1
);
3654 lua_settop(L
, oldtop
);
3656 void LuaBinder
< QWidget
>::connectNotify (const char * arg1
) {
3657 bool absorbed
= false;
3658 int oldtop
= lua_gettop(L
);
3659 lqtL_pushudata(L
, this, "QWidget*");
3660 if (lua_getmetatable(L
, -1)) {
3661 lua_getfield(L
, -1, "connectNotify");
3667 lua_pushstring(L
, arg1
);
3668 if (lua_isfunction(L
, -1-2)) {
3669 lua_pcall(L
, 1+1, 2, 0);
3670 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
3674 lua_settop(L
, oldtop
);
3675 this->QObject::connectNotify(arg1
);
3677 lua_settop(L
, oldtop
);
3679 QVariant LuaBinder
< QWidget
>::inputMethodQuery (Qt::InputMethodQuery arg1
) const {
3680 bool absorbed
= false;
3681 int oldtop
= lua_gettop(L
);
3682 lqtL_pushudata(L
, this, "QWidget*");
3683 if (lua_getmetatable(L
, -1)) {
3684 lua_getfield(L
, -1, "inputMethodQuery");
3690 lqtL_pushenum(L
, arg1
, "Qt::InputMethodQuery");
3691 if (lua_isfunction(L
, -1-2)) {
3692 lua_pcall(L
, 1+1, 2, 0);
3693 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
3697 lua_settop(L
, oldtop
);
3698 return this->QWidget::inputMethodQuery(arg1
);
3700 QVariant ret
= **static_cast<QVariant
**>(lqtL_checkudata(L
, -1, "QVariant*"));
3701 lua_settop(L
, oldtop
);
3704 QSize LuaBinder
< QWidget
>::minimumSizeHint () const {
3705 bool absorbed
= false;
3706 int oldtop
= lua_gettop(L
);
3707 lqtL_pushudata(L
, this, "QWidget*");
3708 if (lua_getmetatable(L
, -1)) {
3709 lua_getfield(L
, -1, "minimumSizeHint");
3715 if (lua_isfunction(L
, -0-2)) {
3716 lua_pcall(L
, 0+1, 2, 0);
3717 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
3721 lua_settop(L
, oldtop
);
3722 return this->QWidget::minimumSizeHint();
3724 QSize ret
= **static_cast<QSize
**>(lqtL_checkudata(L
, -1, "QSize*"));
3725 lua_settop(L
, oldtop
);
3728 void LuaBinder
< QWidget
>::timerEvent (QTimerEvent
* arg1
) {
3729 bool absorbed
= false;
3730 int oldtop
= lua_gettop(L
);
3731 lqtL_pushudata(L
, this, "QWidget*");
3732 if (lua_getmetatable(L
, -1)) {
3733 lua_getfield(L
, -1, "timerEvent");
3739 lqtL_pushudata(L
, arg1
, "QTimerEvent*");
3740 if (lua_isfunction(L
, -1-2)) {
3741 lua_pcall(L
, 1+1, 2, 0);
3742 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
3746 lua_settop(L
, oldtop
);
3747 this->QObject::timerEvent(arg1
);
3749 lua_settop(L
, oldtop
);
3751 void LuaBinder
< QWidget
>::dropEvent (QDropEvent
* arg1
) {
3752 bool absorbed
= false;
3753 int oldtop
= lua_gettop(L
);
3754 lqtL_pushudata(L
, this, "QWidget*");
3755 if (lua_getmetatable(L
, -1)) {
3756 lua_getfield(L
, -1, "dropEvent");
3762 lqtL_pushudata(L
, arg1
, "QDropEvent*");
3763 if (lua_isfunction(L
, -1-2)) {
3764 lua_pcall(L
, 1+1, 2, 0);
3765 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
3769 lua_settop(L
, oldtop
);
3770 this->QWidget::dropEvent(arg1
);
3772 lua_settop(L
, oldtop
);
3774 void LuaBinder
< QWidget
>::showEvent (QShowEvent
* arg1
) {
3775 bool absorbed
= false;
3776 int oldtop
= lua_gettop(L
);
3777 lqtL_pushudata(L
, this, "QWidget*");
3778 if (lua_getmetatable(L
, -1)) {
3779 lua_getfield(L
, -1, "showEvent");
3785 lqtL_pushudata(L
, arg1
, "QShowEvent*");
3786 if (lua_isfunction(L
, -1-2)) {
3787 lua_pcall(L
, 1+1, 2, 0);
3788 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
3792 lua_settop(L
, oldtop
);
3793 this->QWidget::showEvent(arg1
);
3795 lua_settop(L
, oldtop
);
3797 void LuaBinder
< QWidget
>::changeEvent (QEvent
* arg1
) {
3798 bool absorbed
= false;
3799 int oldtop
= lua_gettop(L
);
3800 lqtL_pushudata(L
, this, "QWidget*");
3801 if (lua_getmetatable(L
, -1)) {
3802 lua_getfield(L
, -1, "changeEvent");
3808 lqtL_pushudata(L
, arg1
, "QEvent*");
3809 if (lua_isfunction(L
, -1-2)) {
3810 lua_pcall(L
, 1+1, 2, 0);
3811 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
3815 lua_settop(L
, oldtop
);
3816 this->QWidget::changeEvent(arg1
);
3818 lua_settop(L
, oldtop
);
3820 void LuaBinder
< QWidget
>::paintEvent (QPaintEvent
* arg1
) {
3821 bool absorbed
= false;
3822 int oldtop
= lua_gettop(L
);
3823 lqtL_pushudata(L
, this, "QWidget*");
3824 if (lua_getmetatable(L
, -1)) {
3825 lua_getfield(L
, -1, "paintEvent");
3831 lqtL_pushudata(L
, arg1
, "QPaintEvent*");
3832 if (lua_isfunction(L
, -1-2)) {
3833 lua_pcall(L
, 1+1, 2, 0);
3834 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
3838 lua_settop(L
, oldtop
);
3839 this->QWidget::paintEvent(arg1
);
3841 lua_settop(L
, oldtop
);
3843 void LuaBinder
< QWidget
>::customEvent (QEvent
* arg1
) {
3844 bool absorbed
= false;
3845 int oldtop
= lua_gettop(L
);
3846 lqtL_pushudata(L
, this, "QWidget*");
3847 if (lua_getmetatable(L
, -1)) {
3848 lua_getfield(L
, -1, "customEvent");
3854 lqtL_pushudata(L
, arg1
, "QEvent*");
3855 if (lua_isfunction(L
, -1-2)) {
3856 lua_pcall(L
, 1+1, 2, 0);
3857 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
3861 lua_settop(L
, oldtop
);
3862 this->QObject::customEvent(arg1
);
3864 lua_settop(L
, oldtop
);
3866 const QMetaObject
* LuaBinder
< QWidget
>::metaObject () const {
3867 bool absorbed
= false;
3868 int oldtop
= lua_gettop(L
);
3869 lqtL_pushudata(L
, this, "QWidget*");
3870 if (lua_getmetatable(L
, -1)) {
3871 lua_getfield(L
, -1, "metaObject");
3877 if (lua_isfunction(L
, -0-2)) {
3878 lua_pcall(L
, 0+1, 2, 0);
3879 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
3883 lua_settop(L
, oldtop
);
3884 return this->QWidget::metaObject();
3886 const QMetaObject
* ret
= *static_cast<QMetaObject
**>(lqtL_checkudata(L
, -1, "QMetaObject*"));
3887 lua_settop(L
, oldtop
);
3890 void LuaBinder
< QWidget
>::enabledChange (bool arg1
) {
3891 bool absorbed
= false;
3892 int oldtop
= lua_gettop(L
);
3893 lqtL_pushudata(L
, this, "QWidget*");
3894 if (lua_getmetatable(L
, -1)) {
3895 lua_getfield(L
, -1, "enabledChange");
3901 lua_pushboolean(L
, arg1
);
3902 if (lua_isfunction(L
, -1-2)) {
3903 lua_pcall(L
, 1+1, 2, 0);
3904 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
3908 lua_settop(L
, oldtop
);
3909 this->QWidget::enabledChange(arg1
);
3911 lua_settop(L
, oldtop
);
3913 void LuaBinder
< QWidget
>::windowActivationChange (bool arg1
) {
3914 bool absorbed
= false;
3915 int oldtop
= lua_gettop(L
);
3916 lqtL_pushudata(L
, this, "QWidget*");
3917 if (lua_getmetatable(L
, -1)) {
3918 lua_getfield(L
, -1, "windowActivationChange");
3924 lua_pushboolean(L
, arg1
);
3925 if (lua_isfunction(L
, -1-2)) {
3926 lua_pcall(L
, 1+1, 2, 0);
3927 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
3931 lua_settop(L
, oldtop
);
3932 this->QWidget::windowActivationChange(arg1
);
3934 lua_settop(L
, oldtop
);
3936 int LuaBinder
< QWidget
>::heightForWidth (int arg1
) const {
3937 bool absorbed
= false;
3938 int oldtop
= lua_gettop(L
);
3939 lqtL_pushudata(L
, this, "QWidget*");
3940 if (lua_getmetatable(L
, -1)) {
3941 lua_getfield(L
, -1, "heightForWidth");
3947 lua_pushinteger(L
, arg1
);
3948 if (lua_isfunction(L
, -1-2)) {
3949 lua_pcall(L
, 1+1, 2, 0);
3950 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
3954 lua_settop(L
, oldtop
);
3955 return this->QWidget::heightForWidth(arg1
);
3957 int ret
= lua_tointeger(L
, -1);
3958 lua_settop(L
, oldtop
);
3961 void LuaBinder
< QWidget
>::mouseDoubleClickEvent (QMouseEvent
* arg1
) {
3962 bool absorbed
= false;
3963 int oldtop
= lua_gettop(L
);
3964 lqtL_pushudata(L
, this, "QWidget*");
3965 if (lua_getmetatable(L
, -1)) {
3966 lua_getfield(L
, -1, "mouseDoubleClickEvent");
3972 lqtL_pushudata(L
, arg1
, "QMouseEvent*");
3973 if (lua_isfunction(L
, -1-2)) {
3974 lua_pcall(L
, 1+1, 2, 0);
3975 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
3979 lua_settop(L
, oldtop
);
3980 this->QWidget::mouseDoubleClickEvent(arg1
);
3982 lua_settop(L
, oldtop
);
3984 void LuaBinder
< QWidget
>::fontChange (const QFont
& arg1
) {
3985 bool absorbed
= false;
3986 int oldtop
= lua_gettop(L
);
3987 lqtL_pushudata(L
, this, "QWidget*");
3988 if (lua_getmetatable(L
, -1)) {
3989 lua_getfield(L
, -1, "fontChange");
3995 lqtL_pushudata(L
, &(arg1
), "QFont*");
3996 if (lua_isfunction(L
, -1-2)) {
3997 lua_pcall(L
, 1+1, 2, 0);
3998 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
4002 lua_settop(L
, oldtop
);
4003 this->QWidget::fontChange(arg1
);
4005 lua_settop(L
, oldtop
);
4007 void LuaBinder
< QWidget
>::disconnectNotify (const char * arg1
) {
4008 bool absorbed
= false;
4009 int oldtop
= lua_gettop(L
);
4010 lqtL_pushudata(L
, this, "QWidget*");
4011 if (lua_getmetatable(L
, -1)) {
4012 lua_getfield(L
, -1, "disconnectNotify");
4018 lua_pushstring(L
, arg1
);
4019 if (lua_isfunction(L
, -1-2)) {
4020 lua_pcall(L
, 1+1, 2, 0);
4021 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
4025 lua_settop(L
, oldtop
);
4026 this->QObject::disconnectNotify(arg1
);
4028 lua_settop(L
, oldtop
);
4030 void LuaBinder
< QWidget
>::mouseMoveEvent (QMouseEvent
* arg1
) {
4031 bool absorbed
= false;
4032 int oldtop
= lua_gettop(L
);
4033 lqtL_pushudata(L
, this, "QWidget*");
4034 if (lua_getmetatable(L
, -1)) {
4035 lua_getfield(L
, -1, "mouseMoveEvent");
4041 lqtL_pushudata(L
, arg1
, "QMouseEvent*");
4042 if (lua_isfunction(L
, -1-2)) {
4043 lua_pcall(L
, 1+1, 2, 0);
4044 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
4048 lua_settop(L
, oldtop
);
4049 this->QWidget::mouseMoveEvent(arg1
);
4051 lua_settop(L
, oldtop
);
4053 bool LuaBinder
< QWidget
>::focusNextPrevChild (bool arg1
) {
4054 bool absorbed
= false;
4055 int oldtop
= lua_gettop(L
);
4056 lqtL_pushudata(L
, this, "QWidget*");
4057 if (lua_getmetatable(L
, -1)) {
4058 lua_getfield(L
, -1, "focusNextPrevChild");
4064 lua_pushboolean(L
, arg1
);
4065 if (lua_isfunction(L
, -1-2)) {
4066 lua_pcall(L
, 1+1, 2, 0);
4067 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
4071 lua_settop(L
, oldtop
);
4072 return this->QWidget::focusNextPrevChild(arg1
);
4074 bool ret
= (bool)lua_toboolean(L
, -1);
4075 lua_settop(L
, oldtop
);
4078 void LuaBinder
< QWidget
>::childEvent (QChildEvent
* arg1
) {
4079 bool absorbed
= false;
4080 int oldtop
= lua_gettop(L
);
4081 lqtL_pushudata(L
, this, "QWidget*");
4082 if (lua_getmetatable(L
, -1)) {
4083 lua_getfield(L
, -1, "childEvent");
4089 lqtL_pushudata(L
, arg1
, "QChildEvent*");
4090 if (lua_isfunction(L
, -1-2)) {
4091 lua_pcall(L
, 1+1, 2, 0);
4092 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
4096 lua_settop(L
, oldtop
);
4097 this->QObject::childEvent(arg1
);
4099 lua_settop(L
, oldtop
);
4101 void LuaBinder
< QWidget
>::focusOutEvent (QFocusEvent
* arg1
) {
4102 bool absorbed
= false;
4103 int oldtop
= lua_gettop(L
);
4104 lqtL_pushudata(L
, this, "QWidget*");
4105 if (lua_getmetatable(L
, -1)) {
4106 lua_getfield(L
, -1, "focusOutEvent");
4112 lqtL_pushudata(L
, arg1
, "QFocusEvent*");
4113 if (lua_isfunction(L
, -1-2)) {
4114 lua_pcall(L
, 1+1, 2, 0);
4115 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
4119 lua_settop(L
, oldtop
);
4120 this->QWidget::focusOutEvent(arg1
);
4122 lua_settop(L
, oldtop
);
4124 void LuaBinder
< QWidget
>::mouseReleaseEvent (QMouseEvent
* arg1
) {
4125 bool absorbed
= false;
4126 int oldtop
= lua_gettop(L
);
4127 lqtL_pushudata(L
, this, "QWidget*");
4128 if (lua_getmetatable(L
, -1)) {
4129 lua_getfield(L
, -1, "mouseReleaseEvent");
4135 lqtL_pushudata(L
, arg1
, "QMouseEvent*");
4136 if (lua_isfunction(L
, -1-2)) {
4137 lua_pcall(L
, 1+1, 2, 0);
4138 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
4142 lua_settop(L
, oldtop
);
4143 this->QWidget::mouseReleaseEvent(arg1
);
4145 lua_settop(L
, oldtop
);
4147 int LuaBinder
< QWidget
>::metric (QPaintDevice::PaintDeviceMetric arg1
) const {
4148 bool absorbed
= false;
4149 int oldtop
= lua_gettop(L
);
4150 lqtL_pushudata(L
, this, "QWidget*");
4151 if (lua_getmetatable(L
, -1)) {
4152 lua_getfield(L
, -1, "metric");
4158 lqtL_pushenum(L
, arg1
, "QPaintDevice::PaintDeviceMetric");
4159 if (lua_isfunction(L
, -1-2)) {
4160 lua_pcall(L
, 1+1, 2, 0);
4161 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
4165 lua_settop(L
, oldtop
);
4166 return this->QWidget::metric(arg1
);
4168 int ret
= lua_tointeger(L
, -1);
4169 lua_settop(L
, oldtop
);
4172 bool LuaBinder
< QWidget
>::eventFilter (QObject
* arg1
, QEvent
* arg2
) {
4173 bool absorbed
= false;
4174 int oldtop
= lua_gettop(L
);
4175 lqtL_pushudata(L
, this, "QWidget*");
4176 if (lua_getmetatable(L
, -1)) {
4177 lua_getfield(L
, -1, "eventFilter");
4183 lqtL_pushudata(L
, arg1
, "QObject*");
4184 lqtL_pushudata(L
, arg2
, "QEvent*");
4185 if (lua_isfunction(L
, -2-2)) {
4186 lua_pcall(L
, 2+1, 2, 0);
4187 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
4191 lua_settop(L
, oldtop
);
4192 return this->QObject::eventFilter(arg1
, arg2
);
4194 bool ret
= (bool)lua_toboolean(L
, -1);
4195 lua_settop(L
, oldtop
);
4198 void LuaBinder
< QWidget
>::inputMethodEvent (QInputMethodEvent
* arg1
) {
4199 bool absorbed
= false;
4200 int oldtop
= lua_gettop(L
);
4201 lqtL_pushudata(L
, this, "QWidget*");
4202 if (lua_getmetatable(L
, -1)) {
4203 lua_getfield(L
, -1, "inputMethodEvent");
4209 lqtL_pushudata(L
, arg1
, "QInputMethodEvent*");
4210 if (lua_isfunction(L
, -1-2)) {
4211 lua_pcall(L
, 1+1, 2, 0);
4212 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
4216 lua_settop(L
, oldtop
);
4217 this->QWidget::inputMethodEvent(arg1
);
4219 lua_settop(L
, oldtop
);
4221 void LuaBinder
< QWidget
>::wheelEvent (QWheelEvent
* arg1
) {
4222 bool absorbed
= false;
4223 int oldtop
= lua_gettop(L
);
4224 lqtL_pushudata(L
, this, "QWidget*");
4225 if (lua_getmetatable(L
, -1)) {
4226 lua_getfield(L
, -1, "wheelEvent");
4232 lqtL_pushudata(L
, arg1
, "QWheelEvent*");
4233 if (lua_isfunction(L
, -1-2)) {
4234 lua_pcall(L
, 1+1, 2, 0);
4235 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
4239 lua_settop(L
, oldtop
);
4240 this->QWidget::wheelEvent(arg1
);
4242 lua_settop(L
, oldtop
);
4244 void LuaBinder
< QWidget
>::resizeEvent (QResizeEvent
* arg1
) {
4245 bool absorbed
= false;
4246 int oldtop
= lua_gettop(L
);
4247 lqtL_pushudata(L
, this, "QWidget*");
4248 if (lua_getmetatable(L
, -1)) {
4249 lua_getfield(L
, -1, "resizeEvent");
4255 lqtL_pushudata(L
, arg1
, "QResizeEvent*");
4256 if (lua_isfunction(L
, -1-2)) {
4257 lua_pcall(L
, 1+1, 2, 0);
4258 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
4262 lua_settop(L
, oldtop
);
4263 this->QWidget::resizeEvent(arg1
);
4265 lua_settop(L
, oldtop
);
4267 void LuaBinder
< QWidget
>::paletteChange (const QPalette
& arg1
) {
4268 bool absorbed
= false;
4269 int oldtop
= lua_gettop(L
);
4270 lqtL_pushudata(L
, this, "QWidget*");
4271 if (lua_getmetatable(L
, -1)) {
4272 lua_getfield(L
, -1, "paletteChange");
4278 lqtL_pushudata(L
, &(arg1
), "QPalette*");
4279 if (lua_isfunction(L
, -1-2)) {
4280 lua_pcall(L
, 1+1, 2, 0);
4281 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
4285 lua_settop(L
, oldtop
);
4286 this->QWidget::paletteChange(arg1
);
4288 lua_settop(L
, oldtop
);
4290 void LuaBinder
< QWidget
>::languageChange () {
4291 bool absorbed
= false;
4292 int oldtop
= lua_gettop(L
);
4293 lqtL_pushudata(L
, this, "QWidget*");
4294 if (lua_getmetatable(L
, -1)) {
4295 lua_getfield(L
, -1, "languageChange");
4301 if (lua_isfunction(L
, -0-2)) {
4302 lua_pcall(L
, 0+1, 2, 0);
4303 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
4307 lua_settop(L
, oldtop
);
4308 this->QWidget::languageChange();
4310 lua_settop(L
, oldtop
);
4312 bool LuaBinder
< QWidget
>::event (QEvent
* arg1
) {
4313 bool absorbed
= false;
4314 int oldtop
= lua_gettop(L
);
4315 lqtL_pushudata(L
, this, "QWidget*");
4316 if (lua_getmetatable(L
, -1)) {
4317 lua_getfield(L
, -1, "event");
4323 lqtL_pushudata(L
, arg1
, "QEvent*");
4324 if (lua_isfunction(L
, -1-2)) {
4325 lua_pcall(L
, 1+1, 2, 0);
4326 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
4330 lua_settop(L
, oldtop
);
4331 return this->QWidget::event(arg1
);
4333 bool ret
= (bool)lua_toboolean(L
, -1);
4334 lua_settop(L
, oldtop
);
4337 void LuaBinder
< QWidget
>::hideEvent (QHideEvent
* arg1
) {
4338 bool absorbed
= false;
4339 int oldtop
= lua_gettop(L
);
4340 lqtL_pushudata(L
, this, "QWidget*");
4341 if (lua_getmetatable(L
, -1)) {
4342 lua_getfield(L
, -1, "hideEvent");
4348 lqtL_pushudata(L
, arg1
, "QHideEvent*");
4349 if (lua_isfunction(L
, -1-2)) {
4350 lua_pcall(L
, 1+1, 2, 0);
4351 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
4355 lua_settop(L
, oldtop
);
4356 this->QWidget::hideEvent(arg1
);
4358 lua_settop(L
, oldtop
);
4360 void LuaBinder
< QWidget
>::dragMoveEvent (QDragMoveEvent
* arg1
) {
4361 bool absorbed
= false;
4362 int oldtop
= lua_gettop(L
);
4363 lqtL_pushudata(L
, this, "QWidget*");
4364 if (lua_getmetatable(L
, -1)) {
4365 lua_getfield(L
, -1, "dragMoveEvent");
4371 lqtL_pushudata(L
, arg1
, "QDragMoveEvent*");
4372 if (lua_isfunction(L
, -1-2)) {
4373 lua_pcall(L
, 1+1, 2, 0);
4374 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
4378 lua_settop(L
, oldtop
);
4379 this->QWidget::dragMoveEvent(arg1
);
4381 lua_settop(L
, oldtop
);
4383 void LuaBinder
< QWidget
>::dragEnterEvent (QDragEnterEvent
* arg1
) {
4384 bool absorbed
= false;
4385 int oldtop
= lua_gettop(L
);
4386 lqtL_pushudata(L
, this, "QWidget*");
4387 if (lua_getmetatable(L
, -1)) {
4388 lua_getfield(L
, -1, "dragEnterEvent");
4394 lqtL_pushudata(L
, arg1
, "QDragEnterEvent*");
4395 if (lua_isfunction(L
, -1-2)) {
4396 lua_pcall(L
, 1+1, 2, 0);
4397 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
4401 lua_settop(L
, oldtop
);
4402 this->QWidget::dragEnterEvent(arg1
);
4404 lua_settop(L
, oldtop
);
4406 void LuaBinder
< QWidget
>::actionEvent (QActionEvent
* arg1
) {
4407 bool absorbed
= false;
4408 int oldtop
= lua_gettop(L
);
4409 lqtL_pushudata(L
, this, "QWidget*");
4410 if (lua_getmetatable(L
, -1)) {
4411 lua_getfield(L
, -1, "actionEvent");
4417 lqtL_pushudata(L
, arg1
, "QActionEvent*");
4418 if (lua_isfunction(L
, -1-2)) {
4419 lua_pcall(L
, 1+1, 2, 0);
4420 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
4424 lua_settop(L
, oldtop
);
4425 this->QWidget::actionEvent(arg1
);
4427 lua_settop(L
, oldtop
);
4429 void LuaBinder
< QWidget
>::leaveEvent (QEvent
* arg1
) {
4430 bool absorbed
= false;
4431 int oldtop
= lua_gettop(L
);
4432 lqtL_pushudata(L
, this, "QWidget*");
4433 if (lua_getmetatable(L
, -1)) {
4434 lua_getfield(L
, -1, "leaveEvent");
4440 lqtL_pushudata(L
, arg1
, "QEvent*");
4441 if (lua_isfunction(L
, -1-2)) {
4442 lua_pcall(L
, 1+1, 2, 0);
4443 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
4447 lua_settop(L
, oldtop
);
4448 this->QWidget::leaveEvent(arg1
);
4450 lua_settop(L
, oldtop
);
4452 void LuaBinder
< QWidget
>::closeEvent (QCloseEvent
* arg1
) {
4453 bool absorbed
= false;
4454 int oldtop
= lua_gettop(L
);
4455 lqtL_pushudata(L
, this, "QWidget*");
4456 if (lua_getmetatable(L
, -1)) {
4457 lua_getfield(L
, -1, "closeEvent");
4463 lqtL_pushudata(L
, arg1
, "QCloseEvent*");
4464 if (lua_isfunction(L
, -1-2)) {
4465 lua_pcall(L
, 1+1, 2, 0);
4466 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
4470 lua_settop(L
, oldtop
);
4471 this->QWidget::closeEvent(arg1
);
4473 lua_settop(L
, oldtop
);
4475 void LuaBinder
< QWidget
>::enterEvent (QEvent
* arg1
) {
4476 bool absorbed
= false;
4477 int oldtop
= lua_gettop(L
);
4478 lqtL_pushudata(L
, this, "QWidget*");
4479 if (lua_getmetatable(L
, -1)) {
4480 lua_getfield(L
, -1, "enterEvent");
4486 lqtL_pushudata(L
, arg1
, "QEvent*");
4487 if (lua_isfunction(L
, -1-2)) {
4488 lua_pcall(L
, 1+1, 2, 0);
4489 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
4493 lua_settop(L
, oldtop
);
4494 this->QWidget::enterEvent(arg1
);
4496 lua_settop(L
, oldtop
);
4498 LuaBinder
< QWidget
>:: ~LuaBinder
< QWidget
> () {
4499 int oldtop
= lua_gettop(L
);
4500 lqtL_pushudata(L
, this, "QWidget*");
4501 lua_getfield(L
, -1, "~QWidget");
4503 if (lua_isfunction(L
, -1)) {
4505 lua_pcall(L
, 1, 1, 0);
4508 lua_settop(L
, oldtop
);
4510 int LuaBinder
< QWidget
>::lqt_pushenum_RenderFlag (lua_State
*L
) {
4512 lua_getfield(L
, LUA_REGISTRYINDEX
, LQT_ENUMS
);
4513 if (!lua_istable(L
, -1)) {
4516 lua_pushvalue(L
, -1);
4517 lua_setfield(L
, LUA_REGISTRYINDEX
, LQT_ENUMS
);
4520 enum_table
= lua_gettop(L
);
4521 lua_pushstring(L
, "DrawWindowBackground");
4522 lua_rawseti(L
, enum_table
, 1);
4523 lua_pushinteger(L
, 1);
4524 lua_setfield(L
, enum_table
, "DrawWindowBackground");
4525 lua_pushstring(L
, "DrawChildren");
4526 lua_rawseti(L
, enum_table
, 2);
4527 lua_pushinteger(L
, 2);
4528 lua_setfield(L
, enum_table
, "DrawChildren");
4529 lua_pushstring(L
, "IgnoreMask");
4530 lua_rawseti(L
, enum_table
, 4);
4531 lua_pushinteger(L
, 4);
4532 lua_setfield(L
, enum_table
, "IgnoreMask");
4533 lua_pushcfunction(L
, LuaBinder
< QWidget
>::lqt_pushenum_RenderFlag_QFLAGS_CREATOR
);
4534 lua_setfield(L
, enum_table
, "QFlags");
4535 lua_pushvalue(L
, -1);
4536 lua_setfield(L
, -3, "QWidget::RenderFlag");
4540 int LuaBinder
< QWidget
>::lqt_pushenum_RenderFlag_QFLAGS_CREATOR (lua_State
*L
) {
4541 int argn
= lua_gettop(L
);
4543 void *p
= lua_newuserdata(L
, sizeof(QFlags
<QWidget::RenderFlag
>*) + sizeof(QFlags
<QWidget::RenderFlag
>));
4544 QFlags
<QWidget::RenderFlag
> *fl
= static_cast<QFlags
<QWidget::RenderFlag
>*>( static_cast<void*>(&static_cast<QFlags
<QWidget::RenderFlag
>**>(p
)[1]) );
4546 for (i
=1;i
<=argn
;i
++) {
4547 *fl
|= static_cast<QWidget::RenderFlag
>(lqtL_toenum(L
, i
, "QWidget::RenderFlag"));
4549 if (luaL_newmetatable(L
, "QFlags<QWidget::RenderFlag>*")) {
4550 lua_pushstring(L
, "QFlags<QWidget::RenderFlag>*");
4551 lua_setfield(L
, -2, "__qtype");
4553 lua_setmetatable(L
, -2);
4556 int luaopen_QWidget (lua_State
*L
) {
4557 if (luaL_newmetatable(L
, "QWidget*")) {
4558 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__windowFlags
);
4559 lua_setfield(L
, -2, "windowFlags");
4560 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setShown
);
4561 lua_setfield(L
, -2, "setShown");
4562 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__minimumSize
);
4563 lua_setfield(L
, -2, "minimumSize");
4564 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__showMinimized
);
4565 lua_setfield(L
, -2, "showMinimized");
4566 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__statusTip
);
4567 lua_setfield(L
, -2, "statusTip");
4568 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__styleSheet
);
4569 lua_setfield(L
, -2, "styleSheet");
4570 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__childrenRegion
);
4571 lua_setfield(L
, -2, "childrenRegion");
4572 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__mapTo
);
4573 lua_setfield(L
, -2, "mapTo");
4574 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setStyle
);
4575 lua_setfield(L
, -2, "setStyle");
4576 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__size
);
4577 lua_setfield(L
, -2, "size");
4578 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__tr
);
4579 lua_setfield(L
, -2, "tr");
4580 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__isVisible
);
4581 lua_setfield(L
, -2, "isVisible");
4582 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__whatsThis
);
4583 lua_setfield(L
, -2, "whatsThis");
4584 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__layout
);
4585 lua_setfield(L
, -2, "layout");
4586 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__palette
);
4587 lua_setfield(L
, -2, "palette");
4588 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__font
);
4589 lua_setfield(L
, -2, "font");
4590 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__adjustSize
);
4591 lua_setfield(L
, -2, "adjustSize");
4592 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setAcceptDrops
);
4593 lua_setfield(L
, -2, "setAcceptDrops");
4594 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__unsetLocale
);
4595 lua_setfield(L
, -2, "unsetLocale");
4596 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__pos
);
4597 lua_setfield(L
, -2, "pos");
4598 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setGeometry
);
4599 lua_setfield(L
, -2, "setGeometry");
4600 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__windowIconText
);
4601 lua_setfield(L
, -2, "windowIconText");
4602 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__isRightToLeft
);
4603 lua_setfield(L
, -2, "isRightToLeft");
4604 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__mapFrom
);
4605 lua_setfield(L
, -2, "mapFrom");
4606 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__inputContext
);
4607 lua_setfield(L
, -2, "inputContext");
4608 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__windowState
);
4609 lua_setfield(L
, -2, "windowState");
4610 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__minimumWidth
);
4611 lua_setfield(L
, -2, "minimumWidth");
4612 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__addAction
);
4613 lua_setfield(L
, -2, "addAction");
4614 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__isHidden
);
4615 lua_setfield(L
, -2, "isHidden");
4616 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__delete
);
4617 lua_setfield(L
, -2, "delete");
4618 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setWindowTitle
);
4619 lua_setfield(L
, -2, "setWindowTitle");
4620 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setStyleSheet
);
4621 lua_setfield(L
, -2, "setStyleSheet");
4622 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__releaseShortcut
);
4623 lua_setfield(L
, -2, "releaseShortcut");
4624 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setWhatsThis
);
4625 lua_setfield(L
, -2, "setWhatsThis");
4626 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__isEnabled
);
4627 lua_setfield(L
, -2, "isEnabled");
4628 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__addActions
);
4629 lua_setfield(L
, -2, "addActions");
4630 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setWindowModified
);
4631 lua_setfield(L
, -2, "setWindowModified");
4632 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setWindowIconText
);
4633 lua_setfield(L
, -2, "setWindowIconText");
4634 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setWindowRole
);
4635 lua_setfield(L
, -2, "setWindowRole");
4636 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__scroll
);
4637 lua_setfield(L
, -2, "scroll");
4638 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__cursor
);
4639 lua_setfield(L
, -2, "cursor");
4640 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setFixedHeight
);
4641 lua_setfield(L
, -2, "setFixedHeight");
4642 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setShortcutAutoRepeat
);
4643 lua_setfield(L
, -2, "setShortcutAutoRepeat");
4644 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__trUtf8
);
4645 lua_setfield(L
, -2, "trUtf8");
4646 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__foregroundRole
);
4647 lua_setfield(L
, -2, "foregroundRole");
4648 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__mapToGlobal
);
4649 lua_setfield(L
, -2, "mapToGlobal");
4650 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__releaseMouse
);
4651 lua_setfield(L
, -2, "releaseMouse");
4652 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__isEnabledTo
);
4653 lua_setfield(L
, -2, "isEnabledTo");
4654 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__isLeftToRight
);
4655 lua_setfield(L
, -2, "isLeftToRight");
4656 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__contextMenuPolicy
);
4657 lua_setfield(L
, -2, "contextMenuPolicy");
4658 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__updatesEnabled
);
4659 lua_setfield(L
, -2, "updatesEnabled");
4660 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__isAncestorOf
);
4661 lua_setfield(L
, -2, "isAncestorOf");
4662 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__normalGeometry
);
4663 lua_setfield(L
, -2, "normalGeometry");
4664 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__nextInFocusChain
);
4665 lua_setfield(L
, -2, "nextInFocusChain");
4666 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__sizePolicy
);
4667 lua_setfield(L
, -2, "sizePolicy");
4668 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__overrideWindowState
);
4669 lua_setfield(L
, -2, "overrideWindowState");
4670 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setMinimumSize
);
4671 lua_setfield(L
, -2, "setMinimumSize");
4672 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__testAttribute
);
4673 lua_setfield(L
, -2, "testAttribute");
4674 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__stackUnder
);
4675 lua_setfield(L
, -2, "stackUnder");
4676 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__grabShortcut
);
4677 lua_setfield(L
, -2, "grabShortcut");
4678 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setMaximumSize
);
4679 lua_setfield(L
, -2, "setMaximumSize");
4680 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setBackgroundRole
);
4681 lua_setfield(L
, -2, "setBackgroundRole");
4682 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__locale
);
4683 lua_setfield(L
, -2, "locale");
4684 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__mouseGrabber
);
4685 lua_setfield(L
, -2, "mouseGrabber");
4686 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__frameSize
);
4687 lua_setfield(L
, -2, "frameSize");
4688 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setInputContext
);
4689 lua_setfield(L
, -2, "setInputContext");
4690 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__repaint
);
4691 lua_setfield(L
, -2, "repaint");
4692 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__unsetCursor
);
4693 lua_setfield(L
, -2, "unsetCursor");
4694 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__winId
);
4695 lua_setfield(L
, -2, "winId");
4696 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__isWindowModified
);
4697 lua_setfield(L
, -2, "isWindowModified");
4698 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__acceptDrops
);
4699 lua_setfield(L
, -2, "acceptDrops");
4700 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setFont
);
4701 lua_setfield(L
, -2, "setFont");
4702 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setWindowIcon
);
4703 lua_setfield(L
, -2, "setWindowIcon");
4704 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setParent
);
4705 lua_setfield(L
, -2, "setParent");
4706 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__frameGeometry
);
4707 lua_setfield(L
, -2, "frameGeometry");
4708 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setLayoutDirection
);
4709 lua_setfield(L
, -2, "setLayoutDirection");
4710 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setContentsMargins
);
4711 lua_setfield(L
, -2, "setContentsMargins");
4712 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__new
);
4713 lua_setfield(L
, -2, "new");
4714 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__mapToParent
);
4715 lua_setfield(L
, -2, "mapToParent");
4716 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__render
);
4717 lua_setfield(L
, -2, "render");
4718 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__baseSize
);
4719 lua_setfield(L
, -2, "baseSize");
4720 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__windowType
);
4721 lua_setfield(L
, -2, "windowType");
4722 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setBaseSize
);
4723 lua_setfield(L
, -2, "setBaseSize");
4724 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__find
);
4725 lua_setfield(L
, -2, "find");
4726 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__mask
);
4727 lua_setfield(L
, -2, "mask");
4728 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__isModal
);
4729 lua_setfield(L
, -2, "isModal");
4730 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__maximumWidth
);
4731 lua_setfield(L
, -2, "maximumWidth");
4732 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__windowModality
);
4733 lua_setfield(L
, -2, "windowModality");
4734 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setVisible
);
4735 lua_setfield(L
, -2, "setVisible");
4736 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setEnabled
);
4737 lua_setfield(L
, -2, "setEnabled");
4738 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__topLevelWidget
);
4739 lua_setfield(L
, -2, "topLevelWidget");
4740 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__resize
);
4741 lua_setfield(L
, -2, "resize");
4742 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__hasMouseTracking
);
4743 lua_setfield(L
, -2, "hasMouseTracking");
4744 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__actions
);
4745 lua_setfield(L
, -2, "actions");
4746 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__isEnabledToTLW
);
4747 lua_setfield(L
, -2, "isEnabledToTLW");
4748 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setFixedSize
);
4749 lua_setfield(L
, -2, "setFixedSize");
4750 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__backgroundRole
);
4751 lua_setfield(L
, -2, "backgroundRole");
4752 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setContextMenuPolicy
);
4753 lua_setfield(L
, -2, "setContextMenuPolicy");
4754 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__createWinId
);
4755 lua_setfield(L
, -2, "createWinId");
4756 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__windowSurface
);
4757 lua_setfield(L
, -2, "windowSurface");
4758 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__maximumSize
);
4759 lua_setfield(L
, -2, "maximumSize");
4760 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__isMaximized
);
4761 lua_setfield(L
, -2, "isMaximized");
4762 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__releaseKeyboard
);
4763 lua_setfield(L
, -2, "releaseKeyboard");
4764 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__windowOpacity
);
4765 lua_setfield(L
, -2, "windowOpacity");
4766 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__isVisibleTo
);
4767 lua_setfield(L
, -2, "isVisibleTo");
4768 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__style
);
4769 lua_setfield(L
, -2, "style");
4770 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__contentsRect
);
4771 lua_setfield(L
, -2, "contentsRect");
4772 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__clearFocus
);
4773 lua_setfield(L
, -2, "clearFocus");
4774 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__insertActions
);
4775 lua_setfield(L
, -2, "insertActions");
4776 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setShortcutEnabled
);
4777 lua_setfield(L
, -2, "setShortcutEnabled");
4778 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__childrenRect
);
4779 lua_setfield(L
, -2, "childrenRect");
4780 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__hide
);
4781 lua_setfield(L
, -2, "hide");
4782 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__grabKeyboard
);
4783 lua_setfield(L
, -2, "grabKeyboard");
4784 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setWindowState
);
4785 lua_setfield(L
, -2, "setWindowState");
4786 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setMaximumHeight
);
4787 lua_setfield(L
, -2, "setMaximumHeight");
4788 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__clearMask
);
4789 lua_setfield(L
, -2, "clearMask");
4790 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setFocusPolicy
);
4791 lua_setfield(L
, -2, "setFocusPolicy");
4792 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__hasFocus
);
4793 lua_setfield(L
, -2, "hasFocus");
4794 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__removeAction
);
4795 lua_setfield(L
, -2, "removeAction");
4796 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setStatusTip
);
4797 lua_setfield(L
, -2, "setStatusTip");
4798 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setFocus
);
4799 lua_setfield(L
, -2, "setFocus");
4800 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__fontMetrics
);
4801 lua_setfield(L
, -2, "fontMetrics");
4802 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setTabOrder
);
4803 lua_setfield(L
, -2, "setTabOrder");
4804 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__windowRole
);
4805 lua_setfield(L
, -2, "windowRole");
4806 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__underMouse
);
4807 lua_setfield(L
, -2, "underMouse");
4808 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__metaObject
);
4809 lua_setfield(L
, -2, "metaObject");
4810 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__sizeHint
);
4811 lua_setfield(L
, -2, "sizeHint");
4812 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__inputMethodQuery
);
4813 lua_setfield(L
, -2, "inputMethodQuery");
4814 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__grabMouse
);
4815 lua_setfield(L
, -2, "grabMouse");
4816 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setMaximumWidth
);
4817 lua_setfield(L
, -2, "setMaximumWidth");
4818 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__updateGeometry
);
4819 lua_setfield(L
, -2, "updateGeometry");
4820 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setMinimumWidth
);
4821 lua_setfield(L
, -2, "setMinimumWidth");
4822 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setToolTip
);
4823 lua_setfield(L
, -2, "setToolTip");
4824 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setSizeIncrement
);
4825 lua_setfield(L
, -2, "setSizeIncrement");
4826 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setFocusProxy
);
4827 lua_setfield(L
, -2, "setFocusProxy");
4828 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__show
);
4829 lua_setfield(L
, -2, "show");
4830 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__y
);
4831 lua_setfield(L
, -2, "y");
4832 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__focusWidget
);
4833 lua_setfield(L
, -2, "focusWidget");
4834 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__focusPolicy
);
4835 lua_setfield(L
, -2, "focusPolicy");
4836 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__focusProxy
);
4837 lua_setfield(L
, -2, "focusProxy");
4838 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__childAt
);
4839 lua_setfield(L
, -2, "childAt");
4840 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__geometry
);
4841 lua_setfield(L
, -2, "geometry");
4842 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setLayout
);
4843 lua_setfield(L
, -2, "setLayout");
4844 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setAutoFillBackground
);
4845 lua_setfield(L
, -2, "setAutoFillBackground");
4846 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setFixedWidth
);
4847 lua_setfield(L
, -2, "setFixedWidth");
4848 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__close
);
4849 lua_setfield(L
, -2, "close");
4850 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__parentWidget
);
4851 lua_setfield(L
, -2, "parentWidget");
4852 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__isTopLevel
);
4853 lua_setfield(L
, -2, "isTopLevel");
4854 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setWindowSurface
);
4855 lua_setfield(L
, -2, "setWindowSurface");
4856 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__update
);
4857 lua_setfield(L
, -2, "update");
4858 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__isWindow
);
4859 lua_setfield(L
, -2, "isWindow");
4860 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__internalWinId
);
4861 lua_setfield(L
, -2, "internalWinId");
4862 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setCursor
);
4863 lua_setfield(L
, -2, "setCursor");
4864 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__keyboardGrabber
);
4865 lua_setfield(L
, -2, "keyboardGrabber");
4866 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__x
);
4867 lua_setfield(L
, -2, "x");
4868 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__ensurePolished
);
4869 lua_setfield(L
, -2, "ensurePolished");
4870 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setMouseTracking
);
4871 lua_setfield(L
, -2, "setMouseTracking");
4872 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setAttribute
);
4873 lua_setfield(L
, -2, "setAttribute");
4874 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__window
);
4875 lua_setfield(L
, -2, "window");
4876 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setForegroundRole
);
4877 lua_setfield(L
, -2, "setForegroundRole");
4878 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setDisabled
);
4879 lua_setfield(L
, -2, "setDisabled");
4880 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__mapFromParent
);
4881 lua_setfield(L
, -2, "mapFromParent");
4882 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setHidden
);
4883 lua_setfield(L
, -2, "setHidden");
4884 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setPalette
);
4885 lua_setfield(L
, -2, "setPalette");
4886 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setUpdatesEnabled
);
4887 lua_setfield(L
, -2, "setUpdatesEnabled");
4888 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__mapFromGlobal
);
4889 lua_setfield(L
, -2, "mapFromGlobal");
4890 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__isFullScreen
);
4891 lua_setfield(L
, -2, "isFullScreen");
4892 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__layoutDirection
);
4893 lua_setfield(L
, -2, "layoutDirection");
4894 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__rect
);
4895 lua_setfield(L
, -2, "rect");
4896 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__activateWindow
);
4897 lua_setfield(L
, -2, "activateWindow");
4898 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__showMaximized
);
4899 lua_setfield(L
, -2, "showMaximized");
4900 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__height
);
4901 lua_setfield(L
, -2, "height");
4902 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__showFullScreen
);
4903 lua_setfield(L
, -2, "showFullScreen");
4904 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__minimumHeight
);
4905 lua_setfield(L
, -2, "minimumHeight");
4906 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__insertAction
);
4907 lua_setfield(L
, -2, "insertAction");
4908 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__devType
);
4909 lua_setfield(L
, -2, "devType");
4910 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setMask
);
4911 lua_setfield(L
, -2, "setMask");
4912 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setWindowOpacity
);
4913 lua_setfield(L
, -2, "setWindowOpacity");
4914 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__move
);
4915 lua_setfield(L
, -2, "move");
4916 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__restoreGeometry
);
4917 lua_setfield(L
, -2, "restoreGeometry");
4918 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__maximumHeight
);
4919 lua_setfield(L
, -2, "maximumHeight");
4920 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setWindowFlags
);
4921 lua_setfield(L
, -2, "setWindowFlags");
4922 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__paintEngine
);
4923 lua_setfield(L
, -2, "paintEngine");
4924 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__isMinimized
);
4925 lua_setfield(L
, -2, "isMinimized");
4926 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setMinimumHeight
);
4927 lua_setfield(L
, -2, "setMinimumHeight");
4928 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setSizePolicy
);
4929 lua_setfield(L
, -2, "setSizePolicy");
4930 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__heightForWidth
);
4931 lua_setfield(L
, -2, "heightForWidth");
4932 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__visibleRegion
);
4933 lua_setfield(L
, -2, "visibleRegion");
4934 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__getContentsMargins
);
4935 lua_setfield(L
, -2, "getContentsMargins");
4936 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setWindowModality
);
4937 lua_setfield(L
, -2, "setWindowModality");
4938 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__lower
);
4939 lua_setfield(L
, -2, "lower");
4940 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__windowTitle
);
4941 lua_setfield(L
, -2, "windowTitle");
4942 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__sizeIncrement
);
4943 lua_setfield(L
, -2, "sizeIncrement");
4944 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__showNormal
);
4945 lua_setfield(L
, -2, "showNormal");
4946 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__unsetLayoutDirection
);
4947 lua_setfield(L
, -2, "unsetLayoutDirection");
4948 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__autoFillBackground
);
4949 lua_setfield(L
, -2, "autoFillBackground");
4950 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__isActiveWindow
);
4951 lua_setfield(L
, -2, "isActiveWindow");
4952 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__minimumSizeHint
);
4953 lua_setfield(L
, -2, "minimumSizeHint");
4954 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__width
);
4955 lua_setfield(L
, -2, "width");
4956 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__setLocale
);
4957 lua_setfield(L
, -2, "setLocale");
4958 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__saveGeometry
);
4959 lua_setfield(L
, -2, "saveGeometry");
4960 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__overrideWindowFlags
);
4961 lua_setfield(L
, -2, "overrideWindowFlags");
4962 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__toolTip
);
4963 lua_setfield(L
, -2, "toolTip");
4964 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__raise
);
4965 lua_setfield(L
, -2, "raise");
4966 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__windowIcon
);
4967 lua_setfield(L
, -2, "windowIcon");
4968 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__fontInfo
);
4969 lua_setfield(L
, -2, "fontInfo");
4970 lua_pushcfunction(L
, LuaBinder
< QWidget
>::__LuaWrapCall__handle
);
4971 lua_setfield(L
, -2, "handle");
4972 LuaBinder
< QWidget
>::lqt_pushenum_RenderFlag(L
);
4973 lua_setfield(L
, -2, "RenderFlag");
4975 lua_pushboolean(L
, 1);
4976 lua_setfield(L
, -2, "QObject*");
4977 lua_pushboolean(L
, 1);
4978 lua_setfield(L
, -2, "QPaintDevice*");
4979 lua_setfield(L
, -2, "__base");
4980 lua_pushcfunction(L
, lqtL_newindex
);
4981 lua_setfield(L
, -2, "__newindex");
4982 lua_pushcfunction(L
, lqtL_index
);
4983 lua_setfield(L
, -2, "__index");
4984 lua_pushcfunction(L
, lqtL_gc
);
4985 lua_setfield(L
, -2, "__gc");
4986 lua_pushstring(L
, "QWidget");
4987 lua_setfield(L
, -2, "__qtype");
4988 lua_setglobal(L
, "QWidget");