1 #include "lqt_bind_QAction.hpp"
3 int LuaBinder
< QAction
>::__LuaWrapCall__parentWidget (lua_State
*L
) {
4 QAction
*& __lua__obj
= *static_cast<QAction
**>(lqtL_checkudata(L
, 1, "QAction*"));
6 lua_pushstring(L
, "trying to reference deleted pointer");
10 QWidget
* ret
= __lua__obj
->QAction::parentWidget();
11 lqtL_pushudata(L
, ret
, "QWidget*");
14 int LuaBinder
< QAction
>::__LuaWrapCall__setChecked (lua_State
*L
) {
15 QAction
*& __lua__obj
= *static_cast<QAction
**>(lqtL_checkudata(L
, 1, "QAction*"));
17 lua_pushstring(L
, "trying to reference deleted pointer");
21 bool arg1
= (bool)lua_toboolean(L
, 2);
22 __lua__obj
->QAction::setChecked(arg1
);
25 int LuaBinder
< QAction
>::__LuaWrapCall__statusTip (lua_State
*L
) {
26 QAction
*& __lua__obj
= *static_cast<QAction
**>(lqtL_checkudata(L
, 1, "QAction*"));
28 lua_pushstring(L
, "trying to reference deleted pointer");
32 QString ret
= __lua__obj
->QAction::statusTip();
33 lua_pushlstring(L
, ret
.toAscii().data(), ret
.toAscii().size());
36 int LuaBinder
< QAction
>::__LuaWrapCall__setVisible (lua_State
*L
) {
37 QAction
*& __lua__obj
= *static_cast<QAction
**>(lqtL_checkudata(L
, 1, "QAction*"));
39 lua_pushstring(L
, "trying to reference deleted pointer");
43 bool arg1
= (bool)lua_toboolean(L
, 2);
44 __lua__obj
->QAction::setVisible(arg1
);
47 int LuaBinder
< QAction
>::__LuaWrapCall__setIcon (lua_State
*L
) {
48 QAction
*& __lua__obj
= *static_cast<QAction
**>(lqtL_checkudata(L
, 1, "QAction*"));
50 lua_pushstring(L
, "trying to reference deleted pointer");
54 const QIcon
& arg1
= **static_cast<QIcon
**>(lqtL_checkudata(L
, 2, "QIcon*"));
55 __lua__obj
->QAction::setIcon(arg1
);
58 int LuaBinder
< QAction
>::__LuaWrapCall__isSeparator (lua_State
*L
) {
59 QAction
*& __lua__obj
= *static_cast<QAction
**>(lqtL_checkudata(L
, 1, "QAction*"));
61 lua_pushstring(L
, "trying to reference deleted pointer");
65 bool ret
= __lua__obj
->QAction::isSeparator();
66 lua_pushboolean(L
, ret
);
69 int LuaBinder
< QAction
>::__LuaWrapCall__toggle (lua_State
*L
) {
70 QAction
*& __lua__obj
= *static_cast<QAction
**>(lqtL_checkudata(L
, 1, "QAction*"));
72 lua_pushstring(L
, "trying to reference deleted pointer");
76 __lua__obj
->QAction::toggle();
79 int LuaBinder
< QAction
>::__LuaWrapCall__icon (lua_State
*L
) {
80 QAction
*& __lua__obj
= *static_cast<QAction
**>(lqtL_checkudata(L
, 1, "QAction*"));
82 lua_pushstring(L
, "trying to reference deleted pointer");
86 QIcon ret
= __lua__obj
->QAction::icon();
87 lqtL_passudata(L
, new QIcon(ret
), "QIcon*");
90 int LuaBinder
< QAction
>::__LuaWrapCall__tr__OverloadedVersion__1 (lua_State
*L
) {
91 const char * arg1
= lua_tostring(L
, 1);
92 const char * arg2
= (lua_type(L
, 2)==LUA_TSTRING
)?lua_tostring(L
, 2):static_cast< const char * >(0);
93 QString ret
= QAction::tr(arg1
, arg2
);
94 lua_pushlstring(L
, ret
.toAscii().data(), ret
.toAscii().size());
97 int LuaBinder
< QAction
>::__LuaWrapCall__tr__OverloadedVersion__2 (lua_State
*L
) {
98 const char * arg1
= lua_tostring(L
, 1);
99 const char * arg2
= lua_tostring(L
, 2);
100 int arg3
= lua_tointeger(L
, 3);
101 QString ret
= QAction::tr(arg1
, arg2
, arg3
);
102 lua_pushlstring(L
, ret
.toAscii().data(), ret
.toAscii().size());
105 int LuaBinder
< QAction
>::__LuaWrapCall__tr (lua_State
*L
) {
107 const int premium
= 11+lua_gettop(L
);
109 if ((lua_type(L
, 1)==LUA_TSTRING
)) {
112 score
[1] += premium
-1; // table: 0x143c9d0;
114 score
[1] -= premium
*premium
;
116 if ((lua_type(L
, 2)==LUA_TSTRING
)) {
119 score
[1] += premium
-1; // table: 0x143c740;
121 score
[1] -= premium
*premium
;
124 if ((lua_type(L
, 1)==LUA_TSTRING
)) {
127 score
[2] += premium
-1; // table: 0x143e400;
129 score
[2] -= premium
*premium
;
131 if ((lua_type(L
, 2)==LUA_TSTRING
)) {
134 score
[2] += premium
-1; // table: 0x143e8f0;
136 score
[2] -= premium
*premium
;
138 if (lua_isnumber(L
, 3)) {
141 score
[2] += premium
-1; // table: 0x143eca0;
143 score
[2] -= premium
*premium
;
146 for (int i
=1;i
<=2;i
++) {
147 if (score
[best
] < score
[i
]) { best
= i
; }
150 case 1: return __LuaWrapCall__tr__OverloadedVersion__1(L
); break;
151 case 2: return __LuaWrapCall__tr__OverloadedVersion__2(L
); break;
153 lua_pushstring(L
, "no overload of function __LuaWrapCall__tr matching arguments");
157 int LuaBinder
< QAction
>::__LuaWrapCall__isVisible (lua_State
*L
) {
158 QAction
*& __lua__obj
= *static_cast<QAction
**>(lqtL_checkudata(L
, 1, "QAction*"));
160 lua_pushstring(L
, "trying to reference deleted pointer");
164 bool ret
= __lua__obj
->QAction::isVisible();
165 lua_pushboolean(L
, ret
);
168 int LuaBinder
< QAction
>::__LuaWrapCall__whatsThis (lua_State
*L
) {
169 QAction
*& __lua__obj
= *static_cast<QAction
**>(lqtL_checkudata(L
, 1, "QAction*"));
171 lua_pushstring(L
, "trying to reference deleted pointer");
175 QString ret
= __lua__obj
->QAction::whatsThis();
176 lua_pushlstring(L
, ret
.toAscii().data(), ret
.toAscii().size());
179 int LuaBinder
< QAction
>::__LuaWrapCall__toolTip (lua_State
*L
) {
180 QAction
*& __lua__obj
= *static_cast<QAction
**>(lqtL_checkudata(L
, 1, "QAction*"));
182 lua_pushstring(L
, "trying to reference deleted pointer");
186 QString ret
= __lua__obj
->QAction::toolTip();
187 lua_pushlstring(L
, ret
.toAscii().data(), ret
.toAscii().size());
190 int LuaBinder
< QAction
>::__LuaWrapCall__setIconText (lua_State
*L
) {
191 QAction
*& __lua__obj
= *static_cast<QAction
**>(lqtL_checkudata(L
, 1, "QAction*"));
193 lua_pushstring(L
, "trying to reference deleted pointer");
197 const QString
& arg1
= QString::fromAscii(lua_tostring(L
, 2), lua_objlen(L
, 2));
198 __lua__obj
->QAction::setIconText(arg1
);
201 int LuaBinder
< QAction
>::__LuaWrapCall__shortcut (lua_State
*L
) {
202 QAction
*& __lua__obj
= *static_cast<QAction
**>(lqtL_checkudata(L
, 1, "QAction*"));
204 lua_pushstring(L
, "trying to reference deleted pointer");
208 QKeySequence ret
= __lua__obj
->QAction::shortcut();
209 lqtL_passudata(L
, new QKeySequence(ret
), "QKeySequence*");
212 int LuaBinder
< QAction
>::__LuaWrapCall__iconText (lua_State
*L
) {
213 QAction
*& __lua__obj
= *static_cast<QAction
**>(lqtL_checkudata(L
, 1, "QAction*"));
215 lua_pushstring(L
, "trying to reference deleted pointer");
219 QString ret
= __lua__obj
->QAction::iconText();
220 lua_pushlstring(L
, ret
.toAscii().data(), ret
.toAscii().size());
223 int LuaBinder
< QAction
>::__LuaWrapCall__shortcutContext (lua_State
*L
) {
224 QAction
*& __lua__obj
= *static_cast<QAction
**>(lqtL_checkudata(L
, 1, "QAction*"));
226 lua_pushstring(L
, "trying to reference deleted pointer");
230 Qt::ShortcutContext ret
= __lua__obj
->QAction::shortcutContext();
231 lqtL_pushenum(L
, ret
, "Qt::ShortcutContext");
234 int LuaBinder
< QAction
>::__LuaWrapCall__setToolTip (lua_State
*L
) {
235 QAction
*& __lua__obj
= *static_cast<QAction
**>(lqtL_checkudata(L
, 1, "QAction*"));
237 lua_pushstring(L
, "trying to reference deleted pointer");
241 const QString
& arg1
= QString::fromAscii(lua_tostring(L
, 2), lua_objlen(L
, 2));
242 __lua__obj
->QAction::setToolTip(arg1
);
245 int LuaBinder
< QAction
>::__LuaWrapCall__setMenu (lua_State
*L
) {
246 QAction
*& __lua__obj
= *static_cast<QAction
**>(lqtL_checkudata(L
, 1, "QAction*"));
248 lua_pushstring(L
, "trying to reference deleted pointer");
252 QMenu
* arg1
= *static_cast<QMenu
**>(lqtL_checkudata(L
, 2, "QMenu*"));
253 __lua__obj
->QAction::setMenu(arg1
);
256 int LuaBinder
< QAction
>::__LuaWrapCall__showStatusText (lua_State
*L
) {
257 QAction
*& __lua__obj
= *static_cast<QAction
**>(lqtL_checkudata(L
, 1, "QAction*"));
259 lua_pushstring(L
, "trying to reference deleted pointer");
263 QWidget
* arg1
= lqtL_testudata(L
, 2, "QWidget*")?*static_cast<QWidget
**>(lqtL_checkudata(L
, 2, "QWidget*")):static_cast< QWidget
* >(0);
264 bool ret
= __lua__obj
->QAction::showStatusText(arg1
);
265 lua_pushboolean(L
, ret
);
268 int LuaBinder
< QAction
>::__LuaWrapCall__setAutoRepeat (lua_State
*L
) {
269 QAction
*& __lua__obj
= *static_cast<QAction
**>(lqtL_checkudata(L
, 1, "QAction*"));
271 lua_pushstring(L
, "trying to reference deleted pointer");
275 bool arg1
= (bool)lua_toboolean(L
, 2);
276 __lua__obj
->QAction::setAutoRepeat(arg1
);
279 int LuaBinder
< QAction
>::__LuaWrapCall__setCheckable (lua_State
*L
) {
280 QAction
*& __lua__obj
= *static_cast<QAction
**>(lqtL_checkudata(L
, 1, "QAction*"));
282 lua_pushstring(L
, "trying to reference deleted pointer");
286 bool arg1
= (bool)lua_toboolean(L
, 2);
287 __lua__obj
->QAction::setCheckable(arg1
);
290 int LuaBinder
< QAction
>::__LuaWrapCall__setSeparator (lua_State
*L
) {
291 QAction
*& __lua__obj
= *static_cast<QAction
**>(lqtL_checkudata(L
, 1, "QAction*"));
293 lua_pushstring(L
, "trying to reference deleted pointer");
297 bool arg1
= (bool)lua_toboolean(L
, 2);
298 __lua__obj
->QAction::setSeparator(arg1
);
301 int LuaBinder
< QAction
>::__LuaWrapCall__activate (lua_State
*L
) {
302 QAction
*& __lua__obj
= *static_cast<QAction
**>(lqtL_checkudata(L
, 1, "QAction*"));
304 lua_pushstring(L
, "trying to reference deleted pointer");
308 QAction::ActionEvent arg1
= static_cast<QAction::ActionEvent
>(lqtL_toenum(L
, 2, "QAction::ActionEvent"));
309 __lua__obj
->QAction::activate(arg1
);
312 int LuaBinder
< QAction
>::__LuaWrapCall__trigger (lua_State
*L
) {
313 QAction
*& __lua__obj
= *static_cast<QAction
**>(lqtL_checkudata(L
, 1, "QAction*"));
315 lua_pushstring(L
, "trying to reference deleted pointer");
319 __lua__obj
->QAction::trigger();
322 int LuaBinder
< QAction
>::__LuaWrapCall__shortcuts (lua_State
*L
) {
323 QAction
*& __lua__obj
= *static_cast<QAction
**>(lqtL_checkudata(L
, 1, "QAction*"));
325 lua_pushstring(L
, "trying to reference deleted pointer");
329 QList
<QKeySequence
> ret
= __lua__obj
->QAction::shortcuts();
330 lqtL_passudata(L
, new QList
<QKeySequence
>(ret
), "QList<QKeySequence>*");
333 int LuaBinder
< QAction
>::__LuaWrapCall__associatedWidgets (lua_State
*L
) {
334 QAction
*& __lua__obj
= *static_cast<QAction
**>(lqtL_checkudata(L
, 1, "QAction*"));
336 lua_pushstring(L
, "trying to reference deleted pointer");
340 QList
<QWidget
*> ret
= __lua__obj
->QAction::associatedWidgets();
341 lqtL_passudata(L
, new QList
<QWidget
*>(ret
), "QList<QWidget*>*");
344 int LuaBinder
< QAction
>::__LuaWrapCall__setText (lua_State
*L
) {
345 QAction
*& __lua__obj
= *static_cast<QAction
**>(lqtL_checkudata(L
, 1, "QAction*"));
347 lua_pushstring(L
, "trying to reference deleted pointer");
351 const QString
& arg1
= QString::fromAscii(lua_tostring(L
, 2), lua_objlen(L
, 2));
352 __lua__obj
->QAction::setText(arg1
);
355 int LuaBinder
< QAction
>::__LuaWrapCall__data (lua_State
*L
) {
356 QAction
*& __lua__obj
= *static_cast<QAction
**>(lqtL_checkudata(L
, 1, "QAction*"));
358 lua_pushstring(L
, "trying to reference deleted pointer");
362 QVariant ret
= __lua__obj
->QAction::data();
363 lqtL_passudata(L
, new QVariant(ret
), "QVariant*");
366 int LuaBinder
< QAction
>::__LuaWrapCall__isCheckable (lua_State
*L
) {
367 QAction
*& __lua__obj
= *static_cast<QAction
**>(lqtL_checkudata(L
, 1, "QAction*"));
369 lua_pushstring(L
, "trying to reference deleted pointer");
373 bool ret
= __lua__obj
->QAction::isCheckable();
374 lua_pushboolean(L
, ret
);
377 int LuaBinder
< QAction
>::__LuaWrapCall__setStatusTip (lua_State
*L
) {
378 QAction
*& __lua__obj
= *static_cast<QAction
**>(lqtL_checkudata(L
, 1, "QAction*"));
380 lua_pushstring(L
, "trying to reference deleted pointer");
384 const QString
& arg1
= QString::fromAscii(lua_tostring(L
, 2), lua_objlen(L
, 2));
385 __lua__obj
->QAction::setStatusTip(arg1
);
388 int LuaBinder
< QAction
>::__LuaWrapCall__setDisabled (lua_State
*L
) {
389 QAction
*& __lua__obj
= *static_cast<QAction
**>(lqtL_checkudata(L
, 1, "QAction*"));
391 lua_pushstring(L
, "trying to reference deleted pointer");
395 bool arg1
= (bool)lua_toboolean(L
, 2);
396 __lua__obj
->QAction::setDisabled(arg1
);
399 int LuaBinder
< QAction
>::__LuaWrapCall__setShortcutContext (lua_State
*L
) {
400 QAction
*& __lua__obj
= *static_cast<QAction
**>(lqtL_checkudata(L
, 1, "QAction*"));
402 lua_pushstring(L
, "trying to reference deleted pointer");
406 Qt::ShortcutContext arg1
= static_cast<Qt::ShortcutContext
>(lqtL_toenum(L
, 2, "Qt::ShortcutContext"));
407 __lua__obj
->QAction::setShortcutContext(arg1
);
410 int LuaBinder
< QAction
>::__LuaWrapCall__setActionGroup (lua_State
*L
) {
411 QAction
*& __lua__obj
= *static_cast<QAction
**>(lqtL_checkudata(L
, 1, "QAction*"));
413 lua_pushstring(L
, "trying to reference deleted pointer");
417 QActionGroup
* arg1
= *static_cast<QActionGroup
**>(lqtL_checkudata(L
, 2, "QActionGroup*"));
418 __lua__obj
->QAction::setActionGroup(arg1
);
421 int LuaBinder
< QAction
>::__LuaWrapCall__autoRepeat (lua_State
*L
) {
422 QAction
*& __lua__obj
= *static_cast<QAction
**>(lqtL_checkudata(L
, 1, "QAction*"));
424 lua_pushstring(L
, "trying to reference deleted pointer");
428 bool ret
= __lua__obj
->QAction::autoRepeat();
429 lua_pushboolean(L
, ret
);
432 int LuaBinder
< QAction
>::__LuaWrapCall__setFont (lua_State
*L
) {
433 QAction
*& __lua__obj
= *static_cast<QAction
**>(lqtL_checkudata(L
, 1, "QAction*"));
435 lua_pushstring(L
, "trying to reference deleted pointer");
439 const QFont
& arg1
= **static_cast<QFont
**>(lqtL_checkudata(L
, 2, "QFont*"));
440 __lua__obj
->QAction::setFont(arg1
);
443 int LuaBinder
< QAction
>::__LuaWrapCall__metaObject (lua_State
*L
) {
444 QAction
*& __lua__obj
= *static_cast<QAction
**>(lqtL_checkudata(L
, 1, "QAction*"));
446 lua_pushstring(L
, "trying to reference deleted pointer");
450 const QMetaObject
* ret
= __lua__obj
->QAction::metaObject();
451 lqtL_pushudata(L
, ret
, "QMetaObject*");
454 int LuaBinder
< QAction
>::__LuaWrapCall__new__OverloadedVersion__1 (lua_State
*L
) {
455 QObject
* arg1
= *static_cast<QObject
**>(lqtL_checkudata(L
, 1, "QObject*"));
456 QAction
* ret
= new LuaBinder
< QAction
>(L
, arg1
);
457 lqtL_passudata(L
, ret
, "QAction*");
460 int LuaBinder
< QAction
>::__LuaWrapCall__new__OverloadedVersion__2 (lua_State
*L
) {
461 const QString
& arg1
= QString::fromAscii(lua_tostring(L
, 1), lua_objlen(L
, 1));
462 QObject
* arg2
= *static_cast<QObject
**>(lqtL_checkudata(L
, 2, "QObject*"));
463 QAction
* ret
= new LuaBinder
< QAction
>(L
, arg1
, arg2
);
464 lqtL_passudata(L
, ret
, "QAction*");
467 int LuaBinder
< QAction
>::__LuaWrapCall__new__OverloadedVersion__3 (lua_State
*L
) {
468 const QIcon
& arg1
= **static_cast<QIcon
**>(lqtL_checkudata(L
, 1, "QIcon*"));
469 const QString
& arg2
= QString::fromAscii(lua_tostring(L
, 2), lua_objlen(L
, 2));
470 QObject
* arg3
= *static_cast<QObject
**>(lqtL_checkudata(L
, 3, "QObject*"));
471 QAction
* ret
= new LuaBinder
< QAction
>(L
, arg1
, arg2
, arg3
);
472 lqtL_passudata(L
, ret
, "QAction*");
475 int LuaBinder
< QAction
>::__LuaWrapCall__new (lua_State
*L
) {
477 const int premium
= 11+lua_gettop(L
);
479 if (lqtL_testudata(L
, 1, "QObject*")) {
482 score
[1] += premium
-1; // table: 0x14423d0;
484 score
[1] -= premium
*premium
;
487 if ((lua_type(L
, 1)==LUA_TSTRING
)) {
490 score
[2] += premium
-1; // table: 0x1442df0;
492 score
[2] -= premium
*premium
;
494 if (lqtL_testudata(L
, 2, "QObject*")) {
497 score
[2] += premium
-1; // table: 0x14428e0;
499 score
[2] -= premium
*premium
;
502 if (lqtL_testudata(L
, 1, "QIcon*")) {
505 score
[3] += premium
-1; // table: 0x1443c50;
507 score
[3] -= premium
*premium
;
509 if ((lua_type(L
, 2)==LUA_TSTRING
)) {
512 score
[3] += premium
-1; // table: 0x14436c0;
514 score
[3] -= premium
*premium
;
516 if (lqtL_testudata(L
, 3, "QObject*")) {
519 score
[3] += premium
-1; // table: 0x1444100;
521 score
[3] -= premium
*premium
;
524 for (int i
=1;i
<=3;i
++) {
525 if (score
[best
] < score
[i
]) { best
= i
; }
528 case 1: return __LuaWrapCall__new__OverloadedVersion__1(L
); break;
529 case 2: return __LuaWrapCall__new__OverloadedVersion__2(L
); break;
530 case 3: return __LuaWrapCall__new__OverloadedVersion__3(L
); break;
532 lua_pushstring(L
, "no overload of function __LuaWrapCall__new matching arguments");
536 int LuaBinder
< QAction
>::__LuaWrapCall__hover (lua_State
*L
) {
537 QAction
*& __lua__obj
= *static_cast<QAction
**>(lqtL_checkudata(L
, 1, "QAction*"));
539 lua_pushstring(L
, "trying to reference deleted pointer");
543 __lua__obj
->QAction::hover();
546 int LuaBinder
< QAction
>::__LuaWrapCall__delete (lua_State
*L
) {
547 QAction
*& __lua__obj
= *static_cast<QAction
**>(lqtL_checkudata(L
, 1, "QAction*"));
549 lua_pushstring(L
, "trying to reference deleted pointer");
557 int LuaBinder
< QAction
>::__LuaWrapCall__font (lua_State
*L
) {
558 QAction
*& __lua__obj
= *static_cast<QAction
**>(lqtL_checkudata(L
, 1, "QAction*"));
560 lua_pushstring(L
, "trying to reference deleted pointer");
564 QFont ret
= __lua__obj
->QAction::font();
565 lqtL_passudata(L
, new QFont(ret
), "QFont*");
568 int LuaBinder
< QAction
>::__LuaWrapCall__actionGroup (lua_State
*L
) {
569 QAction
*& __lua__obj
= *static_cast<QAction
**>(lqtL_checkudata(L
, 1, "QAction*"));
571 lua_pushstring(L
, "trying to reference deleted pointer");
575 QActionGroup
* ret
= __lua__obj
->QAction::actionGroup();
576 lqtL_pushudata(L
, ret
, "QActionGroup*");
579 int LuaBinder
< QAction
>::__LuaWrapCall__setShortcut (lua_State
*L
) {
580 QAction
*& __lua__obj
= *static_cast<QAction
**>(lqtL_checkudata(L
, 1, "QAction*"));
582 lua_pushstring(L
, "trying to reference deleted pointer");
586 const QKeySequence
& arg1
= **static_cast<QKeySequence
**>(lqtL_checkudata(L
, 2, "QKeySequence*"));
587 __lua__obj
->QAction::setShortcut(arg1
);
590 int LuaBinder
< QAction
>::__LuaWrapCall__setShortcuts__OverloadedVersion__1 (lua_State
*L
) {
591 QAction
*& __lua__obj
= *static_cast<QAction
**>(lqtL_checkudata(L
, 1, "QAction*"));
593 lua_pushstring(L
, "trying to reference deleted pointer");
597 const QList
<QKeySequence
>& arg1
= **static_cast<QList
<QKeySequence
>**>(lqtL_checkudata(L
, 2, "QList<QKeySequence>*"));
598 __lua__obj
->QAction::setShortcuts(arg1
);
601 int LuaBinder
< QAction
>::__LuaWrapCall__setShortcuts__OverloadedVersion__2 (lua_State
*L
) {
602 QAction
*& __lua__obj
= *static_cast<QAction
**>(lqtL_checkudata(L
, 1, "QAction*"));
604 lua_pushstring(L
, "trying to reference deleted pointer");
608 QKeySequence::StandardKey arg1
= static_cast<QKeySequence::StandardKey
>(lqtL_toenum(L
, 2, "QKeySequence::StandardKey"));
609 __lua__obj
->QAction::setShortcuts(arg1
);
612 int LuaBinder
< QAction
>::__LuaWrapCall__setShortcuts (lua_State
*L
) {
614 const int premium
= 11+lua_gettop(L
);
616 score
[1] += lqtL_testudata(L
, 1, "QAction*")?premium
:-premium
*premium
;
617 if (lqtL_testudata(L
, 2, "QList<QKeySequence>*")) {
620 score
[1] += premium
-1; // table: 0x1450510;
622 score
[1] -= premium
*premium
;
625 score
[2] += lqtL_testudata(L
, 1, "QAction*")?premium
:-premium
*premium
;
626 if (lqtL_isenum(L
, 2, "QKeySequence::StandardKey")) {
629 score
[2] += premium
-1; // table: 0x1451050;
631 score
[2] -= premium
*premium
;
634 for (int i
=1;i
<=2;i
++) {
635 if (score
[best
] < score
[i
]) { best
= i
; }
638 case 1: return __LuaWrapCall__setShortcuts__OverloadedVersion__1(L
); break;
639 case 2: return __LuaWrapCall__setShortcuts__OverloadedVersion__2(L
); break;
641 lua_pushstring(L
, "no overload of function __LuaWrapCall__setShortcuts matching arguments");
645 int LuaBinder
< QAction
>::__LuaWrapCall__isChecked (lua_State
*L
) {
646 QAction
*& __lua__obj
= *static_cast<QAction
**>(lqtL_checkudata(L
, 1, "QAction*"));
648 lua_pushstring(L
, "trying to reference deleted pointer");
652 bool ret
= __lua__obj
->QAction::isChecked();
653 lua_pushboolean(L
, ret
);
656 int LuaBinder
< QAction
>::__LuaWrapCall__trUtf8__OverloadedVersion__1 (lua_State
*L
) {
657 const char * arg1
= lua_tostring(L
, 1);
658 const char * arg2
= (lua_type(L
, 2)==LUA_TSTRING
)?lua_tostring(L
, 2):static_cast< const char * >(0);
659 QString ret
= QAction::trUtf8(arg1
, arg2
);
660 lua_pushlstring(L
, ret
.toAscii().data(), ret
.toAscii().size());
663 int LuaBinder
< QAction
>::__LuaWrapCall__trUtf8__OverloadedVersion__2 (lua_State
*L
) {
664 const char * arg1
= lua_tostring(L
, 1);
665 const char * arg2
= lua_tostring(L
, 2);
666 int arg3
= lua_tointeger(L
, 3);
667 QString ret
= QAction::trUtf8(arg1
, arg2
, arg3
);
668 lua_pushlstring(L
, ret
.toAscii().data(), ret
.toAscii().size());
671 int LuaBinder
< QAction
>::__LuaWrapCall__trUtf8 (lua_State
*L
) {
673 const int premium
= 11+lua_gettop(L
);
675 if ((lua_type(L
, 1)==LUA_TSTRING
)) {
678 score
[1] += premium
-1; // table: 0x143d730;
680 score
[1] -= premium
*premium
;
682 if ((lua_type(L
, 2)==LUA_TSTRING
)) {
685 score
[1] += premium
-1; // table: 0x143d290;
687 score
[1] -= premium
*premium
;
690 if ((lua_type(L
, 1)==LUA_TSTRING
)) {
693 score
[2] += premium
-1; // table: 0x143f510;
695 score
[2] -= premium
*premium
;
697 if ((lua_type(L
, 2)==LUA_TSTRING
)) {
700 score
[2] += premium
-1; // table: 0x143ec40;
702 score
[2] -= premium
*premium
;
704 if (lua_isnumber(L
, 3)) {
707 score
[2] += premium
-1; // table: 0x143f9a0;
709 score
[2] -= premium
*premium
;
712 for (int i
=1;i
<=2;i
++) {
713 if (score
[best
] < score
[i
]) { best
= i
; }
716 case 1: return __LuaWrapCall__trUtf8__OverloadedVersion__1(L
); break;
717 case 2: return __LuaWrapCall__trUtf8__OverloadedVersion__2(L
); break;
719 lua_pushstring(L
, "no overload of function __LuaWrapCall__trUtf8 matching arguments");
723 int LuaBinder
< QAction
>::__LuaWrapCall__setMenuRole (lua_State
*L
) {
724 QAction
*& __lua__obj
= *static_cast<QAction
**>(lqtL_checkudata(L
, 1, "QAction*"));
726 lua_pushstring(L
, "trying to reference deleted pointer");
730 QAction::MenuRole arg1
= static_cast<QAction::MenuRole
>(lqtL_toenum(L
, 2, "QAction::MenuRole"));
731 __lua__obj
->QAction::setMenuRole(arg1
);
734 int LuaBinder
< QAction
>::__LuaWrapCall__menuRole (lua_State
*L
) {
735 QAction
*& __lua__obj
= *static_cast<QAction
**>(lqtL_checkudata(L
, 1, "QAction*"));
737 lua_pushstring(L
, "trying to reference deleted pointer");
741 QAction::MenuRole ret
= __lua__obj
->QAction::menuRole();
742 lqtL_pushenum(L
, ret
, "QAction::MenuRole");
745 int LuaBinder
< QAction
>::__LuaWrapCall__menu (lua_State
*L
) {
746 QAction
*& __lua__obj
= *static_cast<QAction
**>(lqtL_checkudata(L
, 1, "QAction*"));
748 lua_pushstring(L
, "trying to reference deleted pointer");
752 QMenu
* ret
= __lua__obj
->QAction::menu();
753 lqtL_pushudata(L
, ret
, "QMenu*");
756 int LuaBinder
< QAction
>::__LuaWrapCall__setWhatsThis (lua_State
*L
) {
757 QAction
*& __lua__obj
= *static_cast<QAction
**>(lqtL_checkudata(L
, 1, "QAction*"));
759 lua_pushstring(L
, "trying to reference deleted pointer");
763 const QString
& arg1
= QString::fromAscii(lua_tostring(L
, 2), lua_objlen(L
, 2));
764 __lua__obj
->QAction::setWhatsThis(arg1
);
767 int LuaBinder
< QAction
>::__LuaWrapCall__isEnabled (lua_State
*L
) {
768 QAction
*& __lua__obj
= *static_cast<QAction
**>(lqtL_checkudata(L
, 1, "QAction*"));
770 lua_pushstring(L
, "trying to reference deleted pointer");
774 bool ret
= __lua__obj
->QAction::isEnabled();
775 lua_pushboolean(L
, ret
);
778 int LuaBinder
< QAction
>::__LuaWrapCall__setData (lua_State
*L
) {
779 QAction
*& __lua__obj
= *static_cast<QAction
**>(lqtL_checkudata(L
, 1, "QAction*"));
781 lua_pushstring(L
, "trying to reference deleted pointer");
785 const QVariant
& arg1
= **static_cast<QVariant
**>(lqtL_checkudata(L
, 2, "QVariant*"));
786 __lua__obj
->QAction::setData(arg1
);
789 int LuaBinder
< QAction
>::__LuaWrapCall__setEnabled (lua_State
*L
) {
790 QAction
*& __lua__obj
= *static_cast<QAction
**>(lqtL_checkudata(L
, 1, "QAction*"));
792 lua_pushstring(L
, "trying to reference deleted pointer");
796 bool arg1
= (bool)lua_toboolean(L
, 2);
797 __lua__obj
->QAction::setEnabled(arg1
);
800 int LuaBinder
< QAction
>::__LuaWrapCall__text (lua_State
*L
) {
801 QAction
*& __lua__obj
= *static_cast<QAction
**>(lqtL_checkudata(L
, 1, "QAction*"));
803 lua_pushstring(L
, "trying to reference deleted pointer");
807 QString ret
= __lua__obj
->QAction::text();
808 lua_pushlstring(L
, ret
.toAscii().data(), ret
.toAscii().size());
811 bool LuaBinder
< QAction
>::event (QEvent
* arg1
) {
812 bool absorbed
= false;
813 int oldtop
= lua_gettop(L
);
814 lqtL_pushudata(L
, this, "QAction*");
815 if (lua_getmetatable(L
, -1)) {
816 lua_getfield(L
, -1, "event");
822 lqtL_pushudata(L
, arg1
, "QEvent*");
823 if (lua_isfunction(L
, -1-2)) {
824 lua_pcall(L
, 1+1, 2, 0);
825 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
829 lua_settop(L
, oldtop
);
830 return this->QAction::event(arg1
);
832 bool ret
= (bool)lua_toboolean(L
, -1);
833 lua_settop(L
, oldtop
);
836 void LuaBinder
< QAction
>::connectNotify (const char * arg1
) {
837 bool absorbed
= false;
838 int oldtop
= lua_gettop(L
);
839 lqtL_pushudata(L
, this, "QAction*");
840 if (lua_getmetatable(L
, -1)) {
841 lua_getfield(L
, -1, "connectNotify");
847 lua_pushstring(L
, arg1
);
848 if (lua_isfunction(L
, -1-2)) {
849 lua_pcall(L
, 1+1, 2, 0);
850 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
854 lua_settop(L
, oldtop
);
855 this->QObject::connectNotify(arg1
);
857 lua_settop(L
, oldtop
);
859 bool LuaBinder
< QAction
>::eventFilter (QObject
* arg1
, QEvent
* arg2
) {
860 bool absorbed
= false;
861 int oldtop
= lua_gettop(L
);
862 lqtL_pushudata(L
, this, "QAction*");
863 if (lua_getmetatable(L
, -1)) {
864 lua_getfield(L
, -1, "eventFilter");
870 lqtL_pushudata(L
, arg1
, "QObject*");
871 lqtL_pushudata(L
, arg2
, "QEvent*");
872 if (lua_isfunction(L
, -2-2)) {
873 lua_pcall(L
, 2+1, 2, 0);
874 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
878 lua_settop(L
, oldtop
);
879 return this->QObject::eventFilter(arg1
, arg2
);
881 bool ret
= (bool)lua_toboolean(L
, -1);
882 lua_settop(L
, oldtop
);
885 void LuaBinder
< QAction
>::disconnectNotify (const char * arg1
) {
886 bool absorbed
= false;
887 int oldtop
= lua_gettop(L
);
888 lqtL_pushudata(L
, this, "QAction*");
889 if (lua_getmetatable(L
, -1)) {
890 lua_getfield(L
, -1, "disconnectNotify");
896 lua_pushstring(L
, arg1
);
897 if (lua_isfunction(L
, -1-2)) {
898 lua_pcall(L
, 1+1, 2, 0);
899 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
903 lua_settop(L
, oldtop
);
904 this->QObject::disconnectNotify(arg1
);
906 lua_settop(L
, oldtop
);
908 void LuaBinder
< QAction
>::childEvent (QChildEvent
* arg1
) {
909 bool absorbed
= false;
910 int oldtop
= lua_gettop(L
);
911 lqtL_pushudata(L
, this, "QAction*");
912 if (lua_getmetatable(L
, -1)) {
913 lua_getfield(L
, -1, "childEvent");
919 lqtL_pushudata(L
, arg1
, "QChildEvent*");
920 if (lua_isfunction(L
, -1-2)) {
921 lua_pcall(L
, 1+1, 2, 0);
922 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
926 lua_settop(L
, oldtop
);
927 this->QObject::childEvent(arg1
);
929 lua_settop(L
, oldtop
);
931 void LuaBinder
< QAction
>::timerEvent (QTimerEvent
* arg1
) {
932 bool absorbed
= false;
933 int oldtop
= lua_gettop(L
);
934 lqtL_pushudata(L
, this, "QAction*");
935 if (lua_getmetatable(L
, -1)) {
936 lua_getfield(L
, -1, "timerEvent");
942 lqtL_pushudata(L
, arg1
, "QTimerEvent*");
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->QObject::timerEvent(arg1
);
952 lua_settop(L
, oldtop
);
954 const QMetaObject
* LuaBinder
< QAction
>::metaObject () const {
955 bool absorbed
= false;
956 int oldtop
= lua_gettop(L
);
957 lqtL_pushudata(L
, this, "QAction*");
958 if (lua_getmetatable(L
, -1)) {
959 lua_getfield(L
, -1, "metaObject");
965 if (lua_isfunction(L
, -0-2)) {
966 lua_pcall(L
, 0+1, 2, 0);
967 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
971 lua_settop(L
, oldtop
);
972 return this->QAction::metaObject();
974 const QMetaObject
* ret
= *static_cast<QMetaObject
**>(lqtL_checkudata(L
, -1, "QMetaObject*"));
975 lua_settop(L
, oldtop
);
978 void LuaBinder
< QAction
>::customEvent (QEvent
* arg1
) {
979 bool absorbed
= false;
980 int oldtop
= lua_gettop(L
);
981 lqtL_pushudata(L
, this, "QAction*");
982 if (lua_getmetatable(L
, -1)) {
983 lua_getfield(L
, -1, "customEvent");
989 lqtL_pushudata(L
, arg1
, "QEvent*");
990 if (lua_isfunction(L
, -1-2)) {
991 lua_pcall(L
, 1+1, 2, 0);
992 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
996 lua_settop(L
, oldtop
);
997 this->QObject::customEvent(arg1
);
999 lua_settop(L
, oldtop
);
1001 LuaBinder
< QAction
>:: ~LuaBinder
< QAction
> () {
1002 int oldtop
= lua_gettop(L
);
1003 lqtL_pushudata(L
, this, "QAction*");
1004 lua_getfield(L
, -1, "~QAction");
1006 if (lua_isfunction(L
, -1)) {
1008 lua_pcall(L
, 1, 1, 0);
1011 lua_settop(L
, oldtop
);
1013 int LuaBinder
< QAction
>::lqt_pushenum_MenuRole (lua_State
*L
) {
1015 lua_getfield(L
, LUA_REGISTRYINDEX
, LQT_ENUMS
);
1016 if (!lua_istable(L
, -1)) {
1019 lua_pushvalue(L
, -1);
1020 lua_setfield(L
, LUA_REGISTRYINDEX
, LQT_ENUMS
);
1023 enum_table
= lua_gettop(L
);
1024 lua_pushstring(L
, "NoRole");
1025 lua_rawseti(L
, enum_table
, 0);
1026 lua_pushinteger(L
, 0);
1027 lua_setfield(L
, enum_table
, "NoRole");
1028 lua_pushstring(L
, "TextHeuristicRole");
1029 lua_rawseti(L
, enum_table
, 1);
1030 lua_pushinteger(L
, 1);
1031 lua_setfield(L
, enum_table
, "TextHeuristicRole");
1032 lua_pushstring(L
, "ApplicationSpecificRole");
1033 lua_rawseti(L
, enum_table
, 2);
1034 lua_pushinteger(L
, 2);
1035 lua_setfield(L
, enum_table
, "ApplicationSpecificRole");
1036 lua_pushstring(L
, "AboutQtRole");
1037 lua_rawseti(L
, enum_table
, 3);
1038 lua_pushinteger(L
, 3);
1039 lua_setfield(L
, enum_table
, "AboutQtRole");
1040 lua_pushstring(L
, "AboutRole");
1041 lua_rawseti(L
, enum_table
, 4);
1042 lua_pushinteger(L
, 4);
1043 lua_setfield(L
, enum_table
, "AboutRole");
1044 lua_pushstring(L
, "PreferencesRole");
1045 lua_rawseti(L
, enum_table
, 5);
1046 lua_pushinteger(L
, 5);
1047 lua_setfield(L
, enum_table
, "PreferencesRole");
1048 lua_pushstring(L
, "QuitRole");
1049 lua_rawseti(L
, enum_table
, 6);
1050 lua_pushinteger(L
, 6);
1051 lua_setfield(L
, enum_table
, "QuitRole");
1052 lua_pushcfunction(L
, LuaBinder
< QAction
>::lqt_pushenum_MenuRole_QFLAGS_CREATOR
);
1053 lua_setfield(L
, enum_table
, "QFlags");
1054 lua_pushvalue(L
, -1);
1055 lua_setfield(L
, -3, "QAction::MenuRole");
1059 int LuaBinder
< QAction
>::lqt_pushenum_MenuRole_QFLAGS_CREATOR (lua_State
*L
) {
1060 int argn
= lua_gettop(L
);
1062 void *p
= lua_newuserdata(L
, sizeof(QFlags
<QAction::MenuRole
>*) + sizeof(QFlags
<QAction::MenuRole
>));
1063 QFlags
<QAction::MenuRole
> *fl
= static_cast<QFlags
<QAction::MenuRole
>*>( static_cast<void*>(&static_cast<QFlags
<QAction::MenuRole
>**>(p
)[1]) );
1065 for (i
=1;i
<=argn
;i
++) {
1066 *fl
|= static_cast<QAction::MenuRole
>(lqtL_toenum(L
, i
, "QAction::MenuRole"));
1068 if (luaL_newmetatable(L
, "QFlags<QAction::MenuRole>*")) {
1069 lua_pushstring(L
, "QFlags<QAction::MenuRole>*");
1070 lua_setfield(L
, -2, "__qtype");
1072 lua_setmetatable(L
, -2);
1075 int LuaBinder
< QAction
>::lqt_pushenum_ActionEvent (lua_State
*L
) {
1077 lua_getfield(L
, LUA_REGISTRYINDEX
, LQT_ENUMS
);
1078 if (!lua_istable(L
, -1)) {
1081 lua_pushvalue(L
, -1);
1082 lua_setfield(L
, LUA_REGISTRYINDEX
, LQT_ENUMS
);
1085 enum_table
= lua_gettop(L
);
1086 lua_pushstring(L
, "Trigger");
1087 lua_rawseti(L
, enum_table
, 0);
1088 lua_pushinteger(L
, 0);
1089 lua_setfield(L
, enum_table
, "Trigger");
1090 lua_pushstring(L
, "Hover");
1091 lua_rawseti(L
, enum_table
, 1);
1092 lua_pushinteger(L
, 1);
1093 lua_setfield(L
, enum_table
, "Hover");
1094 lua_pushcfunction(L
, LuaBinder
< QAction
>::lqt_pushenum_ActionEvent_QFLAGS_CREATOR
);
1095 lua_setfield(L
, enum_table
, "QFlags");
1096 lua_pushvalue(L
, -1);
1097 lua_setfield(L
, -3, "QAction::ActionEvent");
1101 int LuaBinder
< QAction
>::lqt_pushenum_ActionEvent_QFLAGS_CREATOR (lua_State
*L
) {
1102 int argn
= lua_gettop(L
);
1104 void *p
= lua_newuserdata(L
, sizeof(QFlags
<QAction::ActionEvent
>*) + sizeof(QFlags
<QAction::ActionEvent
>));
1105 QFlags
<QAction::ActionEvent
> *fl
= static_cast<QFlags
<QAction::ActionEvent
>*>( static_cast<void*>(&static_cast<QFlags
<QAction::ActionEvent
>**>(p
)[1]) );
1107 for (i
=1;i
<=argn
;i
++) {
1108 *fl
|= static_cast<QAction::ActionEvent
>(lqtL_toenum(L
, i
, "QAction::ActionEvent"));
1110 if (luaL_newmetatable(L
, "QFlags<QAction::ActionEvent>*")) {
1111 lua_pushstring(L
, "QFlags<QAction::ActionEvent>*");
1112 lua_setfield(L
, -2, "__qtype");
1114 lua_setmetatable(L
, -2);
1117 int luaopen_QAction (lua_State
*L
) {
1118 if (luaL_newmetatable(L
, "QAction*")) {
1119 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__parentWidget
);
1120 lua_setfield(L
, -2, "parentWidget");
1121 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__setChecked
);
1122 lua_setfield(L
, -2, "setChecked");
1123 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__statusTip
);
1124 lua_setfield(L
, -2, "statusTip");
1125 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__setVisible
);
1126 lua_setfield(L
, -2, "setVisible");
1127 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__setIcon
);
1128 lua_setfield(L
, -2, "setIcon");
1129 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__isSeparator
);
1130 lua_setfield(L
, -2, "isSeparator");
1131 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__toggle
);
1132 lua_setfield(L
, -2, "toggle");
1133 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__icon
);
1134 lua_setfield(L
, -2, "icon");
1135 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__tr
);
1136 lua_setfield(L
, -2, "tr");
1137 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__isVisible
);
1138 lua_setfield(L
, -2, "isVisible");
1139 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__whatsThis
);
1140 lua_setfield(L
, -2, "whatsThis");
1141 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__toolTip
);
1142 lua_setfield(L
, -2, "toolTip");
1143 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__setIconText
);
1144 lua_setfield(L
, -2, "setIconText");
1145 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__shortcut
);
1146 lua_setfield(L
, -2, "shortcut");
1147 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__iconText
);
1148 lua_setfield(L
, -2, "iconText");
1149 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__shortcutContext
);
1150 lua_setfield(L
, -2, "shortcutContext");
1151 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__setToolTip
);
1152 lua_setfield(L
, -2, "setToolTip");
1153 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__setMenu
);
1154 lua_setfield(L
, -2, "setMenu");
1155 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__showStatusText
);
1156 lua_setfield(L
, -2, "showStatusText");
1157 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__setAutoRepeat
);
1158 lua_setfield(L
, -2, "setAutoRepeat");
1159 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__setCheckable
);
1160 lua_setfield(L
, -2, "setCheckable");
1161 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__setSeparator
);
1162 lua_setfield(L
, -2, "setSeparator");
1163 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__activate
);
1164 lua_setfield(L
, -2, "activate");
1165 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__trigger
);
1166 lua_setfield(L
, -2, "trigger");
1167 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__shortcuts
);
1168 lua_setfield(L
, -2, "shortcuts");
1169 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__associatedWidgets
);
1170 lua_setfield(L
, -2, "associatedWidgets");
1171 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__setText
);
1172 lua_setfield(L
, -2, "setText");
1173 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__data
);
1174 lua_setfield(L
, -2, "data");
1175 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__isCheckable
);
1176 lua_setfield(L
, -2, "isCheckable");
1177 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__setStatusTip
);
1178 lua_setfield(L
, -2, "setStatusTip");
1179 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__setDisabled
);
1180 lua_setfield(L
, -2, "setDisabled");
1181 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__setShortcutContext
);
1182 lua_setfield(L
, -2, "setShortcutContext");
1183 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__setActionGroup
);
1184 lua_setfield(L
, -2, "setActionGroup");
1185 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__autoRepeat
);
1186 lua_setfield(L
, -2, "autoRepeat");
1187 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__setFont
);
1188 lua_setfield(L
, -2, "setFont");
1189 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__metaObject
);
1190 lua_setfield(L
, -2, "metaObject");
1191 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__new
);
1192 lua_setfield(L
, -2, "new");
1193 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__hover
);
1194 lua_setfield(L
, -2, "hover");
1195 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__delete
);
1196 lua_setfield(L
, -2, "delete");
1197 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__font
);
1198 lua_setfield(L
, -2, "font");
1199 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__actionGroup
);
1200 lua_setfield(L
, -2, "actionGroup");
1201 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__setShortcut
);
1202 lua_setfield(L
, -2, "setShortcut");
1203 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__setShortcuts
);
1204 lua_setfield(L
, -2, "setShortcuts");
1205 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__isChecked
);
1206 lua_setfield(L
, -2, "isChecked");
1207 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__trUtf8
);
1208 lua_setfield(L
, -2, "trUtf8");
1209 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__setMenuRole
);
1210 lua_setfield(L
, -2, "setMenuRole");
1211 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__menuRole
);
1212 lua_setfield(L
, -2, "menuRole");
1213 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__menu
);
1214 lua_setfield(L
, -2, "menu");
1215 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__setWhatsThis
);
1216 lua_setfield(L
, -2, "setWhatsThis");
1217 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__isEnabled
);
1218 lua_setfield(L
, -2, "isEnabled");
1219 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__setData
);
1220 lua_setfield(L
, -2, "setData");
1221 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__setEnabled
);
1222 lua_setfield(L
, -2, "setEnabled");
1223 lua_pushcfunction(L
, LuaBinder
< QAction
>::__LuaWrapCall__text
);
1224 lua_setfield(L
, -2, "text");
1225 LuaBinder
< QAction
>::lqt_pushenum_MenuRole(L
);
1226 lua_setfield(L
, -2, "MenuRole");
1227 LuaBinder
< QAction
>::lqt_pushenum_ActionEvent(L
);
1228 lua_setfield(L
, -2, "ActionEvent");
1230 lua_pushboolean(L
, 1);
1231 lua_setfield(L
, -2, "QObject*");
1232 lua_setfield(L
, -2, "__base");
1233 lua_pushcfunction(L
, lqtL_newindex
);
1234 lua_setfield(L
, -2, "__newindex");
1235 lua_pushcfunction(L
, lqtL_index
);
1236 lua_setfield(L
, -2, "__index");
1237 lua_pushcfunction(L
, lqtL_gc
);
1238 lua_setfield(L
, -2, "__gc");
1239 lua_pushstring(L
, "QAction");
1240 lua_setfield(L
, -2, "__qtype");
1241 lua_setglobal(L
, "QAction");