added "install" instruction
[Leditor.git] / src / lqt_bind_QAbstractScrollArea.cpp
blobaf63ec5a1755fa660109c403a78154ccaae79c4d
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*"));
5 if (__lua__obj==0) {
6 lua_pushstring(L, "trying to reference deleted pointer");
7 lua_error(L);
8 return 0;
10 Qt::ScrollBarPolicy arg1 = static_cast<Qt::ScrollBarPolicy>(lqtL_toenum(L, 2, "Qt::ScrollBarPolicy"));
11 __lua__obj->QAbstractScrollArea::setHorizontalScrollBarPolicy(arg1);
12 return 0;
14 int LuaBinder< QAbstractScrollArea >::__LuaWrapCall__setCornerWidget (lua_State *L) {
15 QAbstractScrollArea *& __lua__obj = *static_cast<QAbstractScrollArea**>(lqtL_checkudata(L, 1, "QAbstractScrollArea*"));
16 if (__lua__obj==0) {
17 lua_pushstring(L, "trying to reference deleted pointer");
18 lua_error(L);
19 return 0;
21 QWidget * arg1 = *static_cast<QWidget**>(lqtL_checkudata(L, 2, "QWidget*"));
22 __lua__obj->QAbstractScrollArea::setCornerWidget(arg1);
23 return 0;
25 int LuaBinder< QAbstractScrollArea >::__LuaWrapCall__sizeHint (lua_State *L) {
26 QAbstractScrollArea *& __lua__obj = *static_cast<QAbstractScrollArea**>(lqtL_checkudata(L, 1, "QAbstractScrollArea*"));
27 if (__lua__obj==0) {
28 lua_pushstring(L, "trying to reference deleted pointer");
29 lua_error(L);
30 return 0;
32 QSize ret = __lua__obj->QAbstractScrollArea::sizeHint();
33 lqtL_passudata(L, new QSize(ret), "QSize*");
34 return 1;
36 int LuaBinder< QAbstractScrollArea >::__LuaWrapCall__setHorizontalScrollBar (lua_State *L) {
37 QAbstractScrollArea *& __lua__obj = *static_cast<QAbstractScrollArea**>(lqtL_checkudata(L, 1, "QAbstractScrollArea*"));
38 if (__lua__obj==0) {
39 lua_pushstring(L, "trying to reference deleted pointer");
40 lua_error(L);
41 return 0;
43 QScrollBar * arg1 = *static_cast<QScrollBar**>(lqtL_checkudata(L, 2, "QScrollBar*"));
44 __lua__obj->QAbstractScrollArea::setHorizontalScrollBar(arg1);
45 return 0;
47 int LuaBinder< QAbstractScrollArea >::__LuaWrapCall__minimumSizeHint (lua_State *L) {
48 QAbstractScrollArea *& __lua__obj = *static_cast<QAbstractScrollArea**>(lqtL_checkudata(L, 1, "QAbstractScrollArea*"));
49 if (__lua__obj==0) {
50 lua_pushstring(L, "trying to reference deleted pointer");
51 lua_error(L);
52 return 0;
54 QSize ret = __lua__obj->QAbstractScrollArea::minimumSizeHint();
55 lqtL_passudata(L, new QSize(ret), "QSize*");
56 return 1;
58 int LuaBinder< QAbstractScrollArea >::__LuaWrapCall__horizontalScrollBar (lua_State *L) {
59 QAbstractScrollArea *& __lua__obj = *static_cast<QAbstractScrollArea**>(lqtL_checkudata(L, 1, "QAbstractScrollArea*"));
60 if (__lua__obj==0) {
61 lua_pushstring(L, "trying to reference deleted pointer");
62 lua_error(L);
63 return 0;
65 QScrollBar * ret = __lua__obj->QAbstractScrollArea::horizontalScrollBar();
66 lqtL_pushudata(L, ret, "QScrollBar*");
67 return 1;
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());
74 return 1;
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());
82 return 1;
84 int LuaBinder< QAbstractScrollArea >::__LuaWrapCall__trUtf8 (lua_State *L) {
85 int score[3];
86 const int premium = 11+lua_gettop(L);
87 score[1] = 0;
88 if ((lua_type(L, 1)==LUA_TSTRING)) {
89 score[1] += premium;
90 } else if (false) {
91 score[1] += premium-1; // table: 0x9e87c0;
92 } else {
93 score[1] -= premium*premium;
95 if ((lua_type(L, 2)==LUA_TSTRING)) {
96 score[1] += premium;
97 } else if (true) {
98 score[1] += premium-1; // table: 0x5f54f0;
99 } else {
100 score[1] -= premium*premium;
102 score[2] = 0;
103 if ((lua_type(L, 1)==LUA_TSTRING)) {
104 score[2] += premium;
105 } else if (false) {
106 score[2] += premium-1; // table: 0x8e2e00;
107 } else {
108 score[2] -= premium*premium;
110 if ((lua_type(L, 2)==LUA_TSTRING)) {
111 score[2] += premium;
112 } else if (false) {
113 score[2] += premium-1; // table: 0xa99e90;
114 } else {
115 score[2] -= premium*premium;
117 if (lua_isnumber(L, 3)) {
118 score[2] += premium;
119 } else if (false) {
120 score[2] += premium-1; // table: 0x9e5080;
121 } else {
122 score[2] -= premium*premium;
124 int best = 1;
125 for (int i=1;i<=2;i++) {
126 if (score[best] < score[i]) { best = i; }
128 switch (best) {
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");
133 lua_error(L);
134 return 0;
136 int LuaBinder< QAbstractScrollArea >::__LuaWrapCall__maximumViewportSize (lua_State *L) {
137 QAbstractScrollArea *& __lua__obj = *static_cast<QAbstractScrollArea**>(lqtL_checkudata(L, 1, "QAbstractScrollArea*"));
138 if (__lua__obj==0) {
139 lua_pushstring(L, "trying to reference deleted pointer");
140 lua_error(L);
141 return 0;
143 QSize ret = __lua__obj->QAbstractScrollArea::maximumViewportSize();
144 lqtL_passudata(L, new QSize(ret), "QSize*");
145 return 1;
147 int LuaBinder< QAbstractScrollArea >::__LuaWrapCall__setVerticalScrollBarPolicy (lua_State *L) {
148 QAbstractScrollArea *& __lua__obj = *static_cast<QAbstractScrollArea**>(lqtL_checkudata(L, 1, "QAbstractScrollArea*"));
149 if (__lua__obj==0) {
150 lua_pushstring(L, "trying to reference deleted pointer");
151 lua_error(L);
152 return 0;
154 Qt::ScrollBarPolicy arg1 = static_cast<Qt::ScrollBarPolicy>(lqtL_toenum(L, 2, "Qt::ScrollBarPolicy"));
155 __lua__obj->QAbstractScrollArea::setVerticalScrollBarPolicy(arg1);
156 return 0;
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*");
162 return 1;
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());
169 return 1;
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());
177 return 1;
179 int LuaBinder< QAbstractScrollArea >::__LuaWrapCall__tr (lua_State *L) {
180 int score[3];
181 const int premium = 11+lua_gettop(L);
182 score[1] = 0;
183 if ((lua_type(L, 1)==LUA_TSTRING)) {
184 score[1] += premium;
185 } else if (false) {
186 score[1] += premium-1; // table: 0x5f2600;
187 } else {
188 score[1] -= premium*premium;
190 if ((lua_type(L, 2)==LUA_TSTRING)) {
191 score[1] += premium;
192 } else if (true) {
193 score[1] += premium-1; // table: 0xe469f0;
194 } else {
195 score[1] -= premium*premium;
197 score[2] = 0;
198 if ((lua_type(L, 1)==LUA_TSTRING)) {
199 score[2] += premium;
200 } else if (false) {
201 score[2] += premium-1; // table: 0x9e79d0;
202 } else {
203 score[2] -= premium*premium;
205 if ((lua_type(L, 2)==LUA_TSTRING)) {
206 score[2] += premium;
207 } else if (false) {
208 score[2] += premium-1; // table: 0xd7f300;
209 } else {
210 score[2] -= premium*premium;
212 if (lua_isnumber(L, 3)) {
213 score[2] += premium;
214 } else if (false) {
215 score[2] += premium-1; // table: 0x8ba4b0;
216 } else {
217 score[2] -= premium*premium;
219 int best = 1;
220 for (int i=1;i<=2;i++) {
221 if (score[best] < score[i]) { best = i; }
223 switch (best) {
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");
228 lua_error(L);
229 return 0;
231 int LuaBinder< QAbstractScrollArea >::__LuaWrapCall__scrollBarWidgets (lua_State *L) {
232 QAbstractScrollArea *& __lua__obj = *static_cast<QAbstractScrollArea**>(lqtL_checkudata(L, 1, "QAbstractScrollArea*"));
233 if (__lua__obj==0) {
234 lua_pushstring(L, "trying to reference deleted pointer");
235 lua_error(L);
236 return 0;
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*>*");
241 return 1;
243 int LuaBinder< QAbstractScrollArea >::__LuaWrapCall__cornerWidget (lua_State *L) {
244 QAbstractScrollArea *& __lua__obj = *static_cast<QAbstractScrollArea**>(lqtL_checkudata(L, 1, "QAbstractScrollArea*"));
245 if (__lua__obj==0) {
246 lua_pushstring(L, "trying to reference deleted pointer");
247 lua_error(L);
248 return 0;
250 QWidget * ret = __lua__obj->QAbstractScrollArea::cornerWidget();
251 lqtL_pushudata(L, ret, "QWidget*");
252 return 1;
254 int LuaBinder< QAbstractScrollArea >::__LuaWrapCall__verticalScrollBar (lua_State *L) {
255 QAbstractScrollArea *& __lua__obj = *static_cast<QAbstractScrollArea**>(lqtL_checkudata(L, 1, "QAbstractScrollArea*"));
256 if (__lua__obj==0) {
257 lua_pushstring(L, "trying to reference deleted pointer");
258 lua_error(L);
259 return 0;
261 QScrollBar * ret = __lua__obj->QAbstractScrollArea::verticalScrollBar();
262 lqtL_pushudata(L, ret, "QScrollBar*");
263 return 1;
265 int LuaBinder< QAbstractScrollArea >::__LuaWrapCall__addScrollBarWidget (lua_State *L) {
266 QAbstractScrollArea *& __lua__obj = *static_cast<QAbstractScrollArea**>(lqtL_checkudata(L, 1, "QAbstractScrollArea*"));
267 if (__lua__obj==0) {
268 lua_pushstring(L, "trying to reference deleted pointer");
269 lua_error(L);
270 return 0;
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);
275 return 0;
277 int LuaBinder< QAbstractScrollArea >::__LuaWrapCall__setViewport (lua_State *L) {
278 QAbstractScrollArea *& __lua__obj = *static_cast<QAbstractScrollArea**>(lqtL_checkudata(L, 1, "QAbstractScrollArea*"));
279 if (__lua__obj==0) {
280 lua_pushstring(L, "trying to reference deleted pointer");
281 lua_error(L);
282 return 0;
284 QWidget * arg1 = *static_cast<QWidget**>(lqtL_checkudata(L, 2, "QWidget*"));
285 __lua__obj->QAbstractScrollArea::setViewport(arg1);
286 return 0;
288 int LuaBinder< QAbstractScrollArea >::__LuaWrapCall__delete (lua_State *L) {
289 QAbstractScrollArea *& __lua__obj = *static_cast<QAbstractScrollArea**>(lqtL_checkudata(L, 1, "QAbstractScrollArea*"));
290 if (__lua__obj==0) {
291 lua_pushstring(L, "trying to reference deleted pointer");
292 lua_error(L);
293 return 0;
295 delete __lua__obj;
296 __lua__obj = 0;
297 return 0;
299 int LuaBinder< QAbstractScrollArea >::__LuaWrapCall__metaObject (lua_State *L) {
300 QAbstractScrollArea *& __lua__obj = *static_cast<QAbstractScrollArea**>(lqtL_checkudata(L, 1, "QAbstractScrollArea*"));
301 if (__lua__obj==0) {
302 lua_pushstring(L, "trying to reference deleted pointer");
303 lua_error(L);
304 return 0;
306 const QMetaObject * ret = __lua__obj->QAbstractScrollArea::metaObject();
307 lqtL_pushudata(L, ret, "QMetaObject*");
308 return 1;
310 int LuaBinder< QAbstractScrollArea >::__LuaWrapCall__viewport (lua_State *L) {
311 QAbstractScrollArea *& __lua__obj = *static_cast<QAbstractScrollArea**>(lqtL_checkudata(L, 1, "QAbstractScrollArea*"));
312 if (__lua__obj==0) {
313 lua_pushstring(L, "trying to reference deleted pointer");
314 lua_error(L);
315 return 0;
317 QWidget * ret = __lua__obj->QAbstractScrollArea::viewport();
318 lqtL_pushudata(L, ret, "QWidget*");
319 return 1;
321 int LuaBinder< QAbstractScrollArea >::__LuaWrapCall__verticalScrollBarPolicy (lua_State *L) {
322 QAbstractScrollArea *& __lua__obj = *static_cast<QAbstractScrollArea**>(lqtL_checkudata(L, 1, "QAbstractScrollArea*"));
323 if (__lua__obj==0) {
324 lua_pushstring(L, "trying to reference deleted pointer");
325 lua_error(L);
326 return 0;
328 Qt::ScrollBarPolicy ret = __lua__obj->QAbstractScrollArea::verticalScrollBarPolicy();
329 lqtL_pushenum(L, ret, "Qt::ScrollBarPolicy");
330 return 1;
332 int LuaBinder< QAbstractScrollArea >::__LuaWrapCall__horizontalScrollBarPolicy (lua_State *L) {
333 QAbstractScrollArea *& __lua__obj = *static_cast<QAbstractScrollArea**>(lqtL_checkudata(L, 1, "QAbstractScrollArea*"));
334 if (__lua__obj==0) {
335 lua_pushstring(L, "trying to reference deleted pointer");
336 lua_error(L);
337 return 0;
339 Qt::ScrollBarPolicy ret = __lua__obj->QAbstractScrollArea::horizontalScrollBarPolicy();
340 lqtL_pushenum(L, ret, "Qt::ScrollBarPolicy");
341 return 1;
343 int LuaBinder< QAbstractScrollArea >::__LuaWrapCall__setVerticalScrollBar (lua_State *L) {
344 QAbstractScrollArea *& __lua__obj = *static_cast<QAbstractScrollArea**>(lqtL_checkudata(L, 1, "QAbstractScrollArea*"));
345 if (__lua__obj==0) {
346 lua_pushstring(L, "trying to reference deleted pointer");
347 lua_error(L);
348 return 0;
350 QScrollBar * arg1 = *static_cast<QScrollBar**>(lqtL_checkudata(L, 2, "QScrollBar*"));
351 __lua__obj->QAbstractScrollArea::setVerticalScrollBar(arg1);
352 return 0;
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");
360 lua_remove(L, -2);
361 } else {
362 lua_pushnil(L);
364 lua_insert(L, -2);
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);
369 lua_pop(L, 1);
371 if (!absorbed) {
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");
383 lua_remove(L, -2);
384 } else {
385 lua_pushnil(L);
387 lua_insert(L, -2);
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);
392 lua_pop(L, 1);
394 if (!absorbed) {
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");
406 lua_remove(L, -2);
407 } else {
408 lua_pushnil(L);
410 lua_insert(L, -2);
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);
415 lua_pop(L, 1);
417 if (!absorbed) {
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");
429 lua_remove(L, -2);
430 } else {
431 lua_pushnil(L);
433 lua_insert(L, -2);
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);
437 lua_pop(L, 1);
439 if (!absorbed) {
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);
445 return ret;
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");
453 lua_remove(L, -2);
454 } else {
455 lua_pushnil(L);
457 lua_insert(L, -2);
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);
461 lua_pop(L, 1);
463 if (!absorbed) {
464 lua_settop(L, oldtop);
465 return this->QWidget::devType();
467 int ret = lua_tointeger(L, -1);
468 lua_settop(L, oldtop);
469 return ret;
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");
477 lua_remove(L, -2);
478 } else {
479 lua_pushnil(L);
481 lua_insert(L, -2);
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);
486 lua_pop(L, 1);
488 if (!absorbed) {
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");
500 lua_remove(L, -2);
501 } else {
502 lua_pushnil(L);
504 lua_insert(L, -2);
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);
509 lua_pop(L, 1);
511 if (!absorbed) {
512 lua_settop(L, oldtop);
513 return this->QWidget::focusNextPrevChild(arg1);
515 bool ret = (bool)lua_toboolean(L, -1);
516 lua_settop(L, oldtop);
517 return ret;
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");
525 lua_remove(L, -2);
526 } else {
527 lua_pushnil(L);
529 lua_insert(L, -2);
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);
533 lua_pop(L, 1);
535 if (!absorbed) {
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);
541 return ret;
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");
549 lua_remove(L, -2);
550 } else {
551 lua_pushnil(L);
553 lua_insert(L, -2);
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);
558 lua_pop(L, 1);
560 if (!absorbed) {
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");
572 lua_remove(L, -2);
573 } else {
574 lua_pushnil(L);
576 lua_insert(L, -2);
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);
581 lua_pop(L, 1);
583 if (!absorbed) {
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");
595 lua_remove(L, -2);
596 } else {
597 lua_pushnil(L);
599 lua_insert(L, -2);
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);
604 lua_pop(L, 1);
606 if (!absorbed) {
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");
618 lua_remove(L, -2);
619 } else {
620 lua_pushnil(L);
622 lua_insert(L, -2);
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);
627 lua_pop(L, 1);
629 if (!absorbed) {
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");
641 lua_remove(L, -2);
642 } else {
643 lua_pushnil(L);
645 lua_insert(L, -2);
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);
650 lua_pop(L, 1);
652 if (!absorbed) {
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");
664 lua_remove(L, -2);
665 } else {
666 lua_pushnil(L);
668 lua_insert(L, -2);
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);
673 lua_pop(L, 1);
675 if (!absorbed) {
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");
687 lua_remove(L, -2);
688 } else {
689 lua_pushnil(L);
691 lua_insert(L, -2);
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);
696 lua_pop(L, 1);
698 if (!absorbed) {
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");
710 lua_remove(L, -2);
711 } else {
712 lua_pushnil(L);
714 lua_insert(L, -2);
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);
719 lua_pop(L, 1);
721 if (!absorbed) {
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");
733 lua_remove(L, -2);
734 } else {
735 lua_pushnil(L);
737 lua_insert(L, -2);
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);
742 lua_pop(L, 1);
744 if (!absorbed) {
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);
750 return ret;
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");
758 lua_remove(L, -2);
759 } else {
760 lua_pushnil(L);
762 lua_insert(L, -2);
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);
766 lua_pop(L, 1);
768 if (!absorbed) {
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);
774 return ret;
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");
782 lua_remove(L, -2);
783 } else {
784 lua_pushnil(L);
786 lua_insert(L, -2);
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);
791 lua_pop(L, 1);
793 if (!absorbed) {
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");
805 lua_remove(L, -2);
806 } else {
807 lua_pushnil(L);
809 lua_insert(L, -2);
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);
814 lua_pop(L, 1);
816 if (!absorbed) {
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");
828 lua_remove(L, -2);
829 } else {
830 lua_pushnil(L);
832 lua_insert(L, -2);
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);
837 lua_pop(L, 1);
839 if (!absorbed) {
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");
851 lua_remove(L, -2);
852 } else {
853 lua_pushnil(L);
855 lua_insert(L, -2);
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);
860 lua_pop(L, 1);
862 if (!absorbed) {
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");
874 lua_remove(L, -2);
875 } else {
876 lua_pushnil(L);
878 lua_insert(L, -2);
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);
883 lua_pop(L, 1);
885 if (!absorbed) {
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");
897 lua_remove(L, -2);
898 } else {
899 lua_pushnil(L);
901 lua_insert(L, -2);
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);
906 lua_pop(L, 1);
908 if (!absorbed) {
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");
920 lua_remove(L, -2);
921 } else {
922 lua_pushnil(L);
924 lua_insert(L, -2);
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);
929 lua_pop(L, 1);
931 if (!absorbed) {
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");
943 lua_remove(L, -2);
944 } else {
945 lua_pushnil(L);
947 lua_insert(L, -2);
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);
952 lua_pop(L, 1);
954 if (!absorbed) {
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");
966 lua_remove(L, -2);
967 } else {
968 lua_pushnil(L);
970 lua_insert(L, -2);
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);
975 lua_pop(L, 1);
977 if (!absorbed) {
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");
989 lua_remove(L, -2);
990 } else {
991 lua_pushnil(L);
993 lua_insert(L, -2);
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);
998 lua_pop(L, 1);
1000 if (!absorbed) {
1001 lua_settop(L, oldtop);
1002 return this->QWidget::heightForWidth(arg1);
1004 int ret = lua_tointeger(L, -1);
1005 lua_settop(L, oldtop);
1006 return ret;
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");
1014 lua_remove(L, -2);
1015 } else {
1016 lua_pushnil(L);
1018 lua_insert(L, -2);
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);
1023 lua_pop(L, 1);
1025 if (!absorbed) {
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");
1037 lua_remove(L, -2);
1038 } else {
1039 lua_pushnil(L);
1041 lua_insert(L, -2);
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);
1046 lua_pop(L, 1);
1048 if (!absorbed) {
1049 lua_settop(L, oldtop);
1050 return this->QWidget::metric(arg1);
1052 int ret = lua_tointeger(L, -1);
1053 lua_settop(L, oldtop);
1054 return ret;
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");
1062 lua_remove(L, -2);
1063 } else {
1064 lua_pushnil(L);
1066 lua_insert(L, -2);
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);
1071 lua_pop(L, 1);
1073 if (!absorbed) {
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");
1085 lua_remove(L, -2);
1086 } else {
1087 lua_pushnil(L);
1089 lua_insert(L, -2);
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);
1094 lua_pop(L, 1);
1096 if (!absorbed) {
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");
1108 lua_remove(L, -2);
1109 } else {
1110 lua_pushnil(L);
1112 lua_insert(L, -2);
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);
1117 lua_pop(L, 1);
1119 if (!absorbed) {
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");
1131 lua_remove(L, -2);
1132 } else {
1133 lua_pushnil(L);
1135 lua_insert(L, -2);
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);
1140 lua_pop(L, 1);
1142 if (!absorbed) {
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");
1154 lua_remove(L, -2);
1155 } else {
1156 lua_pushnil(L);
1158 lua_insert(L, -2);
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);
1163 lua_pop(L, 1);
1165 if (!absorbed) {
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");
1177 lua_remove(L, -2);
1178 } else {
1179 lua_pushnil(L);
1181 lua_insert(L, -2);
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);
1186 lua_pop(L, 1);
1188 if (!absorbed) {
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");
1200 lua_remove(L, -2);
1201 } else {
1202 lua_pushnil(L);
1204 lua_insert(L, -2);
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);
1209 lua_pop(L, 1);
1211 if (!absorbed) {
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");
1223 lua_remove(L, -2);
1224 } else {
1225 lua_pushnil(L);
1227 lua_insert(L, -2);
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);
1233 lua_pop(L, 1);
1235 if (!absorbed) {
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);
1241 return ret;
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");
1249 lua_remove(L, -2);
1250 } else {
1251 lua_pushnil(L);
1253 lua_insert(L, -2);
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);
1258 lua_pop(L, 1);
1260 if (!absorbed) {
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");
1272 lua_remove(L, -2);
1273 } else {
1274 lua_pushnil(L);
1276 lua_insert(L, -2);
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);
1281 lua_pop(L, 1);
1283 if (!absorbed) {
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");
1295 lua_remove(L, -2);
1296 } else {
1297 lua_pushnil(L);
1299 lua_insert(L, -2);
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);
1304 lua_pop(L, 1);
1306 if (!absorbed) {
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");
1318 lua_remove(L, -2);
1319 } else {
1320 lua_pushnil(L);
1322 lua_insert(L, -2);
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);
1327 lua_pop(L, 1);
1329 if (!absorbed) {
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");
1341 lua_remove(L, -2);
1342 } else {
1343 lua_pushnil(L);
1345 lua_insert(L, -2);
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);
1349 lua_pop(L, 1);
1351 if (!absorbed) {
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");
1363 lua_remove(L, -2);
1364 } else {
1365 lua_pushnil(L);
1367 lua_insert(L, -2);
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);
1372 lua_pop(L, 1);
1374 if (!absorbed) {
1375 lua_settop(L, oldtop);
1376 return this->QAbstractScrollArea::event(arg1);
1378 bool ret = (bool)lua_toboolean(L, -1);
1379 lua_settop(L, oldtop);
1380 return ret;
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");
1388 lua_remove(L, -2);
1389 } else {
1390 lua_pushnil(L);
1392 lua_insert(L, -2);
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);
1397 lua_pop(L, 1);
1399 if (!absorbed) {
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");
1411 lua_remove(L, -2);
1412 } else {
1413 lua_pushnil(L);
1415 lua_insert(L, -2);
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);
1420 lua_pop(L, 1);
1422 if (!absorbed) {
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");
1434 lua_remove(L, -2);
1435 } else {
1436 lua_pushnil(L);
1438 lua_insert(L, -2);
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);
1444 lua_pop(L, 1);
1446 if (!absorbed) {
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");
1458 lua_remove(L, -2);
1459 } else {
1460 lua_pushnil(L);
1462 lua_insert(L, -2);
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);
1467 lua_pop(L, 1);
1469 if (!absorbed) {
1470 lua_settop(L, oldtop);
1471 return this->QAbstractScrollArea::viewportEvent(arg1);
1473 bool ret = (bool)lua_toboolean(L, -1);
1474 lua_settop(L, oldtop);
1475 return ret;
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");
1483 lua_remove(L, -2);
1484 } else {
1485 lua_pushnil(L);
1487 lua_insert(L, -2);
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);
1492 lua_pop(L, 1);
1494 if (!absorbed) {
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");
1506 lua_remove(L, -2);
1507 } else {
1508 lua_pushnil(L);
1510 lua_insert(L, -2);
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);
1514 lua_pop(L, 1);
1516 if (!absorbed) {
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);
1522 return ret;
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");
1530 lua_remove(L, -2);
1531 } else {
1532 lua_pushnil(L);
1534 lua_insert(L, -2);
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);
1539 lua_pop(L, 1);
1541 if (!absorbed) {
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)) {
1553 lua_insert(L, -2);
1554 lua_pcall(L, 1, 1, 0);
1555 } else {
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");
1605 lua_newtable(L);
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");
1624 } else {
1625 lua_pop(L, 1);
1627 return 0;