1 #include "lqt_bind_QFileDialog.hpp"
3 int LuaBinder
< QFileDialog
>::__LuaWrapCall__confirmOverwrite (lua_State
*L
) {
4 QFileDialog
*& __lua__obj
= *static_cast<QFileDialog
**>(lqtL_checkudata(L
, 1, "QFileDialog*"));
6 lua_pushstring(L
, "trying to reference deleted pointer");
10 bool ret
= __lua__obj
->QFileDialog::confirmOverwrite();
11 lua_pushboolean(L
, ret
);
14 int LuaBinder
< QFileDialog
>::__LuaWrapCall__selectFilter (lua_State
*L
) {
15 QFileDialog
*& __lua__obj
= *static_cast<QFileDialog
**>(lqtL_checkudata(L
, 1, "QFileDialog*"));
17 lua_pushstring(L
, "trying to reference deleted pointer");
21 const QString
& arg1
= QString::fromAscii(lua_tostring(L
, 2), lua_objlen(L
, 2));
22 __lua__obj
->QFileDialog::selectFilter(arg1
);
25 int LuaBinder
< QFileDialog
>::__LuaWrapCall__saveState (lua_State
*L
) {
26 QFileDialog
*& __lua__obj
= *static_cast<QFileDialog
**>(lqtL_checkudata(L
, 1, "QFileDialog*"));
28 lua_pushstring(L
, "trying to reference deleted pointer");
32 QByteArray ret
= __lua__obj
->QFileDialog::saveState();
33 lua_pushlstring(L
, ret
.data(), ret
.size());
36 int LuaBinder
< QFileDialog
>::__LuaWrapCall__resolveSymlinks (lua_State
*L
) {
37 QFileDialog
*& __lua__obj
= *static_cast<QFileDialog
**>(lqtL_checkudata(L
, 1, "QFileDialog*"));
39 lua_pushstring(L
, "trying to reference deleted pointer");
43 bool ret
= __lua__obj
->QFileDialog::resolveSymlinks();
44 lua_pushboolean(L
, ret
);
47 int LuaBinder
< QFileDialog
>::__LuaWrapCall__setAcceptMode (lua_State
*L
) {
48 QFileDialog
*& __lua__obj
= *static_cast<QFileDialog
**>(lqtL_checkudata(L
, 1, "QFileDialog*"));
50 lua_pushstring(L
, "trying to reference deleted pointer");
54 QFileDialog::AcceptMode arg1
= static_cast<QFileDialog::AcceptMode
>(lqtL_toenum(L
, 2, "QFileDialog::AcceptMode"));
55 __lua__obj
->QFileDialog::setAcceptMode(arg1
);
58 int LuaBinder
< QFileDialog
>::__LuaWrapCall__setSidebarUrls (lua_State
*L
) {
59 QFileDialog
*& __lua__obj
= *static_cast<QFileDialog
**>(lqtL_checkudata(L
, 1, "QFileDialog*"));
61 lua_pushstring(L
, "trying to reference deleted pointer");
65 const QList
<QUrl
>& arg1
= **static_cast<QList
<QUrl
>**>(lqtL_checkudata(L
, 2, "QList<QUrl>*"));
66 __lua__obj
->QFileDialog::setSidebarUrls(arg1
);
69 int LuaBinder
< QFileDialog
>::__LuaWrapCall__trUtf8__OverloadedVersion__1 (lua_State
*L
) {
70 const char * arg1
= lua_tostring(L
, 1);
71 const char * arg2
= (lua_type(L
, 2)==LUA_TSTRING
)?lua_tostring(L
, 2):static_cast< const char * >(0);
72 QString ret
= QFileDialog::trUtf8(arg1
, arg2
);
73 lua_pushlstring(L
, ret
.toAscii().data(), ret
.toAscii().size());
76 int LuaBinder
< QFileDialog
>::__LuaWrapCall__trUtf8__OverloadedVersion__2 (lua_State
*L
) {
77 const char * arg1
= lua_tostring(L
, 1);
78 const char * arg2
= lua_tostring(L
, 2);
79 int arg3
= lua_tointeger(L
, 3);
80 QString ret
= QFileDialog::trUtf8(arg1
, arg2
, arg3
);
81 lua_pushlstring(L
, ret
.toAscii().data(), ret
.toAscii().size());
84 int LuaBinder
< QFileDialog
>::__LuaWrapCall__trUtf8 (lua_State
*L
) {
86 const int premium
= 11+lua_gettop(L
);
88 if ((lua_type(L
, 1)==LUA_TSTRING
)) {
91 score
[1] += premium
-1; // table: 0xea51b0;
93 score
[1] -= premium
*premium
;
95 if ((lua_type(L
, 2)==LUA_TSTRING
)) {
98 score
[1] += premium
-1; // table: 0xea4ce0;
100 score
[1] -= premium
*premium
;
103 if ((lua_type(L
, 1)==LUA_TSTRING
)) {
106 score
[2] += premium
-1; // table: 0xea6fd0;
108 score
[2] -= premium
*premium
;
110 if ((lua_type(L
, 2)==LUA_TSTRING
)) {
113 score
[2] += premium
-1; // table: 0xea6700;
115 score
[2] -= premium
*premium
;
117 if (lua_isnumber(L
, 3)) {
120 score
[2] += premium
-1; // table: 0xea7460;
122 score
[2] -= premium
*premium
;
125 for (int i
=1;i
<=2;i
++) {
126 if (score
[best
] < score
[i
]) { best
= i
; }
129 case 1: return __LuaWrapCall__trUtf8__OverloadedVersion__1(L
); break;
130 case 2: return __LuaWrapCall__trUtf8__OverloadedVersion__2(L
); break;
132 lua_pushstring(L
, "no overload of function __LuaWrapCall__trUtf8 matching arguments");
136 int LuaBinder
< QFileDialog
>::__LuaWrapCall__filters (lua_State
*L
) {
137 QFileDialog
*& __lua__obj
= *static_cast<QFileDialog
**>(lqtL_checkudata(L
, 1, "QFileDialog*"));
139 lua_pushstring(L
, "trying to reference deleted pointer");
143 QStringList ret
= __lua__obj
->QFileDialog::filters();
144 lqtL_passudata(L
, new QStringList(ret
), "QStringList*");
147 int LuaBinder
< QFileDialog
>::__LuaWrapCall__tr__OverloadedVersion__1 (lua_State
*L
) {
148 const char * arg1
= lua_tostring(L
, 1);
149 const char * arg2
= (lua_type(L
, 2)==LUA_TSTRING
)?lua_tostring(L
, 2):static_cast< const char * >(0);
150 QString ret
= QFileDialog::tr(arg1
, arg2
);
151 lua_pushlstring(L
, ret
.toAscii().data(), ret
.toAscii().size());
154 int LuaBinder
< QFileDialog
>::__LuaWrapCall__tr__OverloadedVersion__2 (lua_State
*L
) {
155 const char * arg1
= lua_tostring(L
, 1);
156 const char * arg2
= lua_tostring(L
, 2);
157 int arg3
= lua_tointeger(L
, 3);
158 QString ret
= QFileDialog::tr(arg1
, arg2
, arg3
);
159 lua_pushlstring(L
, ret
.toAscii().data(), ret
.toAscii().size());
162 int LuaBinder
< QFileDialog
>::__LuaWrapCall__tr (lua_State
*L
) {
164 const int premium
= 11+lua_gettop(L
);
166 if ((lua_type(L
, 1)==LUA_TSTRING
)) {
169 score
[1] += premium
-1; // table: 0xea4410;
171 score
[1] -= premium
*premium
;
173 if ((lua_type(L
, 2)==LUA_TSTRING
)) {
176 score
[1] += premium
-1; // table: 0xea4110;
178 score
[1] -= premium
*premium
;
181 if ((lua_type(L
, 1)==LUA_TSTRING
)) {
184 score
[2] += premium
-1; // table: 0xea5ec0;
186 score
[2] -= premium
*premium
;
188 if ((lua_type(L
, 2)==LUA_TSTRING
)) {
191 score
[2] += premium
-1; // table: 0xea63b0;
193 score
[2] -= premium
*premium
;
195 if (lua_isnumber(L
, 3)) {
198 score
[2] += premium
-1; // table: 0xea6760;
200 score
[2] -= premium
*premium
;
203 for (int i
=1;i
<=2;i
++) {
204 if (score
[best
] < score
[i
]) { best
= i
; }
207 case 1: return __LuaWrapCall__tr__OverloadedVersion__1(L
); break;
208 case 2: return __LuaWrapCall__tr__OverloadedVersion__2(L
); break;
210 lua_pushstring(L
, "no overload of function __LuaWrapCall__tr matching arguments");
214 int LuaBinder
< QFileDialog
>::__LuaWrapCall__sidebarUrls (lua_State
*L
) {
215 QFileDialog
*& __lua__obj
= *static_cast<QFileDialog
**>(lqtL_checkudata(L
, 1, "QFileDialog*"));
217 lua_pushstring(L
, "trying to reference deleted pointer");
221 QList
<QUrl
> ret
= __lua__obj
->QFileDialog::sidebarUrls();
222 lqtL_passudata(L
, new QList
<QUrl
>(ret
), "QList<QUrl>*");
225 int LuaBinder
< QFileDialog
>::__LuaWrapCall__setConfirmOverwrite (lua_State
*L
) {
226 QFileDialog
*& __lua__obj
= *static_cast<QFileDialog
**>(lqtL_checkudata(L
, 1, "QFileDialog*"));
228 lua_pushstring(L
, "trying to reference deleted pointer");
232 bool arg1
= (bool)lua_toboolean(L
, 2);
233 __lua__obj
->QFileDialog::setConfirmOverwrite(arg1
);
236 int LuaBinder
< QFileDialog
>::__LuaWrapCall__setViewMode (lua_State
*L
) {
237 QFileDialog
*& __lua__obj
= *static_cast<QFileDialog
**>(lqtL_checkudata(L
, 1, "QFileDialog*"));
239 lua_pushstring(L
, "trying to reference deleted pointer");
243 QFileDialog::ViewMode arg1
= static_cast<QFileDialog::ViewMode
>(lqtL_toenum(L
, 2, "QFileDialog::ViewMode"));
244 __lua__obj
->QFileDialog::setViewMode(arg1
);
247 int LuaBinder
< QFileDialog
>::__LuaWrapCall__acceptMode (lua_State
*L
) {
248 QFileDialog
*& __lua__obj
= *static_cast<QFileDialog
**>(lqtL_checkudata(L
, 1, "QFileDialog*"));
250 lua_pushstring(L
, "trying to reference deleted pointer");
254 QFileDialog::AcceptMode ret
= __lua__obj
->QFileDialog::acceptMode();
255 lqtL_pushenum(L
, ret
, "QFileDialog::AcceptMode");
258 int LuaBinder
< QFileDialog
>::__LuaWrapCall__setHistory (lua_State
*L
) {
259 QFileDialog
*& __lua__obj
= *static_cast<QFileDialog
**>(lqtL_checkudata(L
, 1, "QFileDialog*"));
261 lua_pushstring(L
, "trying to reference deleted pointer");
265 const QStringList
& arg1
= **static_cast<QStringList
**>(lqtL_checkudata(L
, 2, "QStringList*"));
266 __lua__obj
->QFileDialog::setHistory(arg1
);
269 int LuaBinder
< QFileDialog
>::__LuaWrapCall__fileMode (lua_State
*L
) {
270 QFileDialog
*& __lua__obj
= *static_cast<QFileDialog
**>(lqtL_checkudata(L
, 1, "QFileDialog*"));
272 lua_pushstring(L
, "trying to reference deleted pointer");
276 QFileDialog::FileMode ret
= __lua__obj
->QFileDialog::fileMode();
277 lqtL_pushenum(L
, ret
, "QFileDialog::FileMode");
280 int LuaBinder
< QFileDialog
>::__LuaWrapCall__setDefaultSuffix (lua_State
*L
) {
281 QFileDialog
*& __lua__obj
= *static_cast<QFileDialog
**>(lqtL_checkudata(L
, 1, "QFileDialog*"));
283 lua_pushstring(L
, "trying to reference deleted pointer");
287 const QString
& arg1
= QString::fromAscii(lua_tostring(L
, 2), lua_objlen(L
, 2));
288 __lua__obj
->QFileDialog::setDefaultSuffix(arg1
);
291 int LuaBinder
< QFileDialog
>::__LuaWrapCall__getOpenFileName (lua_State
*L
) {
292 QWidget
* arg1
= lqtL_testudata(L
, 1, "QWidget*")?*static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*")):static_cast< QWidget
* >(0);
293 const QString
& arg2
= (lua_type(L
, 2)==LUA_TSTRING
)?QString::fromAscii(lua_tostring(L
, 2), lua_objlen(L
, 2)):QString();
294 const QString
& arg3
= (lua_type(L
, 3)==LUA_TSTRING
)?QString::fromAscii(lua_tostring(L
, 3), lua_objlen(L
, 3)):QString();
295 const QString
& arg4
= (lua_type(L
, 4)==LUA_TSTRING
)?QString::fromAscii(lua_tostring(L
, 4), lua_objlen(L
, 4)):QString();
296 QString
* arg5
= (lua_type(L
, 5)==LUA_TSTRING
)?static_cast<QString
*>(lua_touserdata(L
, 5)):static_cast< QString
* >(0);
297 QFlags
<QFileDialog::Option
> arg6
= lqtL_testudata(L
, 6, "QFlags<QFileDialog::Option>*")?**static_cast<QFlags
<QFileDialog::Option
>**>(lqtL_checkudata(L
, 6, "QFlags<QFileDialog::Option>*")):static_cast< QFlags
<QFileDialog::Option
> >(0);
298 QString ret
= QFileDialog::getOpenFileName(arg1
, arg2
, arg3
, arg4
, arg5
, arg6
);
299 lua_pushlstring(L
, ret
.toAscii().data(), ret
.toAscii().size());
302 int LuaBinder
< QFileDialog
>::__LuaWrapCall__setReadOnly (lua_State
*L
) {
303 QFileDialog
*& __lua__obj
= *static_cast<QFileDialog
**>(lqtL_checkudata(L
, 1, "QFileDialog*"));
305 lua_pushstring(L
, "trying to reference deleted pointer");
309 bool arg1
= (bool)lua_toboolean(L
, 2);
310 __lua__obj
->QFileDialog::setReadOnly(arg1
);
313 int LuaBinder
< QFileDialog
>::__LuaWrapCall__setLabelText (lua_State
*L
) {
314 QFileDialog
*& __lua__obj
= *static_cast<QFileDialog
**>(lqtL_checkudata(L
, 1, "QFileDialog*"));
316 lua_pushstring(L
, "trying to reference deleted pointer");
320 QFileDialog::DialogLabel arg1
= static_cast<QFileDialog::DialogLabel
>(lqtL_toenum(L
, 2, "QFileDialog::DialogLabel"));
321 const QString
& arg2
= QString::fromAscii(lua_tostring(L
, 3), lua_objlen(L
, 3));
322 __lua__obj
->QFileDialog::setLabelText(arg1
, arg2
);
325 int LuaBinder
< QFileDialog
>::__LuaWrapCall__selectFile (lua_State
*L
) {
326 QFileDialog
*& __lua__obj
= *static_cast<QFileDialog
**>(lqtL_checkudata(L
, 1, "QFileDialog*"));
328 lua_pushstring(L
, "trying to reference deleted pointer");
332 const QString
& arg1
= QString::fromAscii(lua_tostring(L
, 2), lua_objlen(L
, 2));
333 __lua__obj
->QFileDialog::selectFile(arg1
);
336 int LuaBinder
< QFileDialog
>::__LuaWrapCall__setFilters (lua_State
*L
) {
337 QFileDialog
*& __lua__obj
= *static_cast<QFileDialog
**>(lqtL_checkudata(L
, 1, "QFileDialog*"));
339 lua_pushstring(L
, "trying to reference deleted pointer");
343 const QStringList
& arg1
= **static_cast<QStringList
**>(lqtL_checkudata(L
, 2, "QStringList*"));
344 __lua__obj
->QFileDialog::setFilters(arg1
);
347 int LuaBinder
< QFileDialog
>::__LuaWrapCall__selectedFiles (lua_State
*L
) {
348 QFileDialog
*& __lua__obj
= *static_cast<QFileDialog
**>(lqtL_checkudata(L
, 1, "QFileDialog*"));
350 lua_pushstring(L
, "trying to reference deleted pointer");
354 QStringList ret
= __lua__obj
->QFileDialog::selectedFiles();
355 lqtL_passudata(L
, new QStringList(ret
), "QStringList*");
358 int LuaBinder
< QFileDialog
>::__LuaWrapCall__viewMode (lua_State
*L
) {
359 QFileDialog
*& __lua__obj
= *static_cast<QFileDialog
**>(lqtL_checkudata(L
, 1, "QFileDialog*"));
361 lua_pushstring(L
, "trying to reference deleted pointer");
365 QFileDialog::ViewMode ret
= __lua__obj
->QFileDialog::viewMode();
366 lqtL_pushenum(L
, ret
, "QFileDialog::ViewMode");
369 int LuaBinder
< QFileDialog
>::__LuaWrapCall__setFileMode (lua_State
*L
) {
370 QFileDialog
*& __lua__obj
= *static_cast<QFileDialog
**>(lqtL_checkudata(L
, 1, "QFileDialog*"));
372 lua_pushstring(L
, "trying to reference deleted pointer");
376 QFileDialog::FileMode arg1
= static_cast<QFileDialog::FileMode
>(lqtL_toenum(L
, 2, "QFileDialog::FileMode"));
377 __lua__obj
->QFileDialog::setFileMode(arg1
);
380 int LuaBinder
< QFileDialog
>::__LuaWrapCall__getExistingDirectory (lua_State
*L
) {
381 QWidget
* arg1
= lqtL_testudata(L
, 1, "QWidget*")?*static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*")):static_cast< QWidget
* >(0);
382 const QString
& arg2
= (lua_type(L
, 2)==LUA_TSTRING
)?QString::fromAscii(lua_tostring(L
, 2), lua_objlen(L
, 2)):QString();
383 const QString
& arg3
= (lua_type(L
, 3)==LUA_TSTRING
)?QString::fromAscii(lua_tostring(L
, 3), lua_objlen(L
, 3)):QString();
384 QFlags
<QFileDialog::Option
> arg4
= lqtL_testudata(L
, 4, "QFlags<QFileDialog::Option>*")?**static_cast<QFlags
<QFileDialog::Option
>**>(lqtL_checkudata(L
, 4, "QFlags<QFileDialog::Option>*")):ShowDirsOnly
;
385 QString ret
= QFileDialog::getExistingDirectory(arg1
, arg2
, arg3
, arg4
);
386 lua_pushlstring(L
, ret
.toAscii().data(), ret
.toAscii().size());
389 int LuaBinder
< QFileDialog
>::__LuaWrapCall__delete (lua_State
*L
) {
390 QFileDialog
*& __lua__obj
= *static_cast<QFileDialog
**>(lqtL_checkudata(L
, 1, "QFileDialog*"));
392 lua_pushstring(L
, "trying to reference deleted pointer");
400 int LuaBinder
< QFileDialog
>::__LuaWrapCall__metaObject (lua_State
*L
) {
401 QFileDialog
*& __lua__obj
= *static_cast<QFileDialog
**>(lqtL_checkudata(L
, 1, "QFileDialog*"));
403 lua_pushstring(L
, "trying to reference deleted pointer");
407 const QMetaObject
* ret
= __lua__obj
->QFileDialog::metaObject();
408 lqtL_pushudata(L
, ret
, "QMetaObject*");
411 int LuaBinder
< QFileDialog
>::__LuaWrapCall__getSaveFileName (lua_State
*L
) {
412 QWidget
* arg1
= lqtL_testudata(L
, 1, "QWidget*")?*static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*")):static_cast< QWidget
* >(0);
413 const QString
& arg2
= (lua_type(L
, 2)==LUA_TSTRING
)?QString::fromAscii(lua_tostring(L
, 2), lua_objlen(L
, 2)):QString();
414 const QString
& arg3
= (lua_type(L
, 3)==LUA_TSTRING
)?QString::fromAscii(lua_tostring(L
, 3), lua_objlen(L
, 3)):QString();
415 const QString
& arg4
= (lua_type(L
, 4)==LUA_TSTRING
)?QString::fromAscii(lua_tostring(L
, 4), lua_objlen(L
, 4)):QString();
416 QString
* arg5
= (lua_type(L
, 5)==LUA_TSTRING
)?static_cast<QString
*>(lua_touserdata(L
, 5)):static_cast< QString
* >(0);
417 QFlags
<QFileDialog::Option
> arg6
= lqtL_testudata(L
, 6, "QFlags<QFileDialog::Option>*")?**static_cast<QFlags
<QFileDialog::Option
>**>(lqtL_checkudata(L
, 6, "QFlags<QFileDialog::Option>*")):static_cast< QFlags
<QFileDialog::Option
> >(0);
418 QString ret
= QFileDialog::getSaveFileName(arg1
, arg2
, arg3
, arg4
, arg5
, arg6
);
419 lua_pushlstring(L
, ret
.toAscii().data(), ret
.toAscii().size());
422 int LuaBinder
< QFileDialog
>::__LuaWrapCall__setResolveSymlinks (lua_State
*L
) {
423 QFileDialog
*& __lua__obj
= *static_cast<QFileDialog
**>(lqtL_checkudata(L
, 1, "QFileDialog*"));
425 lua_pushstring(L
, "trying to reference deleted pointer");
429 bool arg1
= (bool)lua_toboolean(L
, 2);
430 __lua__obj
->QFileDialog::setResolveSymlinks(arg1
);
433 int LuaBinder
< QFileDialog
>::__LuaWrapCall__new__OverloadedVersion__1 (lua_State
*L
) {
434 QWidget
* arg1
= *static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*"));
435 QFlags
<Qt::WindowType
> arg2
= **static_cast<QFlags
<Qt::WindowType
>**>(lqtL_checkudata(L
, 2, "QFlags<Qt::WindowType>*"));
436 QFileDialog
* ret
= new LuaBinder
< QFileDialog
>(L
, arg1
, arg2
);
437 lqtL_passudata(L
, ret
, "QFileDialog*");
440 int LuaBinder
< QFileDialog
>::__LuaWrapCall__new__OverloadedVersion__2 (lua_State
*L
) {
441 QWidget
* arg1
= lqtL_testudata(L
, 1, "QWidget*")?*static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*")):static_cast< QWidget
* >(0);
442 const QString
& arg2
= (lua_type(L
, 2)==LUA_TSTRING
)?QString::fromAscii(lua_tostring(L
, 2), lua_objlen(L
, 2)):QString();
443 const QString
& arg3
= (lua_type(L
, 3)==LUA_TSTRING
)?QString::fromAscii(lua_tostring(L
, 3), lua_objlen(L
, 3)):QString();
444 const QString
& arg4
= (lua_type(L
, 4)==LUA_TSTRING
)?QString::fromAscii(lua_tostring(L
, 4), lua_objlen(L
, 4)):QString();
445 QFileDialog
* ret
= new LuaBinder
< QFileDialog
>(L
, arg1
, arg2
, arg3
, arg4
);
446 lqtL_passudata(L
, ret
, "QFileDialog*");
449 int LuaBinder
< QFileDialog
>::__LuaWrapCall__new (lua_State
*L
) {
451 const int premium
= 11+lua_gettop(L
);
453 if (lqtL_testudata(L
, 1, "QWidget*")) {
456 score
[1] += premium
-1; // table: 0xea9180;
458 score
[1] -= premium
*premium
;
460 if (lqtL_testudata(L
, 2, "QFlags<Qt::WindowType>*")) {
463 score
[1] += premium
-1; // table: 0xea96e0;
465 score
[1] -= premium
*premium
;
468 if (lqtL_testudata(L
, 1, "QWidget*")) {
471 score
[2] += premium
-1; // table: 0xeaa0a0;
473 score
[2] -= premium
*premium
;
475 if ((lua_type(L
, 2)==LUA_TSTRING
)) {
478 score
[2] += premium
-1; // table: 0xeaa5b0;
480 score
[2] -= premium
*premium
;
482 if ((lua_type(L
, 3)==LUA_TSTRING
)) {
485 score
[2] += premium
-1; // table: 0xeaa550;
487 score
[2] -= premium
*premium
;
489 if ((lua_type(L
, 4)==LUA_TSTRING
)) {
492 score
[2] += premium
-1; // table: 0xeaaef0;
494 score
[2] -= premium
*premium
;
497 for (int i
=1;i
<=2;i
++) {
498 if (score
[best
] < score
[i
]) { best
= i
; }
501 case 1: return __LuaWrapCall__new__OverloadedVersion__1(L
); break;
502 case 2: return __LuaWrapCall__new__OverloadedVersion__2(L
); break;
504 lua_pushstring(L
, "no overload of function __LuaWrapCall__new matching arguments");
508 int LuaBinder
< QFileDialog
>::__LuaWrapCall__selectedFilter (lua_State
*L
) {
509 QFileDialog
*& __lua__obj
= *static_cast<QFileDialog
**>(lqtL_checkudata(L
, 1, "QFileDialog*"));
511 lua_pushstring(L
, "trying to reference deleted pointer");
515 QString ret
= __lua__obj
->QFileDialog::selectedFilter();
516 lua_pushlstring(L
, ret
.toAscii().data(), ret
.toAscii().size());
519 int LuaBinder
< QFileDialog
>::__LuaWrapCall__directory (lua_State
*L
) {
520 QFileDialog
*& __lua__obj
= *static_cast<QFileDialog
**>(lqtL_checkudata(L
, 1, "QFileDialog*"));
522 lua_pushstring(L
, "trying to reference deleted pointer");
526 QDir ret
= __lua__obj
->QFileDialog::directory();
527 lqtL_passudata(L
, new QDir(ret
), "QDir*");
530 int LuaBinder
< QFileDialog
>::__LuaWrapCall__isReadOnly (lua_State
*L
) {
531 QFileDialog
*& __lua__obj
= *static_cast<QFileDialog
**>(lqtL_checkudata(L
, 1, "QFileDialog*"));
533 lua_pushstring(L
, "trying to reference deleted pointer");
537 bool ret
= __lua__obj
->QFileDialog::isReadOnly();
538 lua_pushboolean(L
, ret
);
541 int LuaBinder
< QFileDialog
>::__LuaWrapCall__defaultSuffix (lua_State
*L
) {
542 QFileDialog
*& __lua__obj
= *static_cast<QFileDialog
**>(lqtL_checkudata(L
, 1, "QFileDialog*"));
544 lua_pushstring(L
, "trying to reference deleted pointer");
548 QString ret
= __lua__obj
->QFileDialog::defaultSuffix();
549 lua_pushlstring(L
, ret
.toAscii().data(), ret
.toAscii().size());
552 int LuaBinder
< QFileDialog
>::__LuaWrapCall__setFilter (lua_State
*L
) {
553 QFileDialog
*& __lua__obj
= *static_cast<QFileDialog
**>(lqtL_checkudata(L
, 1, "QFileDialog*"));
555 lua_pushstring(L
, "trying to reference deleted pointer");
559 const QString
& arg1
= QString::fromAscii(lua_tostring(L
, 2), lua_objlen(L
, 2));
560 __lua__obj
->QFileDialog::setFilter(arg1
);
563 int LuaBinder
< QFileDialog
>::__LuaWrapCall__setDirectory__OverloadedVersion__1 (lua_State
*L
) {
564 QFileDialog
*& __lua__obj
= *static_cast<QFileDialog
**>(lqtL_checkudata(L
, 1, "QFileDialog*"));
566 lua_pushstring(L
, "trying to reference deleted pointer");
570 const QString
& arg1
= QString::fromAscii(lua_tostring(L
, 2), lua_objlen(L
, 2));
571 __lua__obj
->QFileDialog::setDirectory(arg1
);
574 int LuaBinder
< QFileDialog
>::__LuaWrapCall__setDirectory__OverloadedVersion__2 (lua_State
*L
) {
575 QFileDialog
*& __lua__obj
= *static_cast<QFileDialog
**>(lqtL_checkudata(L
, 1, "QFileDialog*"));
577 lua_pushstring(L
, "trying to reference deleted pointer");
581 const QDir
& arg1
= **static_cast<QDir
**>(lqtL_checkudata(L
, 2, "QDir*"));
582 __lua__obj
->QFileDialog::setDirectory(arg1
);
585 int LuaBinder
< QFileDialog
>::__LuaWrapCall__setDirectory (lua_State
*L
) {
587 const int premium
= 11+lua_gettop(L
);
589 score
[1] += lqtL_testudata(L
, 1, "QFileDialog*")?premium
:-premium
*premium
;
590 if ((lua_type(L
, 2)==LUA_TSTRING
)) {
593 score
[1] += premium
-1; // table: 0xeabf00;
595 score
[1] -= premium
*premium
;
598 score
[2] += lqtL_testudata(L
, 1, "QFileDialog*")?premium
:-premium
*premium
;
599 if (lqtL_testudata(L
, 2, "QDir*")) {
602 score
[2] += premium
-1; // table: 0xeac980;
604 score
[2] -= premium
*premium
;
607 for (int i
=1;i
<=2;i
++) {
608 if (score
[best
] < score
[i
]) { best
= i
; }
611 case 1: return __LuaWrapCall__setDirectory__OverloadedVersion__1(L
); break;
612 case 2: return __LuaWrapCall__setDirectory__OverloadedVersion__2(L
); break;
614 lua_pushstring(L
, "no overload of function __LuaWrapCall__setDirectory matching arguments");
618 int LuaBinder
< QFileDialog
>::__LuaWrapCall__setItemDelegate (lua_State
*L
) {
619 QFileDialog
*& __lua__obj
= *static_cast<QFileDialog
**>(lqtL_checkudata(L
, 1, "QFileDialog*"));
621 lua_pushstring(L
, "trying to reference deleted pointer");
625 QAbstractItemDelegate
* arg1
= *static_cast<QAbstractItemDelegate
**>(lqtL_checkudata(L
, 2, "QAbstractItemDelegate*"));
626 __lua__obj
->QFileDialog::setItemDelegate(arg1
);
629 int LuaBinder
< QFileDialog
>::__LuaWrapCall__restoreState (lua_State
*L
) {
630 QFileDialog
*& __lua__obj
= *static_cast<QFileDialog
**>(lqtL_checkudata(L
, 1, "QFileDialog*"));
632 lua_pushstring(L
, "trying to reference deleted pointer");
636 const QByteArray
& arg1
= QByteArray(lua_tostring(L
, 2), lua_objlen(L
, 2));
637 bool ret
= __lua__obj
->QFileDialog::restoreState(arg1
);
638 lua_pushboolean(L
, ret
);
641 int LuaBinder
< QFileDialog
>::__LuaWrapCall__itemDelegate (lua_State
*L
) {
642 QFileDialog
*& __lua__obj
= *static_cast<QFileDialog
**>(lqtL_checkudata(L
, 1, "QFileDialog*"));
644 lua_pushstring(L
, "trying to reference deleted pointer");
648 QAbstractItemDelegate
* ret
= __lua__obj
->QFileDialog::itemDelegate();
649 lqtL_pushudata(L
, ret
, "QAbstractItemDelegate*");
652 int LuaBinder
< QFileDialog
>::__LuaWrapCall__history (lua_State
*L
) {
653 QFileDialog
*& __lua__obj
= *static_cast<QFileDialog
**>(lqtL_checkudata(L
, 1, "QFileDialog*"));
655 lua_pushstring(L
, "trying to reference deleted pointer");
659 QStringList ret
= __lua__obj
->QFileDialog::history();
660 lqtL_passudata(L
, new QStringList(ret
), "QStringList*");
663 int LuaBinder
< QFileDialog
>::__LuaWrapCall__setIconProvider (lua_State
*L
) {
664 QFileDialog
*& __lua__obj
= *static_cast<QFileDialog
**>(lqtL_checkudata(L
, 1, "QFileDialog*"));
666 lua_pushstring(L
, "trying to reference deleted pointer");
670 QFileIconProvider
* arg1
= *static_cast<QFileIconProvider
**>(lqtL_checkudata(L
, 2, "QFileIconProvider*"));
671 __lua__obj
->QFileDialog::setIconProvider(arg1
);
674 int LuaBinder
< QFileDialog
>::__LuaWrapCall__iconProvider (lua_State
*L
) {
675 QFileDialog
*& __lua__obj
= *static_cast<QFileDialog
**>(lqtL_checkudata(L
, 1, "QFileDialog*"));
677 lua_pushstring(L
, "trying to reference deleted pointer");
681 QFileIconProvider
* ret
= __lua__obj
->QFileDialog::iconProvider();
682 lqtL_pushudata(L
, ret
, "QFileIconProvider*");
685 int LuaBinder
< QFileDialog
>::__LuaWrapCall__proxyModel (lua_State
*L
) {
686 QFileDialog
*& __lua__obj
= *static_cast<QFileDialog
**>(lqtL_checkudata(L
, 1, "QFileDialog*"));
688 lua_pushstring(L
, "trying to reference deleted pointer");
692 QAbstractProxyModel
* ret
= __lua__obj
->QFileDialog::proxyModel();
693 lqtL_pushudata(L
, ret
, "QAbstractProxyModel*");
696 int LuaBinder
< QFileDialog
>::__LuaWrapCall__labelText (lua_State
*L
) {
697 QFileDialog
*& __lua__obj
= *static_cast<QFileDialog
**>(lqtL_checkudata(L
, 1, "QFileDialog*"));
699 lua_pushstring(L
, "trying to reference deleted pointer");
703 QFileDialog::DialogLabel arg1
= static_cast<QFileDialog::DialogLabel
>(lqtL_toenum(L
, 2, "QFileDialog::DialogLabel"));
704 QString ret
= __lua__obj
->QFileDialog::labelText(arg1
);
705 lua_pushlstring(L
, ret
.toAscii().data(), ret
.toAscii().size());
708 int LuaBinder
< QFileDialog
>::__LuaWrapCall__setProxyModel (lua_State
*L
) {
709 QFileDialog
*& __lua__obj
= *static_cast<QFileDialog
**>(lqtL_checkudata(L
, 1, "QFileDialog*"));
711 lua_pushstring(L
, "trying to reference deleted pointer");
715 QAbstractProxyModel
* arg1
= *static_cast<QAbstractProxyModel
**>(lqtL_checkudata(L
, 2, "QAbstractProxyModel*"));
716 __lua__obj
->QFileDialog::setProxyModel(arg1
);
719 int LuaBinder
< QFileDialog
>::__LuaWrapCall__getOpenFileNames (lua_State
*L
) {
720 QWidget
* arg1
= lqtL_testudata(L
, 1, "QWidget*")?*static_cast<QWidget
**>(lqtL_checkudata(L
, 1, "QWidget*")):static_cast< QWidget
* >(0);
721 const QString
& arg2
= (lua_type(L
, 2)==LUA_TSTRING
)?QString::fromAscii(lua_tostring(L
, 2), lua_objlen(L
, 2)):QString();
722 const QString
& arg3
= (lua_type(L
, 3)==LUA_TSTRING
)?QString::fromAscii(lua_tostring(L
, 3), lua_objlen(L
, 3)):QString();
723 const QString
& arg4
= (lua_type(L
, 4)==LUA_TSTRING
)?QString::fromAscii(lua_tostring(L
, 4), lua_objlen(L
, 4)):QString();
724 QString
* arg5
= (lua_type(L
, 5)==LUA_TSTRING
)?static_cast<QString
*>(lua_touserdata(L
, 5)):static_cast< QString
* >(0);
725 QFlags
<QFileDialog::Option
> arg6
= lqtL_testudata(L
, 6, "QFlags<QFileDialog::Option>*")?**static_cast<QFlags
<QFileDialog::Option
>**>(lqtL_checkudata(L
, 6, "QFlags<QFileDialog::Option>*")):static_cast< QFlags
<QFileDialog::Option
> >(0);
726 QStringList ret
= QFileDialog::getOpenFileNames(arg1
, arg2
, arg3
, arg4
, arg5
, arg6
);
727 lqtL_passudata(L
, new QStringList(ret
), "QStringList*");
730 void LuaBinder
< QFileDialog
>::styleChange (QStyle
& arg1
) {
731 bool absorbed
= false;
732 int oldtop
= lua_gettop(L
);
733 lqtL_pushudata(L
, this, "QFileDialog*");
734 if (lua_getmetatable(L
, -1)) {
735 lua_getfield(L
, -1, "styleChange");
741 lqtL_pushudata(L
, &(arg1
), "QStyle*");
742 if (lua_isfunction(L
, -1-2)) {
743 lua_pcall(L
, 1+1, 2, 0);
744 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
748 lua_settop(L
, oldtop
);
749 this->QWidget::styleChange(arg1
);
751 lua_settop(L
, oldtop
);
753 void LuaBinder
< QFileDialog
>::focusInEvent (QFocusEvent
* arg1
) {
754 bool absorbed
= false;
755 int oldtop
= lua_gettop(L
);
756 lqtL_pushudata(L
, this, "QFileDialog*");
757 if (lua_getmetatable(L
, -1)) {
758 lua_getfield(L
, -1, "focusInEvent");
764 lqtL_pushudata(L
, arg1
, "QFocusEvent*");
765 if (lua_isfunction(L
, -1-2)) {
766 lua_pcall(L
, 1+1, 2, 0);
767 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
771 lua_settop(L
, oldtop
);
772 this->QWidget::focusInEvent(arg1
);
774 lua_settop(L
, oldtop
);
776 void LuaBinder
< QFileDialog
>::keyPressEvent (QKeyEvent
* arg1
) {
777 bool absorbed
= false;
778 int oldtop
= lua_gettop(L
);
779 lqtL_pushudata(L
, this, "QFileDialog*");
780 if (lua_getmetatable(L
, -1)) {
781 lua_getfield(L
, -1, "keyPressEvent");
787 lqtL_pushudata(L
, arg1
, "QKeyEvent*");
788 if (lua_isfunction(L
, -1-2)) {
789 lua_pcall(L
, 1+1, 2, 0);
790 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
794 lua_settop(L
, oldtop
);
795 this->QDialog::keyPressEvent(arg1
);
797 lua_settop(L
, oldtop
);
799 const QMetaObject
* LuaBinder
< QFileDialog
>::metaObject () const {
800 bool absorbed
= false;
801 int oldtop
= lua_gettop(L
);
802 lqtL_pushudata(L
, this, "QFileDialog*");
803 if (lua_getmetatable(L
, -1)) {
804 lua_getfield(L
, -1, "metaObject");
810 if (lua_isfunction(L
, -0-2)) {
811 lua_pcall(L
, 0+1, 2, 0);
812 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
816 lua_settop(L
, oldtop
);
817 return this->QFileDialog::metaObject();
819 const QMetaObject
* ret
= *static_cast<QMetaObject
**>(lqtL_checkudata(L
, -1, "QMetaObject*"));
820 lua_settop(L
, oldtop
);
823 int LuaBinder
< QFileDialog
>::devType () const {
824 bool absorbed
= false;
825 int oldtop
= lua_gettop(L
);
826 lqtL_pushudata(L
, this, "QFileDialog*");
827 if (lua_getmetatable(L
, -1)) {
828 lua_getfield(L
, -1, "devType");
834 if (lua_isfunction(L
, -0-2)) {
835 lua_pcall(L
, 0+1, 2, 0);
836 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
840 lua_settop(L
, oldtop
);
841 return this->QWidget::devType();
843 int ret
= lua_tointeger(L
, -1);
844 lua_settop(L
, oldtop
);
847 void LuaBinder
< QFileDialog
>::setVisible (bool arg1
) {
848 bool absorbed
= false;
849 int oldtop
= lua_gettop(L
);
850 lqtL_pushudata(L
, this, "QFileDialog*");
851 if (lua_getmetatable(L
, -1)) {
852 lua_getfield(L
, -1, "setVisible");
858 lua_pushboolean(L
, arg1
);
859 if (lua_isfunction(L
, -1-2)) {
860 lua_pcall(L
, 1+1, 2, 0);
861 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
865 lua_settop(L
, oldtop
);
866 this->QDialog::setVisible(arg1
);
868 lua_settop(L
, oldtop
);
870 void LuaBinder
< QFileDialog
>::keyReleaseEvent (QKeyEvent
* arg1
) {
871 bool absorbed
= false;
872 int oldtop
= lua_gettop(L
);
873 lqtL_pushudata(L
, this, "QFileDialog*");
874 if (lua_getmetatable(L
, -1)) {
875 lua_getfield(L
, -1, "keyReleaseEvent");
881 lqtL_pushudata(L
, arg1
, "QKeyEvent*");
882 if (lua_isfunction(L
, -1-2)) {
883 lua_pcall(L
, 1+1, 2, 0);
884 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
888 lua_settop(L
, oldtop
);
889 this->QWidget::keyReleaseEvent(arg1
);
891 lua_settop(L
, oldtop
);
893 QPaintEngine
* LuaBinder
< QFileDialog
>::paintEngine () const {
894 bool absorbed
= false;
895 int oldtop
= lua_gettop(L
);
896 lqtL_pushudata(L
, this, "QFileDialog*");
897 if (lua_getmetatable(L
, -1)) {
898 lua_getfield(L
, -1, "paintEngine");
904 if (lua_isfunction(L
, -0-2)) {
905 lua_pcall(L
, 0+1, 2, 0);
906 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
910 lua_settop(L
, oldtop
);
911 return this->QWidget::paintEngine();
913 QPaintEngine
* ret
= *static_cast<QPaintEngine
**>(lqtL_checkudata(L
, -1, "QPaintEngine*"));
914 lua_settop(L
, oldtop
);
917 void LuaBinder
< QFileDialog
>::dragLeaveEvent (QDragLeaveEvent
* arg1
) {
918 bool absorbed
= false;
919 int oldtop
= lua_gettop(L
);
920 lqtL_pushudata(L
, this, "QFileDialog*");
921 if (lua_getmetatable(L
, -1)) {
922 lua_getfield(L
, -1, "dragLeaveEvent");
928 lqtL_pushudata(L
, arg1
, "QDragLeaveEvent*");
929 if (lua_isfunction(L
, -1-2)) {
930 lua_pcall(L
, 1+1, 2, 0);
931 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
935 lua_settop(L
, oldtop
);
936 this->QWidget::dragLeaveEvent(arg1
);
938 lua_settop(L
, oldtop
);
940 void LuaBinder
< QFileDialog
>::mousePressEvent (QMouseEvent
* arg1
) {
941 bool absorbed
= false;
942 int oldtop
= lua_gettop(L
);
943 lqtL_pushudata(L
, this, "QFileDialog*");
944 if (lua_getmetatable(L
, -1)) {
945 lua_getfield(L
, -1, "mousePressEvent");
951 lqtL_pushudata(L
, arg1
, "QMouseEvent*");
952 if (lua_isfunction(L
, -1-2)) {
953 lua_pcall(L
, 1+1, 2, 0);
954 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
958 lua_settop(L
, oldtop
);
959 this->QWidget::mousePressEvent(arg1
);
961 lua_settop(L
, oldtop
);
963 void LuaBinder
< QFileDialog
>::dragEnterEvent (QDragEnterEvent
* arg1
) {
964 bool absorbed
= false;
965 int oldtop
= lua_gettop(L
);
966 lqtL_pushudata(L
, this, "QFileDialog*");
967 if (lua_getmetatable(L
, -1)) {
968 lua_getfield(L
, -1, "dragEnterEvent");
974 lqtL_pushudata(L
, arg1
, "QDragEnterEvent*");
975 if (lua_isfunction(L
, -1-2)) {
976 lua_pcall(L
, 1+1, 2, 0);
977 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
981 lua_settop(L
, oldtop
);
982 this->QWidget::dragEnterEvent(arg1
);
984 lua_settop(L
, oldtop
);
986 void LuaBinder
< QFileDialog
>::closeEvent (QCloseEvent
* arg1
) {
987 bool absorbed
= false;
988 int oldtop
= lua_gettop(L
);
989 lqtL_pushudata(L
, this, "QFileDialog*");
990 if (lua_getmetatable(L
, -1)) {
991 lua_getfield(L
, -1, "closeEvent");
997 lqtL_pushudata(L
, arg1
, "QCloseEvent*");
998 if (lua_isfunction(L
, -1-2)) {
999 lua_pcall(L
, 1+1, 2, 0);
1000 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1004 lua_settop(L
, oldtop
);
1005 this->QDialog::closeEvent(arg1
);
1007 lua_settop(L
, oldtop
);
1009 void LuaBinder
< QFileDialog
>::enterEvent (QEvent
* arg1
) {
1010 bool absorbed
= false;
1011 int oldtop
= lua_gettop(L
);
1012 lqtL_pushudata(L
, this, "QFileDialog*");
1013 if (lua_getmetatable(L
, -1)) {
1014 lua_getfield(L
, -1, "enterEvent");
1020 lqtL_pushudata(L
, arg1
, "QEvent*");
1021 if (lua_isfunction(L
, -1-2)) {
1022 lua_pcall(L
, 1+1, 2, 0);
1023 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1027 lua_settop(L
, oldtop
);
1028 this->QWidget::enterEvent(arg1
);
1030 lua_settop(L
, oldtop
);
1032 void LuaBinder
< QFileDialog
>::accept () {
1033 bool absorbed
= false;
1034 int oldtop
= lua_gettop(L
);
1035 lqtL_pushudata(L
, this, "QFileDialog*");
1036 if (lua_getmetatable(L
, -1)) {
1037 lua_getfield(L
, -1, "accept");
1043 if (lua_isfunction(L
, -0-2)) {
1044 lua_pcall(L
, 0+1, 2, 0);
1045 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1049 lua_settop(L
, oldtop
);
1050 this->QFileDialog::accept();
1052 lua_settop(L
, oldtop
);
1054 void LuaBinder
< QFileDialog
>::tabletEvent (QTabletEvent
* arg1
) {
1055 bool absorbed
= false;
1056 int oldtop
= lua_gettop(L
);
1057 lqtL_pushudata(L
, this, "QFileDialog*");
1058 if (lua_getmetatable(L
, -1)) {
1059 lua_getfield(L
, -1, "tabletEvent");
1065 lqtL_pushudata(L
, arg1
, "QTabletEvent*");
1066 if (lua_isfunction(L
, -1-2)) {
1067 lua_pcall(L
, 1+1, 2, 0);
1068 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1072 lua_settop(L
, oldtop
);
1073 this->QWidget::tabletEvent(arg1
);
1075 lua_settop(L
, oldtop
);
1077 void LuaBinder
< QFileDialog
>::dragMoveEvent (QDragMoveEvent
* arg1
) {
1078 bool absorbed
= false;
1079 int oldtop
= lua_gettop(L
);
1080 lqtL_pushudata(L
, this, "QFileDialog*");
1081 if (lua_getmetatable(L
, -1)) {
1082 lua_getfield(L
, -1, "dragMoveEvent");
1088 lqtL_pushudata(L
, arg1
, "QDragMoveEvent*");
1089 if (lua_isfunction(L
, -1-2)) {
1090 lua_pcall(L
, 1+1, 2, 0);
1091 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1095 lua_settop(L
, oldtop
);
1096 this->QWidget::dragMoveEvent(arg1
);
1098 lua_settop(L
, oldtop
);
1100 void LuaBinder
< QFileDialog
>::changeEvent (QEvent
* arg1
) {
1101 bool absorbed
= false;
1102 int oldtop
= lua_gettop(L
);
1103 lqtL_pushudata(L
, this, "QFileDialog*");
1104 if (lua_getmetatable(L
, -1)) {
1105 lua_getfield(L
, -1, "changeEvent");
1111 lqtL_pushudata(L
, arg1
, "QEvent*");
1112 if (lua_isfunction(L
, -1-2)) {
1113 lua_pcall(L
, 1+1, 2, 0);
1114 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1118 lua_settop(L
, oldtop
);
1119 this->QFileDialog::changeEvent(arg1
);
1121 lua_settop(L
, oldtop
);
1123 void LuaBinder
< QFileDialog
>::moveEvent (QMoveEvent
* arg1
) {
1124 bool absorbed
= false;
1125 int oldtop
= lua_gettop(L
);
1126 lqtL_pushudata(L
, this, "QFileDialog*");
1127 if (lua_getmetatable(L
, -1)) {
1128 lua_getfield(L
, -1, "moveEvent");
1134 lqtL_pushudata(L
, arg1
, "QMoveEvent*");
1135 if (lua_isfunction(L
, -1-2)) {
1136 lua_pcall(L
, 1+1, 2, 0);
1137 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1141 lua_settop(L
, oldtop
);
1142 this->QWidget::moveEvent(arg1
);
1144 lua_settop(L
, oldtop
);
1146 void LuaBinder
< QFileDialog
>::dropEvent (QDropEvent
* arg1
) {
1147 bool absorbed
= false;
1148 int oldtop
= lua_gettop(L
);
1149 lqtL_pushudata(L
, this, "QFileDialog*");
1150 if (lua_getmetatable(L
, -1)) {
1151 lua_getfield(L
, -1, "dropEvent");
1157 lqtL_pushudata(L
, arg1
, "QDropEvent*");
1158 if (lua_isfunction(L
, -1-2)) {
1159 lua_pcall(L
, 1+1, 2, 0);
1160 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1164 lua_settop(L
, oldtop
);
1165 this->QWidget::dropEvent(arg1
);
1167 lua_settop(L
, oldtop
);
1169 QSize LuaBinder
< QFileDialog
>::sizeHint () const {
1170 bool absorbed
= false;
1171 int oldtop
= lua_gettop(L
);
1172 lqtL_pushudata(L
, this, "QFileDialog*");
1173 if (lua_getmetatable(L
, -1)) {
1174 lua_getfield(L
, -1, "sizeHint");
1180 if (lua_isfunction(L
, -0-2)) {
1181 lua_pcall(L
, 0+1, 2, 0);
1182 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1186 lua_settop(L
, oldtop
);
1187 return this->QDialog::sizeHint();
1189 QSize ret
= **static_cast<QSize
**>(lqtL_checkudata(L
, -1, "QSize*"));
1190 lua_settop(L
, oldtop
);
1193 QVariant LuaBinder
< QFileDialog
>::inputMethodQuery (Qt::InputMethodQuery arg1
) const {
1194 bool absorbed
= false;
1195 int oldtop
= lua_gettop(L
);
1196 lqtL_pushudata(L
, this, "QFileDialog*");
1197 if (lua_getmetatable(L
, -1)) {
1198 lua_getfield(L
, -1, "inputMethodQuery");
1204 lqtL_pushenum(L
, arg1
, "Qt::InputMethodQuery");
1205 if (lua_isfunction(L
, -1-2)) {
1206 lua_pcall(L
, 1+1, 2, 0);
1207 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1211 lua_settop(L
, oldtop
);
1212 return this->QWidget::inputMethodQuery(arg1
);
1214 QVariant ret
= **static_cast<QVariant
**>(lqtL_checkudata(L
, -1, "QVariant*"));
1215 lua_settop(L
, oldtop
);
1218 void LuaBinder
< QFileDialog
>::showEvent (QShowEvent
* arg1
) {
1219 bool absorbed
= false;
1220 int oldtop
= lua_gettop(L
);
1221 lqtL_pushudata(L
, this, "QFileDialog*");
1222 if (lua_getmetatable(L
, -1)) {
1223 lua_getfield(L
, -1, "showEvent");
1229 lqtL_pushudata(L
, arg1
, "QShowEvent*");
1230 if (lua_isfunction(L
, -1-2)) {
1231 lua_pcall(L
, 1+1, 2, 0);
1232 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1236 lua_settop(L
, oldtop
);
1237 this->QDialog::showEvent(arg1
);
1239 lua_settop(L
, oldtop
);
1241 void LuaBinder
< QFileDialog
>::windowActivationChange (bool arg1
) {
1242 bool absorbed
= false;
1243 int oldtop
= lua_gettop(L
);
1244 lqtL_pushudata(L
, this, "QFileDialog*");
1245 if (lua_getmetatable(L
, -1)) {
1246 lua_getfield(L
, -1, "windowActivationChange");
1252 lua_pushboolean(L
, arg1
);
1253 if (lua_isfunction(L
, -1-2)) {
1254 lua_pcall(L
, 1+1, 2, 0);
1255 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1259 lua_settop(L
, oldtop
);
1260 this->QWidget::windowActivationChange(arg1
);
1262 lua_settop(L
, oldtop
);
1264 void LuaBinder
< QFileDialog
>::paintEvent (QPaintEvent
* arg1
) {
1265 bool absorbed
= false;
1266 int oldtop
= lua_gettop(L
);
1267 lqtL_pushudata(L
, this, "QFileDialog*");
1268 if (lua_getmetatable(L
, -1)) {
1269 lua_getfield(L
, -1, "paintEvent");
1275 lqtL_pushudata(L
, arg1
, "QPaintEvent*");
1276 if (lua_isfunction(L
, -1-2)) {
1277 lua_pcall(L
, 1+1, 2, 0);
1278 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1282 lua_settop(L
, oldtop
);
1283 this->QWidget::paintEvent(arg1
);
1285 lua_settop(L
, oldtop
);
1287 void LuaBinder
< QFileDialog
>::contextMenuEvent (QContextMenuEvent
* arg1
) {
1288 bool absorbed
= false;
1289 int oldtop
= lua_gettop(L
);
1290 lqtL_pushudata(L
, this, "QFileDialog*");
1291 if (lua_getmetatable(L
, -1)) {
1292 lua_getfield(L
, -1, "contextMenuEvent");
1298 lqtL_pushudata(L
, arg1
, "QContextMenuEvent*");
1299 if (lua_isfunction(L
, -1-2)) {
1300 lua_pcall(L
, 1+1, 2, 0);
1301 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1305 lua_settop(L
, oldtop
);
1306 this->QDialog::contextMenuEvent(arg1
);
1308 lua_settop(L
, oldtop
);
1310 void LuaBinder
< QFileDialog
>::mouseDoubleClickEvent (QMouseEvent
* arg1
) {
1311 bool absorbed
= false;
1312 int oldtop
= lua_gettop(L
);
1313 lqtL_pushudata(L
, this, "QFileDialog*");
1314 if (lua_getmetatable(L
, -1)) {
1315 lua_getfield(L
, -1, "mouseDoubleClickEvent");
1321 lqtL_pushudata(L
, arg1
, "QMouseEvent*");
1322 if (lua_isfunction(L
, -1-2)) {
1323 lua_pcall(L
, 1+1, 2, 0);
1324 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1328 lua_settop(L
, oldtop
);
1329 this->QWidget::mouseDoubleClickEvent(arg1
);
1331 lua_settop(L
, oldtop
);
1333 void LuaBinder
< QFileDialog
>::enabledChange (bool arg1
) {
1334 bool absorbed
= false;
1335 int oldtop
= lua_gettop(L
);
1336 lqtL_pushudata(L
, this, "QFileDialog*");
1337 if (lua_getmetatable(L
, -1)) {
1338 lua_getfield(L
, -1, "enabledChange");
1344 lua_pushboolean(L
, arg1
);
1345 if (lua_isfunction(L
, -1-2)) {
1346 lua_pcall(L
, 1+1, 2, 0);
1347 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1351 lua_settop(L
, oldtop
);
1352 this->QWidget::enabledChange(arg1
);
1354 lua_settop(L
, oldtop
);
1356 void LuaBinder
< QFileDialog
>::disconnectNotify (const char * arg1
) {
1357 bool absorbed
= false;
1358 int oldtop
= lua_gettop(L
);
1359 lqtL_pushudata(L
, this, "QFileDialog*");
1360 if (lua_getmetatable(L
, -1)) {
1361 lua_getfield(L
, -1, "disconnectNotify");
1367 lua_pushstring(L
, arg1
);
1368 if (lua_isfunction(L
, -1-2)) {
1369 lua_pcall(L
, 1+1, 2, 0);
1370 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1374 lua_settop(L
, oldtop
);
1375 this->QObject::disconnectNotify(arg1
);
1377 lua_settop(L
, oldtop
);
1379 int LuaBinder
< QFileDialog
>::heightForWidth (int arg1
) const {
1380 bool absorbed
= false;
1381 int oldtop
= lua_gettop(L
);
1382 lqtL_pushudata(L
, this, "QFileDialog*");
1383 if (lua_getmetatable(L
, -1)) {
1384 lua_getfield(L
, -1, "heightForWidth");
1390 lua_pushinteger(L
, arg1
);
1391 if (lua_isfunction(L
, -1-2)) {
1392 lua_pcall(L
, 1+1, 2, 0);
1393 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1397 lua_settop(L
, oldtop
);
1398 return this->QWidget::heightForWidth(arg1
);
1400 int ret
= lua_tointeger(L
, -1);
1401 lua_settop(L
, oldtop
);
1404 void LuaBinder
< QFileDialog
>::fontChange (const QFont
& arg1
) {
1405 bool absorbed
= false;
1406 int oldtop
= lua_gettop(L
);
1407 lqtL_pushudata(L
, this, "QFileDialog*");
1408 if (lua_getmetatable(L
, -1)) {
1409 lua_getfield(L
, -1, "fontChange");
1415 lqtL_pushudata(L
, &(arg1
), "QFont*");
1416 if (lua_isfunction(L
, -1-2)) {
1417 lua_pcall(L
, 1+1, 2, 0);
1418 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1422 lua_settop(L
, oldtop
);
1423 this->QWidget::fontChange(arg1
);
1425 lua_settop(L
, oldtop
);
1427 void LuaBinder
< QFileDialog
>::actionEvent (QActionEvent
* arg1
) {
1428 bool absorbed
= false;
1429 int oldtop
= lua_gettop(L
);
1430 lqtL_pushudata(L
, this, "QFileDialog*");
1431 if (lua_getmetatable(L
, -1)) {
1432 lua_getfield(L
, -1, "actionEvent");
1438 lqtL_pushudata(L
, arg1
, "QActionEvent*");
1439 if (lua_isfunction(L
, -1-2)) {
1440 lua_pcall(L
, 1+1, 2, 0);
1441 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1445 lua_settop(L
, oldtop
);
1446 this->QWidget::actionEvent(arg1
);
1448 lua_settop(L
, oldtop
);
1450 void LuaBinder
< QFileDialog
>::timerEvent (QTimerEvent
* arg1
) {
1451 bool absorbed
= false;
1452 int oldtop
= lua_gettop(L
);
1453 lqtL_pushudata(L
, this, "QFileDialog*");
1454 if (lua_getmetatable(L
, -1)) {
1455 lua_getfield(L
, -1, "timerEvent");
1461 lqtL_pushudata(L
, arg1
, "QTimerEvent*");
1462 if (lua_isfunction(L
, -1-2)) {
1463 lua_pcall(L
, 1+1, 2, 0);
1464 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1468 lua_settop(L
, oldtop
);
1469 this->QObject::timerEvent(arg1
);
1471 lua_settop(L
, oldtop
);
1473 void LuaBinder
< QFileDialog
>::mouseMoveEvent (QMouseEvent
* arg1
) {
1474 bool absorbed
= false;
1475 int oldtop
= lua_gettop(L
);
1476 lqtL_pushudata(L
, this, "QFileDialog*");
1477 if (lua_getmetatable(L
, -1)) {
1478 lua_getfield(L
, -1, "mouseMoveEvent");
1484 lqtL_pushudata(L
, arg1
, "QMouseEvent*");
1485 if (lua_isfunction(L
, -1-2)) {
1486 lua_pcall(L
, 1+1, 2, 0);
1487 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1491 lua_settop(L
, oldtop
);
1492 this->QWidget::mouseMoveEvent(arg1
);
1494 lua_settop(L
, oldtop
);
1496 int LuaBinder
< QFileDialog
>::metric (QPaintDevice::PaintDeviceMetric arg1
) const {
1497 bool absorbed
= false;
1498 int oldtop
= lua_gettop(L
);
1499 lqtL_pushudata(L
, this, "QFileDialog*");
1500 if (lua_getmetatable(L
, -1)) {
1501 lua_getfield(L
, -1, "metric");
1507 lqtL_pushenum(L
, arg1
, "QPaintDevice::PaintDeviceMetric");
1508 if (lua_isfunction(L
, -1-2)) {
1509 lua_pcall(L
, 1+1, 2, 0);
1510 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1514 lua_settop(L
, oldtop
);
1515 return this->QWidget::metric(arg1
);
1517 int ret
= lua_tointeger(L
, -1);
1518 lua_settop(L
, oldtop
);
1521 void LuaBinder
< QFileDialog
>::childEvent (QChildEvent
* arg1
) {
1522 bool absorbed
= false;
1523 int oldtop
= lua_gettop(L
);
1524 lqtL_pushudata(L
, this, "QFileDialog*");
1525 if (lua_getmetatable(L
, -1)) {
1526 lua_getfield(L
, -1, "childEvent");
1532 lqtL_pushudata(L
, arg1
, "QChildEvent*");
1533 if (lua_isfunction(L
, -1-2)) {
1534 lua_pcall(L
, 1+1, 2, 0);
1535 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1539 lua_settop(L
, oldtop
);
1540 this->QObject::childEvent(arg1
);
1542 lua_settop(L
, oldtop
);
1544 void LuaBinder
< QFileDialog
>::connectNotify (const char * arg1
) {
1545 bool absorbed
= false;
1546 int oldtop
= lua_gettop(L
);
1547 lqtL_pushudata(L
, this, "QFileDialog*");
1548 if (lua_getmetatable(L
, -1)) {
1549 lua_getfield(L
, -1, "connectNotify");
1555 lua_pushstring(L
, arg1
);
1556 if (lua_isfunction(L
, -1-2)) {
1557 lua_pcall(L
, 1+1, 2, 0);
1558 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1562 lua_settop(L
, oldtop
);
1563 this->QObject::connectNotify(arg1
);
1565 lua_settop(L
, oldtop
);
1567 void LuaBinder
< QFileDialog
>::mouseReleaseEvent (QMouseEvent
* arg1
) {
1568 bool absorbed
= false;
1569 int oldtop
= lua_gettop(L
);
1570 lqtL_pushudata(L
, this, "QFileDialog*");
1571 if (lua_getmetatable(L
, -1)) {
1572 lua_getfield(L
, -1, "mouseReleaseEvent");
1578 lqtL_pushudata(L
, arg1
, "QMouseEvent*");
1579 if (lua_isfunction(L
, -1-2)) {
1580 lua_pcall(L
, 1+1, 2, 0);
1581 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1585 lua_settop(L
, oldtop
);
1586 this->QWidget::mouseReleaseEvent(arg1
);
1588 lua_settop(L
, oldtop
);
1590 void LuaBinder
< QFileDialog
>::focusOutEvent (QFocusEvent
* arg1
) {
1591 bool absorbed
= false;
1592 int oldtop
= lua_gettop(L
);
1593 lqtL_pushudata(L
, this, "QFileDialog*");
1594 if (lua_getmetatable(L
, -1)) {
1595 lua_getfield(L
, -1, "focusOutEvent");
1601 lqtL_pushudata(L
, arg1
, "QFocusEvent*");
1602 if (lua_isfunction(L
, -1-2)) {
1603 lua_pcall(L
, 1+1, 2, 0);
1604 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1608 lua_settop(L
, oldtop
);
1609 this->QWidget::focusOutEvent(arg1
);
1611 lua_settop(L
, oldtop
);
1613 bool LuaBinder
< QFileDialog
>::eventFilter (QObject
* arg1
, QEvent
* arg2
) {
1614 bool absorbed
= false;
1615 int oldtop
= lua_gettop(L
);
1616 lqtL_pushudata(L
, this, "QFileDialog*");
1617 if (lua_getmetatable(L
, -1)) {
1618 lua_getfield(L
, -1, "eventFilter");
1624 lqtL_pushudata(L
, arg1
, "QObject*");
1625 lqtL_pushudata(L
, arg2
, "QEvent*");
1626 if (lua_isfunction(L
, -2-2)) {
1627 lua_pcall(L
, 2+1, 2, 0);
1628 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1632 lua_settop(L
, oldtop
);
1633 return this->QDialog::eventFilter(arg1
, arg2
);
1635 bool ret
= (bool)lua_toboolean(L
, -1);
1636 lua_settop(L
, oldtop
);
1639 void LuaBinder
< QFileDialog
>::inputMethodEvent (QInputMethodEvent
* arg1
) {
1640 bool absorbed
= false;
1641 int oldtop
= lua_gettop(L
);
1642 lqtL_pushudata(L
, this, "QFileDialog*");
1643 if (lua_getmetatable(L
, -1)) {
1644 lua_getfield(L
, -1, "inputMethodEvent");
1650 lqtL_pushudata(L
, arg1
, "QInputMethodEvent*");
1651 if (lua_isfunction(L
, -1-2)) {
1652 lua_pcall(L
, 1+1, 2, 0);
1653 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1657 lua_settop(L
, oldtop
);
1658 this->QWidget::inputMethodEvent(arg1
);
1660 lua_settop(L
, oldtop
);
1662 void LuaBinder
< QFileDialog
>::wheelEvent (QWheelEvent
* arg1
) {
1663 bool absorbed
= false;
1664 int oldtop
= lua_gettop(L
);
1665 lqtL_pushudata(L
, this, "QFileDialog*");
1666 if (lua_getmetatable(L
, -1)) {
1667 lua_getfield(L
, -1, "wheelEvent");
1673 lqtL_pushudata(L
, arg1
, "QWheelEvent*");
1674 if (lua_isfunction(L
, -1-2)) {
1675 lua_pcall(L
, 1+1, 2, 0);
1676 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1680 lua_settop(L
, oldtop
);
1681 this->QWidget::wheelEvent(arg1
);
1683 lua_settop(L
, oldtop
);
1685 void LuaBinder
< QFileDialog
>::resizeEvent (QResizeEvent
* arg1
) {
1686 bool absorbed
= false;
1687 int oldtop
= lua_gettop(L
);
1688 lqtL_pushudata(L
, this, "QFileDialog*");
1689 if (lua_getmetatable(L
, -1)) {
1690 lua_getfield(L
, -1, "resizeEvent");
1696 lqtL_pushudata(L
, arg1
, "QResizeEvent*");
1697 if (lua_isfunction(L
, -1-2)) {
1698 lua_pcall(L
, 1+1, 2, 0);
1699 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1703 lua_settop(L
, oldtop
);
1704 this->QDialog::resizeEvent(arg1
);
1706 lua_settop(L
, oldtop
);
1708 void LuaBinder
< QFileDialog
>::paletteChange (const QPalette
& arg1
) {
1709 bool absorbed
= false;
1710 int oldtop
= lua_gettop(L
);
1711 lqtL_pushudata(L
, this, "QFileDialog*");
1712 if (lua_getmetatable(L
, -1)) {
1713 lua_getfield(L
, -1, "paletteChange");
1719 lqtL_pushudata(L
, &(arg1
), "QPalette*");
1720 if (lua_isfunction(L
, -1-2)) {
1721 lua_pcall(L
, 1+1, 2, 0);
1722 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1726 lua_settop(L
, oldtop
);
1727 this->QWidget::paletteChange(arg1
);
1729 lua_settop(L
, oldtop
);
1731 void LuaBinder
< QFileDialog
>::languageChange () {
1732 bool absorbed
= false;
1733 int oldtop
= lua_gettop(L
);
1734 lqtL_pushudata(L
, this, "QFileDialog*");
1735 if (lua_getmetatable(L
, -1)) {
1736 lua_getfield(L
, -1, "languageChange");
1742 if (lua_isfunction(L
, -0-2)) {
1743 lua_pcall(L
, 0+1, 2, 0);
1744 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1748 lua_settop(L
, oldtop
);
1749 this->QWidget::languageChange();
1751 lua_settop(L
, oldtop
);
1753 bool LuaBinder
< QFileDialog
>::event (QEvent
* arg1
) {
1754 bool absorbed
= false;
1755 int oldtop
= lua_gettop(L
);
1756 lqtL_pushudata(L
, this, "QFileDialog*");
1757 if (lua_getmetatable(L
, -1)) {
1758 lua_getfield(L
, -1, "event");
1764 lqtL_pushudata(L
, arg1
, "QEvent*");
1765 if (lua_isfunction(L
, -1-2)) {
1766 lua_pcall(L
, 1+1, 2, 0);
1767 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1771 lua_settop(L
, oldtop
);
1772 return this->QWidget::event(arg1
);
1774 bool ret
= (bool)lua_toboolean(L
, -1);
1775 lua_settop(L
, oldtop
);
1778 void LuaBinder
< QFileDialog
>::hideEvent (QHideEvent
* arg1
) {
1779 bool absorbed
= false;
1780 int oldtop
= lua_gettop(L
);
1781 lqtL_pushudata(L
, this, "QFileDialog*");
1782 if (lua_getmetatable(L
, -1)) {
1783 lua_getfield(L
, -1, "hideEvent");
1789 lqtL_pushudata(L
, arg1
, "QHideEvent*");
1790 if (lua_isfunction(L
, -1-2)) {
1791 lua_pcall(L
, 1+1, 2, 0);
1792 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1796 lua_settop(L
, oldtop
);
1797 this->QWidget::hideEvent(arg1
);
1799 lua_settop(L
, oldtop
);
1801 bool LuaBinder
< QFileDialog
>::focusNextPrevChild (bool arg1
) {
1802 bool absorbed
= false;
1803 int oldtop
= lua_gettop(L
);
1804 lqtL_pushudata(L
, this, "QFileDialog*");
1805 if (lua_getmetatable(L
, -1)) {
1806 lua_getfield(L
, -1, "focusNextPrevChild");
1812 lua_pushboolean(L
, arg1
);
1813 if (lua_isfunction(L
, -1-2)) {
1814 lua_pcall(L
, 1+1, 2, 0);
1815 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1819 lua_settop(L
, oldtop
);
1820 return this->QWidget::focusNextPrevChild(arg1
);
1822 bool ret
= (bool)lua_toboolean(L
, -1);
1823 lua_settop(L
, oldtop
);
1826 void LuaBinder
< QFileDialog
>::done (int arg1
) {
1827 bool absorbed
= false;
1828 int oldtop
= lua_gettop(L
);
1829 lqtL_pushudata(L
, this, "QFileDialog*");
1830 if (lua_getmetatable(L
, -1)) {
1831 lua_getfield(L
, -1, "done");
1837 lua_pushinteger(L
, arg1
);
1838 if (lua_isfunction(L
, -1-2)) {
1839 lua_pcall(L
, 1+1, 2, 0);
1840 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1844 lua_settop(L
, oldtop
);
1845 this->QFileDialog::done(arg1
);
1847 lua_settop(L
, oldtop
);
1849 QSize LuaBinder
< QFileDialog
>::minimumSizeHint () const {
1850 bool absorbed
= false;
1851 int oldtop
= lua_gettop(L
);
1852 lqtL_pushudata(L
, this, "QFileDialog*");
1853 if (lua_getmetatable(L
, -1)) {
1854 lua_getfield(L
, -1, "minimumSizeHint");
1860 if (lua_isfunction(L
, -0-2)) {
1861 lua_pcall(L
, 0+1, 2, 0);
1862 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1866 lua_settop(L
, oldtop
);
1867 return this->QDialog::minimumSizeHint();
1869 QSize ret
= **static_cast<QSize
**>(lqtL_checkudata(L
, -1, "QSize*"));
1870 lua_settop(L
, oldtop
);
1873 void LuaBinder
< QFileDialog
>::leaveEvent (QEvent
* arg1
) {
1874 bool absorbed
= false;
1875 int oldtop
= lua_gettop(L
);
1876 lqtL_pushudata(L
, this, "QFileDialog*");
1877 if (lua_getmetatable(L
, -1)) {
1878 lua_getfield(L
, -1, "leaveEvent");
1884 lqtL_pushudata(L
, arg1
, "QEvent*");
1885 if (lua_isfunction(L
, -1-2)) {
1886 lua_pcall(L
, 1+1, 2, 0);
1887 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1891 lua_settop(L
, oldtop
);
1892 this->QWidget::leaveEvent(arg1
);
1894 lua_settop(L
, oldtop
);
1896 void LuaBinder
< QFileDialog
>::customEvent (QEvent
* arg1
) {
1897 bool absorbed
= false;
1898 int oldtop
= lua_gettop(L
);
1899 lqtL_pushudata(L
, this, "QFileDialog*");
1900 if (lua_getmetatable(L
, -1)) {
1901 lua_getfield(L
, -1, "customEvent");
1907 lqtL_pushudata(L
, arg1
, "QEvent*");
1908 if (lua_isfunction(L
, -1-2)) {
1909 lua_pcall(L
, 1+1, 2, 0);
1910 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1914 lua_settop(L
, oldtop
);
1915 this->QObject::customEvent(arg1
);
1917 lua_settop(L
, oldtop
);
1919 void LuaBinder
< QFileDialog
>::reject () {
1920 bool absorbed
= false;
1921 int oldtop
= lua_gettop(L
);
1922 lqtL_pushudata(L
, this, "QFileDialog*");
1923 if (lua_getmetatable(L
, -1)) {
1924 lua_getfield(L
, -1, "reject");
1930 if (lua_isfunction(L
, -0-2)) {
1931 lua_pcall(L
, 0+1, 2, 0);
1932 absorbed
= (bool)lua_toboolean(L
, -1) || (bool)lua_toboolean(L
, -2);
1936 lua_settop(L
, oldtop
);
1937 this->QDialog::reject();
1939 lua_settop(L
, oldtop
);
1941 LuaBinder
< QFileDialog
>:: ~LuaBinder
< QFileDialog
> () {
1942 int oldtop
= lua_gettop(L
);
1943 lqtL_pushudata(L
, this, "QFileDialog*");
1944 lua_getfield(L
, -1, "~QFileDialog");
1946 if (lua_isfunction(L
, -1)) {
1948 lua_pcall(L
, 1, 1, 0);
1951 lua_settop(L
, oldtop
);
1953 int LuaBinder
< QFileDialog
>::lqt_pushenum_ViewMode (lua_State
*L
) {
1955 lua_getfield(L
, LUA_REGISTRYINDEX
, LQT_ENUMS
);
1956 if (!lua_istable(L
, -1)) {
1959 lua_pushvalue(L
, -1);
1960 lua_setfield(L
, LUA_REGISTRYINDEX
, LQT_ENUMS
);
1963 enum_table
= lua_gettop(L
);
1964 lua_pushstring(L
, "Detail");
1965 lua_rawseti(L
, enum_table
, 0);
1966 lua_pushinteger(L
, 0);
1967 lua_setfield(L
, enum_table
, "Detail");
1968 lua_pushstring(L
, "List");
1969 lua_rawseti(L
, enum_table
, 1);
1970 lua_pushinteger(L
, 1);
1971 lua_setfield(L
, enum_table
, "List");
1972 lua_pushcfunction(L
, LuaBinder
< QFileDialog
>::lqt_pushenum_ViewMode_QFLAGS_CREATOR
);
1973 lua_setfield(L
, enum_table
, "QFlags");
1974 lua_pushvalue(L
, -1);
1975 lua_setfield(L
, -3, "QFileDialog::ViewMode");
1979 int LuaBinder
< QFileDialog
>::lqt_pushenum_ViewMode_QFLAGS_CREATOR (lua_State
*L
) {
1980 int argn
= lua_gettop(L
);
1982 void *p
= lua_newuserdata(L
, sizeof(QFlags
<QFileDialog::ViewMode
>*) + sizeof(QFlags
<QFileDialog::ViewMode
>));
1983 QFlags
<QFileDialog::ViewMode
> *fl
= static_cast<QFlags
<QFileDialog::ViewMode
>*>( static_cast<void*>(&static_cast<QFlags
<QFileDialog::ViewMode
>**>(p
)[1]) );
1985 for (i
=1;i
<=argn
;i
++) {
1986 *fl
|= static_cast<QFileDialog::ViewMode
>(lqtL_toenum(L
, i
, "QFileDialog::ViewMode"));
1988 if (luaL_newmetatable(L
, "QFlags<QFileDialog::ViewMode>*")) {
1989 lua_pushstring(L
, "QFlags<QFileDialog::ViewMode>*");
1990 lua_setfield(L
, -2, "__qtype");
1992 lua_setmetatable(L
, -2);
1995 int LuaBinder
< QFileDialog
>::lqt_pushenum_FileMode (lua_State
*L
) {
1997 lua_getfield(L
, LUA_REGISTRYINDEX
, LQT_ENUMS
);
1998 if (!lua_istable(L
, -1)) {
2001 lua_pushvalue(L
, -1);
2002 lua_setfield(L
, LUA_REGISTRYINDEX
, LQT_ENUMS
);
2005 enum_table
= lua_gettop(L
);
2006 lua_pushstring(L
, "AnyFile");
2007 lua_rawseti(L
, enum_table
, 0);
2008 lua_pushinteger(L
, 0);
2009 lua_setfield(L
, enum_table
, "AnyFile");
2010 lua_pushstring(L
, "ExistingFile");
2011 lua_rawseti(L
, enum_table
, 1);
2012 lua_pushinteger(L
, 1);
2013 lua_setfield(L
, enum_table
, "ExistingFile");
2014 lua_pushstring(L
, "Directory");
2015 lua_rawseti(L
, enum_table
, 2);
2016 lua_pushinteger(L
, 2);
2017 lua_setfield(L
, enum_table
, "Directory");
2018 lua_pushstring(L
, "ExistingFiles");
2019 lua_rawseti(L
, enum_table
, 3);
2020 lua_pushinteger(L
, 3);
2021 lua_setfield(L
, enum_table
, "ExistingFiles");
2022 lua_pushstring(L
, "DirectoryOnly");
2023 lua_rawseti(L
, enum_table
, 4);
2024 lua_pushinteger(L
, 4);
2025 lua_setfield(L
, enum_table
, "DirectoryOnly");
2026 lua_pushcfunction(L
, LuaBinder
< QFileDialog
>::lqt_pushenum_FileMode_QFLAGS_CREATOR
);
2027 lua_setfield(L
, enum_table
, "QFlags");
2028 lua_pushvalue(L
, -1);
2029 lua_setfield(L
, -3, "QFileDialog::FileMode");
2033 int LuaBinder
< QFileDialog
>::lqt_pushenum_FileMode_QFLAGS_CREATOR (lua_State
*L
) {
2034 int argn
= lua_gettop(L
);
2036 void *p
= lua_newuserdata(L
, sizeof(QFlags
<QFileDialog::FileMode
>*) + sizeof(QFlags
<QFileDialog::FileMode
>));
2037 QFlags
<QFileDialog::FileMode
> *fl
= static_cast<QFlags
<QFileDialog::FileMode
>*>( static_cast<void*>(&static_cast<QFlags
<QFileDialog::FileMode
>**>(p
)[1]) );
2039 for (i
=1;i
<=argn
;i
++) {
2040 *fl
|= static_cast<QFileDialog::FileMode
>(lqtL_toenum(L
, i
, "QFileDialog::FileMode"));
2042 if (luaL_newmetatable(L
, "QFlags<QFileDialog::FileMode>*")) {
2043 lua_pushstring(L
, "QFlags<QFileDialog::FileMode>*");
2044 lua_setfield(L
, -2, "__qtype");
2046 lua_setmetatable(L
, -2);
2049 int LuaBinder
< QFileDialog
>::lqt_pushenum_AcceptMode (lua_State
*L
) {
2051 lua_getfield(L
, LUA_REGISTRYINDEX
, LQT_ENUMS
);
2052 if (!lua_istable(L
, -1)) {
2055 lua_pushvalue(L
, -1);
2056 lua_setfield(L
, LUA_REGISTRYINDEX
, LQT_ENUMS
);
2059 enum_table
= lua_gettop(L
);
2060 lua_pushstring(L
, "AcceptOpen");
2061 lua_rawseti(L
, enum_table
, 0);
2062 lua_pushinteger(L
, 0);
2063 lua_setfield(L
, enum_table
, "AcceptOpen");
2064 lua_pushstring(L
, "AcceptSave");
2065 lua_rawseti(L
, enum_table
, 1);
2066 lua_pushinteger(L
, 1);
2067 lua_setfield(L
, enum_table
, "AcceptSave");
2068 lua_pushcfunction(L
, LuaBinder
< QFileDialog
>::lqt_pushenum_AcceptMode_QFLAGS_CREATOR
);
2069 lua_setfield(L
, enum_table
, "QFlags");
2070 lua_pushvalue(L
, -1);
2071 lua_setfield(L
, -3, "QFileDialog::AcceptMode");
2075 int LuaBinder
< QFileDialog
>::lqt_pushenum_AcceptMode_QFLAGS_CREATOR (lua_State
*L
) {
2076 int argn
= lua_gettop(L
);
2078 void *p
= lua_newuserdata(L
, sizeof(QFlags
<QFileDialog::AcceptMode
>*) + sizeof(QFlags
<QFileDialog::AcceptMode
>));
2079 QFlags
<QFileDialog::AcceptMode
> *fl
= static_cast<QFlags
<QFileDialog::AcceptMode
>*>( static_cast<void*>(&static_cast<QFlags
<QFileDialog::AcceptMode
>**>(p
)[1]) );
2081 for (i
=1;i
<=argn
;i
++) {
2082 *fl
|= static_cast<QFileDialog::AcceptMode
>(lqtL_toenum(L
, i
, "QFileDialog::AcceptMode"));
2084 if (luaL_newmetatable(L
, "QFlags<QFileDialog::AcceptMode>*")) {
2085 lua_pushstring(L
, "QFlags<QFileDialog::AcceptMode>*");
2086 lua_setfield(L
, -2, "__qtype");
2088 lua_setmetatable(L
, -2);
2091 int LuaBinder
< QFileDialog
>::lqt_pushenum_DialogLabel (lua_State
*L
) {
2093 lua_getfield(L
, LUA_REGISTRYINDEX
, LQT_ENUMS
);
2094 if (!lua_istable(L
, -1)) {
2097 lua_pushvalue(L
, -1);
2098 lua_setfield(L
, LUA_REGISTRYINDEX
, LQT_ENUMS
);
2101 enum_table
= lua_gettop(L
);
2102 lua_pushstring(L
, "LookIn");
2103 lua_rawseti(L
, enum_table
, 0);
2104 lua_pushinteger(L
, 0);
2105 lua_setfield(L
, enum_table
, "LookIn");
2106 lua_pushstring(L
, "FileName");
2107 lua_rawseti(L
, enum_table
, 1);
2108 lua_pushinteger(L
, 1);
2109 lua_setfield(L
, enum_table
, "FileName");
2110 lua_pushstring(L
, "FileType");
2111 lua_rawseti(L
, enum_table
, 2);
2112 lua_pushinteger(L
, 2);
2113 lua_setfield(L
, enum_table
, "FileType");
2114 lua_pushstring(L
, "Accept");
2115 lua_rawseti(L
, enum_table
, 3);
2116 lua_pushinteger(L
, 3);
2117 lua_setfield(L
, enum_table
, "Accept");
2118 lua_pushstring(L
, "Reject");
2119 lua_rawseti(L
, enum_table
, 4);
2120 lua_pushinteger(L
, 4);
2121 lua_setfield(L
, enum_table
, "Reject");
2122 lua_pushcfunction(L
, LuaBinder
< QFileDialog
>::lqt_pushenum_DialogLabel_QFLAGS_CREATOR
);
2123 lua_setfield(L
, enum_table
, "QFlags");
2124 lua_pushvalue(L
, -1);
2125 lua_setfield(L
, -3, "QFileDialog::DialogLabel");
2129 int LuaBinder
< QFileDialog
>::lqt_pushenum_DialogLabel_QFLAGS_CREATOR (lua_State
*L
) {
2130 int argn
= lua_gettop(L
);
2132 void *p
= lua_newuserdata(L
, sizeof(QFlags
<QFileDialog::DialogLabel
>*) + sizeof(QFlags
<QFileDialog::DialogLabel
>));
2133 QFlags
<QFileDialog::DialogLabel
> *fl
= static_cast<QFlags
<QFileDialog::DialogLabel
>*>( static_cast<void*>(&static_cast<QFlags
<QFileDialog::DialogLabel
>**>(p
)[1]) );
2135 for (i
=1;i
<=argn
;i
++) {
2136 *fl
|= static_cast<QFileDialog::DialogLabel
>(lqtL_toenum(L
, i
, "QFileDialog::DialogLabel"));
2138 if (luaL_newmetatable(L
, "QFlags<QFileDialog::DialogLabel>*")) {
2139 lua_pushstring(L
, "QFlags<QFileDialog::DialogLabel>*");
2140 lua_setfield(L
, -2, "__qtype");
2142 lua_setmetatable(L
, -2);
2145 int LuaBinder
< QFileDialog
>::lqt_pushenum_Option (lua_State
*L
) {
2147 lua_getfield(L
, LUA_REGISTRYINDEX
, LQT_ENUMS
);
2148 if (!lua_istable(L
, -1)) {
2151 lua_pushvalue(L
, -1);
2152 lua_setfield(L
, LUA_REGISTRYINDEX
, LQT_ENUMS
);
2155 enum_table
= lua_gettop(L
);
2156 lua_pushstring(L
, "ShowDirsOnly");
2157 lua_rawseti(L
, enum_table
, 1);
2158 lua_pushinteger(L
, 1);
2159 lua_setfield(L
, enum_table
, "ShowDirsOnly");
2160 lua_pushstring(L
, "DontResolveSymlinks");
2161 lua_rawseti(L
, enum_table
, 2);
2162 lua_pushinteger(L
, 2);
2163 lua_setfield(L
, enum_table
, "DontResolveSymlinks");
2164 lua_pushstring(L
, "DontConfirmOverwrite");
2165 lua_rawseti(L
, enum_table
, 4);
2166 lua_pushinteger(L
, 4);
2167 lua_setfield(L
, enum_table
, "DontConfirmOverwrite");
2168 lua_pushstring(L
, "DontUseSheet");
2169 lua_rawseti(L
, enum_table
, 8);
2170 lua_pushinteger(L
, 8);
2171 lua_setfield(L
, enum_table
, "DontUseSheet");
2172 lua_pushstring(L
, "DontUseNativeDialog");
2173 lua_rawseti(L
, enum_table
, 16);
2174 lua_pushinteger(L
, 16);
2175 lua_setfield(L
, enum_table
, "DontUseNativeDialog");
2176 lua_pushcfunction(L
, LuaBinder
< QFileDialog
>::lqt_pushenum_Option_QFLAGS_CREATOR
);
2177 lua_setfield(L
, enum_table
, "QFlags");
2178 lua_pushvalue(L
, -1);
2179 lua_setfield(L
, -3, "QFileDialog::Option");
2183 int LuaBinder
< QFileDialog
>::lqt_pushenum_Option_QFLAGS_CREATOR (lua_State
*L
) {
2184 int argn
= lua_gettop(L
);
2186 void *p
= lua_newuserdata(L
, sizeof(QFlags
<QFileDialog::Option
>*) + sizeof(QFlags
<QFileDialog::Option
>));
2187 QFlags
<QFileDialog::Option
> *fl
= static_cast<QFlags
<QFileDialog::Option
>*>( static_cast<void*>(&static_cast<QFlags
<QFileDialog::Option
>**>(p
)[1]) );
2189 for (i
=1;i
<=argn
;i
++) {
2190 *fl
|= static_cast<QFileDialog::Option
>(lqtL_toenum(L
, i
, "QFileDialog::Option"));
2192 if (luaL_newmetatable(L
, "QFlags<QFileDialog::Option>*")) {
2193 lua_pushstring(L
, "QFlags<QFileDialog::Option>*");
2194 lua_setfield(L
, -2, "__qtype");
2196 lua_setmetatable(L
, -2);
2199 int luaopen_QFileDialog (lua_State
*L
) {
2200 if (luaL_newmetatable(L
, "QFileDialog*")) {
2201 lua_pushcfunction(L
, LuaBinder
< QFileDialog
>::__LuaWrapCall__confirmOverwrite
);
2202 lua_setfield(L
, -2, "confirmOverwrite");
2203 lua_pushcfunction(L
, LuaBinder
< QFileDialog
>::__LuaWrapCall__selectFilter
);
2204 lua_setfield(L
, -2, "selectFilter");
2205 lua_pushcfunction(L
, LuaBinder
< QFileDialog
>::__LuaWrapCall__saveState
);
2206 lua_setfield(L
, -2, "saveState");
2207 lua_pushcfunction(L
, LuaBinder
< QFileDialog
>::__LuaWrapCall__resolveSymlinks
);
2208 lua_setfield(L
, -2, "resolveSymlinks");
2209 lua_pushcfunction(L
, LuaBinder
< QFileDialog
>::__LuaWrapCall__setAcceptMode
);
2210 lua_setfield(L
, -2, "setAcceptMode");
2211 lua_pushcfunction(L
, LuaBinder
< QFileDialog
>::__LuaWrapCall__setSidebarUrls
);
2212 lua_setfield(L
, -2, "setSidebarUrls");
2213 lua_pushcfunction(L
, LuaBinder
< QFileDialog
>::__LuaWrapCall__trUtf8
);
2214 lua_setfield(L
, -2, "trUtf8");
2215 lua_pushcfunction(L
, LuaBinder
< QFileDialog
>::__LuaWrapCall__filters
);
2216 lua_setfield(L
, -2, "filters");
2217 lua_pushcfunction(L
, LuaBinder
< QFileDialog
>::__LuaWrapCall__tr
);
2218 lua_setfield(L
, -2, "tr");
2219 lua_pushcfunction(L
, LuaBinder
< QFileDialog
>::__LuaWrapCall__sidebarUrls
);
2220 lua_setfield(L
, -2, "sidebarUrls");
2221 lua_pushcfunction(L
, LuaBinder
< QFileDialog
>::__LuaWrapCall__setConfirmOverwrite
);
2222 lua_setfield(L
, -2, "setConfirmOverwrite");
2223 lua_pushcfunction(L
, LuaBinder
< QFileDialog
>::__LuaWrapCall__setViewMode
);
2224 lua_setfield(L
, -2, "setViewMode");
2225 lua_pushcfunction(L
, LuaBinder
< QFileDialog
>::__LuaWrapCall__acceptMode
);
2226 lua_setfield(L
, -2, "acceptMode");
2227 lua_pushcfunction(L
, LuaBinder
< QFileDialog
>::__LuaWrapCall__setHistory
);
2228 lua_setfield(L
, -2, "setHistory");
2229 lua_pushcfunction(L
, LuaBinder
< QFileDialog
>::__LuaWrapCall__fileMode
);
2230 lua_setfield(L
, -2, "fileMode");
2231 lua_pushcfunction(L
, LuaBinder
< QFileDialog
>::__LuaWrapCall__setDefaultSuffix
);
2232 lua_setfield(L
, -2, "setDefaultSuffix");
2233 lua_pushcfunction(L
, LuaBinder
< QFileDialog
>::__LuaWrapCall__getOpenFileName
);
2234 lua_setfield(L
, -2, "getOpenFileName");
2235 lua_pushcfunction(L
, LuaBinder
< QFileDialog
>::__LuaWrapCall__setReadOnly
);
2236 lua_setfield(L
, -2, "setReadOnly");
2237 lua_pushcfunction(L
, LuaBinder
< QFileDialog
>::__LuaWrapCall__setLabelText
);
2238 lua_setfield(L
, -2, "setLabelText");
2239 lua_pushcfunction(L
, LuaBinder
< QFileDialog
>::__LuaWrapCall__selectFile
);
2240 lua_setfield(L
, -2, "selectFile");
2241 lua_pushcfunction(L
, LuaBinder
< QFileDialog
>::__LuaWrapCall__setFilters
);
2242 lua_setfield(L
, -2, "setFilters");
2243 lua_pushcfunction(L
, LuaBinder
< QFileDialog
>::__LuaWrapCall__selectedFiles
);
2244 lua_setfield(L
, -2, "selectedFiles");
2245 lua_pushcfunction(L
, LuaBinder
< QFileDialog
>::__LuaWrapCall__viewMode
);
2246 lua_setfield(L
, -2, "viewMode");
2247 lua_pushcfunction(L
, LuaBinder
< QFileDialog
>::__LuaWrapCall__setFileMode
);
2248 lua_setfield(L
, -2, "setFileMode");
2249 lua_pushcfunction(L
, LuaBinder
< QFileDialog
>::__LuaWrapCall__getExistingDirectory
);
2250 lua_setfield(L
, -2, "getExistingDirectory");
2251 lua_pushcfunction(L
, LuaBinder
< QFileDialog
>::__LuaWrapCall__delete
);
2252 lua_setfield(L
, -2, "delete");
2253 lua_pushcfunction(L
, LuaBinder
< QFileDialog
>::__LuaWrapCall__metaObject
);
2254 lua_setfield(L
, -2, "metaObject");
2255 lua_pushcfunction(L
, LuaBinder
< QFileDialog
>::__LuaWrapCall__getSaveFileName
);
2256 lua_setfield(L
, -2, "getSaveFileName");
2257 lua_pushcfunction(L
, LuaBinder
< QFileDialog
>::__LuaWrapCall__setResolveSymlinks
);
2258 lua_setfield(L
, -2, "setResolveSymlinks");
2259 lua_pushcfunction(L
, LuaBinder
< QFileDialog
>::__LuaWrapCall__new
);
2260 lua_setfield(L
, -2, "new");
2261 lua_pushcfunction(L
, LuaBinder
< QFileDialog
>::__LuaWrapCall__selectedFilter
);
2262 lua_setfield(L
, -2, "selectedFilter");
2263 lua_pushcfunction(L
, LuaBinder
< QFileDialog
>::__LuaWrapCall__directory
);
2264 lua_setfield(L
, -2, "directory");
2265 lua_pushcfunction(L
, LuaBinder
< QFileDialog
>::__LuaWrapCall__isReadOnly
);
2266 lua_setfield(L
, -2, "isReadOnly");
2267 lua_pushcfunction(L
, LuaBinder
< QFileDialog
>::__LuaWrapCall__defaultSuffix
);
2268 lua_setfield(L
, -2, "defaultSuffix");
2269 lua_pushcfunction(L
, LuaBinder
< QFileDialog
>::__LuaWrapCall__setFilter
);
2270 lua_setfield(L
, -2, "setFilter");
2271 lua_pushcfunction(L
, LuaBinder
< QFileDialog
>::__LuaWrapCall__setDirectory
);
2272 lua_setfield(L
, -2, "setDirectory");
2273 lua_pushcfunction(L
, LuaBinder
< QFileDialog
>::__LuaWrapCall__setItemDelegate
);
2274 lua_setfield(L
, -2, "setItemDelegate");
2275 lua_pushcfunction(L
, LuaBinder
< QFileDialog
>::__LuaWrapCall__restoreState
);
2276 lua_setfield(L
, -2, "restoreState");
2277 lua_pushcfunction(L
, LuaBinder
< QFileDialog
>::__LuaWrapCall__itemDelegate
);
2278 lua_setfield(L
, -2, "itemDelegate");
2279 lua_pushcfunction(L
, LuaBinder
< QFileDialog
>::__LuaWrapCall__history
);
2280 lua_setfield(L
, -2, "history");
2281 lua_pushcfunction(L
, LuaBinder
< QFileDialog
>::__LuaWrapCall__setIconProvider
);
2282 lua_setfield(L
, -2, "setIconProvider");
2283 lua_pushcfunction(L
, LuaBinder
< QFileDialog
>::__LuaWrapCall__iconProvider
);
2284 lua_setfield(L
, -2, "iconProvider");
2285 lua_pushcfunction(L
, LuaBinder
< QFileDialog
>::__LuaWrapCall__proxyModel
);
2286 lua_setfield(L
, -2, "proxyModel");
2287 lua_pushcfunction(L
, LuaBinder
< QFileDialog
>::__LuaWrapCall__labelText
);
2288 lua_setfield(L
, -2, "labelText");
2289 lua_pushcfunction(L
, LuaBinder
< QFileDialog
>::__LuaWrapCall__setProxyModel
);
2290 lua_setfield(L
, -2, "setProxyModel");
2291 lua_pushcfunction(L
, LuaBinder
< QFileDialog
>::__LuaWrapCall__getOpenFileNames
);
2292 lua_setfield(L
, -2, "getOpenFileNames");
2293 LuaBinder
< QFileDialog
>::lqt_pushenum_ViewMode(L
);
2294 lua_setfield(L
, -2, "ViewMode");
2295 LuaBinder
< QFileDialog
>::lqt_pushenum_FileMode(L
);
2296 lua_setfield(L
, -2, "FileMode");
2297 LuaBinder
< QFileDialog
>::lqt_pushenum_AcceptMode(L
);
2298 lua_setfield(L
, -2, "AcceptMode");
2299 LuaBinder
< QFileDialog
>::lqt_pushenum_DialogLabel(L
);
2300 lua_setfield(L
, -2, "DialogLabel");
2301 LuaBinder
< QFileDialog
>::lqt_pushenum_Option(L
);
2302 lua_setfield(L
, -2, "Option");
2304 lua_pushboolean(L
, 1);
2305 lua_setfield(L
, -2, "QDialog*");
2306 lua_pushboolean(L
, 0);
2307 lua_setfield(L
, -2, "QObject*");
2308 lua_pushboolean(L
, 0);
2309 lua_setfield(L
, -2, "QPaintDevice*");
2310 lua_pushboolean(L
, 0);
2311 lua_setfield(L
, -2, "QWidget*");
2312 lua_setfield(L
, -2, "__base");
2313 lua_pushcfunction(L
, lqtL_newindex
);
2314 lua_setfield(L
, -2, "__newindex");
2315 lua_pushcfunction(L
, lqtL_index
);
2316 lua_setfield(L
, -2, "__index");
2317 lua_pushcfunction(L
, lqtL_gc
);
2318 lua_setfield(L
, -2, "__gc");
2319 lua_pushstring(L
, "QFileDialog");
2320 lua_setfield(L
, -2, "__qtype");
2321 lua_setglobal(L
, "QFileDialog");