1 #include "lqt_bind_QToolBar.hpp"
3 int LuaBinder
< QToolBar
>::__LuaWrapCall__isFloating (lua_State
*L
) {
4 QToolBar
*& __lua__obj
= *static_cast<QToolBar
**>(lqtL_checkudata(L
, 1, "QToolBar*"));
6 lua_pushstring(L
, "trying to reference deleted pointer");
10 bool ret
= __lua__obj
->QToolBar::isFloating();
11 lua_pushboolean(L
, ret
);
14 int LuaBinder
< QToolBar
>::__LuaWrapCall__isMovable (lua_State
*L
) {
15 QToolBar
*& __lua__obj
= *static_cast<QToolBar
**>(lqtL_checkudata(L
, 1, "QToolBar*"));
17 lua_pushstring(L
, "trying to reference deleted pointer");
21 bool ret
= __lua__obj
->QToolBar::isMovable();
22 lua_pushboolean(L
, ret
);
25 int LuaBinder
< QToolBar
>::__LuaWrapCall__addSeparator (lua_State
*L
) {
26 QToolBar
*& __lua__obj
= *static_cast<QToolBar
**>(lqtL_checkudata(L
, 1, "QToolBar*"));
28 lua_pushstring(L
, "trying to reference deleted pointer");
32 QAction
* ret
= __lua__obj
->QToolBar::addSeparator();
33 lqtL_pushudata(L
, ret
, "QAction*");
36 int LuaBinder
< QToolBar
>::__LuaWrapCall__delete (lua_State
*L
) {
37 QToolBar
*& __lua__obj
= *static_cast<QToolBar
**>(lqtL_checkudata(L
, 1, "QToolBar*"));
39 lua_pushstring(L
, "trying to reference deleted pointer");
47 int LuaBinder
< QToolBar
>::__LuaWrapCall__insertSeparator (lua_State
*L
) {
48 QToolBar
*& __lua__obj
= *static_cast<QToolBar
**>(lqtL_checkudata(L
, 1, "QToolBar*"));
50 lua_pushstring(L
, "trying to reference deleted pointer");
54 QAction
* arg1
= *static_cast<QAction
**>(lqtL_checkudata(L
, 2, "QAction*"));
55 QAction
* ret
= __lua__obj
->QToolBar::insertSeparator(arg1
);
56 lqtL_pushudata(L
, ret
, "QAction*");
59 int LuaBinder
< QToolBar
>::__LuaWrapCall__setOrientation (lua_State
*L
) {
60 QToolBar
*& __lua__obj
= *static_cast<QToolBar
**>(lqtL_checkudata(L
, 1, "QToolBar*"));
62 lua_pushstring(L
, "trying to reference deleted pointer");
66 Qt::Orientation arg1
= static_cast<Qt::Orientation
>(lqtL_toenum(L
, 2, "Qt::Orientation"));
67 __lua__obj
->QToolBar::setOrientation(arg1
);
70 int LuaBinder
< QToolBar
>::__LuaWrapCall__setToolButtonStyle (lua_State
*L
) {
71 QToolBar
*& __lua__obj
= *static_cast<QToolBar
**>(lqtL_checkudata(L
, 1, "QToolBar*"));
73 lua_pushstring(L
, "trying to reference deleted pointer");
77 Qt::ToolButtonStyle arg1
= static_cast<Qt::ToolButtonStyle
>(lqtL_toenum(L
, 2, "Qt::ToolButtonStyle"));
78 __lua__obj
->QToolBar::setToolButtonStyle(arg1
);
81 int LuaBinder
< QToolBar
>::__LuaWrapCall__insertWidget (lua_State
*L
) {
82 QToolBar
*& __lua__obj
= *static_cast<QToolBar
**>(lqtL_checkudata(L
, 1, "QToolBar*"));
84 lua_pushstring(L
, "trying to reference deleted pointer");
88 QAction
* arg1
= *static_cast<QAction
**>(lqtL_checkudata(L
, 2, "QAction*"));
89 QWidget
* arg2
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 3, "QWidget*"));
90 QAction
* ret
= __lua__obj
->QToolBar::insertWidget(arg1
, arg2
);
91 lqtL_pushudata(L
, ret
, "QAction*");
94 int LuaBinder
< QToolBar
>::__LuaWrapCall__setIconSize (lua_State
*L
) {
95 QToolBar
*& __lua__obj
= *static_cast<QToolBar
**>(lqtL_checkudata(L
, 1, "QToolBar*"));
97 lua_pushstring(L
, "trying to reference deleted pointer");
101 const QSize
& arg1
= **static_cast<QSize
**>(lqtL_checkudata(L
, 2, "QSize*"));
102 __lua__obj
->QToolBar::setIconSize(arg1
);
105 int LuaBinder
< QToolBar
>::__LuaWrapCall__trUtf8__OverloadedVersion__1 (lua_State
*L
) {
106 const char * arg1
= lua_tostring(L
, 1);
107 const char * arg2
= (lua_type(L
, 2)==LUA_TSTRING
)?lua_tostring(L
, 2):static_cast< const char * >(0);
108 QString ret
= QToolBar::trUtf8(arg1
, arg2
);
109 lua_pushlstring(L
, ret
.toAscii().data(), ret
.toAscii().size());
112 int LuaBinder
< QToolBar
>::__LuaWrapCall__trUtf8__OverloadedVersion__2 (lua_State
*L
) {
113 const char * arg1
= lua_tostring(L
, 1);
114 const char * arg2
= lua_tostring(L
, 2);
115 int arg3
= lua_tointeger(L
, 3);
116 QString ret
= QToolBar::trUtf8(arg1
, arg2
, arg3
);
117 lua_pushlstring(L
, ret
.toAscii().data(), ret
.toAscii().size());
120 int LuaBinder
< QToolBar
>::__LuaWrapCall__trUtf8 (lua_State
*L
) {
122 const int premium
= 11+lua_gettop(L
);
124 if ((lua_type(L
, 1)==LUA_TSTRING
)) {
127 score
[1] += premium
-1; // table: 0x12d0c00;
129 score
[1] -= premium
*premium
;
131 if ((lua_type(L
, 2)==LUA_TSTRING
)) {
134 score
[1] += premium
-1; // table: 0x12d0760;
136 score
[1] -= premium
*premium
;
139 if ((lua_type(L
, 1)==LUA_TSTRING
)) {
142 score
[2] += premium
-1; // table: 0x12d29f0;
144 score
[2] -= premium
*premium
;
146 if ((lua_type(L
, 2)==LUA_TSTRING
)) {
149 score
[2] += premium
-1; // table: 0x12d2120;
151 score
[2] -= premium
*premium
;
153 if (lua_isnumber(L
, 3)) {
156 score
[2] += premium
-1; // table: 0x12d2e80;
158 score
[2] -= premium
*premium
;
161 for (int i
=1;i
<=2;i
++) {
162 if (score
[best
] < score
[i
]) { best
= i
; }
165 case 1: return __LuaWrapCall__trUtf8__OverloadedVersion__1(L
); break;
166 case 2: return __LuaWrapCall__trUtf8__OverloadedVersion__2(L
); break;
168 lua_pushstring(L
, "no overload of function __LuaWrapCall__trUtf8 matching arguments");
172 int LuaBinder
< QToolBar
>::__LuaWrapCall__actionAt__OverloadedVersion__1 (lua_State
*L
) {
173 QToolBar
*& __lua__obj
= *static_cast<QToolBar
**>(lqtL_checkudata(L
, 1, "QToolBar*"));
175 lua_pushstring(L
, "trying to reference deleted pointer");
179 const QPoint
& arg1
= **static_cast<QPoint
**>(lqtL_checkudata(L
, 2, "QPoint*"));
180 QAction
* ret
= __lua__obj
->QToolBar::actionAt(arg1
);
181 lqtL_pushudata(L
, ret
, "QAction*");
184 int LuaBinder
< QToolBar
>::__LuaWrapCall__actionAt__OverloadedVersion__2 (lua_State
*L
) {
185 QToolBar
*& __lua__obj
= *static_cast<QToolBar
**>(lqtL_checkudata(L
, 1, "QToolBar*"));
187 lua_pushstring(L
, "trying to reference deleted pointer");
191 int arg1
= lua_tointeger(L
, 2);
192 int arg2
= lua_tointeger(L
, 3);
193 QAction
* ret
= __lua__obj
->QToolBar::actionAt(arg1
, arg2
);
194 lqtL_pushudata(L
, ret
, "QAction*");
197 int LuaBinder
< QToolBar
>::__LuaWrapCall__actionAt (lua_State
*L
) {
199 const int premium
= 11+lua_gettop(L
);
201 score
[1] += lqtL_testudata(L
, 1, "QToolBar*")?premium
:-premium
*premium
;
202 if (lqtL_testudata(L
, 2, "QPoint*")) {
205 score
[1] += premium
-1; // table: 0x12e28a0;
207 score
[1] -= premium
*premium
;
210 score
[2] += lqtL_testudata(L
, 1, "QToolBar*")?premium
:-premium
*premium
;
211 if (lua_isnumber(L
, 2)) {
214 score
[2] += premium
-1; // table: 0x12e3310;
216 score
[2] -= premium
*premium
;
218 if (lua_isnumber(L
, 3)) {
221 score
[2] += premium
-1; // table: 0x12e3820;
223 score
[2] -= premium
*premium
;
226 for (int i
=1;i
<=2;i
++) {
227 if (score
[best
] < score
[i
]) { best
= i
; }
230 case 1: return __LuaWrapCall__actionAt__OverloadedVersion__1(L
); break;
231 case 2: return __LuaWrapCall__actionAt__OverloadedVersion__2(L
); break;
233 lua_pushstring(L
, "no overload of function __LuaWrapCall__actionAt matching arguments");
237 int LuaBinder
< QToolBar
>::__LuaWrapCall__metaObject (lua_State
*L
) {
238 QToolBar
*& __lua__obj
= *static_cast<QToolBar
**>(lqtL_checkudata(L
, 1, "QToolBar*"));
240 lua_pushstring(L
, "trying to reference deleted pointer");
244 const QMetaObject
* ret
= __lua__obj
->QToolBar::metaObject();
245 lqtL_pushudata(L
, ret
, "QMetaObject*");
248 int LuaBinder
< QToolBar
>::__LuaWrapCall__new__OverloadedVersion__1 (lua_State
*L
) {
249 const QString
& arg1
= QString::fromAscii(lua_tostring(L
, 1), lua_objlen(L
, 1));
250 QWidget
* arg2
= lqtL_testudata(L
, 2, "QWidget*")?*static_cast<QWidget
**>(lqtL_checkudata(L
, 2, "QWidget*")):static_cast< QWidget
* >(0);
251 QToolBar
* ret
= new LuaBinder
< QToolBar
>(L
, arg1
, arg2
);
252 lqtL_passudata(L
, ret
, "QToolBar*");
255 int LuaBinder
< QToolBar
>::__LuaWrapCall__new__OverloadedVersion__2 (lua_State
*L
) {
256 QWidget
* arg1
= lqtL_testudata(L
, 1, "QWidget*")?*static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*")):static_cast< QWidget
* >(0);
257 QToolBar
* ret
= new LuaBinder
< QToolBar
>(L
, arg1
);
258 lqtL_passudata(L
, ret
, "QToolBar*");
261 int LuaBinder
< QToolBar
>::__LuaWrapCall__new (lua_State
*L
) {
263 const int premium
= 11+lua_gettop(L
);
265 if ((lua_type(L
, 1)==LUA_TSTRING
)) {
268 score
[1] += premium
-1; // table: 0x12d4ab0;
270 score
[1] -= premium
*premium
;
272 if (lqtL_testudata(L
, 2, "QWidget*")) {
275 score
[1] += premium
-1; // table: 0x12d47e0;
277 score
[1] -= premium
*premium
;
280 if (lqtL_testudata(L
, 1, "QWidget*")) {
283 score
[2] += premium
-1; // table: 0x12d5920;
285 score
[2] -= premium
*premium
;
288 for (int i
=1;i
<=2;i
++) {
289 if (score
[best
] < score
[i
]) { best
= i
; }
292 case 1: return __LuaWrapCall__new__OverloadedVersion__1(L
); break;
293 case 2: return __LuaWrapCall__new__OverloadedVersion__2(L
); break;
295 lua_pushstring(L
, "no overload of function __LuaWrapCall__new matching arguments");
299 int LuaBinder
< QToolBar
>::__LuaWrapCall__clear (lua_State
*L
) {
300 QToolBar
*& __lua__obj
= *static_cast<QToolBar
**>(lqtL_checkudata(L
, 1, "QToolBar*"));
302 lua_pushstring(L
, "trying to reference deleted pointer");
306 __lua__obj
->QToolBar::clear();
309 int LuaBinder
< QToolBar
>::__LuaWrapCall__isAreaAllowed (lua_State
*L
) {
310 QToolBar
*& __lua__obj
= *static_cast<QToolBar
**>(lqtL_checkudata(L
, 1, "QToolBar*"));
312 lua_pushstring(L
, "trying to reference deleted pointer");
316 Qt::ToolBarArea arg1
= static_cast<Qt::ToolBarArea
>(lqtL_toenum(L
, 2, "Qt::ToolBarArea"));
317 bool ret
= __lua__obj
->QToolBar::isAreaAllowed(arg1
);
318 lua_pushboolean(L
, ret
);
321 int LuaBinder
< QToolBar
>::__LuaWrapCall__widgetForAction (lua_State
*L
) {
322 QToolBar
*& __lua__obj
= *static_cast<QToolBar
**>(lqtL_checkudata(L
, 1, "QToolBar*"));
324 lua_pushstring(L
, "trying to reference deleted pointer");
328 QAction
* arg1
= *static_cast<QAction
**>(lqtL_checkudata(L
, 2, "QAction*"));
329 QWidget
* ret
= __lua__obj
->QToolBar::widgetForAction(arg1
);
330 lqtL_pushudata(L
, ret
, "QWidget*");
333 int LuaBinder
< QToolBar
>::__LuaWrapCall__tr__OverloadedVersion__1 (lua_State
*L
) {
334 const char * arg1
= lua_tostring(L
, 1);
335 const char * arg2
= (lua_type(L
, 2)==LUA_TSTRING
)?lua_tostring(L
, 2):static_cast< const char * >(0);
336 QString ret
= QToolBar::tr(arg1
, arg2
);
337 lua_pushlstring(L
, ret
.toAscii().data(), ret
.toAscii().size());
340 int LuaBinder
< QToolBar
>::__LuaWrapCall__tr__OverloadedVersion__2 (lua_State
*L
) {
341 const char * arg1
= lua_tostring(L
, 1);
342 const char * arg2
= lua_tostring(L
, 2);
343 int arg3
= lua_tointeger(L
, 3);
344 QString ret
= QToolBar::tr(arg1
, arg2
, arg3
);
345 lua_pushlstring(L
, ret
.toAscii().data(), ret
.toAscii().size());
348 int LuaBinder
< QToolBar
>::__LuaWrapCall__tr (lua_State
*L
) {
350 const int premium
= 11+lua_gettop(L
);
352 if ((lua_type(L
, 1)==LUA_TSTRING
)) {
355 score
[1] += premium
-1; // table: 0x12cfea0;
357 score
[1] -= premium
*premium
;
359 if ((lua_type(L
, 2)==LUA_TSTRING
)) {
362 score
[1] += premium
-1; // table: 0x12cfc00;
364 score
[1] -= premium
*premium
;
367 if ((lua_type(L
, 1)==LUA_TSTRING
)) {
370 score
[2] += premium
-1; // table: 0x12d18e0;
372 score
[2] -= premium
*premium
;
374 if ((lua_type(L
, 2)==LUA_TSTRING
)) {
377 score
[2] += premium
-1; // table: 0x12d1dd0;
379 score
[2] -= premium
*premium
;
381 if (lua_isnumber(L
, 3)) {
384 score
[2] += premium
-1; // table: 0x12d2180;
386 score
[2] -= premium
*premium
;
389 for (int i
=1;i
<=2;i
++) {
390 if (score
[best
] < score
[i
]) { best
= i
; }
393 case 1: return __LuaWrapCall__tr__OverloadedVersion__1(L
); break;
394 case 2: return __LuaWrapCall__tr__OverloadedVersion__2(L
); break;
396 lua_pushstring(L
, "no overload of function __LuaWrapCall__tr matching arguments");
400 int LuaBinder
< QToolBar
>::__LuaWrapCall__setAllowedAreas (lua_State
*L
) {
401 QToolBar
*& __lua__obj
= *static_cast<QToolBar
**>(lqtL_checkudata(L
, 1, "QToolBar*"));
403 lua_pushstring(L
, "trying to reference deleted pointer");
407 QFlags
<Qt::ToolBarArea
> arg1
= **static_cast<QFlags
<Qt::ToolBarArea
>**>(lqtL_checkudata(L
, 2, "QFlags<Qt::ToolBarArea>*"));
408 __lua__obj
->QToolBar::setAllowedAreas(arg1
);
411 int LuaBinder
< QToolBar
>::__LuaWrapCall__setMovable (lua_State
*L
) {
412 QToolBar
*& __lua__obj
= *static_cast<QToolBar
**>(lqtL_checkudata(L
, 1, "QToolBar*"));
414 lua_pushstring(L
, "trying to reference deleted pointer");
418 bool arg1
= (bool)lua_toboolean(L
, 2);
419 __lua__obj
->QToolBar::setMovable(arg1
);
422 int LuaBinder
< QToolBar
>::__LuaWrapCall__allowedAreas (lua_State
*L
) {
423 QToolBar
*& __lua__obj
= *static_cast<QToolBar
**>(lqtL_checkudata(L
, 1, "QToolBar*"));
425 lua_pushstring(L
, "trying to reference deleted pointer");
429 QFlags
<Qt::ToolBarArea
> ret
= __lua__obj
->QToolBar::allowedAreas();
430 lqtL_passudata(L
, new QFlags
<Qt::ToolBarArea
>(ret
), "QFlags<Qt::ToolBarArea>*");
433 int LuaBinder
< QToolBar
>::__LuaWrapCall__isFloatable (lua_State
*L
) {
434 QToolBar
*& __lua__obj
= *static_cast<QToolBar
**>(lqtL_checkudata(L
, 1, "QToolBar*"));
436 lua_pushstring(L
, "trying to reference deleted pointer");
440 bool ret
= __lua__obj
->QToolBar::isFloatable();
441 lua_pushboolean(L
, ret
);
444 int LuaBinder
< QToolBar
>::__LuaWrapCall__toolButtonStyle (lua_State
*L
) {
445 QToolBar
*& __lua__obj
= *static_cast<QToolBar
**>(lqtL_checkudata(L
, 1, "QToolBar*"));
447 lua_pushstring(L
, "trying to reference deleted pointer");
451 Qt::ToolButtonStyle ret
= __lua__obj
->QToolBar::toolButtonStyle();
452 lqtL_pushenum(L
, ret
, "Qt::ToolButtonStyle");
455 int LuaBinder
< QToolBar
>::__LuaWrapCall__addAction__OverloadedVersion__1 (lua_State
*L
) {
456 QToolBar
*& __lua__obj
= *static_cast<QToolBar
**>(lqtL_checkudata(L
, 1, "QToolBar*"));
458 lua_pushstring(L
, "trying to reference deleted pointer");
462 const QString
& arg1
= QString::fromAscii(lua_tostring(L
, 2), lua_objlen(L
, 2));
463 QAction
* ret
= __lua__obj
->QToolBar::addAction(arg1
);
464 lqtL_pushudata(L
, ret
, "QAction*");
467 int LuaBinder
< QToolBar
>::__LuaWrapCall__addAction__OverloadedVersion__2 (lua_State
*L
) {
468 QToolBar
*& __lua__obj
= *static_cast<QToolBar
**>(lqtL_checkudata(L
, 1, "QToolBar*"));
470 lua_pushstring(L
, "trying to reference deleted pointer");
474 const QIcon
& arg1
= **static_cast<QIcon
**>(lqtL_checkudata(L
, 2, "QIcon*"));
475 const QString
& arg2
= QString::fromAscii(lua_tostring(L
, 3), lua_objlen(L
, 3));
476 QAction
* ret
= __lua__obj
->QToolBar::addAction(arg1
, arg2
);
477 lqtL_pushudata(L
, ret
, "QAction*");
480 int LuaBinder
< QToolBar
>::__LuaWrapCall__addAction__OverloadedVersion__3 (lua_State
*L
) {
481 QToolBar
*& __lua__obj
= *static_cast<QToolBar
**>(lqtL_checkudata(L
, 1, "QToolBar*"));
483 lua_pushstring(L
, "trying to reference deleted pointer");
487 const QString
& arg1
= QString::fromAscii(lua_tostring(L
, 2), lua_objlen(L
, 2));
488 const QObject
* arg2
= *static_cast<QObject
**>(lqtL_checkudata(L
, 3, "QObject*"));
489 const char * arg3
= lua_tostring(L
, 4);
490 QAction
* ret
= __lua__obj
->QToolBar::addAction(arg1
, arg2
, arg3
);
491 lqtL_pushudata(L
, ret
, "QAction*");
494 int LuaBinder
< QToolBar
>::__LuaWrapCall__addAction__OverloadedVersion__4 (lua_State
*L
) {
495 QToolBar
*& __lua__obj
= *static_cast<QToolBar
**>(lqtL_checkudata(L
, 1, "QToolBar*"));
497 lua_pushstring(L
, "trying to reference deleted pointer");
501 const QIcon
& arg1
= **static_cast<QIcon
**>(lqtL_checkudata(L
, 2, "QIcon*"));
502 const QString
& arg2
= QString::fromAscii(lua_tostring(L
, 3), lua_objlen(L
, 3));
503 const QObject
* arg3
= *static_cast<QObject
**>(lqtL_checkudata(L
, 4, "QObject*"));
504 const char * arg4
= lua_tostring(L
, 5);
505 QAction
* ret
= __lua__obj
->QToolBar::addAction(arg1
, arg2
, arg3
, arg4
);
506 lqtL_pushudata(L
, ret
, "QAction*");
509 int LuaBinder
< QToolBar
>::__LuaWrapCall__addAction (lua_State
*L
) {
511 const int premium
= 11+lua_gettop(L
);
513 score
[1] += lqtL_testudata(L
, 1, "QToolBar*")?premium
:-premium
*premium
;
514 if ((lua_type(L
, 2)==LUA_TSTRING
)) {
517 score
[1] += premium
-1; // table: 0x12db440;
519 score
[1] -= premium
*premium
;
522 score
[2] += lqtL_testudata(L
, 1, "QToolBar*")?premium
:-premium
*premium
;
523 if (lqtL_testudata(L
, 2, "QIcon*")) {
526 score
[2] += premium
-1; // table: 0x12dbe70;
528 score
[2] -= premium
*premium
;
530 if ((lua_type(L
, 3)==LUA_TSTRING
)) {
533 score
[2] += premium
-1; // table: 0x12db960;
535 score
[2] -= premium
*premium
;
538 score
[3] += lqtL_testudata(L
, 1, "QToolBar*")?premium
:-premium
*premium
;
539 if ((lua_type(L
, 2)==LUA_TSTRING
)) {
542 score
[3] += premium
-1; // table: 0x12dccb0;
544 score
[3] -= premium
*premium
;
546 if (lqtL_testudata(L
, 3, "QObject*")) {
549 score
[3] += premium
-1; // table: 0x12dc740;
551 score
[3] -= premium
*premium
;
553 if ((lua_type(L
, 4)==LUA_TSTRING
)) {
556 score
[3] += premium
-1; // table: 0x12dd160;
558 score
[3] -= premium
*premium
;
561 score
[4] += lqtL_testudata(L
, 1, "QToolBar*")?premium
:-premium
*premium
;
562 if (lqtL_testudata(L
, 2, "QIcon*")) {
565 score
[4] += premium
-1; // table: 0x12ddf00;
567 score
[4] -= premium
*premium
;
569 if ((lua_type(L
, 3)==LUA_TSTRING
)) {
572 score
[4] += premium
-1; // table: 0x12dd520;
574 score
[4] -= premium
*premium
;
576 if (lqtL_testudata(L
, 4, "QObject*")) {
579 score
[4] += premium
-1; // table: 0x12de3b0;
581 score
[4] -= premium
*premium
;
583 if ((lua_type(L
, 5)==LUA_TSTRING
)) {
586 score
[4] += premium
-1; // table: 0x12dec10;
588 score
[4] -= premium
*premium
;
591 for (int i
=1;i
<=4;i
++) {
592 if (score
[best
] < score
[i
]) { best
= i
; }
595 case 1: return __LuaWrapCall__addAction__OverloadedVersion__1(L
); break;
596 case 2: return __LuaWrapCall__addAction__OverloadedVersion__2(L
); break;
597 case 3: return __LuaWrapCall__addAction__OverloadedVersion__3(L
); break;
598 case 4: return __LuaWrapCall__addAction__OverloadedVersion__4(L
); break;
600 lua_pushstring(L
, "no overload of function __LuaWrapCall__addAction matching arguments");
604 int LuaBinder
< QToolBar
>::__LuaWrapCall__iconSize (lua_State
*L
) {
605 QToolBar
*& __lua__obj
= *static_cast<QToolBar
**>(lqtL_checkudata(L
, 1, "QToolBar*"));
607 lua_pushstring(L
, "trying to reference deleted pointer");
611 QSize ret
= __lua__obj
->QToolBar::iconSize();
612 lqtL_passudata(L
, new QSize(ret
), "QSize*");
615 int LuaBinder
< QToolBar
>::__LuaWrapCall__addWidget (lua_State
*L
) {
616 QToolBar
*& __lua__obj
= *static_cast<QToolBar
**>(lqtL_checkudata(L
, 1, "QToolBar*"));
618 lua_pushstring(L
, "trying to reference deleted pointer");
622 QWidget
* arg1
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 2, "QWidget*"));
623 QAction
* ret
= __lua__obj
->QToolBar::addWidget(arg1
);
624 lqtL_pushudata(L
, ret
, "QAction*");
627 int LuaBinder
< QToolBar
>::__LuaWrapCall__orientation (lua_State
*L
) {
628 QToolBar
*& __lua__obj
= *static_cast<QToolBar
**>(lqtL_checkudata(L
, 1, "QToolBar*"));
630 lua_pushstring(L
, "trying to reference deleted pointer");
634 Qt::Orientation ret
= __lua__obj
->QToolBar::orientation();
635 lqtL_pushenum(L
, ret
, "Qt::Orientation");
638 int LuaBinder
< QToolBar
>::__LuaWrapCall__toggleViewAction (lua_State
*L
) {
639 QToolBar
*& __lua__obj
= *static_cast<QToolBar
**>(lqtL_checkudata(L
, 1, "QToolBar*"));
641 lua_pushstring(L
, "trying to reference deleted pointer");
645 QAction
* ret
= __lua__obj
->QToolBar::toggleViewAction();
646 lqtL_pushudata(L
, ret
, "QAction*");
649 int LuaBinder
< QToolBar
>::__LuaWrapCall__actionGeometry (lua_State
*L
) {
650 QToolBar
*& __lua__obj
= *static_cast<QToolBar
**>(lqtL_checkudata(L
, 1, "QToolBar*"));
652 lua_pushstring(L
, "trying to reference deleted pointer");
656 QAction
* arg1
= *static_cast<QAction
**>(lqtL_checkudata(L
, 2, "QAction*"));
657 QRect ret
= __lua__obj
->QToolBar::actionGeometry(arg1
);
658 lqtL_passudata(L
, new QRect(ret
), "QRect*");
661 int LuaBinder
< QToolBar
>::__LuaWrapCall__setFloatable (lua_State
*L
) {
662 QToolBar
*& __lua__obj
= *static_cast<QToolBar
**>(lqtL_checkudata(L
, 1, "QToolBar*"));
664 lua_pushstring(L
, "trying to reference deleted pointer");
668 bool arg1
= (bool)lua_toboolean(L
, 2);
669 __lua__obj
->QToolBar::setFloatable(arg1
);
672 void LuaBinder
< QToolBar
>::styleChange (QStyle
& arg1
) {
673 bool absorbed
= false;
674 int oldtop
= lua_gettop(L
);
675 lqtL_pushudata(L
, this, "QToolBar*");
676 if (lua_getmetatable(L
, -1)) {
677 lua_getfield(L
, -1, "styleChange");
683 lqtL_pushudata(L
, &(arg1
), "QStyle*");
684 if (lua_isfunction(L
, -1-2)) {
685 lua_pcall(L
, 1+1, 2, 0);
686 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
690 lua_settop(L
, oldtop
);
691 this->QWidget::styleChange(arg1
);
693 lua_settop(L
, oldtop
);
695 void LuaBinder
< QToolBar
>::focusInEvent (QFocusEvent
* arg1
) {
696 bool absorbed
= false;
697 int oldtop
= lua_gettop(L
);
698 lqtL_pushudata(L
, this, "QToolBar*");
699 if (lua_getmetatable(L
, -1)) {
700 lua_getfield(L
, -1, "focusInEvent");
706 lqtL_pushudata(L
, arg1
, "QFocusEvent*");
707 if (lua_isfunction(L
, -1-2)) {
708 lua_pcall(L
, 1+1, 2, 0);
709 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
713 lua_settop(L
, oldtop
);
714 this->QWidget::focusInEvent(arg1
);
716 lua_settop(L
, oldtop
);
718 void LuaBinder
< QToolBar
>::keyPressEvent (QKeyEvent
* arg1
) {
719 bool absorbed
= false;
720 int oldtop
= lua_gettop(L
);
721 lqtL_pushudata(L
, this, "QToolBar*");
722 if (lua_getmetatable(L
, -1)) {
723 lua_getfield(L
, -1, "keyPressEvent");
729 lqtL_pushudata(L
, arg1
, "QKeyEvent*");
730 if (lua_isfunction(L
, -1-2)) {
731 lua_pcall(L
, 1+1, 2, 0);
732 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
736 lua_settop(L
, oldtop
);
737 this->QWidget::keyPressEvent(arg1
);
739 lua_settop(L
, oldtop
);
741 const QMetaObject
* LuaBinder
< QToolBar
>::metaObject () const {
742 bool absorbed
= false;
743 int oldtop
= lua_gettop(L
);
744 lqtL_pushudata(L
, this, "QToolBar*");
745 if (lua_getmetatable(L
, -1)) {
746 lua_getfield(L
, -1, "metaObject");
752 if (lua_isfunction(L
, -0-2)) {
753 lua_pcall(L
, 0+1, 2, 0);
754 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
758 lua_settop(L
, oldtop
);
759 return this->QToolBar::metaObject();
761 const QMetaObject
* ret
= *static_cast<QMetaObject
**>(lqtL_checkudata(L
, -1, "QMetaObject*"));
762 lua_settop(L
, oldtop
);
765 int LuaBinder
< QToolBar
>::devType () const {
766 bool absorbed
= false;
767 int oldtop
= lua_gettop(L
);
768 lqtL_pushudata(L
, this, "QToolBar*");
769 if (lua_getmetatable(L
, -1)) {
770 lua_getfield(L
, -1, "devType");
776 if (lua_isfunction(L
, -0-2)) {
777 lua_pcall(L
, 0+1, 2, 0);
778 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
782 lua_settop(L
, oldtop
);
783 return this->QWidget::devType();
785 int ret
= lua_tointeger(L
, -1);
786 lua_settop(L
, oldtop
);
789 void LuaBinder
< QToolBar
>::setVisible (bool arg1
) {
790 bool absorbed
= false;
791 int oldtop
= lua_gettop(L
);
792 lqtL_pushudata(L
, this, "QToolBar*");
793 if (lua_getmetatable(L
, -1)) {
794 lua_getfield(L
, -1, "setVisible");
800 lua_pushboolean(L
, arg1
);
801 if (lua_isfunction(L
, -1-2)) {
802 lua_pcall(L
, 1+1, 2, 0);
803 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
807 lua_settop(L
, oldtop
);
808 this->QWidget::setVisible(arg1
);
810 lua_settop(L
, oldtop
);
812 QVariant LuaBinder
< QToolBar
>::inputMethodQuery (Qt::InputMethodQuery arg1
) const {
813 bool absorbed
= false;
814 int oldtop
= lua_gettop(L
);
815 lqtL_pushudata(L
, this, "QToolBar*");
816 if (lua_getmetatable(L
, -1)) {
817 lua_getfield(L
, -1, "inputMethodQuery");
823 lqtL_pushenum(L
, arg1
, "Qt::InputMethodQuery");
824 if (lua_isfunction(L
, -1-2)) {
825 lua_pcall(L
, 1+1, 2, 0);
826 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
830 lua_settop(L
, oldtop
);
831 return this->QWidget::inputMethodQuery(arg1
);
833 QVariant ret
= **static_cast<QVariant
**>(lqtL_checkudata(L
, -1, "QVariant*"));
834 lua_settop(L
, oldtop
);
837 QPaintEngine
* LuaBinder
< QToolBar
>::paintEngine () const {
838 bool absorbed
= false;
839 int oldtop
= lua_gettop(L
);
840 lqtL_pushudata(L
, this, "QToolBar*");
841 if (lua_getmetatable(L
, -1)) {
842 lua_getfield(L
, -1, "paintEngine");
848 if (lua_isfunction(L
, -0-2)) {
849 lua_pcall(L
, 0+1, 2, 0);
850 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
854 lua_settop(L
, oldtop
);
855 return this->QWidget::paintEngine();
857 QPaintEngine
* ret
= *static_cast<QPaintEngine
**>(lqtL_checkudata(L
, -1, "QPaintEngine*"));
858 lua_settop(L
, oldtop
);
861 void LuaBinder
< QToolBar
>::dragLeaveEvent (QDragLeaveEvent
* arg1
) {
862 bool absorbed
= false;
863 int oldtop
= lua_gettop(L
);
864 lqtL_pushudata(L
, this, "QToolBar*");
865 if (lua_getmetatable(L
, -1)) {
866 lua_getfield(L
, -1, "dragLeaveEvent");
872 lqtL_pushudata(L
, arg1
, "QDragLeaveEvent*");
873 if (lua_isfunction(L
, -1-2)) {
874 lua_pcall(L
, 1+1, 2, 0);
875 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
879 lua_settop(L
, oldtop
);
880 this->QWidget::dragLeaveEvent(arg1
);
882 lua_settop(L
, oldtop
);
884 void LuaBinder
< QToolBar
>::mousePressEvent (QMouseEvent
* arg1
) {
885 bool absorbed
= false;
886 int oldtop
= lua_gettop(L
);
887 lqtL_pushudata(L
, this, "QToolBar*");
888 if (lua_getmetatable(L
, -1)) {
889 lua_getfield(L
, -1, "mousePressEvent");
895 lqtL_pushudata(L
, arg1
, "QMouseEvent*");
896 if (lua_isfunction(L
, -1-2)) {
897 lua_pcall(L
, 1+1, 2, 0);
898 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
902 lua_settop(L
, oldtop
);
903 this->QWidget::mousePressEvent(arg1
);
905 lua_settop(L
, oldtop
);
907 QSize LuaBinder
< QToolBar
>::sizeHint () const {
908 bool absorbed
= false;
909 int oldtop
= lua_gettop(L
);
910 lqtL_pushudata(L
, this, "QToolBar*");
911 if (lua_getmetatable(L
, -1)) {
912 lua_getfield(L
, -1, "sizeHint");
918 if (lua_isfunction(L
, -0-2)) {
919 lua_pcall(L
, 0+1, 2, 0);
920 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
924 lua_settop(L
, oldtop
);
925 return this->QWidget::sizeHint();
927 QSize ret
= **static_cast<QSize
**>(lqtL_checkudata(L
, -1, "QSize*"));
928 lua_settop(L
, oldtop
);
931 void LuaBinder
< QToolBar
>::moveEvent (QMoveEvent
* arg1
) {
932 bool absorbed
= false;
933 int oldtop
= lua_gettop(L
);
934 lqtL_pushudata(L
, this, "QToolBar*");
935 if (lua_getmetatable(L
, -1)) {
936 lua_getfield(L
, -1, "moveEvent");
942 lqtL_pushudata(L
, arg1
, "QMoveEvent*");
943 if (lua_isfunction(L
, -1-2)) {
944 lua_pcall(L
, 1+1, 2, 0);
945 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
949 lua_settop(L
, oldtop
);
950 this->QWidget::moveEvent(arg1
);
952 lua_settop(L
, oldtop
);
954 void LuaBinder
< QToolBar
>::tabletEvent (QTabletEvent
* arg1
) {
955 bool absorbed
= false;
956 int oldtop
= lua_gettop(L
);
957 lqtL_pushudata(L
, this, "QToolBar*");
958 if (lua_getmetatable(L
, -1)) {
959 lua_getfield(L
, -1, "tabletEvent");
965 lqtL_pushudata(L
, arg1
, "QTabletEvent*");
966 if (lua_isfunction(L
, -1-2)) {
967 lua_pcall(L
, 1+1, 2, 0);
968 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
972 lua_settop(L
, oldtop
);
973 this->QWidget::tabletEvent(arg1
);
975 lua_settop(L
, oldtop
);
977 void LuaBinder
< QToolBar
>::enterEvent (QEvent
* arg1
) {
978 bool absorbed
= false;
979 int oldtop
= lua_gettop(L
);
980 lqtL_pushudata(L
, this, "QToolBar*");
981 if (lua_getmetatable(L
, -1)) {
982 lua_getfield(L
, -1, "enterEvent");
988 lqtL_pushudata(L
, arg1
, "QEvent*");
989 if (lua_isfunction(L
, -1-2)) {
990 lua_pcall(L
, 1+1, 2, 0);
991 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
995 lua_settop(L
, oldtop
);
996 this->QWidget::enterEvent(arg1
);
998 lua_settop(L
, oldtop
);
1000 void LuaBinder
< QToolBar
>::closeEvent (QCloseEvent
* arg1
) {
1001 bool absorbed
= false;
1002 int oldtop
= lua_gettop(L
);
1003 lqtL_pushudata(L
, this, "QToolBar*");
1004 if (lua_getmetatable(L
, -1)) {
1005 lua_getfield(L
, -1, "closeEvent");
1011 lqtL_pushudata(L
, arg1
, "QCloseEvent*");
1012 if (lua_isfunction(L
, -1-2)) {
1013 lua_pcall(L
, 1+1, 2, 0);
1014 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1018 lua_settop(L
, oldtop
);
1019 this->QWidget::closeEvent(arg1
);
1021 lua_settop(L
, oldtop
);
1023 QSize LuaBinder
< QToolBar
>::minimumSizeHint () const {
1024 bool absorbed
= false;
1025 int oldtop
= lua_gettop(L
);
1026 lqtL_pushudata(L
, this, "QToolBar*");
1027 if (lua_getmetatable(L
, -1)) {
1028 lua_getfield(L
, -1, "minimumSizeHint");
1034 if (lua_isfunction(L
, -0-2)) {
1035 lua_pcall(L
, 0+1, 2, 0);
1036 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1040 lua_settop(L
, oldtop
);
1041 return this->QWidget::minimumSizeHint();
1043 QSize ret
= **static_cast<QSize
**>(lqtL_checkudata(L
, -1, "QSize*"));
1044 lua_settop(L
, oldtop
);
1047 void LuaBinder
< QToolBar
>::actionEvent (QActionEvent
* arg1
) {
1048 bool absorbed
= false;
1049 int oldtop
= lua_gettop(L
);
1050 lqtL_pushudata(L
, this, "QToolBar*");
1051 if (lua_getmetatable(L
, -1)) {
1052 lua_getfield(L
, -1, "actionEvent");
1058 lqtL_pushudata(L
, arg1
, "QActionEvent*");
1059 if (lua_isfunction(L
, -1-2)) {
1060 lua_pcall(L
, 1+1, 2, 0);
1061 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1065 lua_settop(L
, oldtop
);
1066 this->QToolBar::actionEvent(arg1
);
1068 lua_settop(L
, oldtop
);
1070 void LuaBinder
< QToolBar
>::dragEnterEvent (QDragEnterEvent
* arg1
) {
1071 bool absorbed
= false;
1072 int oldtop
= lua_gettop(L
);
1073 lqtL_pushudata(L
, this, "QToolBar*");
1074 if (lua_getmetatable(L
, -1)) {
1075 lua_getfield(L
, -1, "dragEnterEvent");
1081 lqtL_pushudata(L
, arg1
, "QDragEnterEvent*");
1082 if (lua_isfunction(L
, -1-2)) {
1083 lua_pcall(L
, 1+1, 2, 0);
1084 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1088 lua_settop(L
, oldtop
);
1089 this->QWidget::dragEnterEvent(arg1
);
1091 lua_settop(L
, oldtop
);
1093 void LuaBinder
< QToolBar
>::showEvent (QShowEvent
* arg1
) {
1094 bool absorbed
= false;
1095 int oldtop
= lua_gettop(L
);
1096 lqtL_pushudata(L
, this, "QToolBar*");
1097 if (lua_getmetatable(L
, -1)) {
1098 lua_getfield(L
, -1, "showEvent");
1104 lqtL_pushudata(L
, arg1
, "QShowEvent*");
1105 if (lua_isfunction(L
, -1-2)) {
1106 lua_pcall(L
, 1+1, 2, 0);
1107 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1111 lua_settop(L
, oldtop
);
1112 this->QWidget::showEvent(arg1
);
1114 lua_settop(L
, oldtop
);
1116 void LuaBinder
< QToolBar
>::dragMoveEvent (QDragMoveEvent
* arg1
) {
1117 bool absorbed
= false;
1118 int oldtop
= lua_gettop(L
);
1119 lqtL_pushudata(L
, this, "QToolBar*");
1120 if (lua_getmetatable(L
, -1)) {
1121 lua_getfield(L
, -1, "dragMoveEvent");
1127 lqtL_pushudata(L
, arg1
, "QDragMoveEvent*");
1128 if (lua_isfunction(L
, -1-2)) {
1129 lua_pcall(L
, 1+1, 2, 0);
1130 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1134 lua_settop(L
, oldtop
);
1135 this->QWidget::dragMoveEvent(arg1
);
1137 lua_settop(L
, oldtop
);
1139 void LuaBinder
< QToolBar
>::paintEvent (QPaintEvent
* arg1
) {
1140 bool absorbed
= false;
1141 int oldtop
= lua_gettop(L
);
1142 lqtL_pushudata(L
, this, "QToolBar*");
1143 if (lua_getmetatable(L
, -1)) {
1144 lua_getfield(L
, -1, "paintEvent");
1150 lqtL_pushudata(L
, arg1
, "QPaintEvent*");
1151 if (lua_isfunction(L
, -1-2)) {
1152 lua_pcall(L
, 1+1, 2, 0);
1153 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1157 lua_settop(L
, oldtop
);
1158 this->QToolBar::paintEvent(arg1
);
1160 lua_settop(L
, oldtop
);
1162 void LuaBinder
< QToolBar
>::windowActivationChange (bool arg1
) {
1163 bool absorbed
= false;
1164 int oldtop
= lua_gettop(L
);
1165 lqtL_pushudata(L
, this, "QToolBar*");
1166 if (lua_getmetatable(L
, -1)) {
1167 lua_getfield(L
, -1, "windowActivationChange");
1173 lua_pushboolean(L
, arg1
);
1174 if (lua_isfunction(L
, -1-2)) {
1175 lua_pcall(L
, 1+1, 2, 0);
1176 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1180 lua_settop(L
, oldtop
);
1181 this->QWidget::windowActivationChange(arg1
);
1183 lua_settop(L
, oldtop
);
1185 void LuaBinder
< QToolBar
>::fontChange (const QFont
& arg1
) {
1186 bool absorbed
= false;
1187 int oldtop
= lua_gettop(L
);
1188 lqtL_pushudata(L
, this, "QToolBar*");
1189 if (lua_getmetatable(L
, -1)) {
1190 lua_getfield(L
, -1, "fontChange");
1196 lqtL_pushudata(L
, &(arg1
), "QFont*");
1197 if (lua_isfunction(L
, -1-2)) {
1198 lua_pcall(L
, 1+1, 2, 0);
1199 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1203 lua_settop(L
, oldtop
);
1204 this->QWidget::fontChange(arg1
);
1206 lua_settop(L
, oldtop
);
1208 void LuaBinder
< QToolBar
>::enabledChange (bool arg1
) {
1209 bool absorbed
= false;
1210 int oldtop
= lua_gettop(L
);
1211 lqtL_pushudata(L
, this, "QToolBar*");
1212 if (lua_getmetatable(L
, -1)) {
1213 lua_getfield(L
, -1, "enabledChange");
1219 lua_pushboolean(L
, arg1
);
1220 if (lua_isfunction(L
, -1-2)) {
1221 lua_pcall(L
, 1+1, 2, 0);
1222 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1226 lua_settop(L
, oldtop
);
1227 this->QWidget::enabledChange(arg1
);
1229 lua_settop(L
, oldtop
);
1231 void LuaBinder
< QToolBar
>::disconnectNotify (const char * arg1
) {
1232 bool absorbed
= false;
1233 int oldtop
= lua_gettop(L
);
1234 lqtL_pushudata(L
, this, "QToolBar*");
1235 if (lua_getmetatable(L
, -1)) {
1236 lua_getfield(L
, -1, "disconnectNotify");
1242 lua_pushstring(L
, arg1
);
1243 if (lua_isfunction(L
, -1-2)) {
1244 lua_pcall(L
, 1+1, 2, 0);
1245 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1249 lua_settop(L
, oldtop
);
1250 this->QObject::disconnectNotify(arg1
);
1252 lua_settop(L
, oldtop
);
1254 int LuaBinder
< QToolBar
>::heightForWidth (int arg1
) const {
1255 bool absorbed
= false;
1256 int oldtop
= lua_gettop(L
);
1257 lqtL_pushudata(L
, this, "QToolBar*");
1258 if (lua_getmetatable(L
, -1)) {
1259 lua_getfield(L
, -1, "heightForWidth");
1265 lua_pushinteger(L
, arg1
);
1266 if (lua_isfunction(L
, -1-2)) {
1267 lua_pcall(L
, 1+1, 2, 0);
1268 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1272 lua_settop(L
, oldtop
);
1273 return this->QWidget::heightForWidth(arg1
);
1275 int ret
= lua_tointeger(L
, -1);
1276 lua_settop(L
, oldtop
);
1279 void LuaBinder
< QToolBar
>::mouseDoubleClickEvent (QMouseEvent
* arg1
) {
1280 bool absorbed
= false;
1281 int oldtop
= lua_gettop(L
);
1282 lqtL_pushudata(L
, this, "QToolBar*");
1283 if (lua_getmetatable(L
, -1)) {
1284 lua_getfield(L
, -1, "mouseDoubleClickEvent");
1290 lqtL_pushudata(L
, arg1
, "QMouseEvent*");
1291 if (lua_isfunction(L
, -1-2)) {
1292 lua_pcall(L
, 1+1, 2, 0);
1293 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1297 lua_settop(L
, oldtop
);
1298 this->QWidget::mouseDoubleClickEvent(arg1
);
1300 lua_settop(L
, oldtop
);
1302 bool LuaBinder
< QToolBar
>::focusNextPrevChild (bool arg1
) {
1303 bool absorbed
= false;
1304 int oldtop
= lua_gettop(L
);
1305 lqtL_pushudata(L
, this, "QToolBar*");
1306 if (lua_getmetatable(L
, -1)) {
1307 lua_getfield(L
, -1, "focusNextPrevChild");
1313 lua_pushboolean(L
, arg1
);
1314 if (lua_isfunction(L
, -1-2)) {
1315 lua_pcall(L
, 1+1, 2, 0);
1316 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1320 lua_settop(L
, oldtop
);
1321 return this->QWidget::focusNextPrevChild(arg1
);
1323 bool ret
= (bool)lua_toboolean(L
, -1);
1324 lua_settop(L
, oldtop
);
1327 void LuaBinder
< QToolBar
>::timerEvent (QTimerEvent
* arg1
) {
1328 bool absorbed
= false;
1329 int oldtop
= lua_gettop(L
);
1330 lqtL_pushudata(L
, this, "QToolBar*");
1331 if (lua_getmetatable(L
, -1)) {
1332 lua_getfield(L
, -1, "timerEvent");
1338 lqtL_pushudata(L
, arg1
, "QTimerEvent*");
1339 if (lua_isfunction(L
, -1-2)) {
1340 lua_pcall(L
, 1+1, 2, 0);
1341 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1345 lua_settop(L
, oldtop
);
1346 this->QObject::timerEvent(arg1
);
1348 lua_settop(L
, oldtop
);
1350 void LuaBinder
< QToolBar
>::mouseMoveEvent (QMouseEvent
* arg1
) {
1351 bool absorbed
= false;
1352 int oldtop
= lua_gettop(L
);
1353 lqtL_pushudata(L
, this, "QToolBar*");
1354 if (lua_getmetatable(L
, -1)) {
1355 lua_getfield(L
, -1, "mouseMoveEvent");
1361 lqtL_pushudata(L
, arg1
, "QMouseEvent*");
1362 if (lua_isfunction(L
, -1-2)) {
1363 lua_pcall(L
, 1+1, 2, 0);
1364 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1368 lua_settop(L
, oldtop
);
1369 this->QWidget::mouseMoveEvent(arg1
);
1371 lua_settop(L
, oldtop
);
1373 void LuaBinder
< QToolBar
>::focusOutEvent (QFocusEvent
* arg1
) {
1374 bool absorbed
= false;
1375 int oldtop
= lua_gettop(L
);
1376 lqtL_pushudata(L
, this, "QToolBar*");
1377 if (lua_getmetatable(L
, -1)) {
1378 lua_getfield(L
, -1, "focusOutEvent");
1384 lqtL_pushudata(L
, arg1
, "QFocusEvent*");
1385 if (lua_isfunction(L
, -1-2)) {
1386 lua_pcall(L
, 1+1, 2, 0);
1387 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1391 lua_settop(L
, oldtop
);
1392 this->QWidget::focusOutEvent(arg1
);
1394 lua_settop(L
, oldtop
);
1396 void LuaBinder
< QToolBar
>::childEvent (QChildEvent
* arg1
) {
1397 bool absorbed
= false;
1398 int oldtop
= lua_gettop(L
);
1399 lqtL_pushudata(L
, this, "QToolBar*");
1400 if (lua_getmetatable(L
, -1)) {
1401 lua_getfield(L
, -1, "childEvent");
1407 lqtL_pushudata(L
, arg1
, "QChildEvent*");
1408 if (lua_isfunction(L
, -1-2)) {
1409 lua_pcall(L
, 1+1, 2, 0);
1410 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1414 lua_settop(L
, oldtop
);
1415 this->QToolBar::childEvent(arg1
);
1417 lua_settop(L
, oldtop
);
1419 void LuaBinder
< QToolBar
>::connectNotify (const char * arg1
) {
1420 bool absorbed
= false;
1421 int oldtop
= lua_gettop(L
);
1422 lqtL_pushudata(L
, this, "QToolBar*");
1423 if (lua_getmetatable(L
, -1)) {
1424 lua_getfield(L
, -1, "connectNotify");
1430 lua_pushstring(L
, arg1
);
1431 if (lua_isfunction(L
, -1-2)) {
1432 lua_pcall(L
, 1+1, 2, 0);
1433 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1437 lua_settop(L
, oldtop
);
1438 this->QObject::connectNotify(arg1
);
1440 lua_settop(L
, oldtop
);
1442 void LuaBinder
< QToolBar
>::mouseReleaseEvent (QMouseEvent
* arg1
) {
1443 bool absorbed
= false;
1444 int oldtop
= lua_gettop(L
);
1445 lqtL_pushudata(L
, this, "QToolBar*");
1446 if (lua_getmetatable(L
, -1)) {
1447 lua_getfield(L
, -1, "mouseReleaseEvent");
1453 lqtL_pushudata(L
, arg1
, "QMouseEvent*");
1454 if (lua_isfunction(L
, -1-2)) {
1455 lua_pcall(L
, 1+1, 2, 0);
1456 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1460 lua_settop(L
, oldtop
);
1461 this->QWidget::mouseReleaseEvent(arg1
);
1463 lua_settop(L
, oldtop
);
1465 int LuaBinder
< QToolBar
>::metric (QPaintDevice::PaintDeviceMetric arg1
) const {
1466 bool absorbed
= false;
1467 int oldtop
= lua_gettop(L
);
1468 lqtL_pushudata(L
, this, "QToolBar*");
1469 if (lua_getmetatable(L
, -1)) {
1470 lua_getfield(L
, -1, "metric");
1476 lqtL_pushenum(L
, arg1
, "QPaintDevice::PaintDeviceMetric");
1477 if (lua_isfunction(L
, -1-2)) {
1478 lua_pcall(L
, 1+1, 2, 0);
1479 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1483 lua_settop(L
, oldtop
);
1484 return this->QWidget::metric(arg1
);
1486 int ret
= lua_tointeger(L
, -1);
1487 lua_settop(L
, oldtop
);
1490 bool LuaBinder
< QToolBar
>::eventFilter (QObject
* arg1
, QEvent
* arg2
) {
1491 bool absorbed
= false;
1492 int oldtop
= lua_gettop(L
);
1493 lqtL_pushudata(L
, this, "QToolBar*");
1494 if (lua_getmetatable(L
, -1)) {
1495 lua_getfield(L
, -1, "eventFilter");
1501 lqtL_pushudata(L
, arg1
, "QObject*");
1502 lqtL_pushudata(L
, arg2
, "QEvent*");
1503 if (lua_isfunction(L
, -2-2)) {
1504 lua_pcall(L
, 2+1, 2, 0);
1505 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1509 lua_settop(L
, oldtop
);
1510 return this->QObject::eventFilter(arg1
, arg2
);
1512 bool ret
= (bool)lua_toboolean(L
, -1);
1513 lua_settop(L
, oldtop
);
1516 void LuaBinder
< QToolBar
>::inputMethodEvent (QInputMethodEvent
* arg1
) {
1517 bool absorbed
= false;
1518 int oldtop
= lua_gettop(L
);
1519 lqtL_pushudata(L
, this, "QToolBar*");
1520 if (lua_getmetatable(L
, -1)) {
1521 lua_getfield(L
, -1, "inputMethodEvent");
1527 lqtL_pushudata(L
, arg1
, "QInputMethodEvent*");
1528 if (lua_isfunction(L
, -1-2)) {
1529 lua_pcall(L
, 1+1, 2, 0);
1530 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1534 lua_settop(L
, oldtop
);
1535 this->QWidget::inputMethodEvent(arg1
);
1537 lua_settop(L
, oldtop
);
1539 void LuaBinder
< QToolBar
>::wheelEvent (QWheelEvent
* arg1
) {
1540 bool absorbed
= false;
1541 int oldtop
= lua_gettop(L
);
1542 lqtL_pushudata(L
, this, "QToolBar*");
1543 if (lua_getmetatable(L
, -1)) {
1544 lua_getfield(L
, -1, "wheelEvent");
1550 lqtL_pushudata(L
, arg1
, "QWheelEvent*");
1551 if (lua_isfunction(L
, -1-2)) {
1552 lua_pcall(L
, 1+1, 2, 0);
1553 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1557 lua_settop(L
, oldtop
);
1558 this->QWidget::wheelEvent(arg1
);
1560 lua_settop(L
, oldtop
);
1562 void LuaBinder
< QToolBar
>::resizeEvent (QResizeEvent
* arg1
) {
1563 bool absorbed
= false;
1564 int oldtop
= lua_gettop(L
);
1565 lqtL_pushudata(L
, this, "QToolBar*");
1566 if (lua_getmetatable(L
, -1)) {
1567 lua_getfield(L
, -1, "resizeEvent");
1573 lqtL_pushudata(L
, arg1
, "QResizeEvent*");
1574 if (lua_isfunction(L
, -1-2)) {
1575 lua_pcall(L
, 1+1, 2, 0);
1576 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1580 lua_settop(L
, oldtop
);
1581 this->QToolBar::resizeEvent(arg1
);
1583 lua_settop(L
, oldtop
);
1585 void LuaBinder
< QToolBar
>::paletteChange (const QPalette
& arg1
) {
1586 bool absorbed
= false;
1587 int oldtop
= lua_gettop(L
);
1588 lqtL_pushudata(L
, this, "QToolBar*");
1589 if (lua_getmetatable(L
, -1)) {
1590 lua_getfield(L
, -1, "paletteChange");
1596 lqtL_pushudata(L
, &(arg1
), "QPalette*");
1597 if (lua_isfunction(L
, -1-2)) {
1598 lua_pcall(L
, 1+1, 2, 0);
1599 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1603 lua_settop(L
, oldtop
);
1604 this->QWidget::paletteChange(arg1
);
1606 lua_settop(L
, oldtop
);
1608 void LuaBinder
< QToolBar
>::languageChange () {
1609 bool absorbed
= false;
1610 int oldtop
= lua_gettop(L
);
1611 lqtL_pushudata(L
, this, "QToolBar*");
1612 if (lua_getmetatable(L
, -1)) {
1613 lua_getfield(L
, -1, "languageChange");
1619 if (lua_isfunction(L
, -0-2)) {
1620 lua_pcall(L
, 0+1, 2, 0);
1621 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1625 lua_settop(L
, oldtop
);
1626 this->QWidget::languageChange();
1628 lua_settop(L
, oldtop
);
1630 bool LuaBinder
< QToolBar
>::event (QEvent
* arg1
) {
1631 bool absorbed
= false;
1632 int oldtop
= lua_gettop(L
);
1633 lqtL_pushudata(L
, this, "QToolBar*");
1634 if (lua_getmetatable(L
, -1)) {
1635 lua_getfield(L
, -1, "event");
1641 lqtL_pushudata(L
, arg1
, "QEvent*");
1642 if (lua_isfunction(L
, -1-2)) {
1643 lua_pcall(L
, 1+1, 2, 0);
1644 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1648 lua_settop(L
, oldtop
);
1649 return this->QToolBar::event(arg1
);
1651 bool ret
= (bool)lua_toboolean(L
, -1);
1652 lua_settop(L
, oldtop
);
1655 void LuaBinder
< QToolBar
>::hideEvent (QHideEvent
* arg1
) {
1656 bool absorbed
= false;
1657 int oldtop
= lua_gettop(L
);
1658 lqtL_pushudata(L
, this, "QToolBar*");
1659 if (lua_getmetatable(L
, -1)) {
1660 lua_getfield(L
, -1, "hideEvent");
1666 lqtL_pushudata(L
, arg1
, "QHideEvent*");
1667 if (lua_isfunction(L
, -1-2)) {
1668 lua_pcall(L
, 1+1, 2, 0);
1669 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1673 lua_settop(L
, oldtop
);
1674 this->QWidget::hideEvent(arg1
);
1676 lua_settop(L
, oldtop
);
1678 void LuaBinder
< QToolBar
>::contextMenuEvent (QContextMenuEvent
* arg1
) {
1679 bool absorbed
= false;
1680 int oldtop
= lua_gettop(L
);
1681 lqtL_pushudata(L
, this, "QToolBar*");
1682 if (lua_getmetatable(L
, -1)) {
1683 lua_getfield(L
, -1, "contextMenuEvent");
1689 lqtL_pushudata(L
, arg1
, "QContextMenuEvent*");
1690 if (lua_isfunction(L
, -1-2)) {
1691 lua_pcall(L
, 1+1, 2, 0);
1692 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1696 lua_settop(L
, oldtop
);
1697 this->QWidget::contextMenuEvent(arg1
);
1699 lua_settop(L
, oldtop
);
1701 void LuaBinder
< QToolBar
>::keyReleaseEvent (QKeyEvent
* arg1
) {
1702 bool absorbed
= false;
1703 int oldtop
= lua_gettop(L
);
1704 lqtL_pushudata(L
, this, "QToolBar*");
1705 if (lua_getmetatable(L
, -1)) {
1706 lua_getfield(L
, -1, "keyReleaseEvent");
1712 lqtL_pushudata(L
, arg1
, "QKeyEvent*");
1713 if (lua_isfunction(L
, -1-2)) {
1714 lua_pcall(L
, 1+1, 2, 0);
1715 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1719 lua_settop(L
, oldtop
);
1720 this->QWidget::keyReleaseEvent(arg1
);
1722 lua_settop(L
, oldtop
);
1724 void LuaBinder
< QToolBar
>::dropEvent (QDropEvent
* arg1
) {
1725 bool absorbed
= false;
1726 int oldtop
= lua_gettop(L
);
1727 lqtL_pushudata(L
, this, "QToolBar*");
1728 if (lua_getmetatable(L
, -1)) {
1729 lua_getfield(L
, -1, "dropEvent");
1735 lqtL_pushudata(L
, arg1
, "QDropEvent*");
1736 if (lua_isfunction(L
, -1-2)) {
1737 lua_pcall(L
, 1+1, 2, 0);
1738 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1742 lua_settop(L
, oldtop
);
1743 this->QWidget::dropEvent(arg1
);
1745 lua_settop(L
, oldtop
);
1747 void LuaBinder
< QToolBar
>::leaveEvent (QEvent
* arg1
) {
1748 bool absorbed
= false;
1749 int oldtop
= lua_gettop(L
);
1750 lqtL_pushudata(L
, this, "QToolBar*");
1751 if (lua_getmetatable(L
, -1)) {
1752 lua_getfield(L
, -1, "leaveEvent");
1758 lqtL_pushudata(L
, arg1
, "QEvent*");
1759 if (lua_isfunction(L
, -1-2)) {
1760 lua_pcall(L
, 1+1, 2, 0);
1761 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1765 lua_settop(L
, oldtop
);
1766 this->QWidget::leaveEvent(arg1
);
1768 lua_settop(L
, oldtop
);
1770 void LuaBinder
< QToolBar
>::changeEvent (QEvent
* arg1
) {
1771 bool absorbed
= false;
1772 int oldtop
= lua_gettop(L
);
1773 lqtL_pushudata(L
, this, "QToolBar*");
1774 if (lua_getmetatable(L
, -1)) {
1775 lua_getfield(L
, -1, "changeEvent");
1781 lqtL_pushudata(L
, arg1
, "QEvent*");
1782 if (lua_isfunction(L
, -1-2)) {
1783 lua_pcall(L
, 1+1, 2, 0);
1784 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1788 lua_settop(L
, oldtop
);
1789 this->QToolBar::changeEvent(arg1
);
1791 lua_settop(L
, oldtop
);
1793 void LuaBinder
< QToolBar
>::customEvent (QEvent
* arg1
) {
1794 bool absorbed
= false;
1795 int oldtop
= lua_gettop(L
);
1796 lqtL_pushudata(L
, this, "QToolBar*");
1797 if (lua_getmetatable(L
, -1)) {
1798 lua_getfield(L
, -1, "customEvent");
1804 lqtL_pushudata(L
, arg1
, "QEvent*");
1805 if (lua_isfunction(L
, -1-2)) {
1806 lua_pcall(L
, 1+1, 2, 0);
1807 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1811 lua_settop(L
, oldtop
);
1812 this->QObject::customEvent(arg1
);
1814 lua_settop(L
, oldtop
);
1816 LuaBinder
< QToolBar
>:: ~LuaBinder
< QToolBar
> () {
1817 int oldtop
= lua_gettop(L
);
1818 lqtL_pushudata(L
, this, "QToolBar*");
1819 lua_getfield(L
, -1, "~QToolBar");
1821 if (lua_isfunction(L
, -1)) {
1823 lua_pcall(L
, 1, 1, 0);
1826 lua_settop(L
, oldtop
);
1828 int luaopen_QToolBar (lua_State
*L
) {
1829 if (luaL_newmetatable(L
, "QToolBar*")) {
1830 lua_pushcfunction(L
, LuaBinder
< QToolBar
>::__LuaWrapCall__isFloating
);
1831 lua_setfield(L
, -2, "isFloating");
1832 lua_pushcfunction(L
, LuaBinder
< QToolBar
>::__LuaWrapCall__isMovable
);
1833 lua_setfield(L
, -2, "isMovable");
1834 lua_pushcfunction(L
, LuaBinder
< QToolBar
>::__LuaWrapCall__addSeparator
);
1835 lua_setfield(L
, -2, "addSeparator");
1836 lua_pushcfunction(L
, LuaBinder
< QToolBar
>::__LuaWrapCall__delete
);
1837 lua_setfield(L
, -2, "delete");
1838 lua_pushcfunction(L
, LuaBinder
< QToolBar
>::__LuaWrapCall__insertSeparator
);
1839 lua_setfield(L
, -2, "insertSeparator");
1840 lua_pushcfunction(L
, LuaBinder
< QToolBar
>::__LuaWrapCall__setOrientation
);
1841 lua_setfield(L
, -2, "setOrientation");
1842 lua_pushcfunction(L
, LuaBinder
< QToolBar
>::__LuaWrapCall__setToolButtonStyle
);
1843 lua_setfield(L
, -2, "setToolButtonStyle");
1844 lua_pushcfunction(L
, LuaBinder
< QToolBar
>::__LuaWrapCall__insertWidget
);
1845 lua_setfield(L
, -2, "insertWidget");
1846 lua_pushcfunction(L
, LuaBinder
< QToolBar
>::__LuaWrapCall__setIconSize
);
1847 lua_setfield(L
, -2, "setIconSize");
1848 lua_pushcfunction(L
, LuaBinder
< QToolBar
>::__LuaWrapCall__trUtf8
);
1849 lua_setfield(L
, -2, "trUtf8");
1850 lua_pushcfunction(L
, LuaBinder
< QToolBar
>::__LuaWrapCall__actionAt
);
1851 lua_setfield(L
, -2, "actionAt");
1852 lua_pushcfunction(L
, LuaBinder
< QToolBar
>::__LuaWrapCall__metaObject
);
1853 lua_setfield(L
, -2, "metaObject");
1854 lua_pushcfunction(L
, LuaBinder
< QToolBar
>::__LuaWrapCall__new
);
1855 lua_setfield(L
, -2, "new");
1856 lua_pushcfunction(L
, LuaBinder
< QToolBar
>::__LuaWrapCall__clear
);
1857 lua_setfield(L
, -2, "clear");
1858 lua_pushcfunction(L
, LuaBinder
< QToolBar
>::__LuaWrapCall__isAreaAllowed
);
1859 lua_setfield(L
, -2, "isAreaAllowed");
1860 lua_pushcfunction(L
, LuaBinder
< QToolBar
>::__LuaWrapCall__widgetForAction
);
1861 lua_setfield(L
, -2, "widgetForAction");
1862 lua_pushcfunction(L
, LuaBinder
< QToolBar
>::__LuaWrapCall__tr
);
1863 lua_setfield(L
, -2, "tr");
1864 lua_pushcfunction(L
, LuaBinder
< QToolBar
>::__LuaWrapCall__setAllowedAreas
);
1865 lua_setfield(L
, -2, "setAllowedAreas");
1866 lua_pushcfunction(L
, LuaBinder
< QToolBar
>::__LuaWrapCall__setMovable
);
1867 lua_setfield(L
, -2, "setMovable");
1868 lua_pushcfunction(L
, LuaBinder
< QToolBar
>::__LuaWrapCall__allowedAreas
);
1869 lua_setfield(L
, -2, "allowedAreas");
1870 lua_pushcfunction(L
, LuaBinder
< QToolBar
>::__LuaWrapCall__isFloatable
);
1871 lua_setfield(L
, -2, "isFloatable");
1872 lua_pushcfunction(L
, LuaBinder
< QToolBar
>::__LuaWrapCall__toolButtonStyle
);
1873 lua_setfield(L
, -2, "toolButtonStyle");
1874 lua_pushcfunction(L
, LuaBinder
< QToolBar
>::__LuaWrapCall__addAction
);
1875 lua_setfield(L
, -2, "addAction");
1876 lua_pushcfunction(L
, LuaBinder
< QToolBar
>::__LuaWrapCall__iconSize
);
1877 lua_setfield(L
, -2, "iconSize");
1878 lua_pushcfunction(L
, LuaBinder
< QToolBar
>::__LuaWrapCall__addWidget
);
1879 lua_setfield(L
, -2, "addWidget");
1880 lua_pushcfunction(L
, LuaBinder
< QToolBar
>::__LuaWrapCall__orientation
);
1881 lua_setfield(L
, -2, "orientation");
1882 lua_pushcfunction(L
, LuaBinder
< QToolBar
>::__LuaWrapCall__toggleViewAction
);
1883 lua_setfield(L
, -2, "toggleViewAction");
1884 lua_pushcfunction(L
, LuaBinder
< QToolBar
>::__LuaWrapCall__actionGeometry
);
1885 lua_setfield(L
, -2, "actionGeometry");
1886 lua_pushcfunction(L
, LuaBinder
< QToolBar
>::__LuaWrapCall__setFloatable
);
1887 lua_setfield(L
, -2, "setFloatable");
1889 lua_pushboolean(L
, 1);
1890 lua_setfield(L
, -2, "QWidget*");
1891 lua_pushboolean(L
, 0);
1892 lua_setfield(L
, -2, "QObject*");
1893 lua_pushboolean(L
, 0);
1894 lua_setfield(L
, -2, "QPaintDevice*");
1895 lua_setfield(L
, -2, "__base");
1896 lua_pushcfunction(L
, lqtL_newindex
);
1897 lua_setfield(L
, -2, "__newindex");
1898 lua_pushcfunction(L
, lqtL_index
);
1899 lua_setfield(L
, -2, "__index");
1900 lua_pushcfunction(L
, lqtL_gc
);
1901 lua_setfield(L
, -2, "__gc");
1902 lua_pushstring(L
, "QToolBar");
1903 lua_setfield(L
, -2, "__qtype");
1904 lua_setglobal(L
, "QToolBar");