1 #include "lqt_bind_QGraphicsView.hpp"
3 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__render (lua_State
*L
) {
4 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
6 lua_pushstring(L
, "trying to reference deleted pointer");
10 QPainter
* arg1
= *static_cast<QPainter
**>(lqtL_checkudata(L
, 2, "QPainter*"));
11 const QRectF
& arg2
= lqtL_testudata(L
, 3, "QRectF*")?**static_cast<QRectF
**>(lqtL_checkudata(L
, 3, "QRectF*")):QRectF();
12 const QRect
& arg3
= lqtL_testudata(L
, 4, "QRect*")?**static_cast<QRect
**>(lqtL_checkudata(L
, 4, "QRect*")):QRect();
13 Qt::AspectRatioMode arg4
= lqtL_isenum(L
, 5, "Qt::AspectRatioMode")?static_cast<Qt::AspectRatioMode
>(lqtL_toenum(L
, 5, "Qt::AspectRatioMode")):Qt::KeepAspectRatio
;
14 __lua__obj
->QGraphicsView::render(arg1
, arg2
, arg3
, arg4
);
17 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__setOptimizationFlag (lua_State
*L
) {
18 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
20 lua_pushstring(L
, "trying to reference deleted pointer");
24 QGraphicsView::OptimizationFlag arg1
= static_cast<QGraphicsView::OptimizationFlag
>(lqtL_toenum(L
, 2, "QGraphicsView::OptimizationFlag"));
25 bool arg2
= lua_isboolean(L
, 3)?(bool)lua_toboolean(L
, 3):true;
26 __lua__obj
->QGraphicsView::setOptimizationFlag(arg1
, arg2
);
29 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__sizeHint (lua_State
*L
) {
30 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
32 lua_pushstring(L
, "trying to reference deleted pointer");
36 QSize ret
= __lua__obj
->QGraphicsView::sizeHint();
37 lqtL_passudata(L
, new QSize(ret
), "QSize*");
40 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__setMatrix (lua_State
*L
) {
41 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
43 lua_pushstring(L
, "trying to reference deleted pointer");
47 const QMatrix
& arg1
= **static_cast<QMatrix
**>(lqtL_checkudata(L
, 2, "QMatrix*"));
48 bool arg2
= lua_isboolean(L
, 3)?(bool)lua_toboolean(L
, 3):false;
49 __lua__obj
->QGraphicsView::setMatrix(arg1
, arg2
);
52 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__setInteractive (lua_State
*L
) {
53 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
55 lua_pushstring(L
, "trying to reference deleted pointer");
59 bool arg1
= (bool)lua_toboolean(L
, 2);
60 __lua__obj
->QGraphicsView::setInteractive(arg1
);
63 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__sceneRect (lua_State
*L
) {
64 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
66 lua_pushstring(L
, "trying to reference deleted pointer");
70 QRectF ret
= __lua__obj
->QGraphicsView::sceneRect();
71 lqtL_passudata(L
, new QRectF(ret
), "QRectF*");
74 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__viewportTransform (lua_State
*L
) {
75 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
77 lua_pushstring(L
, "trying to reference deleted pointer");
81 QTransform ret
= __lua__obj
->QGraphicsView::viewportTransform();
82 lqtL_passudata(L
, new QTransform(ret
), "QTransform*");
85 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__setOptimizationFlags (lua_State
*L
) {
86 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
88 lua_pushstring(L
, "trying to reference deleted pointer");
92 QFlags
<QGraphicsView::OptimizationFlag
> arg1
= **static_cast<QFlags
<QGraphicsView::OptimizationFlag
>**>(lqtL_checkudata(L
, 2, "QFlags<QGraphicsView::OptimizationFlag>*"));
93 __lua__obj
->QGraphicsView::setOptimizationFlags(arg1
);
96 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__setTransformationAnchor (lua_State
*L
) {
97 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
99 lua_pushstring(L
, "trying to reference deleted pointer");
103 QGraphicsView::ViewportAnchor arg1
= static_cast<QGraphicsView::ViewportAnchor
>(lqtL_toenum(L
, 2, "QGraphicsView::ViewportAnchor"));
104 __lua__obj
->QGraphicsView::setTransformationAnchor(arg1
);
107 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__trUtf8__OverloadedVersion__1 (lua_State
*L
) {
108 const char * arg1
= lua_tostring(L
, 1);
109 const char * arg2
= (lua_type(L
, 2)==LUA_TSTRING
)?lua_tostring(L
, 2):static_cast< const char * >(0);
110 QString ret
= QGraphicsView::trUtf8(arg1
, arg2
);
111 lua_pushlstring(L
, ret
.toAscii().data(), ret
.toAscii().size());
114 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__trUtf8__OverloadedVersion__2 (lua_State
*L
) {
115 const char * arg1
= lua_tostring(L
, 1);
116 const char * arg2
= lua_tostring(L
, 2);
117 int arg3
= lua_tointeger(L
, 3);
118 QString ret
= QGraphicsView::trUtf8(arg1
, arg2
, arg3
);
119 lua_pushlstring(L
, ret
.toAscii().data(), ret
.toAscii().size());
122 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__trUtf8 (lua_State
*L
) {
124 const int premium
= 11+lua_gettop(L
);
126 if ((lua_type(L
, 1)==LUA_TSTRING
)) {
129 score
[1] += premium
-1; // table: 0x11608a0;
131 score
[1] -= premium
*premium
;
133 if ((lua_type(L
, 2)==LUA_TSTRING
)) {
136 score
[1] += premium
-1; // table: 0x11603f0;
138 score
[1] -= premium
*premium
;
141 if ((lua_type(L
, 1)==LUA_TSTRING
)) {
144 score
[2] += premium
-1; // table: 0x1162690;
146 score
[2] -= premium
*premium
;
148 if ((lua_type(L
, 2)==LUA_TSTRING
)) {
151 score
[2] += premium
-1; // table: 0x1161db0;
153 score
[2] -= premium
*premium
;
155 if (lua_isnumber(L
, 3)) {
158 score
[2] += premium
-1; // table: 0x1162b10;
160 score
[2] -= premium
*premium
;
163 for (int i
=1;i
<=2;i
++) {
164 if (score
[best
] < score
[i
]) { best
= i
; }
167 case 1: return __LuaWrapCall__trUtf8__OverloadedVersion__1(L
); break;
168 case 2: return __LuaWrapCall__trUtf8__OverloadedVersion__2(L
); break;
170 lua_pushstring(L
, "no overload of function __LuaWrapCall__trUtf8 matching arguments");
174 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__optimizationFlags (lua_State
*L
) {
175 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
177 lua_pushstring(L
, "trying to reference deleted pointer");
181 QFlags
<QGraphicsView::OptimizationFlag
> ret
= __lua__obj
->QGraphicsView::optimizationFlags();
182 lqtL_passudata(L
, new QFlags
<QGraphicsView::OptimizationFlag
>(ret
), "QFlags<QGraphicsView::OptimizationFlag>*");
185 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__rubberBandSelectionMode (lua_State
*L
) {
186 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
188 lua_pushstring(L
, "trying to reference deleted pointer");
192 Qt::ItemSelectionMode ret
= __lua__obj
->QGraphicsView::rubberBandSelectionMode();
193 lqtL_pushenum(L
, ret
, "Qt::ItemSelectionMode");
196 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__tr__OverloadedVersion__1 (lua_State
*L
) {
197 const char * arg1
= lua_tostring(L
, 1);
198 const char * arg2
= (lua_type(L
, 2)==LUA_TSTRING
)?lua_tostring(L
, 2):static_cast< const char * >(0);
199 QString ret
= QGraphicsView::tr(arg1
, arg2
);
200 lua_pushlstring(L
, ret
.toAscii().data(), ret
.toAscii().size());
203 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__tr__OverloadedVersion__2 (lua_State
*L
) {
204 const char * arg1
= lua_tostring(L
, 1);
205 const char * arg2
= lua_tostring(L
, 2);
206 int arg3
= lua_tointeger(L
, 3);
207 QString ret
= QGraphicsView::tr(arg1
, arg2
, arg3
);
208 lua_pushlstring(L
, ret
.toAscii().data(), ret
.toAscii().size());
211 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__tr (lua_State
*L
) {
213 const int premium
= 11+lua_gettop(L
);
215 if ((lua_type(L
, 1)==LUA_TSTRING
)) {
218 score
[1] += premium
-1; // table: 0x115fb30;
220 score
[1] -= premium
*premium
;
222 if ((lua_type(L
, 2)==LUA_TSTRING
)) {
225 score
[1] += premium
-1; // table: 0x115f890;
227 score
[1] -= premium
*premium
;
230 if ((lua_type(L
, 1)==LUA_TSTRING
)) {
233 score
[2] += premium
-1; // table: 0x1161570;
235 score
[2] -= premium
*premium
;
237 if ((lua_type(L
, 2)==LUA_TSTRING
)) {
240 score
[2] += premium
-1; // table: 0x1161a60;
242 score
[2] -= premium
*premium
;
244 if (lua_isnumber(L
, 3)) {
247 score
[2] += premium
-1; // table: 0x1161e10;
249 score
[2] -= premium
*premium
;
252 for (int i
=1;i
<=2;i
++) {
253 if (score
[best
] < score
[i
]) { best
= i
; }
256 case 1: return __LuaWrapCall__tr__OverloadedVersion__1(L
); break;
257 case 2: return __LuaWrapCall__tr__OverloadedVersion__2(L
); break;
259 lua_pushstring(L
, "no overload of function __LuaWrapCall__tr matching arguments");
263 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__renderHints (lua_State
*L
) {
264 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
266 lua_pushstring(L
, "trying to reference deleted pointer");
270 QFlags
<QPainter::RenderHint
> ret
= __lua__obj
->QGraphicsView::renderHints();
271 lqtL_passudata(L
, new QFlags
<QPainter::RenderHint
>(ret
), "QFlags<QPainter::RenderHint>*");
274 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__setCacheMode (lua_State
*L
) {
275 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
277 lua_pushstring(L
, "trying to reference deleted pointer");
281 QFlags
<QGraphicsView::CacheModeFlag
> arg1
= **static_cast<QFlags
<QGraphicsView::CacheModeFlag
>**>(lqtL_checkudata(L
, 2, "QFlags<QGraphicsView::CacheModeFlag>*"));
282 __lua__obj
->QGraphicsView::setCacheMode(arg1
);
285 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__delete (lua_State
*L
) {
286 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
288 lua_pushstring(L
, "trying to reference deleted pointer");
296 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__new__OverloadedVersion__2 (lua_State
*L
) {
297 QWidget
* arg1
= lqtL_testudata(L
, 1, "QWidget*")?*static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*")):static_cast< QWidget
* >(0);
298 QGraphicsView
* ret
= new LuaBinder
< QGraphicsView
>(L
, arg1
);
299 lqtL_passudata(L
, ret
, "QGraphicsView*");
302 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__new__OverloadedVersion__3 (lua_State
*L
) {
303 QGraphicsScene
* arg1
= *static_cast<QGraphicsScene
**>(lqtL_checkudata(L
, 1, "QGraphicsScene*"));
304 QWidget
* arg2
= lqtL_testudata(L
, 2, "QWidget*")?*static_cast<QWidget
**>(lqtL_checkudata(L
, 2, "QWidget*")):static_cast< QWidget
* >(0);
305 QGraphicsView
* ret
= new LuaBinder
< QGraphicsView
>(L
, arg1
, arg2
);
306 lqtL_passudata(L
, ret
, "QGraphicsView*");
309 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__new (lua_State
*L
) {
311 const int premium
= 11+lua_gettop(L
);
313 if (lqtL_testudata(L
, 1, "QWidget*")) {
316 score
[2] += premium
-1; // table: 0x1164780;
318 score
[2] -= premium
*premium
;
321 if (lqtL_testudata(L
, 1, "QGraphicsScene*")) {
324 score
[3] += premium
-1; // table: 0x11651f0;
326 score
[3] -= premium
*premium
;
328 if (lqtL_testudata(L
, 2, "QWidget*")) {
331 score
[3] += premium
-1; // table: 0x1164c90;
333 score
[3] -= premium
*premium
;
336 for (int i
=1;i
<=3;i
++) {
337 if (score
[best
] < score
[i
]) { best
= i
; }
340 case 2: return __LuaWrapCall__new__OverloadedVersion__2(L
); break;
341 case 3: return __LuaWrapCall__new__OverloadedVersion__3(L
); break;
343 lua_pushstring(L
, "no overload of function __LuaWrapCall__new matching arguments");
347 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__setRenderHints (lua_State
*L
) {
348 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
350 lua_pushstring(L
, "trying to reference deleted pointer");
354 QFlags
<QPainter::RenderHint
> arg1
= **static_cast<QFlags
<QPainter::RenderHint
>**>(lqtL_checkudata(L
, 2, "QFlags<QPainter::RenderHint>*"));
355 __lua__obj
->QGraphicsView::setRenderHints(arg1
);
358 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__updateScene (lua_State
*L
) {
359 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
361 lua_pushstring(L
, "trying to reference deleted pointer");
365 const QList
<QRectF
>& arg1
= **static_cast<QList
<QRectF
>**>(lqtL_checkudata(L
, 2, "QList<QRectF>*"));
366 __lua__obj
->QGraphicsView::updateScene(arg1
);
369 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__setRenderHint (lua_State
*L
) {
370 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
372 lua_pushstring(L
, "trying to reference deleted pointer");
376 QPainter::RenderHint arg1
= static_cast<QPainter::RenderHint
>(lqtL_toenum(L
, 2, "QPainter::RenderHint"));
377 bool arg2
= lua_isboolean(L
, 3)?(bool)lua_toboolean(L
, 3):true;
378 __lua__obj
->QGraphicsView::setRenderHint(arg1
, arg2
);
381 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__items__OverloadedVersion__1 (lua_State
*L
) {
382 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
384 lua_pushstring(L
, "trying to reference deleted pointer");
388 QList
<QGraphicsItem
*> ret
= __lua__obj
->QGraphicsView::items();
389 lqtL_passudata(L
, new QList
<QGraphicsItem
*>(ret
), "QList<QGraphicsItem*>*");
392 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__items__OverloadedVersion__2 (lua_State
*L
) {
393 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
395 lua_pushstring(L
, "trying to reference deleted pointer");
399 const QPoint
& arg1
= **static_cast<QPoint
**>(lqtL_checkudata(L
, 2, "QPoint*"));
400 QList
<QGraphicsItem
*> ret
= __lua__obj
->QGraphicsView::items(arg1
);
401 lqtL_passudata(L
, new QList
<QGraphicsItem
*>(ret
), "QList<QGraphicsItem*>*");
404 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__items__OverloadedVersion__3 (lua_State
*L
) {
405 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
407 lua_pushstring(L
, "trying to reference deleted pointer");
411 int arg1
= lua_tointeger(L
, 2);
412 int arg2
= lua_tointeger(L
, 3);
413 QList
<QGraphicsItem
*> ret
= __lua__obj
->QGraphicsView::items(arg1
, arg2
);
414 lqtL_passudata(L
, new QList
<QGraphicsItem
*>(ret
), "QList<QGraphicsItem*>*");
417 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__items__OverloadedVersion__4 (lua_State
*L
) {
418 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
420 lua_pushstring(L
, "trying to reference deleted pointer");
424 const QRect
& arg1
= **static_cast<QRect
**>(lqtL_checkudata(L
, 2, "QRect*"));
425 Qt::ItemSelectionMode arg2
= lqtL_isenum(L
, 3, "Qt::ItemSelectionMode")?static_cast<Qt::ItemSelectionMode
>(lqtL_toenum(L
, 3, "Qt::ItemSelectionMode")):Qt::IntersectsItemShape
;
426 QList
<QGraphicsItem
*> ret
= __lua__obj
->QGraphicsView::items(arg1
, arg2
);
427 lqtL_passudata(L
, new QList
<QGraphicsItem
*>(ret
), "QList<QGraphicsItem*>*");
430 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__items__OverloadedVersion__5 (lua_State
*L
) {
431 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
433 lua_pushstring(L
, "trying to reference deleted pointer");
437 int arg1
= lua_tointeger(L
, 2);
438 int arg2
= lua_tointeger(L
, 3);
439 int arg3
= lua_tointeger(L
, 4);
440 int arg4
= lua_tointeger(L
, 5);
441 Qt::ItemSelectionMode arg5
= lqtL_isenum(L
, 6, "Qt::ItemSelectionMode")?static_cast<Qt::ItemSelectionMode
>(lqtL_toenum(L
, 6, "Qt::ItemSelectionMode")):Qt::IntersectsItemShape
;
442 QList
<QGraphicsItem
*> ret
= __lua__obj
->QGraphicsView::items(arg1
, arg2
, arg3
, arg4
, arg5
);
443 lqtL_passudata(L
, new QList
<QGraphicsItem
*>(ret
), "QList<QGraphicsItem*>*");
446 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__items__OverloadedVersion__6 (lua_State
*L
) {
447 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
449 lua_pushstring(L
, "trying to reference deleted pointer");
453 const QPolygon
& arg1
= **static_cast<QPolygon
**>(lqtL_checkudata(L
, 2, "QPolygon*"));
454 Qt::ItemSelectionMode arg2
= lqtL_isenum(L
, 3, "Qt::ItemSelectionMode")?static_cast<Qt::ItemSelectionMode
>(lqtL_toenum(L
, 3, "Qt::ItemSelectionMode")):Qt::IntersectsItemShape
;
455 QList
<QGraphicsItem
*> ret
= __lua__obj
->QGraphicsView::items(arg1
, arg2
);
456 lqtL_passudata(L
, new QList
<QGraphicsItem
*>(ret
), "QList<QGraphicsItem*>*");
459 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__items__OverloadedVersion__7 (lua_State
*L
) {
460 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
462 lua_pushstring(L
, "trying to reference deleted pointer");
466 const QPainterPath
& arg1
= **static_cast<QPainterPath
**>(lqtL_checkudata(L
, 2, "QPainterPath*"));
467 Qt::ItemSelectionMode arg2
= lqtL_isenum(L
, 3, "Qt::ItemSelectionMode")?static_cast<Qt::ItemSelectionMode
>(lqtL_toenum(L
, 3, "Qt::ItemSelectionMode")):Qt::IntersectsItemShape
;
468 QList
<QGraphicsItem
*> ret
= __lua__obj
->QGraphicsView::items(arg1
, arg2
);
469 lqtL_passudata(L
, new QList
<QGraphicsItem
*>(ret
), "QList<QGraphicsItem*>*");
472 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__items (lua_State
*L
) {
474 const int premium
= 11+lua_gettop(L
);
476 score
[1] += lqtL_testudata(L
, 1, "QGraphicsView*")?premium
:-premium
*premium
;
478 score
[2] += lqtL_testudata(L
, 1, "QGraphicsView*")?premium
:-premium
*premium
;
479 if (lqtL_testudata(L
, 2, "QPoint*")) {
482 score
[2] += premium
-1; // table: 0x118c240;
484 score
[2] -= premium
*premium
;
487 score
[3] += lqtL_testudata(L
, 1, "QGraphicsView*")?premium
:-premium
*premium
;
488 if (lua_isnumber(L
, 2)) {
491 score
[3] += premium
-1; // table: 0x118cc70;
493 score
[3] -= premium
*premium
;
495 if (lua_isnumber(L
, 3)) {
498 score
[3] += premium
-1; // table: 0x118d180;
500 score
[3] -= premium
*premium
;
503 score
[4] += lqtL_testudata(L
, 1, "QGraphicsView*")?premium
:-premium
*premium
;
504 if (lqtL_testudata(L
, 2, "QRect*")) {
507 score
[4] += premium
-1; // table: 0x118dad0;
509 score
[4] -= premium
*premium
;
511 if (lqtL_isenum(L
, 3, "Qt::ItemSelectionMode")) {
514 score
[4] += premium
-1; // table: 0x118d530;
516 score
[4] -= premium
*premium
;
519 score
[5] += lqtL_testudata(L
, 1, "QGraphicsView*")?premium
:-premium
*premium
;
520 if (lua_isnumber(L
, 2)) {
523 score
[5] += premium
-1; // table: 0x118e980;
525 score
[5] -= premium
*premium
;
527 if (lua_isnumber(L
, 3)) {
530 score
[5] += premium
-1; // table: 0x118eea0;
532 score
[5] -= premium
*premium
;
534 if (lua_isnumber(L
, 4)) {
537 score
[5] += premium
-1; // table: 0x118f250;
539 score
[5] -= premium
*premium
;
541 if (lua_isnumber(L
, 5)) {
544 score
[5] += premium
-1; // table: 0x118f1f0;
546 score
[5] -= premium
*premium
;
548 if (lqtL_isenum(L
, 6, "Qt::ItemSelectionMode")) {
551 score
[5] += premium
-1; // table: 0x118fa30;
553 score
[5] -= premium
*premium
;
556 score
[6] += lqtL_testudata(L
, 1, "QGraphicsView*")?premium
:-premium
*premium
;
557 if (lqtL_testudata(L
, 2, "QPolygon*")) {
560 score
[6] += premium
-1; // table: 0x1190390;
562 score
[6] -= premium
*premium
;
564 if (lqtL_isenum(L
, 3, "Qt::ItemSelectionMode")) {
567 score
[6] += premium
-1; // table: 0x118f620;
569 score
[6] -= premium
*premium
;
572 score
[7] += lqtL_testudata(L
, 1, "QGraphicsView*")?premium
:-premium
*premium
;
573 if (lqtL_testudata(L
, 2, "QPainterPath*")) {
576 score
[7] += premium
-1; // table: 0x1191250;
578 score
[7] -= premium
*premium
;
580 if (lqtL_isenum(L
, 3, "Qt::ItemSelectionMode")) {
583 score
[7] += premium
-1; // table: 0x1190cd0;
585 score
[7] -= premium
*premium
;
588 for (int i
=1;i
<=7;i
++) {
589 if (score
[best
] < score
[i
]) { best
= i
; }
592 case 1: return __LuaWrapCall__items__OverloadedVersion__1(L
); break;
593 case 2: return __LuaWrapCall__items__OverloadedVersion__2(L
); break;
594 case 3: return __LuaWrapCall__items__OverloadedVersion__3(L
); break;
595 case 4: return __LuaWrapCall__items__OverloadedVersion__4(L
); break;
596 case 5: return __LuaWrapCall__items__OverloadedVersion__5(L
); break;
597 case 6: return __LuaWrapCall__items__OverloadedVersion__6(L
); break;
598 case 7: return __LuaWrapCall__items__OverloadedVersion__7(L
); break;
600 lua_pushstring(L
, "no overload of function __LuaWrapCall__items matching arguments");
604 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__invalidateScene (lua_State
*L
) {
605 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
607 lua_pushstring(L
, "trying to reference deleted pointer");
611 const QRectF
& arg1
= lqtL_testudata(L
, 2, "QRectF*")?**static_cast<QRectF
**>(lqtL_checkudata(L
, 2, "QRectF*")):QRectF();
612 QFlags
<QGraphicsScene::SceneLayer
> arg2
= lqtL_testudata(L
, 3, "QFlags<QGraphicsScene::SceneLayer>*")?**static_cast<QFlags
<QGraphicsScene::SceneLayer
>**>(lqtL_checkudata(L
, 3, "QFlags<QGraphicsScene::SceneLayer>*")):QGraphicsScene::AllLayers
;
613 __lua__obj
->QGraphicsView::invalidateScene(arg1
, arg2
);
616 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__matrix (lua_State
*L
) {
617 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
619 lua_pushstring(L
, "trying to reference deleted pointer");
623 QMatrix ret
= __lua__obj
->QGraphicsView::matrix();
624 lqtL_passudata(L
, new QMatrix(ret
), "QMatrix*");
627 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__transformationAnchor (lua_State
*L
) {
628 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
630 lua_pushstring(L
, "trying to reference deleted pointer");
634 QGraphicsView::ViewportAnchor ret
= __lua__obj
->QGraphicsView::transformationAnchor();
635 lqtL_pushenum(L
, ret
, "QGraphicsView::ViewportAnchor");
638 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__centerOn__OverloadedVersion__1 (lua_State
*L
) {
639 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
641 lua_pushstring(L
, "trying to reference deleted pointer");
645 const QPointF
& arg1
= **static_cast<QPointF
**>(lqtL_checkudata(L
, 2, "QPointF*"));
646 __lua__obj
->QGraphicsView::centerOn(arg1
);
649 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__centerOn__OverloadedVersion__2 (lua_State
*L
) {
650 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
652 lua_pushstring(L
, "trying to reference deleted pointer");
656 double arg1
= lua_tonumber(L
, 2);
657 double arg2
= lua_tonumber(L
, 3);
658 __lua__obj
->QGraphicsView::centerOn(arg1
, arg2
);
661 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__centerOn__OverloadedVersion__3 (lua_State
*L
) {
662 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
664 lua_pushstring(L
, "trying to reference deleted pointer");
668 const QGraphicsItem
* arg1
= *static_cast<QGraphicsItem
**>(lqtL_checkudata(L
, 2, "QGraphicsItem*"));
669 __lua__obj
->QGraphicsView::centerOn(arg1
);
672 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__centerOn (lua_State
*L
) {
674 const int premium
= 11+lua_gettop(L
);
676 score
[1] += lqtL_testudata(L
, 1, "QGraphicsView*")?premium
:-premium
*premium
;
677 if (lqtL_testudata(L
, 2, "QPointF*")) {
680 score
[1] += premium
-1; // table: 0x1180590;
682 score
[1] -= premium
*premium
;
685 score
[2] += lqtL_testudata(L
, 1, "QGraphicsView*")?premium
:-premium
*premium
;
686 if (lua_isnumber(L
, 2)) {
689 score
[2] += premium
-1; // table: 0x1181040;
691 score
[2] -= premium
*premium
;
693 if (lua_isnumber(L
, 3)) {
696 score
[2] += premium
-1; // table: 0x1180af0;
698 score
[2] -= premium
*premium
;
701 score
[3] += lqtL_testudata(L
, 1, "QGraphicsView*")?premium
:-premium
*premium
;
702 if (lqtL_testudata(L
, 2, "QGraphicsItem*")) {
705 score
[3] += premium
-1; // table: 0x1181e90;
707 score
[3] -= premium
*premium
;
710 for (int i
=1;i
<=3;i
++) {
711 if (score
[best
] < score
[i
]) { best
= i
; }
714 case 1: return __LuaWrapCall__centerOn__OverloadedVersion__1(L
); break;
715 case 2: return __LuaWrapCall__centerOn__OverloadedVersion__2(L
); break;
716 case 3: return __LuaWrapCall__centerOn__OverloadedVersion__3(L
); break;
718 lua_pushstring(L
, "no overload of function __LuaWrapCall__centerOn matching arguments");
722 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__rotate (lua_State
*L
) {
723 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
725 lua_pushstring(L
, "trying to reference deleted pointer");
729 double arg1
= lua_tonumber(L
, 2);
730 __lua__obj
->QGraphicsView::rotate(arg1
);
733 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__setScene (lua_State
*L
) {
734 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
736 lua_pushstring(L
, "trying to reference deleted pointer");
740 QGraphicsScene
* arg1
= *static_cast<QGraphicsScene
**>(lqtL_checkudata(L
, 2, "QGraphicsScene*"));
741 __lua__obj
->QGraphicsView::setScene(arg1
);
744 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__transform (lua_State
*L
) {
745 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
747 lua_pushstring(L
, "trying to reference deleted pointer");
751 QTransform ret
= __lua__obj
->QGraphicsView::transform();
752 lqtL_passudata(L
, new QTransform(ret
), "QTransform*");
755 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__resetMatrix (lua_State
*L
) {
756 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
758 lua_pushstring(L
, "trying to reference deleted pointer");
762 __lua__obj
->QGraphicsView::resetMatrix();
765 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__setRubberBandSelectionMode (lua_State
*L
) {
766 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
768 lua_pushstring(L
, "trying to reference deleted pointer");
772 Qt::ItemSelectionMode arg1
= static_cast<Qt::ItemSelectionMode
>(lqtL_toenum(L
, 2, "Qt::ItemSelectionMode"));
773 __lua__obj
->QGraphicsView::setRubberBandSelectionMode(arg1
);
776 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__setTransform (lua_State
*L
) {
777 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
779 lua_pushstring(L
, "trying to reference deleted pointer");
783 const QTransform
& arg1
= **static_cast<QTransform
**>(lqtL_checkudata(L
, 2, "QTransform*"));
784 bool arg2
= lua_isboolean(L
, 3)?(bool)lua_toboolean(L
, 3):false;
785 __lua__obj
->QGraphicsView::setTransform(arg1
, arg2
);
788 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__setSceneRect__OverloadedVersion__1 (lua_State
*L
) {
789 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
791 lua_pushstring(L
, "trying to reference deleted pointer");
795 const QRectF
& arg1
= **static_cast<QRectF
**>(lqtL_checkudata(L
, 2, "QRectF*"));
796 __lua__obj
->QGraphicsView::setSceneRect(arg1
);
799 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__setSceneRect__OverloadedVersion__2 (lua_State
*L
) {
800 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
802 lua_pushstring(L
, "trying to reference deleted pointer");
806 double arg1
= lua_tonumber(L
, 2);
807 double arg2
= lua_tonumber(L
, 3);
808 double arg3
= lua_tonumber(L
, 4);
809 double arg4
= lua_tonumber(L
, 5);
810 __lua__obj
->QGraphicsView::setSceneRect(arg1
, arg2
, arg3
, arg4
);
813 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__setSceneRect (lua_State
*L
) {
815 const int premium
= 11+lua_gettop(L
);
817 score
[1] += lqtL_testudata(L
, 1, "QGraphicsView*")?premium
:-premium
*premium
;
818 if (lqtL_testudata(L
, 2, "QRectF*")) {
821 score
[1] += premium
-1; // table: 0x1176810;
823 score
[1] -= premium
*premium
;
826 score
[2] += lqtL_testudata(L
, 1, "QGraphicsView*")?premium
:-premium
*premium
;
827 if (lua_isnumber(L
, 2)) {
830 score
[2] += premium
-1; // table: 0x1177290;
832 score
[2] -= premium
*premium
;
834 if (lua_isnumber(L
, 3)) {
837 score
[2] += premium
-1; // table: 0x1176d20;
839 score
[2] -= premium
*premium
;
841 if (lua_isnumber(L
, 4)) {
844 score
[2] += premium
-1; // table: 0x11777a0;
846 score
[2] -= premium
*premium
;
848 if (lua_isnumber(L
, 5)) {
851 score
[2] += premium
-1; // table: 0x11780c0;
853 score
[2] -= premium
*premium
;
856 for (int i
=1;i
<=2;i
++) {
857 if (score
[best
] < score
[i
]) { best
= i
; }
860 case 1: return __LuaWrapCall__setSceneRect__OverloadedVersion__1(L
); break;
861 case 2: return __LuaWrapCall__setSceneRect__OverloadedVersion__2(L
); break;
863 lua_pushstring(L
, "no overload of function __LuaWrapCall__setSceneRect matching arguments");
867 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__scale (lua_State
*L
) {
868 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
870 lua_pushstring(L
, "trying to reference deleted pointer");
874 double arg1
= lua_tonumber(L
, 2);
875 double arg2
= lua_tonumber(L
, 3);
876 __lua__obj
->QGraphicsView::scale(arg1
, arg2
);
879 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__resizeAnchor (lua_State
*L
) {
880 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
882 lua_pushstring(L
, "trying to reference deleted pointer");
886 QGraphicsView::ViewportAnchor ret
= __lua__obj
->QGraphicsView::resizeAnchor();
887 lqtL_pushenum(L
, ret
, "QGraphicsView::ViewportAnchor");
890 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__dragMode (lua_State
*L
) {
891 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
893 lua_pushstring(L
, "trying to reference deleted pointer");
897 QGraphicsView::DragMode ret
= __lua__obj
->QGraphicsView::dragMode();
898 lqtL_pushenum(L
, ret
, "QGraphicsView::DragMode");
901 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__shear (lua_State
*L
) {
902 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
904 lua_pushstring(L
, "trying to reference deleted pointer");
908 double arg1
= lua_tonumber(L
, 2);
909 double arg2
= lua_tonumber(L
, 3);
910 __lua__obj
->QGraphicsView::shear(arg1
, arg2
);
913 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__fitInView__OverloadedVersion__1 (lua_State
*L
) {
914 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
916 lua_pushstring(L
, "trying to reference deleted pointer");
920 const QRectF
& arg1
= **static_cast<QRectF
**>(lqtL_checkudata(L
, 2, "QRectF*"));
921 Qt::AspectRatioMode arg2
= lqtL_isenum(L
, 3, "Qt::AspectRatioMode")?static_cast<Qt::AspectRatioMode
>(lqtL_toenum(L
, 3, "Qt::AspectRatioMode")):Qt::IgnoreAspectRatio
;
922 __lua__obj
->QGraphicsView::fitInView(arg1
, arg2
);
925 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__fitInView__OverloadedVersion__2 (lua_State
*L
) {
926 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
928 lua_pushstring(L
, "trying to reference deleted pointer");
932 double arg1
= lua_tonumber(L
, 2);
933 double arg2
= lua_tonumber(L
, 3);
934 double arg3
= lua_tonumber(L
, 4);
935 double arg4
= lua_tonumber(L
, 5);
936 Qt::AspectRatioMode arg5
= lqtL_isenum(L
, 6, "Qt::AspectRatioMode")?static_cast<Qt::AspectRatioMode
>(lqtL_toenum(L
, 6, "Qt::AspectRatioMode")):Qt::IgnoreAspectRatio
;
937 __lua__obj
->QGraphicsView::fitInView(arg1
, arg2
, arg3
, arg4
, arg5
);
940 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__fitInView__OverloadedVersion__3 (lua_State
*L
) {
941 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
943 lua_pushstring(L
, "trying to reference deleted pointer");
947 const QGraphicsItem
* arg1
= *static_cast<QGraphicsItem
**>(lqtL_checkudata(L
, 2, "QGraphicsItem*"));
948 Qt::AspectRatioMode arg2
= lqtL_isenum(L
, 3, "Qt::AspectRatioMode")?static_cast<Qt::AspectRatioMode
>(lqtL_toenum(L
, 3, "Qt::AspectRatioMode")):Qt::IgnoreAspectRatio
;
949 __lua__obj
->QGraphicsView::fitInView(arg1
, arg2
);
952 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__fitInView (lua_State
*L
) {
954 const int premium
= 11+lua_gettop(L
);
956 score
[1] += lqtL_testudata(L
, 1, "QGraphicsView*")?premium
:-premium
*premium
;
957 if (lqtL_testudata(L
, 2, "QRectF*")) {
960 score
[1] += premium
-1; // table: 0x1186c60;
962 score
[1] -= premium
*premium
;
964 if (lqtL_isenum(L
, 3, "Qt::AspectRatioMode")) {
967 score
[1] += premium
-1; // table: 0x1186200;
969 score
[1] -= premium
*premium
;
972 score
[2] += lqtL_testudata(L
, 1, "QGraphicsView*")?premium
:-premium
*premium
;
973 if (lua_isnumber(L
, 2)) {
976 score
[2] += premium
-1; // table: 0x1187c00;
978 score
[2] -= premium
*premium
;
980 if (lua_isnumber(L
, 3)) {
983 score
[2] += premium
-1; // table: 0x11878d0;
985 score
[2] -= premium
*premium
;
987 if (lua_isnumber(L
, 4)) {
990 score
[2] += premium
-1; // table: 0x11884d0;
992 score
[2] -= premium
*premium
;
994 if (lua_isnumber(L
, 5)) {
997 score
[2] += premium
-1; // table: 0x1188470;
999 score
[2] -= premium
*premium
;
1001 if (lqtL_isenum(L
, 6, "Qt::AspectRatioMode")) {
1002 score
[2] += premium
;
1004 score
[2] += premium
-1; // table: 0x1188ca0;
1006 score
[2] -= premium
*premium
;
1009 score
[3] += lqtL_testudata(L
, 1, "QGraphicsView*")?premium
:-premium
*premium
;
1010 if (lqtL_testudata(L
, 2, "QGraphicsItem*")) {
1011 score
[3] += premium
;
1013 score
[3] += premium
-1; // table: 0x11895d0;
1015 score
[3] -= premium
*premium
;
1017 if (lqtL_isenum(L
, 3, "Qt::AspectRatioMode")) {
1018 score
[3] += premium
;
1020 score
[3] += premium
-1; // table: 0x11888a0;
1022 score
[3] -= premium
*premium
;
1025 for (int i
=1;i
<=3;i
++) {
1026 if (score
[best
] < score
[i
]) { best
= i
; }
1029 case 1: return __LuaWrapCall__fitInView__OverloadedVersion__1(L
); break;
1030 case 2: return __LuaWrapCall__fitInView__OverloadedVersion__2(L
); break;
1031 case 3: return __LuaWrapCall__fitInView__OverloadedVersion__3(L
); break;
1033 lua_pushstring(L
, "no overload of function __LuaWrapCall__fitInView matching arguments");
1037 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__isInteractive (lua_State
*L
) {
1038 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
1039 if (__lua__obj
==0) {
1040 lua_pushstring(L
, "trying to reference deleted pointer");
1044 bool ret
= __lua__obj
->QGraphicsView::isInteractive();
1045 lua_pushboolean(L
, ret
);
1048 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__setResizeAnchor (lua_State
*L
) {
1049 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
1050 if (__lua__obj
==0) {
1051 lua_pushstring(L
, "trying to reference deleted pointer");
1055 QGraphicsView::ViewportAnchor arg1
= static_cast<QGraphicsView::ViewportAnchor
>(lqtL_toenum(L
, 2, "QGraphicsView::ViewportAnchor"));
1056 __lua__obj
->QGraphicsView::setResizeAnchor(arg1
);
1059 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__translate (lua_State
*L
) {
1060 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
1061 if (__lua__obj
==0) {
1062 lua_pushstring(L
, "trying to reference deleted pointer");
1066 double arg1
= lua_tonumber(L
, 2);
1067 double arg2
= lua_tonumber(L
, 3);
1068 __lua__obj
->QGraphicsView::translate(arg1
, arg2
);
1071 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__ensureVisible__OverloadedVersion__1 (lua_State
*L
) {
1072 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
1073 if (__lua__obj
==0) {
1074 lua_pushstring(L
, "trying to reference deleted pointer");
1078 const QRectF
& arg1
= **static_cast<QRectF
**>(lqtL_checkudata(L
, 2, "QRectF*"));
1079 int arg2
= lua_isnumber(L
, 3)?lua_tointeger(L
, 3):static_cast< int >(50);
1080 int arg3
= lua_isnumber(L
, 4)?lua_tointeger(L
, 4):static_cast< int >(50);
1081 __lua__obj
->QGraphicsView::ensureVisible(arg1
, arg2
, arg3
);
1084 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__ensureVisible__OverloadedVersion__2 (lua_State
*L
) {
1085 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
1086 if (__lua__obj
==0) {
1087 lua_pushstring(L
, "trying to reference deleted pointer");
1091 double arg1
= lua_tonumber(L
, 2);
1092 double arg2
= lua_tonumber(L
, 3);
1093 double arg3
= lua_tonumber(L
, 4);
1094 double arg4
= lua_tonumber(L
, 5);
1095 int arg5
= lua_isnumber(L
, 6)?lua_tointeger(L
, 6):static_cast< int >(50);
1096 int arg6
= lua_isnumber(L
, 7)?lua_tointeger(L
, 7):static_cast< int >(50);
1097 __lua__obj
->QGraphicsView::ensureVisible(arg1
, arg2
, arg3
, arg4
, arg5
, arg6
);
1100 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__ensureVisible__OverloadedVersion__3 (lua_State
*L
) {
1101 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
1102 if (__lua__obj
==0) {
1103 lua_pushstring(L
, "trying to reference deleted pointer");
1107 const QGraphicsItem
* arg1
= *static_cast<QGraphicsItem
**>(lqtL_checkudata(L
, 2, "QGraphicsItem*"));
1108 int arg2
= lua_isnumber(L
, 3)?lua_tointeger(L
, 3):static_cast< int >(50);
1109 int arg3
= lua_isnumber(L
, 4)?lua_tointeger(L
, 4):static_cast< int >(50);
1110 __lua__obj
->QGraphicsView::ensureVisible(arg1
, arg2
, arg3
);
1113 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__ensureVisible (lua_State
*L
) {
1115 const int premium
= 11+lua_gettop(L
);
1117 score
[1] += lqtL_testudata(L
, 1, "QGraphicsView*")?premium
:-premium
*premium
;
1118 if (lqtL_testudata(L
, 2, "QRectF*")) {
1119 score
[1] += premium
;
1121 score
[1] += premium
-1; // table: 0x11828e0;
1123 score
[1] -= premium
*premium
;
1125 if (lua_isnumber(L
, 3)) {
1126 score
[1] += premium
;
1128 score
[1] += premium
-1; // table: 0x11823a0;
1130 score
[1] -= premium
*premium
;
1132 if (lua_isnumber(L
, 4)) {
1133 score
[1] += premium
;
1135 score
[1] += premium
-1; // table: 0x1182d90;
1137 score
[1] -= premium
*premium
;
1140 score
[2] += lqtL_testudata(L
, 1, "QGraphicsView*")?premium
:-premium
*premium
;
1141 if (lua_isnumber(L
, 2)) {
1142 score
[2] += premium
;
1144 score
[2] += premium
-1; // table: 0x1183b60;
1146 score
[2] -= premium
*premium
;
1148 if (lua_isnumber(L
, 3)) {
1149 score
[2] += premium
;
1151 score
[2] += premium
-1; // table: 0x1183160;
1153 score
[2] -= premium
*premium
;
1155 if (lua_isnumber(L
, 4)) {
1156 score
[2] += premium
;
1158 score
[2] += premium
-1; // table: 0x1184010;
1160 score
[2] -= premium
*premium
;
1162 if (lua_isnumber(L
, 5)) {
1163 score
[2] += premium
;
1165 score
[2] += premium
-1; // table: 0x1184870;
1167 score
[2] -= premium
*premium
;
1169 if (lua_isnumber(L
, 6)) {
1170 score
[2] += premium
;
1172 score
[2] += premium
-1; // table: 0x1184c30;
1174 score
[2] -= premium
*premium
;
1176 if (lua_isnumber(L
, 7)) {
1177 score
[2] += premium
;
1179 score
[2] += premium
-1; // table: 0x11847c0;
1181 score
[2] -= premium
*premium
;
1184 score
[3] += lqtL_testudata(L
, 1, "QGraphicsView*")?premium
:-premium
*premium
;
1185 if (lqtL_testudata(L
, 2, "QGraphicsItem*")) {
1186 score
[3] += premium
;
1188 score
[3] += premium
-1; // table: 0x1185980;
1190 score
[3] -= premium
*premium
;
1192 if (lua_isnumber(L
, 3)) {
1193 score
[3] += premium
;
1195 score
[3] += premium
-1; // table: 0x1185650;
1197 score
[3] -= premium
*premium
;
1199 if (lua_isnumber(L
, 4)) {
1200 score
[3] += premium
;
1202 score
[3] += premium
-1; // table: 0x1185e30;
1204 score
[3] -= premium
*premium
;
1207 for (int i
=1;i
<=3;i
++) {
1208 if (score
[best
] < score
[i
]) { best
= i
; }
1211 case 1: return __LuaWrapCall__ensureVisible__OverloadedVersion__1(L
); break;
1212 case 2: return __LuaWrapCall__ensureVisible__OverloadedVersion__2(L
); break;
1213 case 3: return __LuaWrapCall__ensureVisible__OverloadedVersion__3(L
); break;
1215 lua_pushstring(L
, "no overload of function __LuaWrapCall__ensureVisible matching arguments");
1219 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__updateSceneRect (lua_State
*L
) {
1220 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
1221 if (__lua__obj
==0) {
1222 lua_pushstring(L
, "trying to reference deleted pointer");
1226 const QRectF
& arg1
= **static_cast<QRectF
**>(lqtL_checkudata(L
, 2, "QRectF*"));
1227 __lua__obj
->QGraphicsView::updateSceneRect(arg1
);
1230 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__backgroundBrush (lua_State
*L
) {
1231 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
1232 if (__lua__obj
==0) {
1233 lua_pushstring(L
, "trying to reference deleted pointer");
1237 QBrush ret
= __lua__obj
->QGraphicsView::backgroundBrush();
1238 lqtL_passudata(L
, new QBrush(ret
), "QBrush*");
1241 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__cacheMode (lua_State
*L
) {
1242 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
1243 if (__lua__obj
==0) {
1244 lua_pushstring(L
, "trying to reference deleted pointer");
1248 QFlags
<QGraphicsView::CacheModeFlag
> ret
= __lua__obj
->QGraphicsView::cacheMode();
1249 lqtL_passudata(L
, new QFlags
<QGraphicsView::CacheModeFlag
>(ret
), "QFlags<QGraphicsView::CacheModeFlag>*");
1252 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__inputMethodQuery (lua_State
*L
) {
1253 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
1254 if (__lua__obj
==0) {
1255 lua_pushstring(L
, "trying to reference deleted pointer");
1259 Qt::InputMethodQuery arg1
= static_cast<Qt::InputMethodQuery
>(lqtL_toenum(L
, 2, "Qt::InputMethodQuery"));
1260 QVariant ret
= __lua__obj
->QGraphicsView::inputMethodQuery(arg1
);
1261 lqtL_passudata(L
, new QVariant(ret
), "QVariant*");
1264 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__setViewportUpdateMode (lua_State
*L
) {
1265 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
1266 if (__lua__obj
==0) {
1267 lua_pushstring(L
, "trying to reference deleted pointer");
1271 QGraphicsView::ViewportUpdateMode arg1
= static_cast<QGraphicsView::ViewportUpdateMode
>(lqtL_toenum(L
, 2, "QGraphicsView::ViewportUpdateMode"));
1272 __lua__obj
->QGraphicsView::setViewportUpdateMode(arg1
);
1275 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__mapToScene__OverloadedVersion__1 (lua_State
*L
) {
1276 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
1277 if (__lua__obj
==0) {
1278 lua_pushstring(L
, "trying to reference deleted pointer");
1282 const QPoint
& arg1
= **static_cast<QPoint
**>(lqtL_checkudata(L
, 2, "QPoint*"));
1283 QPointF ret
= __lua__obj
->QGraphicsView::mapToScene(arg1
);
1284 lqtL_passudata(L
, new QPointF(ret
), "QPointF*");
1287 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__mapToScene__OverloadedVersion__2 (lua_State
*L
) {
1288 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
1289 if (__lua__obj
==0) {
1290 lua_pushstring(L
, "trying to reference deleted pointer");
1294 const QRect
& arg1
= **static_cast<QRect
**>(lqtL_checkudata(L
, 2, "QRect*"));
1295 QPolygonF ret
= __lua__obj
->QGraphicsView::mapToScene(arg1
);
1296 lqtL_passudata(L
, new QPolygonF(ret
), "QPolygonF*");
1299 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__mapToScene__OverloadedVersion__3 (lua_State
*L
) {
1300 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
1301 if (__lua__obj
==0) {
1302 lua_pushstring(L
, "trying to reference deleted pointer");
1306 const QPolygon
& arg1
= **static_cast<QPolygon
**>(lqtL_checkudata(L
, 2, "QPolygon*"));
1307 QPolygonF ret
= __lua__obj
->QGraphicsView::mapToScene(arg1
);
1308 lqtL_passudata(L
, new QPolygonF(ret
), "QPolygonF*");
1311 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__mapToScene__OverloadedVersion__4 (lua_State
*L
) {
1312 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
1313 if (__lua__obj
==0) {
1314 lua_pushstring(L
, "trying to reference deleted pointer");
1318 const QPainterPath
& arg1
= **static_cast<QPainterPath
**>(lqtL_checkudata(L
, 2, "QPainterPath*"));
1319 QPainterPath ret
= __lua__obj
->QGraphicsView::mapToScene(arg1
);
1320 lqtL_passudata(L
, new QPainterPath(ret
), "QPainterPath*");
1323 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__mapToScene__OverloadedVersion__5 (lua_State
*L
) {
1324 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
1325 if (__lua__obj
==0) {
1326 lua_pushstring(L
, "trying to reference deleted pointer");
1330 int arg1
= lua_tointeger(L
, 2);
1331 int arg2
= lua_tointeger(L
, 3);
1332 QPointF ret
= __lua__obj
->QGraphicsView::mapToScene(arg1
, arg2
);
1333 lqtL_passudata(L
, new QPointF(ret
), "QPointF*");
1336 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__mapToScene__OverloadedVersion__6 (lua_State
*L
) {
1337 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
1338 if (__lua__obj
==0) {
1339 lua_pushstring(L
, "trying to reference deleted pointer");
1343 int arg1
= lua_tointeger(L
, 2);
1344 int arg2
= lua_tointeger(L
, 3);
1345 int arg3
= lua_tointeger(L
, 4);
1346 int arg4
= lua_tointeger(L
, 5);
1347 QPolygonF ret
= __lua__obj
->QGraphicsView::mapToScene(arg1
, arg2
, arg3
, arg4
);
1348 lqtL_passudata(L
, new QPolygonF(ret
), "QPolygonF*");
1351 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__mapToScene (lua_State
*L
) {
1353 const int premium
= 11+lua_gettop(L
);
1355 score
[1] += lqtL_testudata(L
, 1, "QGraphicsView*")?premium
:-premium
*premium
;
1356 if (lqtL_testudata(L
, 2, "QPoint*")) {
1357 score
[1] += premium
;
1359 score
[1] += premium
-1; // table: 0x11939e0;
1361 score
[1] -= premium
*premium
;
1364 score
[2] += lqtL_testudata(L
, 1, "QGraphicsView*")?premium
:-premium
*premium
;
1365 if (lqtL_testudata(L
, 2, "QRect*")) {
1366 score
[2] += premium
;
1368 score
[2] += premium
-1; // table: 0x11944c0;
1370 score
[2] -= premium
*premium
;
1373 score
[3] += lqtL_testudata(L
, 1, "QGraphicsView*")?premium
:-premium
*premium
;
1374 if (lqtL_testudata(L
, 2, "QPolygon*")) {
1375 score
[3] += premium
;
1377 score
[3] += premium
-1; // table: 0x1194f60;
1379 score
[3] -= premium
*premium
;
1382 score
[4] += lqtL_testudata(L
, 1, "QGraphicsView*")?premium
:-premium
*premium
;
1383 if (lqtL_testudata(L
, 2, "QPainterPath*")) {
1384 score
[4] += premium
;
1386 score
[4] += premium
-1; // table: 0x11959e0;
1388 score
[4] -= premium
*premium
;
1391 score
[5] += lqtL_testudata(L
, 1, "QGraphicsView*")?premium
:-premium
*premium
;
1392 if (lua_isnumber(L
, 2)) {
1393 score
[5] += premium
;
1395 score
[5] += premium
-1; // table: 0x1198e90;
1397 score
[5] -= premium
*premium
;
1399 if (lua_isnumber(L
, 3)) {
1400 score
[5] += premium
;
1402 score
[5] += premium
-1; // table: 0x11993c0;
1404 score
[5] -= premium
*premium
;
1407 score
[6] += lqtL_testudata(L
, 1, "QGraphicsView*")?premium
:-premium
*premium
;
1408 if (lua_isnumber(L
, 2)) {
1409 score
[6] += premium
;
1411 score
[6] += premium
-1; // table: 0x1199cd0;
1413 score
[6] -= premium
*premium
;
1415 if (lua_isnumber(L
, 3)) {
1416 score
[6] += premium
;
1418 score
[6] += premium
-1; // table: 0x119a200;
1420 score
[6] -= premium
*premium
;
1422 if (lua_isnumber(L
, 4)) {
1423 score
[6] += premium
;
1425 score
[6] += premium
-1; // table: 0x119a5b0;
1427 score
[6] -= premium
*premium
;
1429 if (lua_isnumber(L
, 5)) {
1430 score
[6] += premium
;
1432 score
[6] += premium
-1; // table: 0x119a550;
1434 score
[6] -= premium
*premium
;
1437 for (int i
=1;i
<=6;i
++) {
1438 if (score
[best
] < score
[i
]) { best
= i
; }
1441 case 1: return __LuaWrapCall__mapToScene__OverloadedVersion__1(L
); break;
1442 case 2: return __LuaWrapCall__mapToScene__OverloadedVersion__2(L
); break;
1443 case 3: return __LuaWrapCall__mapToScene__OverloadedVersion__3(L
); break;
1444 case 4: return __LuaWrapCall__mapToScene__OverloadedVersion__4(L
); break;
1445 case 5: return __LuaWrapCall__mapToScene__OverloadedVersion__5(L
); break;
1446 case 6: return __LuaWrapCall__mapToScene__OverloadedVersion__6(L
); break;
1448 lua_pushstring(L
, "no overload of function __LuaWrapCall__mapToScene matching arguments");
1452 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__foregroundBrush (lua_State
*L
) {
1453 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
1454 if (__lua__obj
==0) {
1455 lua_pushstring(L
, "trying to reference deleted pointer");
1459 QBrush ret
= __lua__obj
->QGraphicsView::foregroundBrush();
1460 lqtL_passudata(L
, new QBrush(ret
), "QBrush*");
1463 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__resetTransform (lua_State
*L
) {
1464 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
1465 if (__lua__obj
==0) {
1466 lua_pushstring(L
, "trying to reference deleted pointer");
1470 __lua__obj
->QGraphicsView::resetTransform();
1473 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__scene (lua_State
*L
) {
1474 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
1475 if (__lua__obj
==0) {
1476 lua_pushstring(L
, "trying to reference deleted pointer");
1480 QGraphicsScene
* ret
= __lua__obj
->QGraphicsView::scene();
1481 lqtL_pushudata(L
, ret
, "QGraphicsScene*");
1484 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__metaObject (lua_State
*L
) {
1485 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
1486 if (__lua__obj
==0) {
1487 lua_pushstring(L
, "trying to reference deleted pointer");
1491 const QMetaObject
* ret
= __lua__obj
->QGraphicsView::metaObject();
1492 lqtL_pushudata(L
, ret
, "QMetaObject*");
1495 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__resetCachedContent (lua_State
*L
) {
1496 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
1497 if (__lua__obj
==0) {
1498 lua_pushstring(L
, "trying to reference deleted pointer");
1502 __lua__obj
->QGraphicsView::resetCachedContent();
1505 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__setForegroundBrush (lua_State
*L
) {
1506 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
1507 if (__lua__obj
==0) {
1508 lua_pushstring(L
, "trying to reference deleted pointer");
1512 const QBrush
& arg1
= **static_cast<QBrush
**>(lqtL_checkudata(L
, 2, "QBrush*"));
1513 __lua__obj
->QGraphicsView::setForegroundBrush(arg1
);
1516 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__itemAt__OverloadedVersion__1 (lua_State
*L
) {
1517 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
1518 if (__lua__obj
==0) {
1519 lua_pushstring(L
, "trying to reference deleted pointer");
1523 const QPoint
& arg1
= **static_cast<QPoint
**>(lqtL_checkudata(L
, 2, "QPoint*"));
1524 QGraphicsItem
* ret
= __lua__obj
->QGraphicsView::itemAt(arg1
);
1525 lqtL_pushudata(L
, ret
, "QGraphicsItem*");
1528 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__itemAt__OverloadedVersion__2 (lua_State
*L
) {
1529 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
1530 if (__lua__obj
==0) {
1531 lua_pushstring(L
, "trying to reference deleted pointer");
1535 int arg1
= lua_tointeger(L
, 2);
1536 int arg2
= lua_tointeger(L
, 3);
1537 QGraphicsItem
* ret
= __lua__obj
->QGraphicsView::itemAt(arg1
, arg2
);
1538 lqtL_pushudata(L
, ret
, "QGraphicsItem*");
1541 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__itemAt (lua_State
*L
) {
1543 const int premium
= 11+lua_gettop(L
);
1545 score
[1] += lqtL_testudata(L
, 1, "QGraphicsView*")?premium
:-premium
*premium
;
1546 if (lqtL_testudata(L
, 2, "QPoint*")) {
1547 score
[1] += premium
;
1549 score
[1] += premium
-1; // table: 0x1192110;
1551 score
[1] -= premium
*premium
;
1554 score
[2] += lqtL_testudata(L
, 1, "QGraphicsView*")?premium
:-premium
*premium
;
1555 if (lua_isnumber(L
, 2)) {
1556 score
[2] += premium
;
1558 score
[2] += premium
-1; // table: 0x1192b40;
1560 score
[2] -= premium
*premium
;
1562 if (lua_isnumber(L
, 3)) {
1563 score
[2] += premium
;
1565 score
[2] += premium
-1; // table: 0x1193050;
1567 score
[2] -= premium
*premium
;
1570 for (int i
=1;i
<=2;i
++) {
1571 if (score
[best
] < score
[i
]) { best
= i
; }
1574 case 1: return __LuaWrapCall__itemAt__OverloadedVersion__1(L
); break;
1575 case 2: return __LuaWrapCall__itemAt__OverloadedVersion__2(L
); break;
1577 lua_pushstring(L
, "no overload of function __LuaWrapCall__itemAt matching arguments");
1581 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__alignment (lua_State
*L
) {
1582 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
1583 if (__lua__obj
==0) {
1584 lua_pushstring(L
, "trying to reference deleted pointer");
1588 QFlags
<Qt::AlignmentFlag
> ret
= __lua__obj
->QGraphicsView::alignment();
1589 lqtL_passudata(L
, new QFlags
<Qt::AlignmentFlag
>(ret
), "QFlags<Qt::AlignmentFlag>*");
1592 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__setDragMode (lua_State
*L
) {
1593 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
1594 if (__lua__obj
==0) {
1595 lua_pushstring(L
, "trying to reference deleted pointer");
1599 QGraphicsView::DragMode arg1
= static_cast<QGraphicsView::DragMode
>(lqtL_toenum(L
, 2, "QGraphicsView::DragMode"));
1600 __lua__obj
->QGraphicsView::setDragMode(arg1
);
1603 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__viewportUpdateMode (lua_State
*L
) {
1604 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
1605 if (__lua__obj
==0) {
1606 lua_pushstring(L
, "trying to reference deleted pointer");
1610 QGraphicsView::ViewportUpdateMode ret
= __lua__obj
->QGraphicsView::viewportUpdateMode();
1611 lqtL_pushenum(L
, ret
, "QGraphicsView::ViewportUpdateMode");
1614 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__setBackgroundBrush (lua_State
*L
) {
1615 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
1616 if (__lua__obj
==0) {
1617 lua_pushstring(L
, "trying to reference deleted pointer");
1621 const QBrush
& arg1
= **static_cast<QBrush
**>(lqtL_checkudata(L
, 2, "QBrush*"));
1622 __lua__obj
->QGraphicsView::setBackgroundBrush(arg1
);
1625 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__mapFromScene__OverloadedVersion__1 (lua_State
*L
) {
1626 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
1627 if (__lua__obj
==0) {
1628 lua_pushstring(L
, "trying to reference deleted pointer");
1632 const QPointF
& arg1
= **static_cast<QPointF
**>(lqtL_checkudata(L
, 2, "QPointF*"));
1633 QPoint ret
= __lua__obj
->QGraphicsView::mapFromScene(arg1
);
1634 lqtL_passudata(L
, new QPoint(ret
), "QPoint*");
1637 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__mapFromScene__OverloadedVersion__2 (lua_State
*L
) {
1638 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
1639 if (__lua__obj
==0) {
1640 lua_pushstring(L
, "trying to reference deleted pointer");
1644 const QRectF
& arg1
= **static_cast<QRectF
**>(lqtL_checkudata(L
, 2, "QRectF*"));
1645 QPolygon ret
= __lua__obj
->QGraphicsView::mapFromScene(arg1
);
1646 lqtL_passudata(L
, new QPolygon(ret
), "QPolygon*");
1649 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__mapFromScene__OverloadedVersion__3 (lua_State
*L
) {
1650 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
1651 if (__lua__obj
==0) {
1652 lua_pushstring(L
, "trying to reference deleted pointer");
1656 const QPolygonF
& arg1
= **static_cast<QPolygonF
**>(lqtL_checkudata(L
, 2, "QPolygonF*"));
1657 QPolygon ret
= __lua__obj
->QGraphicsView::mapFromScene(arg1
);
1658 lqtL_passudata(L
, new QPolygon(ret
), "QPolygon*");
1661 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__mapFromScene__OverloadedVersion__4 (lua_State
*L
) {
1662 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
1663 if (__lua__obj
==0) {
1664 lua_pushstring(L
, "trying to reference deleted pointer");
1668 const QPainterPath
& arg1
= **static_cast<QPainterPath
**>(lqtL_checkudata(L
, 2, "QPainterPath*"));
1669 QPainterPath ret
= __lua__obj
->QGraphicsView::mapFromScene(arg1
);
1670 lqtL_passudata(L
, new QPainterPath(ret
), "QPainterPath*");
1673 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__mapFromScene__OverloadedVersion__5 (lua_State
*L
) {
1674 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
1675 if (__lua__obj
==0) {
1676 lua_pushstring(L
, "trying to reference deleted pointer");
1680 double arg1
= lua_tonumber(L
, 2);
1681 double arg2
= lua_tonumber(L
, 3);
1682 QPoint ret
= __lua__obj
->QGraphicsView::mapFromScene(arg1
, arg2
);
1683 lqtL_passudata(L
, new QPoint(ret
), "QPoint*");
1686 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__mapFromScene__OverloadedVersion__6 (lua_State
*L
) {
1687 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
1688 if (__lua__obj
==0) {
1689 lua_pushstring(L
, "trying to reference deleted pointer");
1693 double arg1
= lua_tonumber(L
, 2);
1694 double arg2
= lua_tonumber(L
, 3);
1695 double arg3
= lua_tonumber(L
, 4);
1696 double arg4
= lua_tonumber(L
, 5);
1697 QPolygon ret
= __lua__obj
->QGraphicsView::mapFromScene(arg1
, arg2
, arg3
, arg4
);
1698 lqtL_passudata(L
, new QPolygon(ret
), "QPolygon*");
1701 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__mapFromScene (lua_State
*L
) {
1703 const int premium
= 11+lua_gettop(L
);
1705 score
[1] += lqtL_testudata(L
, 1, "QGraphicsView*")?premium
:-premium
*premium
;
1706 if (lqtL_testudata(L
, 2, "QPointF*")) {
1707 score
[1] += premium
;
1709 score
[1] += premium
-1; // table: 0x11964d0;
1711 score
[1] -= premium
*premium
;
1714 score
[2] += lqtL_testudata(L
, 1, "QGraphicsView*")?premium
:-premium
*premium
;
1715 if (lqtL_testudata(L
, 2, "QRectF*")) {
1716 score
[2] += premium
;
1718 score
[2] += premium
-1; // table: 0x1196f20;
1720 score
[2] -= premium
*premium
;
1723 score
[3] += lqtL_testudata(L
, 1, "QGraphicsView*")?premium
:-premium
*premium
;
1724 if (lqtL_testudata(L
, 2, "QPolygonF*")) {
1725 score
[3] += premium
;
1727 score
[3] += premium
-1; // table: 0x11979d0;
1729 score
[3] -= premium
*premium
;
1732 score
[4] += lqtL_testudata(L
, 1, "QGraphicsView*")?premium
:-premium
*premium
;
1733 if (lqtL_testudata(L
, 2, "QPainterPath*")) {
1734 score
[4] += premium
;
1736 score
[4] += premium
-1; // table: 0x1198450;
1738 score
[4] -= premium
*premium
;
1741 score
[5] += lqtL_testudata(L
, 1, "QGraphicsView*")?premium
:-premium
*premium
;
1742 if (lua_isnumber(L
, 2)) {
1743 score
[5] += premium
;
1745 score
[5] += premium
-1; // table: 0x119b2b0;
1747 score
[5] -= premium
*premium
;
1749 if (lua_isnumber(L
, 3)) {
1750 score
[5] += premium
;
1752 score
[5] += premium
-1; // table: 0x119afb0;
1754 score
[5] -= premium
*premium
;
1757 score
[6] += lqtL_testudata(L
, 1, "QGraphicsView*")?premium
:-premium
*premium
;
1758 if (lua_isnumber(L
, 2)) {
1759 score
[6] += premium
;
1761 score
[6] += premium
-1; // table: 0x119c110;
1763 score
[6] -= premium
*premium
;
1765 if (lua_isnumber(L
, 3)) {
1766 score
[6] += premium
;
1768 score
[6] += premium
-1; // table: 0x119bb90;
1770 score
[6] -= premium
*premium
;
1772 if (lua_isnumber(L
, 4)) {
1773 score
[6] += premium
;
1775 score
[6] += premium
-1; // table: 0x119c9e0;
1777 score
[6] -= premium
*premium
;
1779 if (lua_isnumber(L
, 5)) {
1780 score
[6] += premium
;
1782 score
[6] += premium
-1; // table: 0x119c980;
1784 score
[6] -= premium
*premium
;
1787 for (int i
=1;i
<=6;i
++) {
1788 if (score
[best
] < score
[i
]) { best
= i
; }
1791 case 1: return __LuaWrapCall__mapFromScene__OverloadedVersion__1(L
); break;
1792 case 2: return __LuaWrapCall__mapFromScene__OverloadedVersion__2(L
); break;
1793 case 3: return __LuaWrapCall__mapFromScene__OverloadedVersion__3(L
); break;
1794 case 4: return __LuaWrapCall__mapFromScene__OverloadedVersion__4(L
); break;
1795 case 5: return __LuaWrapCall__mapFromScene__OverloadedVersion__5(L
); break;
1796 case 6: return __LuaWrapCall__mapFromScene__OverloadedVersion__6(L
); break;
1798 lua_pushstring(L
, "no overload of function __LuaWrapCall__mapFromScene matching arguments");
1802 int LuaBinder
< QGraphicsView
>::__LuaWrapCall__setAlignment (lua_State
*L
) {
1803 QGraphicsView
*& __lua__obj
= *static_cast<QGraphicsView
**>(lqtL_checkudata(L
, 1, "QGraphicsView*"));
1804 if (__lua__obj
==0) {
1805 lua_pushstring(L
, "trying to reference deleted pointer");
1809 QFlags
<Qt::AlignmentFlag
> arg1
= **static_cast<QFlags
<Qt::AlignmentFlag
>**>(lqtL_checkudata(L
, 2, "QFlags<Qt::AlignmentFlag>*"));
1810 __lua__obj
->QGraphicsView::setAlignment(arg1
);
1813 void LuaBinder
< QGraphicsView
>::styleChange (QStyle
& arg1
) {
1814 bool absorbed
= false;
1815 int oldtop
= lua_gettop(L
);
1816 lqtL_pushudata(L
, this, "QGraphicsView*");
1817 if (lua_getmetatable(L
, -1)) {
1818 lua_getfield(L
, -1, "styleChange");
1824 lqtL_pushudata(L
, &(arg1
), "QStyle*");
1825 if (lua_isfunction(L
, -1-2)) {
1826 lua_pcall(L
, 1+1, 2, 0);
1827 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1831 lua_settop(L
, oldtop
);
1832 this->QWidget::styleChange(arg1
);
1834 lua_settop(L
, oldtop
);
1836 void LuaBinder
< QGraphicsView
>::mouseReleaseEvent (QMouseEvent
* arg1
) {
1837 bool absorbed
= false;
1838 int oldtop
= lua_gettop(L
);
1839 lqtL_pushudata(L
, this, "QGraphicsView*");
1840 if (lua_getmetatable(L
, -1)) {
1841 lua_getfield(L
, -1, "mouseReleaseEvent");
1847 lqtL_pushudata(L
, arg1
, "QMouseEvent*");
1848 if (lua_isfunction(L
, -1-2)) {
1849 lua_pcall(L
, 1+1, 2, 0);
1850 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1854 lua_settop(L
, oldtop
);
1855 this->QGraphicsView::mouseReleaseEvent(arg1
);
1857 lua_settop(L
, oldtop
);
1859 void LuaBinder
< QGraphicsView
>::keyPressEvent (QKeyEvent
* arg1
) {
1860 bool absorbed
= false;
1861 int oldtop
= lua_gettop(L
);
1862 lqtL_pushudata(L
, this, "QGraphicsView*");
1863 if (lua_getmetatable(L
, -1)) {
1864 lua_getfield(L
, -1, "keyPressEvent");
1870 lqtL_pushudata(L
, arg1
, "QKeyEvent*");
1871 if (lua_isfunction(L
, -1-2)) {
1872 lua_pcall(L
, 1+1, 2, 0);
1873 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1877 lua_settop(L
, oldtop
);
1878 this->QGraphicsView::keyPressEvent(arg1
);
1880 lua_settop(L
, oldtop
);
1882 void LuaBinder
< QGraphicsView
>::contextMenuEvent (QContextMenuEvent
* arg1
) {
1883 bool absorbed
= false;
1884 int oldtop
= lua_gettop(L
);
1885 lqtL_pushudata(L
, this, "QGraphicsView*");
1886 if (lua_getmetatable(L
, -1)) {
1887 lua_getfield(L
, -1, "contextMenuEvent");
1893 lqtL_pushudata(L
, arg1
, "QContextMenuEvent*");
1894 if (lua_isfunction(L
, -1-2)) {
1895 lua_pcall(L
, 1+1, 2, 0);
1896 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1900 lua_settop(L
, oldtop
);
1901 this->QGraphicsView::contextMenuEvent(arg1
);
1903 lua_settop(L
, oldtop
);
1905 int LuaBinder
< QGraphicsView
>::devType () const {
1906 bool absorbed
= false;
1907 int oldtop
= lua_gettop(L
);
1908 lqtL_pushudata(L
, this, "QGraphicsView*");
1909 if (lua_getmetatable(L
, -1)) {
1910 lua_getfield(L
, -1, "devType");
1916 if (lua_isfunction(L
, -0-2)) {
1917 lua_pcall(L
, 0+1, 2, 0);
1918 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1922 lua_settop(L
, oldtop
);
1923 return this->QWidget::devType();
1925 int ret
= lua_tointeger(L
, -1);
1926 lua_settop(L
, oldtop
);
1929 void LuaBinder
< QGraphicsView
>::drawBackground (QPainter
* arg1
, const QRectF
& arg2
) {
1930 bool absorbed
= false;
1931 int oldtop
= lua_gettop(L
);
1932 lqtL_pushudata(L
, this, "QGraphicsView*");
1933 if (lua_getmetatable(L
, -1)) {
1934 lua_getfield(L
, -1, "drawBackground");
1940 lqtL_pushudata(L
, arg1
, "QPainter*");
1941 lqtL_pushudata(L
, &(arg2
), "QRectF*");
1942 if (lua_isfunction(L
, -2-2)) {
1943 lua_pcall(L
, 2+1, 2, 0);
1944 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1948 lua_settop(L
, oldtop
);
1949 this->QGraphicsView::drawBackground(arg1
, arg2
);
1951 lua_settop(L
, oldtop
);
1953 void LuaBinder
< QGraphicsView
>::setVisible (bool arg1
) {
1954 bool absorbed
= false;
1955 int oldtop
= lua_gettop(L
);
1956 lqtL_pushudata(L
, this, "QGraphicsView*");
1957 if (lua_getmetatable(L
, -1)) {
1958 lua_getfield(L
, -1, "setVisible");
1964 lua_pushboolean(L
, arg1
);
1965 if (lua_isfunction(L
, -1-2)) {
1966 lua_pcall(L
, 1+1, 2, 0);
1967 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1971 lua_settop(L
, oldtop
);
1972 this->QWidget::setVisible(arg1
);
1974 lua_settop(L
, oldtop
);
1976 void LuaBinder
< QGraphicsView
>::keyReleaseEvent (QKeyEvent
* arg1
) {
1977 bool absorbed
= false;
1978 int oldtop
= lua_gettop(L
);
1979 lqtL_pushudata(L
, this, "QGraphicsView*");
1980 if (lua_getmetatable(L
, -1)) {
1981 lua_getfield(L
, -1, "keyReleaseEvent");
1987 lqtL_pushudata(L
, arg1
, "QKeyEvent*");
1988 if (lua_isfunction(L
, -1-2)) {
1989 lua_pcall(L
, 1+1, 2, 0);
1990 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1994 lua_settop(L
, oldtop
);
1995 this->QGraphicsView::keyReleaseEvent(arg1
);
1997 lua_settop(L
, oldtop
);
1999 void LuaBinder
< QGraphicsView
>::scrollContentsBy (int arg1
, int arg2
) {
2000 bool absorbed
= false;
2001 int oldtop
= lua_gettop(L
);
2002 lqtL_pushudata(L
, this, "QGraphicsView*");
2003 if (lua_getmetatable(L
, -1)) {
2004 lua_getfield(L
, -1, "scrollContentsBy");
2010 lua_pushinteger(L
, arg1
);
2011 lua_pushinteger(L
, arg2
);
2012 if (lua_isfunction(L
, -2-2)) {
2013 lua_pcall(L
, 2+1, 2, 0);
2014 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
2018 lua_settop(L
, oldtop
);
2019 this->QGraphicsView::scrollContentsBy(arg1
, arg2
);
2021 lua_settop(L
, oldtop
);
2023 void LuaBinder
< QGraphicsView
>::dragLeaveEvent (QDragLeaveEvent
* arg1
) {
2024 bool absorbed
= false;
2025 int oldtop
= lua_gettop(L
);
2026 lqtL_pushudata(L
, this, "QGraphicsView*");
2027 if (lua_getmetatable(L
, -1)) {
2028 lua_getfield(L
, -1, "dragLeaveEvent");
2034 lqtL_pushudata(L
, arg1
, "QDragLeaveEvent*");
2035 if (lua_isfunction(L
, -1-2)) {
2036 lua_pcall(L
, 1+1, 2, 0);
2037 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
2041 lua_settop(L
, oldtop
);
2042 this->QGraphicsView::dragLeaveEvent(arg1
);
2044 lua_settop(L
, oldtop
);
2046 void LuaBinder
< QGraphicsView
>::mousePressEvent (QMouseEvent
* arg1
) {
2047 bool absorbed
= false;
2048 int oldtop
= lua_gettop(L
);
2049 lqtL_pushudata(L
, this, "QGraphicsView*");
2050 if (lua_getmetatable(L
, -1)) {
2051 lua_getfield(L
, -1, "mousePressEvent");
2057 lqtL_pushudata(L
, arg1
, "QMouseEvent*");
2058 if (lua_isfunction(L
, -1-2)) {
2059 lua_pcall(L
, 1+1, 2, 0);
2060 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
2064 lua_settop(L
, oldtop
);
2065 this->QGraphicsView::mousePressEvent(arg1
);
2067 lua_settop(L
, oldtop
);
2069 QSize LuaBinder
< QGraphicsView
>::sizeHint () const {
2070 bool absorbed
= false;
2071 int oldtop
= lua_gettop(L
);
2072 lqtL_pushudata(L
, this, "QGraphicsView*");
2073 if (lua_getmetatable(L
, -1)) {
2074 lua_getfield(L
, -1, "sizeHint");
2080 if (lua_isfunction(L
, -0-2)) {
2081 lua_pcall(L
, 0+1, 2, 0);
2082 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
2086 lua_settop(L
, oldtop
);
2087 return this->QGraphicsView::sizeHint();
2089 QSize ret
= **static_cast<QSize
**>(lqtL_checkudata(L
, -1, "QSize*"));
2090 lua_settop(L
, oldtop
);
2093 void LuaBinder
< QGraphicsView
>::customEvent (QEvent
* arg1
) {
2094 bool absorbed
= false;
2095 int oldtop
= lua_gettop(L
);
2096 lqtL_pushudata(L
, this, "QGraphicsView*");
2097 if (lua_getmetatable(L
, -1)) {
2098 lua_getfield(L
, -1, "customEvent");
2104 lqtL_pushudata(L
, arg1
, "QEvent*");
2105 if (lua_isfunction(L
, -1-2)) {
2106 lua_pcall(L
, 1+1, 2, 0);
2107 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
2111 lua_settop(L
, oldtop
);
2112 this->QObject::customEvent(arg1
);
2114 lua_settop(L
, oldtop
);
2116 void LuaBinder
< QGraphicsView
>::closeEvent (QCloseEvent
* arg1
) {
2117 bool absorbed
= false;
2118 int oldtop
= lua_gettop(L
);
2119 lqtL_pushudata(L
, this, "QGraphicsView*");
2120 if (lua_getmetatable(L
, -1)) {
2121 lua_getfield(L
, -1, "closeEvent");
2127 lqtL_pushudata(L
, arg1
, "QCloseEvent*");
2128 if (lua_isfunction(L
, -1-2)) {
2129 lua_pcall(L
, 1+1, 2, 0);
2130 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
2134 lua_settop(L
, oldtop
);
2135 this->QWidget::closeEvent(arg1
);
2137 lua_settop(L
, oldtop
);
2139 void LuaBinder
< QGraphicsView
>::wheelEvent (QWheelEvent
* arg1
) {
2140 bool absorbed
= false;
2141 int oldtop
= lua_gettop(L
);
2142 lqtL_pushudata(L
, this, "QGraphicsView*");
2143 if (lua_getmetatable(L
, -1)) {
2144 lua_getfield(L
, -1, "wheelEvent");
2150 lqtL_pushudata(L
, arg1
, "QWheelEvent*");
2151 if (lua_isfunction(L
, -1-2)) {
2152 lua_pcall(L
, 1+1, 2, 0);
2153 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
2157 lua_settop(L
, oldtop
);
2158 this->QGraphicsView::wheelEvent(arg1
);
2160 lua_settop(L
, oldtop
);
2162 QPaintEngine
* LuaBinder
< QGraphicsView
>::paintEngine () const {
2163 bool absorbed
= false;
2164 int oldtop
= lua_gettop(L
);
2165 lqtL_pushudata(L
, this, "QGraphicsView*");
2166 if (lua_getmetatable(L
, -1)) {
2167 lua_getfield(L
, -1, "paintEngine");
2173 if (lua_isfunction(L
, -0-2)) {
2174 lua_pcall(L
, 0+1, 2, 0);
2175 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
2179 lua_settop(L
, oldtop
);
2180 return this->QWidget::paintEngine();
2182 QPaintEngine
* ret
= *static_cast<QPaintEngine
**>(lqtL_checkudata(L
, -1, "QPaintEngine*"));
2183 lua_settop(L
, oldtop
);
2186 void LuaBinder
< QGraphicsView
>::tabletEvent (QTabletEvent
* arg1
) {
2187 bool absorbed
= false;
2188 int oldtop
= lua_gettop(L
);
2189 lqtL_pushudata(L
, this, "QGraphicsView*");
2190 if (lua_getmetatable(L
, -1)) {
2191 lua_getfield(L
, -1, "tabletEvent");
2197 lqtL_pushudata(L
, arg1
, "QTabletEvent*");
2198 if (lua_isfunction(L
, -1-2)) {
2199 lua_pcall(L
, 1+1, 2, 0);
2200 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
2204 lua_settop(L
, oldtop
);
2205 this->QWidget::tabletEvent(arg1
);
2207 lua_settop(L
, oldtop
);
2209 void LuaBinder
< QGraphicsView
>::focusInEvent (QFocusEvent
* arg1
) {
2210 bool absorbed
= false;
2211 int oldtop
= lua_gettop(L
);
2212 lqtL_pushudata(L
, this, "QGraphicsView*");
2213 if (lua_getmetatable(L
, -1)) {
2214 lua_getfield(L
, -1, "focusInEvent");
2220 lqtL_pushudata(L
, arg1
, "QFocusEvent*");
2221 if (lua_isfunction(L
, -1-2)) {
2222 lua_pcall(L
, 1+1, 2, 0);
2223 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
2227 lua_settop(L
, oldtop
);
2228 this->QGraphicsView::focusInEvent(arg1
);
2230 lua_settop(L
, oldtop
);
2232 void LuaBinder
< QGraphicsView
>::dragMoveEvent (QDragMoveEvent
* arg1
) {
2233 bool absorbed
= false;
2234 int oldtop
= lua_gettop(L
);
2235 lqtL_pushudata(L
, this, "QGraphicsView*");
2236 if (lua_getmetatable(L
, -1)) {
2237 lua_getfield(L
, -1, "dragMoveEvent");
2243 lqtL_pushudata(L
, arg1
, "QDragMoveEvent*");
2244 if (lua_isfunction(L
, -1-2)) {
2245 lua_pcall(L
, 1+1, 2, 0);
2246 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
2250 lua_settop(L
, oldtop
);
2251 this->QGraphicsView::dragMoveEvent(arg1
);
2253 lua_settop(L
, oldtop
);
2255 void LuaBinder
< QGraphicsView
>::moveEvent (QMoveEvent
* arg1
) {
2256 bool absorbed
= false;
2257 int oldtop
= lua_gettop(L
);
2258 lqtL_pushudata(L
, this, "QGraphicsView*");
2259 if (lua_getmetatable(L
, -1)) {
2260 lua_getfield(L
, -1, "moveEvent");
2266 lqtL_pushudata(L
, arg1
, "QMoveEvent*");
2267 if (lua_isfunction(L
, -1-2)) {
2268 lua_pcall(L
, 1+1, 2, 0);
2269 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
2273 lua_settop(L
, oldtop
);
2274 this->QWidget::moveEvent(arg1
);
2276 lua_settop(L
, oldtop
);
2278 void LuaBinder
< QGraphicsView
>::dropEvent (QDropEvent
* arg1
) {
2279 bool absorbed
= false;
2280 int oldtop
= lua_gettop(L
);
2281 lqtL_pushudata(L
, this, "QGraphicsView*");
2282 if (lua_getmetatable(L
, -1)) {
2283 lua_getfield(L
, -1, "dropEvent");
2289 lqtL_pushudata(L
, arg1
, "QDropEvent*");
2290 if (lua_isfunction(L
, -1-2)) {
2291 lua_pcall(L
, 1+1, 2, 0);
2292 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
2296 lua_settop(L
, oldtop
);
2297 this->QGraphicsView::dropEvent(arg1
);
2299 lua_settop(L
, oldtop
);
2301 void LuaBinder
< QGraphicsView
>::fontChange (const QFont
& arg1
) {
2302 bool absorbed
= false;
2303 int oldtop
= lua_gettop(L
);
2304 lqtL_pushudata(L
, this, "QGraphicsView*");
2305 if (lua_getmetatable(L
, -1)) {
2306 lua_getfield(L
, -1, "fontChange");
2312 lqtL_pushudata(L
, &(arg1
), "QFont*");
2313 if (lua_isfunction(L
, -1-2)) {
2314 lua_pcall(L
, 1+1, 2, 0);
2315 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
2319 lua_settop(L
, oldtop
);
2320 this->QWidget::fontChange(arg1
);
2322 lua_settop(L
, oldtop
);
2324 void LuaBinder
< QGraphicsView
>::timerEvent (QTimerEvent
* arg1
) {
2325 bool absorbed
= false;
2326 int oldtop
= lua_gettop(L
);
2327 lqtL_pushudata(L
, this, "QGraphicsView*");
2328 if (lua_getmetatable(L
, -1)) {
2329 lua_getfield(L
, -1, "timerEvent");
2335 lqtL_pushudata(L
, arg1
, "QTimerEvent*");
2336 if (lua_isfunction(L
, -1-2)) {
2337 lua_pcall(L
, 1+1, 2, 0);
2338 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
2342 lua_settop(L
, oldtop
);
2343 this->QObject::timerEvent(arg1
);
2345 lua_settop(L
, oldtop
);
2347 void LuaBinder
< QGraphicsView
>::showEvent (QShowEvent
* arg1
) {
2348 bool absorbed
= false;
2349 int oldtop
= lua_gettop(L
);
2350 lqtL_pushudata(L
, this, "QGraphicsView*");
2351 if (lua_getmetatable(L
, -1)) {
2352 lua_getfield(L
, -1, "showEvent");
2358 lqtL_pushudata(L
, arg1
, "QShowEvent*");
2359 if (lua_isfunction(L
, -1-2)) {
2360 lua_pcall(L
, 1+1, 2, 0);
2361 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
2365 lua_settop(L
, oldtop
);
2366 this->QGraphicsView::showEvent(arg1
);
2368 lua_settop(L
, oldtop
);
2370 void LuaBinder
< QGraphicsView
>::connectNotify (const char * arg1
) {
2371 bool absorbed
= false;
2372 int oldtop
= lua_gettop(L
);
2373 lqtL_pushudata(L
, this, "QGraphicsView*");
2374 if (lua_getmetatable(L
, -1)) {
2375 lua_getfield(L
, -1, "connectNotify");
2381 lua_pushstring(L
, arg1
);
2382 if (lua_isfunction(L
, -1-2)) {
2383 lua_pcall(L
, 1+1, 2, 0);
2384 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
2388 lua_settop(L
, oldtop
);
2389 this->QObject::connectNotify(arg1
);
2391 lua_settop(L
, oldtop
);
2393 void LuaBinder
< QGraphicsView
>::paintEvent (QPaintEvent
* arg1
) {
2394 bool absorbed
= false;
2395 int oldtop
= lua_gettop(L
);
2396 lqtL_pushudata(L
, this, "QGraphicsView*");
2397 if (lua_getmetatable(L
, -1)) {
2398 lua_getfield(L
, -1, "paintEvent");
2404 lqtL_pushudata(L
, arg1
, "QPaintEvent*");
2405 if (lua_isfunction(L
, -1-2)) {
2406 lua_pcall(L
, 1+1, 2, 0);
2407 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
2411 lua_settop(L
, oldtop
);
2412 this->QGraphicsView::paintEvent(arg1
);
2414 lua_settop(L
, oldtop
);
2416 void LuaBinder
< QGraphicsView
>::childEvent (QChildEvent
* arg1
) {
2417 bool absorbed
= false;
2418 int oldtop
= lua_gettop(L
);
2419 lqtL_pushudata(L
, this, "QGraphicsView*");
2420 if (lua_getmetatable(L
, -1)) {
2421 lua_getfield(L
, -1, "childEvent");
2427 lqtL_pushudata(L
, arg1
, "QChildEvent*");
2428 if (lua_isfunction(L
, -1-2)) {
2429 lua_pcall(L
, 1+1, 2, 0);
2430 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
2434 lua_settop(L
, oldtop
);
2435 this->QObject::childEvent(arg1
);
2437 lua_settop(L
, oldtop
);
2439 void LuaBinder
< QGraphicsView
>::windowActivationChange (bool arg1
) {
2440 bool absorbed
= false;
2441 int oldtop
= lua_gettop(L
);
2442 lqtL_pushudata(L
, this, "QGraphicsView*");
2443 if (lua_getmetatable(L
, -1)) {
2444 lua_getfield(L
, -1, "windowActivationChange");
2450 lua_pushboolean(L
, arg1
);
2451 if (lua_isfunction(L
, -1-2)) {
2452 lua_pcall(L
, 1+1, 2, 0);
2453 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
2457 lua_settop(L
, oldtop
);
2458 this->QWidget::windowActivationChange(arg1
);
2460 lua_settop(L
, oldtop
);
2462 void LuaBinder
< QGraphicsView
>::enabledChange (bool arg1
) {
2463 bool absorbed
= false;
2464 int oldtop
= lua_gettop(L
);
2465 lqtL_pushudata(L
, this, "QGraphicsView*");
2466 if (lua_getmetatable(L
, -1)) {
2467 lua_getfield(L
, -1, "enabledChange");
2473 lua_pushboolean(L
, arg1
);
2474 if (lua_isfunction(L
, -1-2)) {
2475 lua_pcall(L
, 1+1, 2, 0);
2476 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
2480 lua_settop(L
, oldtop
);
2481 this->QWidget::enabledChange(arg1
);
2483 lua_settop(L
, oldtop
);
2485 int LuaBinder
< QGraphicsView
>::metric (QPaintDevice::PaintDeviceMetric arg1
) const {
2486 bool absorbed
= false;
2487 int oldtop
= lua_gettop(L
);
2488 lqtL_pushudata(L
, this, "QGraphicsView*");
2489 if (lua_getmetatable(L
, -1)) {
2490 lua_getfield(L
, -1, "metric");
2496 lqtL_pushenum(L
, arg1
, "QPaintDevice::PaintDeviceMetric");
2497 if (lua_isfunction(L
, -1-2)) {
2498 lua_pcall(L
, 1+1, 2, 0);
2499 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
2503 lua_settop(L
, oldtop
);
2504 return this->QWidget::metric(arg1
);
2506 int ret
= lua_tointeger(L
, -1);
2507 lua_settop(L
, oldtop
);
2510 int LuaBinder
< QGraphicsView
>::heightForWidth (int arg1
) const {
2511 bool absorbed
= false;
2512 int oldtop
= lua_gettop(L
);
2513 lqtL_pushudata(L
, this, "QGraphicsView*");
2514 if (lua_getmetatable(L
, -1)) {
2515 lua_getfield(L
, -1, "heightForWidth");
2521 lua_pushinteger(L
, arg1
);
2522 if (lua_isfunction(L
, -1-2)) {
2523 lua_pcall(L
, 1+1, 2, 0);
2524 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
2528 lua_settop(L
, oldtop
);
2529 return this->QWidget::heightForWidth(arg1
);
2531 int ret
= lua_tointeger(L
, -1);
2532 lua_settop(L
, oldtop
);
2535 void LuaBinder
< QGraphicsView
>::mouseDoubleClickEvent (QMouseEvent
* arg1
) {
2536 bool absorbed
= false;
2537 int oldtop
= lua_gettop(L
);
2538 lqtL_pushudata(L
, this, "QGraphicsView*");
2539 if (lua_getmetatable(L
, -1)) {
2540 lua_getfield(L
, -1, "mouseDoubleClickEvent");
2546 lqtL_pushudata(L
, arg1
, "QMouseEvent*");
2547 if (lua_isfunction(L
, -1-2)) {
2548 lua_pcall(L
, 1+1, 2, 0);
2549 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
2553 lua_settop(L
, oldtop
);
2554 this->QGraphicsView::mouseDoubleClickEvent(arg1
);
2556 lua_settop(L
, oldtop
);
2558 void LuaBinder
< QGraphicsView
>::actionEvent (QActionEvent
* arg1
) {
2559 bool absorbed
= false;
2560 int oldtop
= lua_gettop(L
);
2561 lqtL_pushudata(L
, this, "QGraphicsView*");
2562 if (lua_getmetatable(L
, -1)) {
2563 lua_getfield(L
, -1, "actionEvent");
2569 lqtL_pushudata(L
, arg1
, "QActionEvent*");
2570 if (lua_isfunction(L
, -1-2)) {
2571 lua_pcall(L
, 1+1, 2, 0);
2572 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
2576 lua_settop(L
, oldtop
);
2577 this->QWidget::actionEvent(arg1
);
2579 lua_settop(L
, oldtop
);
2581 void LuaBinder
< QGraphicsView
>::disconnectNotify (const char * arg1
) {
2582 bool absorbed
= false;
2583 int oldtop
= lua_gettop(L
);
2584 lqtL_pushudata(L
, this, "QGraphicsView*");
2585 if (lua_getmetatable(L
, -1)) {
2586 lua_getfield(L
, -1, "disconnectNotify");
2592 lua_pushstring(L
, arg1
);
2593 if (lua_isfunction(L
, -1-2)) {
2594 lua_pcall(L
, 1+1, 2, 0);
2595 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
2599 lua_settop(L
, oldtop
);
2600 this->QObject::disconnectNotify(arg1
);
2602 lua_settop(L
, oldtop
);
2604 void LuaBinder
< QGraphicsView
>::mouseMoveEvent (QMouseEvent
* arg1
) {
2605 bool absorbed
= false;
2606 int oldtop
= lua_gettop(L
);
2607 lqtL_pushudata(L
, this, "QGraphicsView*");
2608 if (lua_getmetatable(L
, -1)) {
2609 lua_getfield(L
, -1, "mouseMoveEvent");
2615 lqtL_pushudata(L
, arg1
, "QMouseEvent*");
2616 if (lua_isfunction(L
, -1-2)) {
2617 lua_pcall(L
, 1+1, 2, 0);
2618 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
2622 lua_settop(L
, oldtop
);
2623 this->QGraphicsView::mouseMoveEvent(arg1
);
2625 lua_settop(L
, oldtop
);
2627 void LuaBinder
< QGraphicsView
>::changeEvent (QEvent
* arg1
) {
2628 bool absorbed
= false;
2629 int oldtop
= lua_gettop(L
);
2630 lqtL_pushudata(L
, this, "QGraphicsView*");
2631 if (lua_getmetatable(L
, -1)) {
2632 lua_getfield(L
, -1, "changeEvent");
2638 lqtL_pushudata(L
, arg1
, "QEvent*");
2639 if (lua_isfunction(L
, -1-2)) {
2640 lua_pcall(L
, 1+1, 2, 0);
2641 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
2645 lua_settop(L
, oldtop
);
2646 this->QFrame::changeEvent(arg1
);
2648 lua_settop(L
, oldtop
);
2650 void LuaBinder
< QGraphicsView
>::drawForeground (QPainter
* arg1
, const QRectF
& arg2
) {
2651 bool absorbed
= false;
2652 int oldtop
= lua_gettop(L
);
2653 lqtL_pushudata(L
, this, "QGraphicsView*");
2654 if (lua_getmetatable(L
, -1)) {
2655 lua_getfield(L
, -1, "drawForeground");
2661 lqtL_pushudata(L
, arg1
, "QPainter*");
2662 lqtL_pushudata(L
, &(arg2
), "QRectF*");
2663 if (lua_isfunction(L
, -2-2)) {
2664 lua_pcall(L
, 2+1, 2, 0);
2665 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
2669 lua_settop(L
, oldtop
);
2670 this->QGraphicsView::drawForeground(arg1
, arg2
);
2672 lua_settop(L
, oldtop
);
2674 void LuaBinder
< QGraphicsView
>::focusOutEvent (QFocusEvent
* arg1
) {
2675 bool absorbed
= false;
2676 int oldtop
= lua_gettop(L
);
2677 lqtL_pushudata(L
, this, "QGraphicsView*");
2678 if (lua_getmetatable(L
, -1)) {
2679 lua_getfield(L
, -1, "focusOutEvent");
2685 lqtL_pushudata(L
, arg1
, "QFocusEvent*");
2686 if (lua_isfunction(L
, -1-2)) {
2687 lua_pcall(L
, 1+1, 2, 0);
2688 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
2692 lua_settop(L
, oldtop
);
2693 this->QGraphicsView::focusOutEvent(arg1
);
2695 lua_settop(L
, oldtop
);
2697 void LuaBinder
< QGraphicsView
>::drawItems (QPainter
* arg1
, int arg2
, QGraphicsItem
* * arg3
, const QStyleOptionGraphicsItem
* arg4
) {
2698 bool absorbed
= false;
2699 int oldtop
= lua_gettop(L
);
2700 lqtL_pushudata(L
, this, "QGraphicsView*");
2701 if (lua_getmetatable(L
, -1)) {
2702 lua_getfield(L
, -1, "drawItems");
2708 lqtL_pushudata(L
, arg1
, "QPainter*");
2709 lua_pushinteger(L
, arg2
);
2710 lqtL_pushudata(L
, arg3
, "QGraphicsItem **");
2711 lqtL_pushudata(L
, arg4
, "QStyleOptionGraphicsItem*");
2712 if (lua_isfunction(L
, -4-2)) {
2713 lua_pcall(L
, 4+1, 2, 0);
2714 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
2718 lua_settop(L
, oldtop
);
2719 this->QGraphicsView::drawItems(arg1
, arg2
, arg3
, arg4
);
2721 lua_settop(L
, oldtop
);
2723 QSize LuaBinder
< QGraphicsView
>::minimumSizeHint () const {
2724 bool absorbed
= false;
2725 int oldtop
= lua_gettop(L
);
2726 lqtL_pushudata(L
, this, "QGraphicsView*");
2727 if (lua_getmetatable(L
, -1)) {
2728 lua_getfield(L
, -1, "minimumSizeHint");
2734 if (lua_isfunction(L
, -0-2)) {
2735 lua_pcall(L
, 0+1, 2, 0);
2736 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
2740 lua_settop(L
, oldtop
);
2741 return this->QAbstractScrollArea::minimumSizeHint();
2743 QSize ret
= **static_cast<QSize
**>(lqtL_checkudata(L
, -1, "QSize*"));
2744 lua_settop(L
, oldtop
);
2747 bool LuaBinder
< QGraphicsView
>::eventFilter (QObject
* arg1
, QEvent
* arg2
) {
2748 bool absorbed
= false;
2749 int oldtop
= lua_gettop(L
);
2750 lqtL_pushudata(L
, this, "QGraphicsView*");
2751 if (lua_getmetatable(L
, -1)) {
2752 lua_getfield(L
, -1, "eventFilter");
2758 lqtL_pushudata(L
, arg1
, "QObject*");
2759 lqtL_pushudata(L
, arg2
, "QEvent*");
2760 if (lua_isfunction(L
, -2-2)) {
2761 lua_pcall(L
, 2+1, 2, 0);
2762 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
2766 lua_settop(L
, oldtop
);
2767 return this->QObject::eventFilter(arg1
, arg2
);
2769 bool ret
= (bool)lua_toboolean(L
, -1);
2770 lua_settop(L
, oldtop
);
2773 void LuaBinder
< QGraphicsView
>::inputMethodEvent (QInputMethodEvent
* arg1
) {
2774 bool absorbed
= false;
2775 int oldtop
= lua_gettop(L
);
2776 lqtL_pushudata(L
, this, "QGraphicsView*");
2777 if (lua_getmetatable(L
, -1)) {
2778 lua_getfield(L
, -1, "inputMethodEvent");
2784 lqtL_pushudata(L
, arg1
, "QInputMethodEvent*");
2785 if (lua_isfunction(L
, -1-2)) {
2786 lua_pcall(L
, 1+1, 2, 0);
2787 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
2791 lua_settop(L
, oldtop
);
2792 this->QGraphicsView::inputMethodEvent(arg1
);
2794 lua_settop(L
, oldtop
);
2796 bool LuaBinder
< QGraphicsView
>::viewportEvent (QEvent
* arg1
) {
2797 bool absorbed
= false;
2798 int oldtop
= lua_gettop(L
);
2799 lqtL_pushudata(L
, this, "QGraphicsView*");
2800 if (lua_getmetatable(L
, -1)) {
2801 lua_getfield(L
, -1, "viewportEvent");
2807 lqtL_pushudata(L
, arg1
, "QEvent*");
2808 if (lua_isfunction(L
, -1-2)) {
2809 lua_pcall(L
, 1+1, 2, 0);
2810 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
2814 lua_settop(L
, oldtop
);
2815 return this->QGraphicsView::viewportEvent(arg1
);
2817 bool ret
= (bool)lua_toboolean(L
, -1);
2818 lua_settop(L
, oldtop
);
2821 void LuaBinder
< QGraphicsView
>::resizeEvent (QResizeEvent
* arg1
) {
2822 bool absorbed
= false;
2823 int oldtop
= lua_gettop(L
);
2824 lqtL_pushudata(L
, this, "QGraphicsView*");
2825 if (lua_getmetatable(L
, -1)) {
2826 lua_getfield(L
, -1, "resizeEvent");
2832 lqtL_pushudata(L
, arg1
, "QResizeEvent*");
2833 if (lua_isfunction(L
, -1-2)) {
2834 lua_pcall(L
, 1+1, 2, 0);
2835 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
2839 lua_settop(L
, oldtop
);
2840 this->QGraphicsView::resizeEvent(arg1
);
2842 lua_settop(L
, oldtop
);
2844 void LuaBinder
< QGraphicsView
>::paletteChange (const QPalette
& arg1
) {
2845 bool absorbed
= false;
2846 int oldtop
= lua_gettop(L
);
2847 lqtL_pushudata(L
, this, "QGraphicsView*");
2848 if (lua_getmetatable(L
, -1)) {
2849 lua_getfield(L
, -1, "paletteChange");
2855 lqtL_pushudata(L
, &(arg1
), "QPalette*");
2856 if (lua_isfunction(L
, -1-2)) {
2857 lua_pcall(L
, 1+1, 2, 0);
2858 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
2862 lua_settop(L
, oldtop
);
2863 this->QWidget::paletteChange(arg1
);
2865 lua_settop(L
, oldtop
);
2867 void LuaBinder
< QGraphicsView
>::languageChange () {
2868 bool absorbed
= false;
2869 int oldtop
= lua_gettop(L
);
2870 lqtL_pushudata(L
, this, "QGraphicsView*");
2871 if (lua_getmetatable(L
, -1)) {
2872 lua_getfield(L
, -1, "languageChange");
2878 if (lua_isfunction(L
, -0-2)) {
2879 lua_pcall(L
, 0+1, 2, 0);
2880 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
2884 lua_settop(L
, oldtop
);
2885 this->QWidget::languageChange();
2887 lua_settop(L
, oldtop
);
2889 bool LuaBinder
< QGraphicsView
>::event (QEvent
* arg1
) {
2890 bool absorbed
= false;
2891 int oldtop
= lua_gettop(L
);
2892 lqtL_pushudata(L
, this, "QGraphicsView*");
2893 if (lua_getmetatable(L
, -1)) {
2894 lua_getfield(L
, -1, "event");
2900 lqtL_pushudata(L
, arg1
, "QEvent*");
2901 if (lua_isfunction(L
, -1-2)) {
2902 lua_pcall(L
, 1+1, 2, 0);
2903 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
2907 lua_settop(L
, oldtop
);
2908 return this->QGraphicsView::event(arg1
);
2910 bool ret
= (bool)lua_toboolean(L
, -1);
2911 lua_settop(L
, oldtop
);
2914 void LuaBinder
< QGraphicsView
>::hideEvent (QHideEvent
* arg1
) {
2915 bool absorbed
= false;
2916 int oldtop
= lua_gettop(L
);
2917 lqtL_pushudata(L
, this, "QGraphicsView*");
2918 if (lua_getmetatable(L
, -1)) {
2919 lua_getfield(L
, -1, "hideEvent");
2925 lqtL_pushudata(L
, arg1
, "QHideEvent*");
2926 if (lua_isfunction(L
, -1-2)) {
2927 lua_pcall(L
, 1+1, 2, 0);
2928 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
2932 lua_settop(L
, oldtop
);
2933 this->QWidget::hideEvent(arg1
);
2935 lua_settop(L
, oldtop
);
2937 bool LuaBinder
< QGraphicsView
>::focusNextPrevChild (bool arg1
) {
2938 bool absorbed
= false;
2939 int oldtop
= lua_gettop(L
);
2940 lqtL_pushudata(L
, this, "QGraphicsView*");
2941 if (lua_getmetatable(L
, -1)) {
2942 lua_getfield(L
, -1, "focusNextPrevChild");
2948 lua_pushboolean(L
, arg1
);
2949 if (lua_isfunction(L
, -1-2)) {
2950 lua_pcall(L
, 1+1, 2, 0);
2951 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
2955 lua_settop(L
, oldtop
);
2956 return this->QWidget::focusNextPrevChild(arg1
);
2958 bool ret
= (bool)lua_toboolean(L
, -1);
2959 lua_settop(L
, oldtop
);
2962 const QMetaObject
* LuaBinder
< QGraphicsView
>::metaObject () const {
2963 bool absorbed
= false;
2964 int oldtop
= lua_gettop(L
);
2965 lqtL_pushudata(L
, this, "QGraphicsView*");
2966 if (lua_getmetatable(L
, -1)) {
2967 lua_getfield(L
, -1, "metaObject");
2973 if (lua_isfunction(L
, -0-2)) {
2974 lua_pcall(L
, 0+1, 2, 0);
2975 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
2979 lua_settop(L
, oldtop
);
2980 return this->QGraphicsView::metaObject();
2982 const QMetaObject
* ret
= *static_cast<QMetaObject
**>(lqtL_checkudata(L
, -1, "QMetaObject*"));
2983 lua_settop(L
, oldtop
);
2986 QVariant LuaBinder
< QGraphicsView
>::inputMethodQuery (Qt::InputMethodQuery arg1
) const {
2987 bool absorbed
= false;
2988 int oldtop
= lua_gettop(L
);
2989 lqtL_pushudata(L
, this, "QGraphicsView*");
2990 if (lua_getmetatable(L
, -1)) {
2991 lua_getfield(L
, -1, "inputMethodQuery");
2997 lqtL_pushenum(L
, arg1
, "Qt::InputMethodQuery");
2998 if (lua_isfunction(L
, -1-2)) {
2999 lua_pcall(L
, 1+1, 2, 0);
3000 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
3004 lua_settop(L
, oldtop
);
3005 return this->QGraphicsView::inputMethodQuery(arg1
);
3007 QVariant ret
= **static_cast<QVariant
**>(lqtL_checkudata(L
, -1, "QVariant*"));
3008 lua_settop(L
, oldtop
);
3011 void LuaBinder
< QGraphicsView
>::leaveEvent (QEvent
* arg1
) {
3012 bool absorbed
= false;
3013 int oldtop
= lua_gettop(L
);
3014 lqtL_pushudata(L
, this, "QGraphicsView*");
3015 if (lua_getmetatable(L
, -1)) {
3016 lua_getfield(L
, -1, "leaveEvent");
3022 lqtL_pushudata(L
, arg1
, "QEvent*");
3023 if (lua_isfunction(L
, -1-2)) {
3024 lua_pcall(L
, 1+1, 2, 0);
3025 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
3029 lua_settop(L
, oldtop
);
3030 this->QWidget::leaveEvent(arg1
);
3032 lua_settop(L
, oldtop
);
3034 void LuaBinder
< QGraphicsView
>::dragEnterEvent (QDragEnterEvent
* arg1
) {
3035 bool absorbed
= false;
3036 int oldtop
= lua_gettop(L
);
3037 lqtL_pushudata(L
, this, "QGraphicsView*");
3038 if (lua_getmetatable(L
, -1)) {
3039 lua_getfield(L
, -1, "dragEnterEvent");
3045 lqtL_pushudata(L
, arg1
, "QDragEnterEvent*");
3046 if (lua_isfunction(L
, -1-2)) {
3047 lua_pcall(L
, 1+1, 2, 0);
3048 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
3052 lua_settop(L
, oldtop
);
3053 this->QGraphicsView::dragEnterEvent(arg1
);
3055 lua_settop(L
, oldtop
);
3057 void LuaBinder
< QGraphicsView
>::enterEvent (QEvent
* arg1
) {
3058 bool absorbed
= false;
3059 int oldtop
= lua_gettop(L
);
3060 lqtL_pushudata(L
, this, "QGraphicsView*");
3061 if (lua_getmetatable(L
, -1)) {
3062 lua_getfield(L
, -1, "enterEvent");
3068 lqtL_pushudata(L
, arg1
, "QEvent*");
3069 if (lua_isfunction(L
, -1-2)) {
3070 lua_pcall(L
, 1+1, 2, 0);
3071 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
3075 lua_settop(L
, oldtop
);
3076 this->QWidget::enterEvent(arg1
);
3078 lua_settop(L
, oldtop
);
3080 LuaBinder
< QGraphicsView
>:: ~LuaBinder
< QGraphicsView
> () {
3081 int oldtop
= lua_gettop(L
);
3082 lqtL_pushudata(L
, this, "QGraphicsView*");
3083 lua_getfield(L
, -1, "~QGraphicsView");
3085 if (lua_isfunction(L
, -1)) {
3087 lua_pcall(L
, 1, 1, 0);
3090 lua_settop(L
, oldtop
);
3092 int LuaBinder
< QGraphicsView
>::lqt_pushenum_ViewportAnchor (lua_State
*L
) {
3094 lua_getfield(L
, LUA_REGISTRYINDEX
, LQT_ENUMS
);
3095 if (!lua_istable(L
, -1)) {
3098 lua_pushvalue(L
, -1);
3099 lua_setfield(L
, LUA_REGISTRYINDEX
, LQT_ENUMS
);
3102 enum_table
= lua_gettop(L
);
3103 lua_pushstring(L
, "NoAnchor");
3104 lua_rawseti(L
, enum_table
, 0);
3105 lua_pushinteger(L
, 0);
3106 lua_setfield(L
, enum_table
, "NoAnchor");
3107 lua_pushstring(L
, "AnchorViewCenter");
3108 lua_rawseti(L
, enum_table
, 1);
3109 lua_pushinteger(L
, 1);
3110 lua_setfield(L
, enum_table
, "AnchorViewCenter");
3111 lua_pushstring(L
, "AnchorUnderMouse");
3112 lua_rawseti(L
, enum_table
, 2);
3113 lua_pushinteger(L
, 2);
3114 lua_setfield(L
, enum_table
, "AnchorUnderMouse");
3115 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::lqt_pushenum_ViewportAnchor_QFLAGS_CREATOR
);
3116 lua_setfield(L
, enum_table
, "QFlags");
3117 lua_pushvalue(L
, -1);
3118 lua_setfield(L
, -3, "QGraphicsView::ViewportAnchor");
3122 int LuaBinder
< QGraphicsView
>::lqt_pushenum_ViewportAnchor_QFLAGS_CREATOR (lua_State
*L
) {
3123 int argn
= lua_gettop(L
);
3125 void *p
= lua_newuserdata(L
, sizeof(QFlags
<QGraphicsView::ViewportAnchor
>*) + sizeof(QFlags
<QGraphicsView::ViewportAnchor
>));
3126 QFlags
<QGraphicsView::ViewportAnchor
> *fl
= static_cast<QFlags
<QGraphicsView::ViewportAnchor
>*>( static_cast<void*>(&static_cast<QFlags
<QGraphicsView::ViewportAnchor
>**>(p
)[1]) );
3128 for (i
=1;i
<=argn
;i
++) {
3129 *fl
|= static_cast<QGraphicsView::ViewportAnchor
>(lqtL_toenum(L
, i
, "QGraphicsView::ViewportAnchor"));
3131 if (luaL_newmetatable(L
, "QFlags<QGraphicsView::ViewportAnchor>*")) {
3132 lua_pushstring(L
, "QFlags<QGraphicsView::ViewportAnchor>*");
3133 lua_setfield(L
, -2, "__qtype");
3135 lua_setmetatable(L
, -2);
3138 int LuaBinder
< QGraphicsView
>::lqt_pushenum_CacheModeFlag (lua_State
*L
) {
3140 lua_getfield(L
, LUA_REGISTRYINDEX
, LQT_ENUMS
);
3141 if (!lua_istable(L
, -1)) {
3144 lua_pushvalue(L
, -1);
3145 lua_setfield(L
, LUA_REGISTRYINDEX
, LQT_ENUMS
);
3148 enum_table
= lua_gettop(L
);
3149 lua_pushstring(L
, "CacheNone");
3150 lua_rawseti(L
, enum_table
, 0);
3151 lua_pushinteger(L
, 0);
3152 lua_setfield(L
, enum_table
, "CacheNone");
3153 lua_pushstring(L
, "CacheBackground");
3154 lua_rawseti(L
, enum_table
, 1);
3155 lua_pushinteger(L
, 1);
3156 lua_setfield(L
, enum_table
, "CacheBackground");
3157 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::lqt_pushenum_CacheModeFlag_QFLAGS_CREATOR
);
3158 lua_setfield(L
, enum_table
, "QFlags");
3159 lua_pushvalue(L
, -1);
3160 lua_setfield(L
, -3, "QGraphicsView::CacheModeFlag");
3164 int LuaBinder
< QGraphicsView
>::lqt_pushenum_CacheModeFlag_QFLAGS_CREATOR (lua_State
*L
) {
3165 int argn
= lua_gettop(L
);
3167 void *p
= lua_newuserdata(L
, sizeof(QFlags
<QGraphicsView::CacheModeFlag
>*) + sizeof(QFlags
<QGraphicsView::CacheModeFlag
>));
3168 QFlags
<QGraphicsView::CacheModeFlag
> *fl
= static_cast<QFlags
<QGraphicsView::CacheModeFlag
>*>( static_cast<void*>(&static_cast<QFlags
<QGraphicsView::CacheModeFlag
>**>(p
)[1]) );
3170 for (i
=1;i
<=argn
;i
++) {
3171 *fl
|= static_cast<QGraphicsView::CacheModeFlag
>(lqtL_toenum(L
, i
, "QGraphicsView::CacheModeFlag"));
3173 if (luaL_newmetatable(L
, "QFlags<QGraphicsView::CacheModeFlag>*")) {
3174 lua_pushstring(L
, "QFlags<QGraphicsView::CacheModeFlag>*");
3175 lua_setfield(L
, -2, "__qtype");
3177 lua_setmetatable(L
, -2);
3180 int LuaBinder
< QGraphicsView
>::lqt_pushenum_DragMode (lua_State
*L
) {
3182 lua_getfield(L
, LUA_REGISTRYINDEX
, LQT_ENUMS
);
3183 if (!lua_istable(L
, -1)) {
3186 lua_pushvalue(L
, -1);
3187 lua_setfield(L
, LUA_REGISTRYINDEX
, LQT_ENUMS
);
3190 enum_table
= lua_gettop(L
);
3191 lua_pushstring(L
, "NoDrag");
3192 lua_rawseti(L
, enum_table
, 0);
3193 lua_pushinteger(L
, 0);
3194 lua_setfield(L
, enum_table
, "NoDrag");
3195 lua_pushstring(L
, "ScrollHandDrag");
3196 lua_rawseti(L
, enum_table
, 1);
3197 lua_pushinteger(L
, 1);
3198 lua_setfield(L
, enum_table
, "ScrollHandDrag");
3199 lua_pushstring(L
, "RubberBandDrag");
3200 lua_rawseti(L
, enum_table
, 2);
3201 lua_pushinteger(L
, 2);
3202 lua_setfield(L
, enum_table
, "RubberBandDrag");
3203 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::lqt_pushenum_DragMode_QFLAGS_CREATOR
);
3204 lua_setfield(L
, enum_table
, "QFlags");
3205 lua_pushvalue(L
, -1);
3206 lua_setfield(L
, -3, "QGraphicsView::DragMode");
3210 int LuaBinder
< QGraphicsView
>::lqt_pushenum_DragMode_QFLAGS_CREATOR (lua_State
*L
) {
3211 int argn
= lua_gettop(L
);
3213 void *p
= lua_newuserdata(L
, sizeof(QFlags
<QGraphicsView::DragMode
>*) + sizeof(QFlags
<QGraphicsView::DragMode
>));
3214 QFlags
<QGraphicsView::DragMode
> *fl
= static_cast<QFlags
<QGraphicsView::DragMode
>*>( static_cast<void*>(&static_cast<QFlags
<QGraphicsView::DragMode
>**>(p
)[1]) );
3216 for (i
=1;i
<=argn
;i
++) {
3217 *fl
|= static_cast<QGraphicsView::DragMode
>(lqtL_toenum(L
, i
, "QGraphicsView::DragMode"));
3219 if (luaL_newmetatable(L
, "QFlags<QGraphicsView::DragMode>*")) {
3220 lua_pushstring(L
, "QFlags<QGraphicsView::DragMode>*");
3221 lua_setfield(L
, -2, "__qtype");
3223 lua_setmetatable(L
, -2);
3226 int LuaBinder
< QGraphicsView
>::lqt_pushenum_ViewportUpdateMode (lua_State
*L
) {
3228 lua_getfield(L
, LUA_REGISTRYINDEX
, LQT_ENUMS
);
3229 if (!lua_istable(L
, -1)) {
3232 lua_pushvalue(L
, -1);
3233 lua_setfield(L
, LUA_REGISTRYINDEX
, LQT_ENUMS
);
3236 enum_table
= lua_gettop(L
);
3237 lua_pushstring(L
, "FullViewportUpdate");
3238 lua_rawseti(L
, enum_table
, 0);
3239 lua_pushinteger(L
, 0);
3240 lua_setfield(L
, enum_table
, "FullViewportUpdate");
3241 lua_pushstring(L
, "MinimalViewportUpdate");
3242 lua_rawseti(L
, enum_table
, 1);
3243 lua_pushinteger(L
, 1);
3244 lua_setfield(L
, enum_table
, "MinimalViewportUpdate");
3245 lua_pushstring(L
, "SmartViewportUpdate");
3246 lua_rawseti(L
, enum_table
, 2);
3247 lua_pushinteger(L
, 2);
3248 lua_setfield(L
, enum_table
, "SmartViewportUpdate");
3249 lua_pushstring(L
, "NoViewportUpdate");
3250 lua_rawseti(L
, enum_table
, 3);
3251 lua_pushinteger(L
, 3);
3252 lua_setfield(L
, enum_table
, "NoViewportUpdate");
3253 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::lqt_pushenum_ViewportUpdateMode_QFLAGS_CREATOR
);
3254 lua_setfield(L
, enum_table
, "QFlags");
3255 lua_pushvalue(L
, -1);
3256 lua_setfield(L
, -3, "QGraphicsView::ViewportUpdateMode");
3260 int LuaBinder
< QGraphicsView
>::lqt_pushenum_ViewportUpdateMode_QFLAGS_CREATOR (lua_State
*L
) {
3261 int argn
= lua_gettop(L
);
3263 void *p
= lua_newuserdata(L
, sizeof(QFlags
<QGraphicsView::ViewportUpdateMode
>*) + sizeof(QFlags
<QGraphicsView::ViewportUpdateMode
>));
3264 QFlags
<QGraphicsView::ViewportUpdateMode
> *fl
= static_cast<QFlags
<QGraphicsView::ViewportUpdateMode
>*>( static_cast<void*>(&static_cast<QFlags
<QGraphicsView::ViewportUpdateMode
>**>(p
)[1]) );
3266 for (i
=1;i
<=argn
;i
++) {
3267 *fl
|= static_cast<QGraphicsView::ViewportUpdateMode
>(lqtL_toenum(L
, i
, "QGraphicsView::ViewportUpdateMode"));
3269 if (luaL_newmetatable(L
, "QFlags<QGraphicsView::ViewportUpdateMode>*")) {
3270 lua_pushstring(L
, "QFlags<QGraphicsView::ViewportUpdateMode>*");
3271 lua_setfield(L
, -2, "__qtype");
3273 lua_setmetatable(L
, -2);
3276 int LuaBinder
< QGraphicsView
>::lqt_pushenum_OptimizationFlag (lua_State
*L
) {
3278 lua_getfield(L
, LUA_REGISTRYINDEX
, LQT_ENUMS
);
3279 if (!lua_istable(L
, -1)) {
3282 lua_pushvalue(L
, -1);
3283 lua_setfield(L
, LUA_REGISTRYINDEX
, LQT_ENUMS
);
3286 enum_table
= lua_gettop(L
);
3287 lua_pushstring(L
, "DontClipPainter");
3288 lua_rawseti(L
, enum_table
, 1);
3289 lua_pushinteger(L
, 1);
3290 lua_setfield(L
, enum_table
, "DontClipPainter");
3291 lua_pushstring(L
, "DontSavePainterState");
3292 lua_rawseti(L
, enum_table
, 2);
3293 lua_pushinteger(L
, 2);
3294 lua_setfield(L
, enum_table
, "DontSavePainterState");
3295 lua_pushstring(L
, "DontAdjustForAntialiasing");
3296 lua_rawseti(L
, enum_table
, 4);
3297 lua_pushinteger(L
, 4);
3298 lua_setfield(L
, enum_table
, "DontAdjustForAntialiasing");
3299 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::lqt_pushenum_OptimizationFlag_QFLAGS_CREATOR
);
3300 lua_setfield(L
, enum_table
, "QFlags");
3301 lua_pushvalue(L
, -1);
3302 lua_setfield(L
, -3, "QGraphicsView::OptimizationFlag");
3306 int LuaBinder
< QGraphicsView
>::lqt_pushenum_OptimizationFlag_QFLAGS_CREATOR (lua_State
*L
) {
3307 int argn
= lua_gettop(L
);
3309 void *p
= lua_newuserdata(L
, sizeof(QFlags
<QGraphicsView::OptimizationFlag
>*) + sizeof(QFlags
<QGraphicsView::OptimizationFlag
>));
3310 QFlags
<QGraphicsView::OptimizationFlag
> *fl
= static_cast<QFlags
<QGraphicsView::OptimizationFlag
>*>( static_cast<void*>(&static_cast<QFlags
<QGraphicsView::OptimizationFlag
>**>(p
)[1]) );
3312 for (i
=1;i
<=argn
;i
++) {
3313 *fl
|= static_cast<QGraphicsView::OptimizationFlag
>(lqtL_toenum(L
, i
, "QGraphicsView::OptimizationFlag"));
3315 if (luaL_newmetatable(L
, "QFlags<QGraphicsView::OptimizationFlag>*")) {
3316 lua_pushstring(L
, "QFlags<QGraphicsView::OptimizationFlag>*");
3317 lua_setfield(L
, -2, "__qtype");
3319 lua_setmetatable(L
, -2);
3322 int luaopen_QGraphicsView (lua_State
*L
) {
3323 if (luaL_newmetatable(L
, "QGraphicsView*")) {
3324 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__render
);
3325 lua_setfield(L
, -2, "render");
3326 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__setOptimizationFlag
);
3327 lua_setfield(L
, -2, "setOptimizationFlag");
3328 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__sizeHint
);
3329 lua_setfield(L
, -2, "sizeHint");
3330 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__setMatrix
);
3331 lua_setfield(L
, -2, "setMatrix");
3332 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__setInteractive
);
3333 lua_setfield(L
, -2, "setInteractive");
3334 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__sceneRect
);
3335 lua_setfield(L
, -2, "sceneRect");
3336 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__viewportTransform
);
3337 lua_setfield(L
, -2, "viewportTransform");
3338 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__setOptimizationFlags
);
3339 lua_setfield(L
, -2, "setOptimizationFlags");
3340 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__setTransformationAnchor
);
3341 lua_setfield(L
, -2, "setTransformationAnchor");
3342 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__trUtf8
);
3343 lua_setfield(L
, -2, "trUtf8");
3344 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__optimizationFlags
);
3345 lua_setfield(L
, -2, "optimizationFlags");
3346 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__rubberBandSelectionMode
);
3347 lua_setfield(L
, -2, "rubberBandSelectionMode");
3348 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__tr
);
3349 lua_setfield(L
, -2, "tr");
3350 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__renderHints
);
3351 lua_setfield(L
, -2, "renderHints");
3352 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__setCacheMode
);
3353 lua_setfield(L
, -2, "setCacheMode");
3354 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__delete
);
3355 lua_setfield(L
, -2, "delete");
3356 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__new
);
3357 lua_setfield(L
, -2, "new");
3358 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__setRenderHints
);
3359 lua_setfield(L
, -2, "setRenderHints");
3360 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__updateScene
);
3361 lua_setfield(L
, -2, "updateScene");
3362 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__setRenderHint
);
3363 lua_setfield(L
, -2, "setRenderHint");
3364 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__items
);
3365 lua_setfield(L
, -2, "items");
3366 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__invalidateScene
);
3367 lua_setfield(L
, -2, "invalidateScene");
3368 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__matrix
);
3369 lua_setfield(L
, -2, "matrix");
3370 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__transformationAnchor
);
3371 lua_setfield(L
, -2, "transformationAnchor");
3372 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__centerOn
);
3373 lua_setfield(L
, -2, "centerOn");
3374 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__rotate
);
3375 lua_setfield(L
, -2, "rotate");
3376 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__setScene
);
3377 lua_setfield(L
, -2, "setScene");
3378 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__transform
);
3379 lua_setfield(L
, -2, "transform");
3380 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__resetMatrix
);
3381 lua_setfield(L
, -2, "resetMatrix");
3382 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__setRubberBandSelectionMode
);
3383 lua_setfield(L
, -2, "setRubberBandSelectionMode");
3384 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__setTransform
);
3385 lua_setfield(L
, -2, "setTransform");
3386 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__setSceneRect
);
3387 lua_setfield(L
, -2, "setSceneRect");
3388 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__scale
);
3389 lua_setfield(L
, -2, "scale");
3390 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__resizeAnchor
);
3391 lua_setfield(L
, -2, "resizeAnchor");
3392 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__dragMode
);
3393 lua_setfield(L
, -2, "dragMode");
3394 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__shear
);
3395 lua_setfield(L
, -2, "shear");
3396 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__fitInView
);
3397 lua_setfield(L
, -2, "fitInView");
3398 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__isInteractive
);
3399 lua_setfield(L
, -2, "isInteractive");
3400 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__setResizeAnchor
);
3401 lua_setfield(L
, -2, "setResizeAnchor");
3402 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__translate
);
3403 lua_setfield(L
, -2, "translate");
3404 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__ensureVisible
);
3405 lua_setfield(L
, -2, "ensureVisible");
3406 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__updateSceneRect
);
3407 lua_setfield(L
, -2, "updateSceneRect");
3408 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__backgroundBrush
);
3409 lua_setfield(L
, -2, "backgroundBrush");
3410 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__cacheMode
);
3411 lua_setfield(L
, -2, "cacheMode");
3412 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__inputMethodQuery
);
3413 lua_setfield(L
, -2, "inputMethodQuery");
3414 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__setViewportUpdateMode
);
3415 lua_setfield(L
, -2, "setViewportUpdateMode");
3416 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__mapToScene
);
3417 lua_setfield(L
, -2, "mapToScene");
3418 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__foregroundBrush
);
3419 lua_setfield(L
, -2, "foregroundBrush");
3420 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__resetTransform
);
3421 lua_setfield(L
, -2, "resetTransform");
3422 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__scene
);
3423 lua_setfield(L
, -2, "scene");
3424 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__metaObject
);
3425 lua_setfield(L
, -2, "metaObject");
3426 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__resetCachedContent
);
3427 lua_setfield(L
, -2, "resetCachedContent");
3428 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__setForegroundBrush
);
3429 lua_setfield(L
, -2, "setForegroundBrush");
3430 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__itemAt
);
3431 lua_setfield(L
, -2, "itemAt");
3432 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__alignment
);
3433 lua_setfield(L
, -2, "alignment");
3434 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__setDragMode
);
3435 lua_setfield(L
, -2, "setDragMode");
3436 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__viewportUpdateMode
);
3437 lua_setfield(L
, -2, "viewportUpdateMode");
3438 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__setBackgroundBrush
);
3439 lua_setfield(L
, -2, "setBackgroundBrush");
3440 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__mapFromScene
);
3441 lua_setfield(L
, -2, "mapFromScene");
3442 lua_pushcfunction(L
, LuaBinder
< QGraphicsView
>::__LuaWrapCall__setAlignment
);
3443 lua_setfield(L
, -2, "setAlignment");
3444 LuaBinder
< QGraphicsView
>::lqt_pushenum_ViewportAnchor(L
);
3445 lua_setfield(L
, -2, "ViewportAnchor");
3446 LuaBinder
< QGraphicsView
>::lqt_pushenum_CacheModeFlag(L
);
3447 lua_setfield(L
, -2, "CacheModeFlag");
3448 LuaBinder
< QGraphicsView
>::lqt_pushenum_DragMode(L
);
3449 lua_setfield(L
, -2, "DragMode");
3450 LuaBinder
< QGraphicsView
>::lqt_pushenum_ViewportUpdateMode(L
);
3451 lua_setfield(L
, -2, "ViewportUpdateMode");
3452 LuaBinder
< QGraphicsView
>::lqt_pushenum_OptimizationFlag(L
);
3453 lua_setfield(L
, -2, "OptimizationFlag");
3455 lua_pushboolean(L
, 1);
3456 lua_setfield(L
, -2, "QAbstractScrollArea*");
3457 lua_pushboolean(L
, 0);
3458 lua_setfield(L
, -2, "QObject*");
3459 lua_pushboolean(L
, 0);
3460 lua_setfield(L
, -2, "QPaintDevice*");
3461 lua_pushboolean(L
, 0);
3462 lua_setfield(L
, -2, "QWidget*");
3463 lua_pushboolean(L
, 0);
3464 lua_setfield(L
, -2, "QFrame*");
3465 lua_setfield(L
, -2, "__base");
3466 lua_pushcfunction(L
, lqtL_newindex
);
3467 lua_setfield(L
, -2, "__newindex");
3468 lua_pushcfunction(L
, lqtL_index
);
3469 lua_setfield(L
, -2, "__index");
3470 lua_pushcfunction(L
, lqtL_gc
);
3471 lua_setfield(L
, -2, "__gc");
3472 lua_pushstring(L
, "QGraphicsView");
3473 lua_setfield(L
, -2, "__qtype");
3474 lua_setglobal(L
, "QGraphicsView");