1 #include "lqt_bind_QAbstractScrollArea.hpp"
3 int LuaBinder
< QAbstractScrollArea
>::__LuaWrapCall__setHorizontalScrollBarPolicy (lua_State
*L
) {
4 QAbstractScrollArea
*& __lua__obj
= *static_cast<QAbstractScrollArea
**>(lqtL_checkudata(L
, 1, "QAbstractScrollArea*"));
6 lua_pushstring(L
, "trying to reference deleted pointer");
10 Qt::ScrollBarPolicy arg1
= static_cast<Qt::ScrollBarPolicy
>(lqtL_toenum(L
, 2, "Qt::ScrollBarPolicy"));
11 __lua__obj
->QAbstractScrollArea::setHorizontalScrollBarPolicy(arg1
);
14 int LuaBinder
< QAbstractScrollArea
>::__LuaWrapCall__setCornerWidget (lua_State
*L
) {
15 QAbstractScrollArea
*& __lua__obj
= *static_cast<QAbstractScrollArea
**>(lqtL_checkudata(L
, 1, "QAbstractScrollArea*"));
17 lua_pushstring(L
, "trying to reference deleted pointer");
21 QWidget
* arg1
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 2, "QWidget*"));
22 __lua__obj
->QAbstractScrollArea::setCornerWidget(arg1
);
25 int LuaBinder
< QAbstractScrollArea
>::__LuaWrapCall__sizeHint (lua_State
*L
) {
26 QAbstractScrollArea
*& __lua__obj
= *static_cast<QAbstractScrollArea
**>(lqtL_checkudata(L
, 1, "QAbstractScrollArea*"));
28 lua_pushstring(L
, "trying to reference deleted pointer");
32 QSize ret
= __lua__obj
->QAbstractScrollArea::sizeHint();
33 lqtL_passudata(L
, new QSize(ret
), "QSize*");
36 int LuaBinder
< QAbstractScrollArea
>::__LuaWrapCall__setHorizontalScrollBar (lua_State
*L
) {
37 QAbstractScrollArea
*& __lua__obj
= *static_cast<QAbstractScrollArea
**>(lqtL_checkudata(L
, 1, "QAbstractScrollArea*"));
39 lua_pushstring(L
, "trying to reference deleted pointer");
43 QScrollBar
* arg1
= *static_cast<QScrollBar
**>(lqtL_checkudata(L
, 2, "QScrollBar*"));
44 __lua__obj
->QAbstractScrollArea::setHorizontalScrollBar(arg1
);
47 int LuaBinder
< QAbstractScrollArea
>::__LuaWrapCall__minimumSizeHint (lua_State
*L
) {
48 QAbstractScrollArea
*& __lua__obj
= *static_cast<QAbstractScrollArea
**>(lqtL_checkudata(L
, 1, "QAbstractScrollArea*"));
50 lua_pushstring(L
, "trying to reference deleted pointer");
54 QSize ret
= __lua__obj
->QAbstractScrollArea::minimumSizeHint();
55 lqtL_passudata(L
, new QSize(ret
), "QSize*");
58 int LuaBinder
< QAbstractScrollArea
>::__LuaWrapCall__horizontalScrollBar (lua_State
*L
) {
59 QAbstractScrollArea
*& __lua__obj
= *static_cast<QAbstractScrollArea
**>(lqtL_checkudata(L
, 1, "QAbstractScrollArea*"));
61 lua_pushstring(L
, "trying to reference deleted pointer");
65 QScrollBar
* ret
= __lua__obj
->QAbstractScrollArea::horizontalScrollBar();
66 lqtL_pushudata(L
, ret
, "QScrollBar*");
69 int LuaBinder
< QAbstractScrollArea
>::__LuaWrapCall__trUtf8__OverloadedVersion__1 (lua_State
*L
) {
70 const char * arg1
= lua_tostring(L
, 1);
71 const char * arg2
= (lua_type(L
, 2)==LUA_TSTRING
)?lua_tostring(L
, 2):static_cast< const char * >(0);
72 QString ret
= QAbstractScrollArea::trUtf8(arg1
, arg2
);
73 lua_pushlstring(L
, ret
.toAscii().data(), ret
.toAscii().size());
76 int LuaBinder
< QAbstractScrollArea
>::__LuaWrapCall__trUtf8__OverloadedVersion__2 (lua_State
*L
) {
77 const char * arg1
= lua_tostring(L
, 1);
78 const char * arg2
= lua_tostring(L
, 2);
79 int arg3
= lua_tointeger(L
, 3);
80 QString ret
= QAbstractScrollArea::trUtf8(arg1
, arg2
, arg3
);
81 lua_pushlstring(L
, ret
.toAscii().data(), ret
.toAscii().size());
84 int LuaBinder
< QAbstractScrollArea
>::__LuaWrapCall__trUtf8 (lua_State
*L
) {
86 const int premium
= 11+lua_gettop(L
);
88 if ((lua_type(L
, 1)==LUA_TSTRING
)) {
91 score
[1] += premium
-1; // table: 0x9e87c0;
93 score
[1] -= premium
*premium
;
95 if ((lua_type(L
, 2)==LUA_TSTRING
)) {
98 score
[1] += premium
-1; // table: 0x5f54f0;
100 score
[1] -= premium
*premium
;
103 if ((lua_type(L
, 1)==LUA_TSTRING
)) {
106 score
[2] += premium
-1; // table: 0x8e2e00;
108 score
[2] -= premium
*premium
;
110 if ((lua_type(L
, 2)==LUA_TSTRING
)) {
113 score
[2] += premium
-1; // table: 0xa99e90;
115 score
[2] -= premium
*premium
;
117 if (lua_isnumber(L
, 3)) {
120 score
[2] += premium
-1; // table: 0x9e5080;
122 score
[2] -= premium
*premium
;
125 for (int i
=1;i
<=2;i
++) {
126 if (score
[best
] < score
[i
]) { best
= i
; }
129 case 1: return __LuaWrapCall__trUtf8__OverloadedVersion__1(L
); break;
130 case 2: return __LuaWrapCall__trUtf8__OverloadedVersion__2(L
); break;
132 lua_pushstring(L
, "no overload of function __LuaWrapCall__trUtf8 matching arguments");
136 int LuaBinder
< QAbstractScrollArea
>::__LuaWrapCall__maximumViewportSize (lua_State
*L
) {
137 QAbstractScrollArea
*& __lua__obj
= *static_cast<QAbstractScrollArea
**>(lqtL_checkudata(L
, 1, "QAbstractScrollArea*"));
139 lua_pushstring(L
, "trying to reference deleted pointer");
143 QSize ret
= __lua__obj
->QAbstractScrollArea::maximumViewportSize();
144 lqtL_passudata(L
, new QSize(ret
), "QSize*");
147 int LuaBinder
< QAbstractScrollArea
>::__LuaWrapCall__setVerticalScrollBarPolicy (lua_State
*L
) {
148 QAbstractScrollArea
*& __lua__obj
= *static_cast<QAbstractScrollArea
**>(lqtL_checkudata(L
, 1, "QAbstractScrollArea*"));
150 lua_pushstring(L
, "trying to reference deleted pointer");
154 Qt::ScrollBarPolicy arg1
= static_cast<Qt::ScrollBarPolicy
>(lqtL_toenum(L
, 2, "Qt::ScrollBarPolicy"));
155 __lua__obj
->QAbstractScrollArea::setVerticalScrollBarPolicy(arg1
);
158 int LuaBinder
< QAbstractScrollArea
>::__LuaWrapCall__new (lua_State
*L
) {
159 QWidget
* arg1
= lqtL_testudata(L
, 1, "QWidget*")?*static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*")):static_cast< QWidget
* >(0);
160 QAbstractScrollArea
* ret
= new LuaBinder
< QAbstractScrollArea
>(L
, arg1
);
161 lqtL_passudata(L
, ret
, "QAbstractScrollArea*");
164 int LuaBinder
< QAbstractScrollArea
>::__LuaWrapCall__tr__OverloadedVersion__1 (lua_State
*L
) {
165 const char * arg1
= lua_tostring(L
, 1);
166 const char * arg2
= (lua_type(L
, 2)==LUA_TSTRING
)?lua_tostring(L
, 2):static_cast< const char * >(0);
167 QString ret
= QAbstractScrollArea::tr(arg1
, arg2
);
168 lua_pushlstring(L
, ret
.toAscii().data(), ret
.toAscii().size());
171 int LuaBinder
< QAbstractScrollArea
>::__LuaWrapCall__tr__OverloadedVersion__2 (lua_State
*L
) {
172 const char * arg1
= lua_tostring(L
, 1);
173 const char * arg2
= lua_tostring(L
, 2);
174 int arg3
= lua_tointeger(L
, 3);
175 QString ret
= QAbstractScrollArea::tr(arg1
, arg2
, arg3
);
176 lua_pushlstring(L
, ret
.toAscii().data(), ret
.toAscii().size());
179 int LuaBinder
< QAbstractScrollArea
>::__LuaWrapCall__tr (lua_State
*L
) {
181 const int premium
= 11+lua_gettop(L
);
183 if ((lua_type(L
, 1)==LUA_TSTRING
)) {
186 score
[1] += premium
-1; // table: 0x5f2600;
188 score
[1] -= premium
*premium
;
190 if ((lua_type(L
, 2)==LUA_TSTRING
)) {
193 score
[1] += premium
-1; // table: 0xe469f0;
195 score
[1] -= premium
*premium
;
198 if ((lua_type(L
, 1)==LUA_TSTRING
)) {
201 score
[2] += premium
-1; // table: 0x9e79d0;
203 score
[2] -= premium
*premium
;
205 if ((lua_type(L
, 2)==LUA_TSTRING
)) {
208 score
[2] += premium
-1; // table: 0xd7f300;
210 score
[2] -= premium
*premium
;
212 if (lua_isnumber(L
, 3)) {
215 score
[2] += premium
-1; // table: 0x8ba4b0;
217 score
[2] -= premium
*premium
;
220 for (int i
=1;i
<=2;i
++) {
221 if (score
[best
] < score
[i
]) { best
= i
; }
224 case 1: return __LuaWrapCall__tr__OverloadedVersion__1(L
); break;
225 case 2: return __LuaWrapCall__tr__OverloadedVersion__2(L
); break;
227 lua_pushstring(L
, "no overload of function __LuaWrapCall__tr matching arguments");
231 int LuaBinder
< QAbstractScrollArea
>::__LuaWrapCall__scrollBarWidgets (lua_State
*L
) {
232 QAbstractScrollArea
*& __lua__obj
= *static_cast<QAbstractScrollArea
**>(lqtL_checkudata(L
, 1, "QAbstractScrollArea*"));
234 lua_pushstring(L
, "trying to reference deleted pointer");
238 QFlags
<Qt::AlignmentFlag
> arg1
= **static_cast<QFlags
<Qt::AlignmentFlag
>**>(lqtL_checkudata(L
, 2, "QFlags<Qt::AlignmentFlag>*"));
239 QList
<QWidget
*> ret
= __lua__obj
->QAbstractScrollArea::scrollBarWidgets(arg1
);
240 lqtL_passudata(L
, new QList
<QWidget
*>(ret
), "QList<QWidget*>*");
243 int LuaBinder
< QAbstractScrollArea
>::__LuaWrapCall__cornerWidget (lua_State
*L
) {
244 QAbstractScrollArea
*& __lua__obj
= *static_cast<QAbstractScrollArea
**>(lqtL_checkudata(L
, 1, "QAbstractScrollArea*"));
246 lua_pushstring(L
, "trying to reference deleted pointer");
250 QWidget
* ret
= __lua__obj
->QAbstractScrollArea::cornerWidget();
251 lqtL_pushudata(L
, ret
, "QWidget*");
254 int LuaBinder
< QAbstractScrollArea
>::__LuaWrapCall__verticalScrollBar (lua_State
*L
) {
255 QAbstractScrollArea
*& __lua__obj
= *static_cast<QAbstractScrollArea
**>(lqtL_checkudata(L
, 1, "QAbstractScrollArea*"));
257 lua_pushstring(L
, "trying to reference deleted pointer");
261 QScrollBar
* ret
= __lua__obj
->QAbstractScrollArea::verticalScrollBar();
262 lqtL_pushudata(L
, ret
, "QScrollBar*");
265 int LuaBinder
< QAbstractScrollArea
>::__LuaWrapCall__addScrollBarWidget (lua_State
*L
) {
266 QAbstractScrollArea
*& __lua__obj
= *static_cast<QAbstractScrollArea
**>(lqtL_checkudata(L
, 1, "QAbstractScrollArea*"));
268 lua_pushstring(L
, "trying to reference deleted pointer");
272 QWidget
* arg1
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 2, "QWidget*"));
273 QFlags
<Qt::AlignmentFlag
> arg2
= **static_cast<QFlags
<Qt::AlignmentFlag
>**>(lqtL_checkudata(L
, 3, "QFlags<Qt::AlignmentFlag>*"));
274 __lua__obj
->QAbstractScrollArea::addScrollBarWidget(arg1
, arg2
);
277 int LuaBinder
< QAbstractScrollArea
>::__LuaWrapCall__setViewport (lua_State
*L
) {
278 QAbstractScrollArea
*& __lua__obj
= *static_cast<QAbstractScrollArea
**>(lqtL_checkudata(L
, 1, "QAbstractScrollArea*"));
280 lua_pushstring(L
, "trying to reference deleted pointer");
284 QWidget
* arg1
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 2, "QWidget*"));
285 __lua__obj
->QAbstractScrollArea::setViewport(arg1
);
288 int LuaBinder
< QAbstractScrollArea
>::__LuaWrapCall__delete (lua_State
*L
) {
289 QAbstractScrollArea
*& __lua__obj
= *static_cast<QAbstractScrollArea
**>(lqtL_checkudata(L
, 1, "QAbstractScrollArea*"));
291 lua_pushstring(L
, "trying to reference deleted pointer");
299 int LuaBinder
< QAbstractScrollArea
>::__LuaWrapCall__metaObject (lua_State
*L
) {
300 QAbstractScrollArea
*& __lua__obj
= *static_cast<QAbstractScrollArea
**>(lqtL_checkudata(L
, 1, "QAbstractScrollArea*"));
302 lua_pushstring(L
, "trying to reference deleted pointer");
306 const QMetaObject
* ret
= __lua__obj
->QAbstractScrollArea::metaObject();
307 lqtL_pushudata(L
, ret
, "QMetaObject*");
310 int LuaBinder
< QAbstractScrollArea
>::__LuaWrapCall__viewport (lua_State
*L
) {
311 QAbstractScrollArea
*& __lua__obj
= *static_cast<QAbstractScrollArea
**>(lqtL_checkudata(L
, 1, "QAbstractScrollArea*"));
313 lua_pushstring(L
, "trying to reference deleted pointer");
317 QWidget
* ret
= __lua__obj
->QAbstractScrollArea::viewport();
318 lqtL_pushudata(L
, ret
, "QWidget*");
321 int LuaBinder
< QAbstractScrollArea
>::__LuaWrapCall__verticalScrollBarPolicy (lua_State
*L
) {
322 QAbstractScrollArea
*& __lua__obj
= *static_cast<QAbstractScrollArea
**>(lqtL_checkudata(L
, 1, "QAbstractScrollArea*"));
324 lua_pushstring(L
, "trying to reference deleted pointer");
328 Qt::ScrollBarPolicy ret
= __lua__obj
->QAbstractScrollArea::verticalScrollBarPolicy();
329 lqtL_pushenum(L
, ret
, "Qt::ScrollBarPolicy");
332 int LuaBinder
< QAbstractScrollArea
>::__LuaWrapCall__horizontalScrollBarPolicy (lua_State
*L
) {
333 QAbstractScrollArea
*& __lua__obj
= *static_cast<QAbstractScrollArea
**>(lqtL_checkudata(L
, 1, "QAbstractScrollArea*"));
335 lua_pushstring(L
, "trying to reference deleted pointer");
339 Qt::ScrollBarPolicy ret
= __lua__obj
->QAbstractScrollArea::horizontalScrollBarPolicy();
340 lqtL_pushenum(L
, ret
, "Qt::ScrollBarPolicy");
343 int LuaBinder
< QAbstractScrollArea
>::__LuaWrapCall__setVerticalScrollBar (lua_State
*L
) {
344 QAbstractScrollArea
*& __lua__obj
= *static_cast<QAbstractScrollArea
**>(lqtL_checkudata(L
, 1, "QAbstractScrollArea*"));
346 lua_pushstring(L
, "trying to reference deleted pointer");
350 QScrollBar
* arg1
= *static_cast<QScrollBar
**>(lqtL_checkudata(L
, 2, "QScrollBar*"));
351 __lua__obj
->QAbstractScrollArea::setVerticalScrollBar(arg1
);
354 void LuaBinder
< QAbstractScrollArea
>::styleChange (QStyle
& arg1
) {
355 bool absorbed
= false;
356 int oldtop
= lua_gettop(L
);
357 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
358 if (lua_getmetatable(L
, -1)) {
359 lua_getfield(L
, -1, "styleChange");
365 lqtL_pushudata(L
, &(arg1
), "QStyle*");
366 if (lua_isfunction(L
, -1-2)) {
367 lua_pcall(L
, 1+1, 2, 0);
368 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
372 lua_settop(L
, oldtop
);
373 this->QWidget::styleChange(arg1
);
375 lua_settop(L
, oldtop
);
377 void LuaBinder
< QAbstractScrollArea
>::focusInEvent (QFocusEvent
* arg1
) {
378 bool absorbed
= false;
379 int oldtop
= lua_gettop(L
);
380 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
381 if (lua_getmetatable(L
, -1)) {
382 lua_getfield(L
, -1, "focusInEvent");
388 lqtL_pushudata(L
, arg1
, "QFocusEvent*");
389 if (lua_isfunction(L
, -1-2)) {
390 lua_pcall(L
, 1+1, 2, 0);
391 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
395 lua_settop(L
, oldtop
);
396 this->QWidget::focusInEvent(arg1
);
398 lua_settop(L
, oldtop
);
400 void LuaBinder
< QAbstractScrollArea
>::keyPressEvent (QKeyEvent
* arg1
) {
401 bool absorbed
= false;
402 int oldtop
= lua_gettop(L
);
403 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
404 if (lua_getmetatable(L
, -1)) {
405 lua_getfield(L
, -1, "keyPressEvent");
411 lqtL_pushudata(L
, arg1
, "QKeyEvent*");
412 if (lua_isfunction(L
, -1-2)) {
413 lua_pcall(L
, 1+1, 2, 0);
414 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
418 lua_settop(L
, oldtop
);
419 this->QAbstractScrollArea::keyPressEvent(arg1
);
421 lua_settop(L
, oldtop
);
423 const QMetaObject
* LuaBinder
< QAbstractScrollArea
>::metaObject () const {
424 bool absorbed
= false;
425 int oldtop
= lua_gettop(L
);
426 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
427 if (lua_getmetatable(L
, -1)) {
428 lua_getfield(L
, -1, "metaObject");
434 if (lua_isfunction(L
, -0-2)) {
435 lua_pcall(L
, 0+1, 2, 0);
436 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
440 lua_settop(L
, oldtop
);
441 return this->QAbstractScrollArea::metaObject();
443 const QMetaObject
* ret
= *static_cast<QMetaObject
**>(lqtL_checkudata(L
, -1, "QMetaObject*"));
444 lua_settop(L
, oldtop
);
447 int LuaBinder
< QAbstractScrollArea
>::devType () const {
448 bool absorbed
= false;
449 int oldtop
= lua_gettop(L
);
450 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
451 if (lua_getmetatable(L
, -1)) {
452 lua_getfield(L
, -1, "devType");
458 if (lua_isfunction(L
, -0-2)) {
459 lua_pcall(L
, 0+1, 2, 0);
460 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
464 lua_settop(L
, oldtop
);
465 return this->QWidget::devType();
467 int ret
= lua_tointeger(L
, -1);
468 lua_settop(L
, oldtop
);
471 void LuaBinder
< QAbstractScrollArea
>::setVisible (bool arg1
) {
472 bool absorbed
= false;
473 int oldtop
= lua_gettop(L
);
474 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
475 if (lua_getmetatable(L
, -1)) {
476 lua_getfield(L
, -1, "setVisible");
482 lua_pushboolean(L
, arg1
);
483 if (lua_isfunction(L
, -1-2)) {
484 lua_pcall(L
, 1+1, 2, 0);
485 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
489 lua_settop(L
, oldtop
);
490 this->QWidget::setVisible(arg1
);
492 lua_settop(L
, oldtop
);
494 bool LuaBinder
< QAbstractScrollArea
>::focusNextPrevChild (bool arg1
) {
495 bool absorbed
= false;
496 int oldtop
= lua_gettop(L
);
497 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
498 if (lua_getmetatable(L
, -1)) {
499 lua_getfield(L
, -1, "focusNextPrevChild");
505 lua_pushboolean(L
, arg1
);
506 if (lua_isfunction(L
, -1-2)) {
507 lua_pcall(L
, 1+1, 2, 0);
508 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
512 lua_settop(L
, oldtop
);
513 return this->QWidget::focusNextPrevChild(arg1
);
515 bool ret
= (bool)lua_toboolean(L
, -1);
516 lua_settop(L
, oldtop
);
519 QPaintEngine
* LuaBinder
< QAbstractScrollArea
>::paintEngine () const {
520 bool absorbed
= false;
521 int oldtop
= lua_gettop(L
);
522 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
523 if (lua_getmetatable(L
, -1)) {
524 lua_getfield(L
, -1, "paintEngine");
530 if (lua_isfunction(L
, -0-2)) {
531 lua_pcall(L
, 0+1, 2, 0);
532 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
536 lua_settop(L
, oldtop
);
537 return this->QWidget::paintEngine();
539 QPaintEngine
* ret
= *static_cast<QPaintEngine
**>(lqtL_checkudata(L
, -1, "QPaintEngine*"));
540 lua_settop(L
, oldtop
);
543 void LuaBinder
< QAbstractScrollArea
>::dragLeaveEvent (QDragLeaveEvent
* arg1
) {
544 bool absorbed
= false;
545 int oldtop
= lua_gettop(L
);
546 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
547 if (lua_getmetatable(L
, -1)) {
548 lua_getfield(L
, -1, "dragLeaveEvent");
554 lqtL_pushudata(L
, arg1
, "QDragLeaveEvent*");
555 if (lua_isfunction(L
, -1-2)) {
556 lua_pcall(L
, 1+1, 2, 0);
557 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
561 lua_settop(L
, oldtop
);
562 this->QAbstractScrollArea::dragLeaveEvent(arg1
);
564 lua_settop(L
, oldtop
);
566 void LuaBinder
< QAbstractScrollArea
>::mousePressEvent (QMouseEvent
* arg1
) {
567 bool absorbed
= false;
568 int oldtop
= lua_gettop(L
);
569 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
570 if (lua_getmetatable(L
, -1)) {
571 lua_getfield(L
, -1, "mousePressEvent");
577 lqtL_pushudata(L
, arg1
, "QMouseEvent*");
578 if (lua_isfunction(L
, -1-2)) {
579 lua_pcall(L
, 1+1, 2, 0);
580 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
584 lua_settop(L
, oldtop
);
585 this->QAbstractScrollArea::mousePressEvent(arg1
);
587 lua_settop(L
, oldtop
);
589 void LuaBinder
< QAbstractScrollArea
>::dragMoveEvent (QDragMoveEvent
* arg1
) {
590 bool absorbed
= false;
591 int oldtop
= lua_gettop(L
);
592 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
593 if (lua_getmetatable(L
, -1)) {
594 lua_getfield(L
, -1, "dragMoveEvent");
600 lqtL_pushudata(L
, arg1
, "QDragMoveEvent*");
601 if (lua_isfunction(L
, -1-2)) {
602 lua_pcall(L
, 1+1, 2, 0);
603 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
607 lua_settop(L
, oldtop
);
608 this->QAbstractScrollArea::dragMoveEvent(arg1
);
610 lua_settop(L
, oldtop
);
612 void LuaBinder
< QAbstractScrollArea
>::closeEvent (QCloseEvent
* arg1
) {
613 bool absorbed
= false;
614 int oldtop
= lua_gettop(L
);
615 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
616 if (lua_getmetatable(L
, -1)) {
617 lua_getfield(L
, -1, "closeEvent");
623 lqtL_pushudata(L
, arg1
, "QCloseEvent*");
624 if (lua_isfunction(L
, -1-2)) {
625 lua_pcall(L
, 1+1, 2, 0);
626 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
630 lua_settop(L
, oldtop
);
631 this->QWidget::closeEvent(arg1
);
633 lua_settop(L
, oldtop
);
635 void LuaBinder
< QAbstractScrollArea
>::enterEvent (QEvent
* arg1
) {
636 bool absorbed
= false;
637 int oldtop
= lua_gettop(L
);
638 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
639 if (lua_getmetatable(L
, -1)) {
640 lua_getfield(L
, -1, "enterEvent");
646 lqtL_pushudata(L
, arg1
, "QEvent*");
647 if (lua_isfunction(L
, -1-2)) {
648 lua_pcall(L
, 1+1, 2, 0);
649 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
653 lua_settop(L
, oldtop
);
654 this->QWidget::enterEvent(arg1
);
656 lua_settop(L
, oldtop
);
658 void LuaBinder
< QAbstractScrollArea
>::tabletEvent (QTabletEvent
* arg1
) {
659 bool absorbed
= false;
660 int oldtop
= lua_gettop(L
);
661 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
662 if (lua_getmetatable(L
, -1)) {
663 lua_getfield(L
, -1, "tabletEvent");
669 lqtL_pushudata(L
, arg1
, "QTabletEvent*");
670 if (lua_isfunction(L
, -1-2)) {
671 lua_pcall(L
, 1+1, 2, 0);
672 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
676 lua_settop(L
, oldtop
);
677 this->QWidget::tabletEvent(arg1
);
679 lua_settop(L
, oldtop
);
681 void LuaBinder
< QAbstractScrollArea
>::dropEvent (QDropEvent
* arg1
) {
682 bool absorbed
= false;
683 int oldtop
= lua_gettop(L
);
684 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
685 if (lua_getmetatable(L
, -1)) {
686 lua_getfield(L
, -1, "dropEvent");
692 lqtL_pushudata(L
, arg1
, "QDropEvent*");
693 if (lua_isfunction(L
, -1-2)) {
694 lua_pcall(L
, 1+1, 2, 0);
695 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
699 lua_settop(L
, oldtop
);
700 this->QAbstractScrollArea::dropEvent(arg1
);
702 lua_settop(L
, oldtop
);
704 void LuaBinder
< QAbstractScrollArea
>::moveEvent (QMoveEvent
* arg1
) {
705 bool absorbed
= false;
706 int oldtop
= lua_gettop(L
);
707 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
708 if (lua_getmetatable(L
, -1)) {
709 lua_getfield(L
, -1, "moveEvent");
715 lqtL_pushudata(L
, arg1
, "QMoveEvent*");
716 if (lua_isfunction(L
, -1-2)) {
717 lua_pcall(L
, 1+1, 2, 0);
718 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
722 lua_settop(L
, oldtop
);
723 this->QWidget::moveEvent(arg1
);
725 lua_settop(L
, oldtop
);
727 QVariant LuaBinder
< QAbstractScrollArea
>::inputMethodQuery (Qt::InputMethodQuery arg1
) const {
728 bool absorbed
= false;
729 int oldtop
= lua_gettop(L
);
730 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
731 if (lua_getmetatable(L
, -1)) {
732 lua_getfield(L
, -1, "inputMethodQuery");
738 lqtL_pushenum(L
, arg1
, "Qt::InputMethodQuery");
739 if (lua_isfunction(L
, -1-2)) {
740 lua_pcall(L
, 1+1, 2, 0);
741 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
745 lua_settop(L
, oldtop
);
746 return this->QWidget::inputMethodQuery(arg1
);
748 QVariant ret
= **static_cast<QVariant
**>(lqtL_checkudata(L
, -1, "QVariant*"));
749 lua_settop(L
, oldtop
);
752 QSize LuaBinder
< QAbstractScrollArea
>::minimumSizeHint () const {
753 bool absorbed
= false;
754 int oldtop
= lua_gettop(L
);
755 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
756 if (lua_getmetatable(L
, -1)) {
757 lua_getfield(L
, -1, "minimumSizeHint");
763 if (lua_isfunction(L
, -0-2)) {
764 lua_pcall(L
, 0+1, 2, 0);
765 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
769 lua_settop(L
, oldtop
);
770 return this->QAbstractScrollArea::minimumSizeHint();
772 QSize ret
= **static_cast<QSize
**>(lqtL_checkudata(L
, -1, "QSize*"));
773 lua_settop(L
, oldtop
);
776 void LuaBinder
< QAbstractScrollArea
>::changeEvent (QEvent
* arg1
) {
777 bool absorbed
= false;
778 int oldtop
= lua_gettop(L
);
779 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
780 if (lua_getmetatable(L
, -1)) {
781 lua_getfield(L
, -1, "changeEvent");
787 lqtL_pushudata(L
, arg1
, "QEvent*");
788 if (lua_isfunction(L
, -1-2)) {
789 lua_pcall(L
, 1+1, 2, 0);
790 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
794 lua_settop(L
, oldtop
);
795 this->QFrame::changeEvent(arg1
);
797 lua_settop(L
, oldtop
);
799 void LuaBinder
< QAbstractScrollArea
>::contextMenuEvent (QContextMenuEvent
* arg1
) {
800 bool absorbed
= false;
801 int oldtop
= lua_gettop(L
);
802 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
803 if (lua_getmetatable(L
, -1)) {
804 lua_getfield(L
, -1, "contextMenuEvent");
810 lqtL_pushudata(L
, arg1
, "QContextMenuEvent*");
811 if (lua_isfunction(L
, -1-2)) {
812 lua_pcall(L
, 1+1, 2, 0);
813 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
817 lua_settop(L
, oldtop
);
818 this->QAbstractScrollArea::contextMenuEvent(arg1
);
820 lua_settop(L
, oldtop
);
822 void LuaBinder
< QAbstractScrollArea
>::showEvent (QShowEvent
* arg1
) {
823 bool absorbed
= false;
824 int oldtop
= lua_gettop(L
);
825 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
826 if (lua_getmetatable(L
, -1)) {
827 lua_getfield(L
, -1, "showEvent");
833 lqtL_pushudata(L
, arg1
, "QShowEvent*");
834 if (lua_isfunction(L
, -1-2)) {
835 lua_pcall(L
, 1+1, 2, 0);
836 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
840 lua_settop(L
, oldtop
);
841 this->QWidget::showEvent(arg1
);
843 lua_settop(L
, oldtop
);
845 void LuaBinder
< QAbstractScrollArea
>::windowActivationChange (bool arg1
) {
846 bool absorbed
= false;
847 int oldtop
= lua_gettop(L
);
848 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
849 if (lua_getmetatable(L
, -1)) {
850 lua_getfield(L
, -1, "windowActivationChange");
856 lua_pushboolean(L
, arg1
);
857 if (lua_isfunction(L
, -1-2)) {
858 lua_pcall(L
, 1+1, 2, 0);
859 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
863 lua_settop(L
, oldtop
);
864 this->QWidget::windowActivationChange(arg1
);
866 lua_settop(L
, oldtop
);
868 void LuaBinder
< QAbstractScrollArea
>::paintEvent (QPaintEvent
* arg1
) {
869 bool absorbed
= false;
870 int oldtop
= lua_gettop(L
);
871 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
872 if (lua_getmetatable(L
, -1)) {
873 lua_getfield(L
, -1, "paintEvent");
879 lqtL_pushudata(L
, arg1
, "QPaintEvent*");
880 if (lua_isfunction(L
, -1-2)) {
881 lua_pcall(L
, 1+1, 2, 0);
882 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
886 lua_settop(L
, oldtop
);
887 this->QAbstractScrollArea::paintEvent(arg1
);
889 lua_settop(L
, oldtop
);
891 void LuaBinder
< QAbstractScrollArea
>::actionEvent (QActionEvent
* arg1
) {
892 bool absorbed
= false;
893 int oldtop
= lua_gettop(L
);
894 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
895 if (lua_getmetatable(L
, -1)) {
896 lua_getfield(L
, -1, "actionEvent");
902 lqtL_pushudata(L
, arg1
, "QActionEvent*");
903 if (lua_isfunction(L
, -1-2)) {
904 lua_pcall(L
, 1+1, 2, 0);
905 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
909 lua_settop(L
, oldtop
);
910 this->QWidget::actionEvent(arg1
);
912 lua_settop(L
, oldtop
);
914 void LuaBinder
< QAbstractScrollArea
>::keyReleaseEvent (QKeyEvent
* arg1
) {
915 bool absorbed
= false;
916 int oldtop
= lua_gettop(L
);
917 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
918 if (lua_getmetatable(L
, -1)) {
919 lua_getfield(L
, -1, "keyReleaseEvent");
925 lqtL_pushudata(L
, arg1
, "QKeyEvent*");
926 if (lua_isfunction(L
, -1-2)) {
927 lua_pcall(L
, 1+1, 2, 0);
928 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
932 lua_settop(L
, oldtop
);
933 this->QWidget::keyReleaseEvent(arg1
);
935 lua_settop(L
, oldtop
);
937 void LuaBinder
< QAbstractScrollArea
>::enabledChange (bool arg1
) {
938 bool absorbed
= false;
939 int oldtop
= lua_gettop(L
);
940 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
941 if (lua_getmetatable(L
, -1)) {
942 lua_getfield(L
, -1, "enabledChange");
948 lua_pushboolean(L
, arg1
);
949 if (lua_isfunction(L
, -1-2)) {
950 lua_pcall(L
, 1+1, 2, 0);
951 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
955 lua_settop(L
, oldtop
);
956 this->QWidget::enabledChange(arg1
);
958 lua_settop(L
, oldtop
);
960 void LuaBinder
< QAbstractScrollArea
>::mouseReleaseEvent (QMouseEvent
* arg1
) {
961 bool absorbed
= false;
962 int oldtop
= lua_gettop(L
);
963 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
964 if (lua_getmetatable(L
, -1)) {
965 lua_getfield(L
, -1, "mouseReleaseEvent");
971 lqtL_pushudata(L
, arg1
, "QMouseEvent*");
972 if (lua_isfunction(L
, -1-2)) {
973 lua_pcall(L
, 1+1, 2, 0);
974 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
978 lua_settop(L
, oldtop
);
979 this->QAbstractScrollArea::mouseReleaseEvent(arg1
);
981 lua_settop(L
, oldtop
);
983 int LuaBinder
< QAbstractScrollArea
>::heightForWidth (int arg1
) const {
984 bool absorbed
= false;
985 int oldtop
= lua_gettop(L
);
986 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
987 if (lua_getmetatable(L
, -1)) {
988 lua_getfield(L
, -1, "heightForWidth");
994 lua_pushinteger(L
, arg1
);
995 if (lua_isfunction(L
, -1-2)) {
996 lua_pcall(L
, 1+1, 2, 0);
997 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1001 lua_settop(L
, oldtop
);
1002 return this->QWidget::heightForWidth(arg1
);
1004 int ret
= lua_tointeger(L
, -1);
1005 lua_settop(L
, oldtop
);
1008 void LuaBinder
< QAbstractScrollArea
>::mouseDoubleClickEvent (QMouseEvent
* arg1
) {
1009 bool absorbed
= false;
1010 int oldtop
= lua_gettop(L
);
1011 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
1012 if (lua_getmetatable(L
, -1)) {
1013 lua_getfield(L
, -1, "mouseDoubleClickEvent");
1019 lqtL_pushudata(L
, arg1
, "QMouseEvent*");
1020 if (lua_isfunction(L
, -1-2)) {
1021 lua_pcall(L
, 1+1, 2, 0);
1022 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1026 lua_settop(L
, oldtop
);
1027 this->QAbstractScrollArea::mouseDoubleClickEvent(arg1
);
1029 lua_settop(L
, oldtop
);
1031 int LuaBinder
< QAbstractScrollArea
>::metric (QPaintDevice::PaintDeviceMetric arg1
) const {
1032 bool absorbed
= false;
1033 int oldtop
= lua_gettop(L
);
1034 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
1035 if (lua_getmetatable(L
, -1)) {
1036 lua_getfield(L
, -1, "metric");
1042 lqtL_pushenum(L
, arg1
, "QPaintDevice::PaintDeviceMetric");
1043 if (lua_isfunction(L
, -1-2)) {
1044 lua_pcall(L
, 1+1, 2, 0);
1045 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1049 lua_settop(L
, oldtop
);
1050 return this->QWidget::metric(arg1
);
1052 int ret
= lua_tointeger(L
, -1);
1053 lua_settop(L
, oldtop
);
1056 void LuaBinder
< QAbstractScrollArea
>::disconnectNotify (const char * arg1
) {
1057 bool absorbed
= false;
1058 int oldtop
= lua_gettop(L
);
1059 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
1060 if (lua_getmetatable(L
, -1)) {
1061 lua_getfield(L
, -1, "disconnectNotify");
1067 lua_pushstring(L
, arg1
);
1068 if (lua_isfunction(L
, -1-2)) {
1069 lua_pcall(L
, 1+1, 2, 0);
1070 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1074 lua_settop(L
, oldtop
);
1075 this->QObject::disconnectNotify(arg1
);
1077 lua_settop(L
, oldtop
);
1079 void LuaBinder
< QAbstractScrollArea
>::mouseMoveEvent (QMouseEvent
* arg1
) {
1080 bool absorbed
= false;
1081 int oldtop
= lua_gettop(L
);
1082 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
1083 if (lua_getmetatable(L
, -1)) {
1084 lua_getfield(L
, -1, "mouseMoveEvent");
1090 lqtL_pushudata(L
, arg1
, "QMouseEvent*");
1091 if (lua_isfunction(L
, -1-2)) {
1092 lua_pcall(L
, 1+1, 2, 0);
1093 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1097 lua_settop(L
, oldtop
);
1098 this->QAbstractScrollArea::mouseMoveEvent(arg1
);
1100 lua_settop(L
, oldtop
);
1102 void LuaBinder
< QAbstractScrollArea
>::focusOutEvent (QFocusEvent
* arg1
) {
1103 bool absorbed
= false;
1104 int oldtop
= lua_gettop(L
);
1105 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
1106 if (lua_getmetatable(L
, -1)) {
1107 lua_getfield(L
, -1, "focusOutEvent");
1113 lqtL_pushudata(L
, arg1
, "QFocusEvent*");
1114 if (lua_isfunction(L
, -1-2)) {
1115 lua_pcall(L
, 1+1, 2, 0);
1116 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1120 lua_settop(L
, oldtop
);
1121 this->QWidget::focusOutEvent(arg1
);
1123 lua_settop(L
, oldtop
);
1125 void LuaBinder
< QAbstractScrollArea
>::childEvent (QChildEvent
* arg1
) {
1126 bool absorbed
= false;
1127 int oldtop
= lua_gettop(L
);
1128 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
1129 if (lua_getmetatable(L
, -1)) {
1130 lua_getfield(L
, -1, "childEvent");
1136 lqtL_pushudata(L
, arg1
, "QChildEvent*");
1137 if (lua_isfunction(L
, -1-2)) {
1138 lua_pcall(L
, 1+1, 2, 0);
1139 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1143 lua_settop(L
, oldtop
);
1144 this->QObject::childEvent(arg1
);
1146 lua_settop(L
, oldtop
);
1148 void LuaBinder
< QAbstractScrollArea
>::connectNotify (const char * arg1
) {
1149 bool absorbed
= false;
1150 int oldtop
= lua_gettop(L
);
1151 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
1152 if (lua_getmetatable(L
, -1)) {
1153 lua_getfield(L
, -1, "connectNotify");
1159 lua_pushstring(L
, arg1
);
1160 if (lua_isfunction(L
, -1-2)) {
1161 lua_pcall(L
, 1+1, 2, 0);
1162 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1166 lua_settop(L
, oldtop
);
1167 this->QObject::connectNotify(arg1
);
1169 lua_settop(L
, oldtop
);
1171 void LuaBinder
< QAbstractScrollArea
>::timerEvent (QTimerEvent
* arg1
) {
1172 bool absorbed
= false;
1173 int oldtop
= lua_gettop(L
);
1174 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
1175 if (lua_getmetatable(L
, -1)) {
1176 lua_getfield(L
, -1, "timerEvent");
1182 lqtL_pushudata(L
, arg1
, "QTimerEvent*");
1183 if (lua_isfunction(L
, -1-2)) {
1184 lua_pcall(L
, 1+1, 2, 0);
1185 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1189 lua_settop(L
, oldtop
);
1190 this->QObject::timerEvent(arg1
);
1192 lua_settop(L
, oldtop
);
1194 void LuaBinder
< QAbstractScrollArea
>::fontChange (const QFont
& arg1
) {
1195 bool absorbed
= false;
1196 int oldtop
= lua_gettop(L
);
1197 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
1198 if (lua_getmetatable(L
, -1)) {
1199 lua_getfield(L
, -1, "fontChange");
1205 lqtL_pushudata(L
, &(arg1
), "QFont*");
1206 if (lua_isfunction(L
, -1-2)) {
1207 lua_pcall(L
, 1+1, 2, 0);
1208 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1212 lua_settop(L
, oldtop
);
1213 this->QWidget::fontChange(arg1
);
1215 lua_settop(L
, oldtop
);
1217 bool LuaBinder
< QAbstractScrollArea
>::eventFilter (QObject
* arg1
, QEvent
* arg2
) {
1218 bool absorbed
= false;
1219 int oldtop
= lua_gettop(L
);
1220 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
1221 if (lua_getmetatable(L
, -1)) {
1222 lua_getfield(L
, -1, "eventFilter");
1228 lqtL_pushudata(L
, arg1
, "QObject*");
1229 lqtL_pushudata(L
, arg2
, "QEvent*");
1230 if (lua_isfunction(L
, -2-2)) {
1231 lua_pcall(L
, 2+1, 2, 0);
1232 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1236 lua_settop(L
, oldtop
);
1237 return this->QObject::eventFilter(arg1
, arg2
);
1239 bool ret
= (bool)lua_toboolean(L
, -1);
1240 lua_settop(L
, oldtop
);
1243 void LuaBinder
< QAbstractScrollArea
>::inputMethodEvent (QInputMethodEvent
* arg1
) {
1244 bool absorbed
= false;
1245 int oldtop
= lua_gettop(L
);
1246 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
1247 if (lua_getmetatable(L
, -1)) {
1248 lua_getfield(L
, -1, "inputMethodEvent");
1254 lqtL_pushudata(L
, arg1
, "QInputMethodEvent*");
1255 if (lua_isfunction(L
, -1-2)) {
1256 lua_pcall(L
, 1+1, 2, 0);
1257 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1261 lua_settop(L
, oldtop
);
1262 this->QWidget::inputMethodEvent(arg1
);
1264 lua_settop(L
, oldtop
);
1266 void LuaBinder
< QAbstractScrollArea
>::wheelEvent (QWheelEvent
* arg1
) {
1267 bool absorbed
= false;
1268 int oldtop
= lua_gettop(L
);
1269 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
1270 if (lua_getmetatable(L
, -1)) {
1271 lua_getfield(L
, -1, "wheelEvent");
1277 lqtL_pushudata(L
, arg1
, "QWheelEvent*");
1278 if (lua_isfunction(L
, -1-2)) {
1279 lua_pcall(L
, 1+1, 2, 0);
1280 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1284 lua_settop(L
, oldtop
);
1285 this->QAbstractScrollArea::wheelEvent(arg1
);
1287 lua_settop(L
, oldtop
);
1289 void LuaBinder
< QAbstractScrollArea
>::resizeEvent (QResizeEvent
* arg1
) {
1290 bool absorbed
= false;
1291 int oldtop
= lua_gettop(L
);
1292 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
1293 if (lua_getmetatable(L
, -1)) {
1294 lua_getfield(L
, -1, "resizeEvent");
1300 lqtL_pushudata(L
, arg1
, "QResizeEvent*");
1301 if (lua_isfunction(L
, -1-2)) {
1302 lua_pcall(L
, 1+1, 2, 0);
1303 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1307 lua_settop(L
, oldtop
);
1308 this->QAbstractScrollArea::resizeEvent(arg1
);
1310 lua_settop(L
, oldtop
);
1312 void LuaBinder
< QAbstractScrollArea
>::paletteChange (const QPalette
& arg1
) {
1313 bool absorbed
= false;
1314 int oldtop
= lua_gettop(L
);
1315 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
1316 if (lua_getmetatable(L
, -1)) {
1317 lua_getfield(L
, -1, "paletteChange");
1323 lqtL_pushudata(L
, &(arg1
), "QPalette*");
1324 if (lua_isfunction(L
, -1-2)) {
1325 lua_pcall(L
, 1+1, 2, 0);
1326 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1330 lua_settop(L
, oldtop
);
1331 this->QWidget::paletteChange(arg1
);
1333 lua_settop(L
, oldtop
);
1335 void LuaBinder
< QAbstractScrollArea
>::languageChange () {
1336 bool absorbed
= false;
1337 int oldtop
= lua_gettop(L
);
1338 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
1339 if (lua_getmetatable(L
, -1)) {
1340 lua_getfield(L
, -1, "languageChange");
1346 if (lua_isfunction(L
, -0-2)) {
1347 lua_pcall(L
, 0+1, 2, 0);
1348 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1352 lua_settop(L
, oldtop
);
1353 this->QWidget::languageChange();
1355 lua_settop(L
, oldtop
);
1357 bool LuaBinder
< QAbstractScrollArea
>::event (QEvent
* arg1
) {
1358 bool absorbed
= false;
1359 int oldtop
= lua_gettop(L
);
1360 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
1361 if (lua_getmetatable(L
, -1)) {
1362 lua_getfield(L
, -1, "event");
1368 lqtL_pushudata(L
, arg1
, "QEvent*");
1369 if (lua_isfunction(L
, -1-2)) {
1370 lua_pcall(L
, 1+1, 2, 0);
1371 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1375 lua_settop(L
, oldtop
);
1376 return this->QAbstractScrollArea::event(arg1
);
1378 bool ret
= (bool)lua_toboolean(L
, -1);
1379 lua_settop(L
, oldtop
);
1382 void LuaBinder
< QAbstractScrollArea
>::hideEvent (QHideEvent
* arg1
) {
1383 bool absorbed
= false;
1384 int oldtop
= lua_gettop(L
);
1385 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
1386 if (lua_getmetatable(L
, -1)) {
1387 lua_getfield(L
, -1, "hideEvent");
1393 lqtL_pushudata(L
, arg1
, "QHideEvent*");
1394 if (lua_isfunction(L
, -1-2)) {
1395 lua_pcall(L
, 1+1, 2, 0);
1396 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1400 lua_settop(L
, oldtop
);
1401 this->QWidget::hideEvent(arg1
);
1403 lua_settop(L
, oldtop
);
1405 void LuaBinder
< QAbstractScrollArea
>::dragEnterEvent (QDragEnterEvent
* arg1
) {
1406 bool absorbed
= false;
1407 int oldtop
= lua_gettop(L
);
1408 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
1409 if (lua_getmetatable(L
, -1)) {
1410 lua_getfield(L
, -1, "dragEnterEvent");
1416 lqtL_pushudata(L
, arg1
, "QDragEnterEvent*");
1417 if (lua_isfunction(L
, -1-2)) {
1418 lua_pcall(L
, 1+1, 2, 0);
1419 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1423 lua_settop(L
, oldtop
);
1424 this->QAbstractScrollArea::dragEnterEvent(arg1
);
1426 lua_settop(L
, oldtop
);
1428 void LuaBinder
< QAbstractScrollArea
>::scrollContentsBy (int arg1
, int arg2
) {
1429 bool absorbed
= false;
1430 int oldtop
= lua_gettop(L
);
1431 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
1432 if (lua_getmetatable(L
, -1)) {
1433 lua_getfield(L
, -1, "scrollContentsBy");
1439 lua_pushinteger(L
, arg1
);
1440 lua_pushinteger(L
, arg2
);
1441 if (lua_isfunction(L
, -2-2)) {
1442 lua_pcall(L
, 2+1, 2, 0);
1443 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1447 lua_settop(L
, oldtop
);
1448 this->QAbstractScrollArea::scrollContentsBy(arg1
, arg2
);
1450 lua_settop(L
, oldtop
);
1452 bool LuaBinder
< QAbstractScrollArea
>::viewportEvent (QEvent
* arg1
) {
1453 bool absorbed
= false;
1454 int oldtop
= lua_gettop(L
);
1455 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
1456 if (lua_getmetatable(L
, -1)) {
1457 lua_getfield(L
, -1, "viewportEvent");
1463 lqtL_pushudata(L
, arg1
, "QEvent*");
1464 if (lua_isfunction(L
, -1-2)) {
1465 lua_pcall(L
, 1+1, 2, 0);
1466 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1470 lua_settop(L
, oldtop
);
1471 return this->QAbstractScrollArea::viewportEvent(arg1
);
1473 bool ret
= (bool)lua_toboolean(L
, -1);
1474 lua_settop(L
, oldtop
);
1477 void LuaBinder
< QAbstractScrollArea
>::leaveEvent (QEvent
* arg1
) {
1478 bool absorbed
= false;
1479 int oldtop
= lua_gettop(L
);
1480 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
1481 if (lua_getmetatable(L
, -1)) {
1482 lua_getfield(L
, -1, "leaveEvent");
1488 lqtL_pushudata(L
, arg1
, "QEvent*");
1489 if (lua_isfunction(L
, -1-2)) {
1490 lua_pcall(L
, 1+1, 2, 0);
1491 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1495 lua_settop(L
, oldtop
);
1496 this->QWidget::leaveEvent(arg1
);
1498 lua_settop(L
, oldtop
);
1500 QSize LuaBinder
< QAbstractScrollArea
>::sizeHint () const {
1501 bool absorbed
= false;
1502 int oldtop
= lua_gettop(L
);
1503 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
1504 if (lua_getmetatable(L
, -1)) {
1505 lua_getfield(L
, -1, "sizeHint");
1511 if (lua_isfunction(L
, -0-2)) {
1512 lua_pcall(L
, 0+1, 2, 0);
1513 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1517 lua_settop(L
, oldtop
);
1518 return this->QAbstractScrollArea::sizeHint();
1520 QSize ret
= **static_cast<QSize
**>(lqtL_checkudata(L
, -1, "QSize*"));
1521 lua_settop(L
, oldtop
);
1524 void LuaBinder
< QAbstractScrollArea
>::customEvent (QEvent
* arg1
) {
1525 bool absorbed
= false;
1526 int oldtop
= lua_gettop(L
);
1527 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
1528 if (lua_getmetatable(L
, -1)) {
1529 lua_getfield(L
, -1, "customEvent");
1535 lqtL_pushudata(L
, arg1
, "QEvent*");
1536 if (lua_isfunction(L
, -1-2)) {
1537 lua_pcall(L
, 1+1, 2, 0);
1538 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1542 lua_settop(L
, oldtop
);
1543 this->QObject::customEvent(arg1
);
1545 lua_settop(L
, oldtop
);
1547 LuaBinder
< QAbstractScrollArea
>:: ~LuaBinder
< QAbstractScrollArea
> () {
1548 int oldtop
= lua_gettop(L
);
1549 lqtL_pushudata(L
, this, "QAbstractScrollArea*");
1550 lua_getfield(L
, -1, "~QAbstractScrollArea");
1552 if (lua_isfunction(L
, -1)) {
1554 lua_pcall(L
, 1, 1, 0);
1557 lua_settop(L
, oldtop
);
1559 int luaopen_QAbstractScrollArea (lua_State
*L
) {
1560 if (luaL_newmetatable(L
, "QAbstractScrollArea*")) {
1561 lua_pushcfunction(L
, LuaBinder
< QAbstractScrollArea
>::__LuaWrapCall__setHorizontalScrollBarPolicy
);
1562 lua_setfield(L
, -2, "setHorizontalScrollBarPolicy");
1563 lua_pushcfunction(L
, LuaBinder
< QAbstractScrollArea
>::__LuaWrapCall__setCornerWidget
);
1564 lua_setfield(L
, -2, "setCornerWidget");
1565 lua_pushcfunction(L
, LuaBinder
< QAbstractScrollArea
>::__LuaWrapCall__sizeHint
);
1566 lua_setfield(L
, -2, "sizeHint");
1567 lua_pushcfunction(L
, LuaBinder
< QAbstractScrollArea
>::__LuaWrapCall__setHorizontalScrollBar
);
1568 lua_setfield(L
, -2, "setHorizontalScrollBar");
1569 lua_pushcfunction(L
, LuaBinder
< QAbstractScrollArea
>::__LuaWrapCall__minimumSizeHint
);
1570 lua_setfield(L
, -2, "minimumSizeHint");
1571 lua_pushcfunction(L
, LuaBinder
< QAbstractScrollArea
>::__LuaWrapCall__horizontalScrollBar
);
1572 lua_setfield(L
, -2, "horizontalScrollBar");
1573 lua_pushcfunction(L
, LuaBinder
< QAbstractScrollArea
>::__LuaWrapCall__trUtf8
);
1574 lua_setfield(L
, -2, "trUtf8");
1575 lua_pushcfunction(L
, LuaBinder
< QAbstractScrollArea
>::__LuaWrapCall__maximumViewportSize
);
1576 lua_setfield(L
, -2, "maximumViewportSize");
1577 lua_pushcfunction(L
, LuaBinder
< QAbstractScrollArea
>::__LuaWrapCall__setVerticalScrollBarPolicy
);
1578 lua_setfield(L
, -2, "setVerticalScrollBarPolicy");
1579 lua_pushcfunction(L
, LuaBinder
< QAbstractScrollArea
>::__LuaWrapCall__new
);
1580 lua_setfield(L
, -2, "new");
1581 lua_pushcfunction(L
, LuaBinder
< QAbstractScrollArea
>::__LuaWrapCall__tr
);
1582 lua_setfield(L
, -2, "tr");
1583 lua_pushcfunction(L
, LuaBinder
< QAbstractScrollArea
>::__LuaWrapCall__scrollBarWidgets
);
1584 lua_setfield(L
, -2, "scrollBarWidgets");
1585 lua_pushcfunction(L
, LuaBinder
< QAbstractScrollArea
>::__LuaWrapCall__cornerWidget
);
1586 lua_setfield(L
, -2, "cornerWidget");
1587 lua_pushcfunction(L
, LuaBinder
< QAbstractScrollArea
>::__LuaWrapCall__verticalScrollBar
);
1588 lua_setfield(L
, -2, "verticalScrollBar");
1589 lua_pushcfunction(L
, LuaBinder
< QAbstractScrollArea
>::__LuaWrapCall__addScrollBarWidget
);
1590 lua_setfield(L
, -2, "addScrollBarWidget");
1591 lua_pushcfunction(L
, LuaBinder
< QAbstractScrollArea
>::__LuaWrapCall__setViewport
);
1592 lua_setfield(L
, -2, "setViewport");
1593 lua_pushcfunction(L
, LuaBinder
< QAbstractScrollArea
>::__LuaWrapCall__delete
);
1594 lua_setfield(L
, -2, "delete");
1595 lua_pushcfunction(L
, LuaBinder
< QAbstractScrollArea
>::__LuaWrapCall__metaObject
);
1596 lua_setfield(L
, -2, "metaObject");
1597 lua_pushcfunction(L
, LuaBinder
< QAbstractScrollArea
>::__LuaWrapCall__viewport
);
1598 lua_setfield(L
, -2, "viewport");
1599 lua_pushcfunction(L
, LuaBinder
< QAbstractScrollArea
>::__LuaWrapCall__verticalScrollBarPolicy
);
1600 lua_setfield(L
, -2, "verticalScrollBarPolicy");
1601 lua_pushcfunction(L
, LuaBinder
< QAbstractScrollArea
>::__LuaWrapCall__horizontalScrollBarPolicy
);
1602 lua_setfield(L
, -2, "horizontalScrollBarPolicy");
1603 lua_pushcfunction(L
, LuaBinder
< QAbstractScrollArea
>::__LuaWrapCall__setVerticalScrollBar
);
1604 lua_setfield(L
, -2, "setVerticalScrollBar");
1606 lua_pushboolean(L
, 1);
1607 lua_setfield(L
, -2, "QFrame*");
1608 lua_pushboolean(L
, 0);
1609 lua_setfield(L
, -2, "QObject*");
1610 lua_pushboolean(L
, 0);
1611 lua_setfield(L
, -2, "QPaintDevice*");
1612 lua_pushboolean(L
, 0);
1613 lua_setfield(L
, -2, "QWidget*");
1614 lua_setfield(L
, -2, "__base");
1615 lua_pushcfunction(L
, lqtL_newindex
);
1616 lua_setfield(L
, -2, "__newindex");
1617 lua_pushcfunction(L
, lqtL_index
);
1618 lua_setfield(L
, -2, "__index");
1619 lua_pushcfunction(L
, lqtL_gc
);
1620 lua_setfield(L
, -2, "__gc");
1621 lua_pushstring(L
, "QAbstractScrollArea");
1622 lua_setfield(L
, -2, "__qtype");
1623 lua_setglobal(L
, "QAbstractScrollArea");