1 #include "lqt_bind_QColor.hpp"
3 int LuaBinder
< QColor
>::__LuaWrapCall__cyan (lua_State
*L
) {
4 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
6 lua_pushstring(L
, "trying to reference deleted pointer");
10 int ret
= __lua__obj
->QColor::cyan();
11 lua_pushinteger(L
, ret
);
14 int LuaBinder
< QColor
>::__LuaWrapCall__fromCmyk (lua_State
*L
) {
15 int arg1
= lua_tointeger(L
, 1);
16 int arg2
= lua_tointeger(L
, 2);
17 int arg3
= lua_tointeger(L
, 3);
18 int arg4
= lua_tointeger(L
, 4);
19 int arg5
= lua_isnumber(L
, 5)?lua_tointeger(L
, 5):static_cast< int >(255);
20 QColor ret
= QColor::fromCmyk(arg1
, arg2
, arg3
, arg4
, arg5
);
21 lqtL_passudata(L
, new QColor(ret
), "QColor*");
24 int LuaBinder
< QColor
>::__LuaWrapCall__cyanF (lua_State
*L
) {
25 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
27 lua_pushstring(L
, "trying to reference deleted pointer");
31 double ret
= __lua__obj
->QColor::cyanF();
32 lua_pushnumber(L
, ret
);
35 int LuaBinder
< QColor
>::__LuaWrapCall__redF (lua_State
*L
) {
36 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
38 lua_pushstring(L
, "trying to reference deleted pointer");
42 double ret
= __lua__obj
->QColor::redF();
43 lua_pushnumber(L
, ret
);
46 int LuaBinder
< QColor
>::__LuaWrapCall__setCmyk (lua_State
*L
) {
47 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
49 lua_pushstring(L
, "trying to reference deleted pointer");
53 int arg1
= lua_tointeger(L
, 2);
54 int arg2
= lua_tointeger(L
, 3);
55 int arg3
= lua_tointeger(L
, 4);
56 int arg4
= lua_tointeger(L
, 5);
57 int arg5
= lua_isnumber(L
, 6)?lua_tointeger(L
, 6):static_cast< int >(255);
58 __lua__obj
->QColor::setCmyk(arg1
, arg2
, arg3
, arg4
, arg5
);
61 int LuaBinder
< QColor
>::__LuaWrapCall__isValid (lua_State
*L
) {
62 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
64 lua_pushstring(L
, "trying to reference deleted pointer");
68 bool ret
= __lua__obj
->QColor::isValid();
69 lua_pushboolean(L
, ret
);
72 int LuaBinder
< QColor
>::__LuaWrapCall__black (lua_State
*L
) {
73 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
75 lua_pushstring(L
, "trying to reference deleted pointer");
79 int ret
= __lua__obj
->QColor::black();
80 lua_pushinteger(L
, ret
);
83 int LuaBinder
< QColor
>::__LuaWrapCall__getCmyk (lua_State
*L
) {
84 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
86 lua_pushstring(L
, "trying to reference deleted pointer");
90 int * arg1
= static_cast<int *>(lua_touserdata(L
, 2));
91 int * arg2
= static_cast<int *>(lua_touserdata(L
, 3));
92 int * arg3
= static_cast<int *>(lua_touserdata(L
, 4));
93 int * arg4
= static_cast<int *>(lua_touserdata(L
, 5));
94 int * arg5
= lua_isnumber(L
, 6)?static_cast<int *>(lua_touserdata(L
, 6)):static_cast< int * >(0);
95 __lua__obj
->QColor::getCmyk(arg1
, arg2
, arg3
, arg4
, arg5
);
98 int LuaBinder
< QColor
>::__LuaWrapCall__yellow (lua_State
*L
) {
99 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
101 lua_pushstring(L
, "trying to reference deleted pointer");
105 int ret
= __lua__obj
->QColor::yellow();
106 lua_pushinteger(L
, ret
);
109 int LuaBinder
< QColor
>::__LuaWrapCall__setGreen (lua_State
*L
) {
110 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
112 lua_pushstring(L
, "trying to reference deleted pointer");
116 int arg1
= lua_tointeger(L
, 2);
117 __lua__obj
->QColor::setGreen(arg1
);
120 int LuaBinder
< QColor
>::__LuaWrapCall__setAlpha (lua_State
*L
) {
121 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
123 lua_pushstring(L
, "trying to reference deleted pointer");
127 int arg1
= lua_tointeger(L
, 2);
128 __lua__obj
->QColor::setAlpha(arg1
);
131 int LuaBinder
< QColor
>::__LuaWrapCall__convertTo (lua_State
*L
) {
132 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
134 lua_pushstring(L
, "trying to reference deleted pointer");
138 QColor::Spec arg1
= static_cast<QColor::Spec
>(lqtL_toenum(L
, 2, "QColor::Spec"));
139 QColor ret
= __lua__obj
->QColor::convertTo(arg1
);
140 lqtL_passudata(L
, new QColor(ret
), "QColor*");
143 int LuaBinder
< QColor
>::__LuaWrapCall__setHsv (lua_State
*L
) {
144 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
146 lua_pushstring(L
, "trying to reference deleted pointer");
150 int arg1
= lua_tointeger(L
, 2);
151 int arg2
= lua_tointeger(L
, 3);
152 int arg3
= lua_tointeger(L
, 4);
153 int arg4
= lua_isnumber(L
, 5)?lua_tointeger(L
, 5):static_cast< int >(255);
154 __lua__obj
->QColor::setHsv(arg1
, arg2
, arg3
, arg4
);
157 int LuaBinder
< QColor
>::__LuaWrapCall__toCmyk (lua_State
*L
) {
158 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
160 lua_pushstring(L
, "trying to reference deleted pointer");
164 QColor ret
= __lua__obj
->QColor::toCmyk();
165 lqtL_passudata(L
, new QColor(ret
), "QColor*");
168 int LuaBinder
< QColor
>::__LuaWrapCall__hueF (lua_State
*L
) {
169 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
171 lua_pushstring(L
, "trying to reference deleted pointer");
175 double ret
= __lua__obj
->QColor::hueF();
176 lua_pushnumber(L
, ret
);
179 int LuaBinder
< QColor
>::__LuaWrapCall__fromCmykF (lua_State
*L
) {
180 double arg1
= lua_tonumber(L
, 1);
181 double arg2
= lua_tonumber(L
, 2);
182 double arg3
= lua_tonumber(L
, 3);
183 double arg4
= lua_tonumber(L
, 4);
184 double arg5
= lua_isnumber(L
, 5)?lua_tonumber(L
, 5):static_cast< double >(1.0e+0);
185 QColor ret
= QColor::fromCmykF(arg1
, arg2
, arg3
, arg4
, arg5
);
186 lqtL_passudata(L
, new QColor(ret
), "QColor*");
189 int LuaBinder
< QColor
>::__LuaWrapCall__darker (lua_State
*L
) {
190 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
192 lua_pushstring(L
, "trying to reference deleted pointer");
196 int arg1
= lua_isnumber(L
, 2)?lua_tointeger(L
, 2):static_cast< int >(200);
197 QColor ret
= __lua__obj
->QColor::darker(arg1
);
198 lqtL_passudata(L
, new QColor(ret
), "QColor*");
201 int LuaBinder
< QColor
>::__LuaWrapCall__setRgba (lua_State
*L
) {
202 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
204 lua_pushstring(L
, "trying to reference deleted pointer");
208 unsigned int arg1
= lua_tointeger(L
, 2);
209 __lua__obj
->QColor::setRgba(arg1
);
212 int LuaBinder
< QColor
>::__LuaWrapCall__rgb (lua_State
*L
) {
213 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
215 lua_pushstring(L
, "trying to reference deleted pointer");
219 unsigned int ret
= __lua__obj
->QColor::rgb();
220 lua_pushinteger(L
, ret
);
223 int LuaBinder
< QColor
>::__LuaWrapCall__setGreenF (lua_State
*L
) {
224 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
226 lua_pushstring(L
, "trying to reference deleted pointer");
230 double arg1
= lua_tonumber(L
, 2);
231 __lua__obj
->QColor::setGreenF(arg1
);
234 int LuaBinder
< QColor
>::__LuaWrapCall__green (lua_State
*L
) {
235 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
237 lua_pushstring(L
, "trying to reference deleted pointer");
241 int ret
= __lua__obj
->QColor::green();
242 lua_pushinteger(L
, ret
);
245 int LuaBinder
< QColor
>::__LuaWrapCall__valueF (lua_State
*L
) {
246 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
248 lua_pushstring(L
, "trying to reference deleted pointer");
252 double ret
= __lua__obj
->QColor::valueF();
253 lua_pushnumber(L
, ret
);
256 int LuaBinder
< QColor
>::__LuaWrapCall__setNamedColor (lua_State
*L
) {
257 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
259 lua_pushstring(L
, "trying to reference deleted pointer");
263 const QString
& arg1
= QString::fromAscii(lua_tostring(L
, 2), lua_objlen(L
, 2));
264 __lua__obj
->QColor::setNamedColor(arg1
);
267 int LuaBinder
< QColor
>::__LuaWrapCall__fromHsvF (lua_State
*L
) {
268 double arg1
= lua_tonumber(L
, 1);
269 double arg2
= lua_tonumber(L
, 2);
270 double arg3
= lua_tonumber(L
, 3);
271 double arg4
= lua_isnumber(L
, 4)?lua_tonumber(L
, 4):static_cast< double >(1.0e+0);
272 QColor ret
= QColor::fromHsvF(arg1
, arg2
, arg3
, arg4
);
273 lqtL_passudata(L
, new QColor(ret
), "QColor*");
276 int LuaBinder
< QColor
>::__LuaWrapCall__fromRgbF (lua_State
*L
) {
277 double arg1
= lua_tonumber(L
, 1);
278 double arg2
= lua_tonumber(L
, 2);
279 double arg3
= lua_tonumber(L
, 3);
280 double arg4
= lua_isnumber(L
, 4)?lua_tonumber(L
, 4):static_cast< double >(1.0e+0);
281 QColor ret
= QColor::fromRgbF(arg1
, arg2
, arg3
, arg4
);
282 lqtL_passudata(L
, new QColor(ret
), "QColor*");
285 int LuaBinder
< QColor
>::__LuaWrapCall__setRed (lua_State
*L
) {
286 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
288 lua_pushstring(L
, "trying to reference deleted pointer");
292 int arg1
= lua_tointeger(L
, 2);
293 __lua__obj
->QColor::setRed(arg1
);
296 int LuaBinder
< QColor
>::__LuaWrapCall__value (lua_State
*L
) {
297 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
299 lua_pushstring(L
, "trying to reference deleted pointer");
303 int ret
= __lua__obj
->QColor::value();
304 lua_pushinteger(L
, ret
);
307 int LuaBinder
< QColor
>::__LuaWrapCall__lighter (lua_State
*L
) {
308 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
310 lua_pushstring(L
, "trying to reference deleted pointer");
314 int arg1
= lua_isnumber(L
, 2)?lua_tointeger(L
, 2):static_cast< int >(150);
315 QColor ret
= __lua__obj
->QColor::lighter(arg1
);
316 lqtL_passudata(L
, new QColor(ret
), "QColor*");
319 int LuaBinder
< QColor
>::__LuaWrapCall__rgba (lua_State
*L
) {
320 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
322 lua_pushstring(L
, "trying to reference deleted pointer");
326 unsigned int ret
= __lua__obj
->QColor::rgba();
327 lua_pushinteger(L
, ret
);
330 int LuaBinder
< QColor
>::__LuaWrapCall__magentaF (lua_State
*L
) {
331 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
333 lua_pushstring(L
, "trying to reference deleted pointer");
337 double ret
= __lua__obj
->QColor::magentaF();
338 lua_pushnumber(L
, ret
);
341 int LuaBinder
< QColor
>::__LuaWrapCall__getCmykF (lua_State
*L
) {
342 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
344 lua_pushstring(L
, "trying to reference deleted pointer");
348 double * arg1
= static_cast<double *>(lua_touserdata(L
, 2));
349 double * arg2
= static_cast<double *>(lua_touserdata(L
, 3));
350 double * arg3
= static_cast<double *>(lua_touserdata(L
, 4));
351 double * arg4
= static_cast<double *>(lua_touserdata(L
, 5));
352 double * arg5
= lua_isnumber(L
, 6)?static_cast<double *>(lua_touserdata(L
, 6)):static_cast< double * >(0);
353 __lua__obj
->QColor::getCmykF(arg1
, arg2
, arg3
, arg4
, arg5
);
356 int LuaBinder
< QColor
>::__LuaWrapCall__setBlueF (lua_State
*L
) {
357 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
359 lua_pushstring(L
, "trying to reference deleted pointer");
363 double arg1
= lua_tonumber(L
, 2);
364 __lua__obj
->QColor::setBlueF(arg1
);
367 int LuaBinder
< QColor
>::__LuaWrapCall__colorNames (lua_State
*L
) {
368 QStringList ret
= QColor::colorNames();
369 lqtL_passudata(L
, new QStringList(ret
), "QStringList*");
372 int LuaBinder
< QColor
>::__LuaWrapCall__getRgb (lua_State
*L
) {
373 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
375 lua_pushstring(L
, "trying to reference deleted pointer");
379 int * arg1
= static_cast<int *>(lua_touserdata(L
, 2));
380 int * arg2
= static_cast<int *>(lua_touserdata(L
, 3));
381 int * arg3
= static_cast<int *>(lua_touserdata(L
, 4));
382 int * arg4
= lua_isnumber(L
, 5)?static_cast<int *>(lua_touserdata(L
, 5)):static_cast< int * >(0);
383 __lua__obj
->QColor::getRgb(arg1
, arg2
, arg3
, arg4
);
386 int LuaBinder
< QColor
>::__LuaWrapCall__name (lua_State
*L
) {
387 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
389 lua_pushstring(L
, "trying to reference deleted pointer");
393 QString ret
= __lua__obj
->QColor::name();
394 lua_pushlstring(L
, ret
.toAscii().data(), ret
.toAscii().size());
397 int LuaBinder
< QColor
>::__LuaWrapCall__setRgb__OverloadedVersion__1 (lua_State
*L
) {
398 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
400 lua_pushstring(L
, "trying to reference deleted pointer");
404 int arg1
= lua_tointeger(L
, 2);
405 int arg2
= lua_tointeger(L
, 3);
406 int arg3
= lua_tointeger(L
, 4);
407 int arg4
= lua_isnumber(L
, 5)?lua_tointeger(L
, 5):static_cast< int >(255);
408 __lua__obj
->QColor::setRgb(arg1
, arg2
, arg3
, arg4
);
411 int LuaBinder
< QColor
>::__LuaWrapCall__setRgb__OverloadedVersion__2 (lua_State
*L
) {
412 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
414 lua_pushstring(L
, "trying to reference deleted pointer");
418 unsigned int arg1
= lua_tointeger(L
, 2);
419 __lua__obj
->QColor::setRgb(arg1
);
422 int LuaBinder
< QColor
>::__LuaWrapCall__setRgb (lua_State
*L
) {
424 const int premium
= 11+lua_gettop(L
);
426 score
[1] += lqtL_testudata(L
, 1, "QColor*")?premium
:-premium
*premium
;
427 if (lua_isnumber(L
, 2)) {
430 score
[1] += premium
-1; // table: 0x1f49c40;
432 score
[1] -= premium
*premium
;
434 if (lua_isnumber(L
, 3)) {
437 score
[1] += premium
-1; // table: 0x1f4a160;
439 score
[1] -= premium
*premium
;
441 if (lua_isnumber(L
, 4)) {
444 score
[1] += premium
-1; // table: 0x1f4a510;
446 score
[1] -= premium
*premium
;
448 if (lua_isnumber(L
, 5)) {
451 score
[1] += premium
-1; // table: 0x1f4a940;
453 score
[1] -= premium
*premium
;
456 score
[2] += lqtL_testudata(L
, 1, "QColor*")?premium
:-premium
*premium
;
457 if (lua_isnumber(L
, 2)) {
460 score
[2] += premium
-1; // table: 0x1f4f600;
462 score
[2] -= premium
*premium
;
465 for (int i
=1;i
<=2;i
++) {
466 if (score
[best
] < score
[i
]) { best
= i
; }
469 case 1: return __LuaWrapCall__setRgb__OverloadedVersion__1(L
); break;
470 case 2: return __LuaWrapCall__setRgb__OverloadedVersion__2(L
); break;
472 lua_pushstring(L
, "no overload of function __LuaWrapCall__setRgb matching arguments");
476 int LuaBinder
< QColor
>::__LuaWrapCall__setAlphaF (lua_State
*L
) {
477 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
479 lua_pushstring(L
, "trying to reference deleted pointer");
483 double arg1
= lua_tonumber(L
, 2);
484 __lua__obj
->QColor::setAlphaF(arg1
);
487 int LuaBinder
< QColor
>::__LuaWrapCall__setCmykF (lua_State
*L
) {
488 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
490 lua_pushstring(L
, "trying to reference deleted pointer");
494 double arg1
= lua_tonumber(L
, 2);
495 double arg2
= lua_tonumber(L
, 3);
496 double arg3
= lua_tonumber(L
, 4);
497 double arg4
= lua_tonumber(L
, 5);
498 double arg5
= lua_isnumber(L
, 6)?lua_tonumber(L
, 6):static_cast< double >(1.0e+0);
499 __lua__obj
->QColor::setCmykF(arg1
, arg2
, arg3
, arg4
, arg5
);
502 int LuaBinder
< QColor
>::__LuaWrapCall__setBlue (lua_State
*L
) {
503 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
505 lua_pushstring(L
, "trying to reference deleted pointer");
509 int arg1
= lua_tointeger(L
, 2);
510 __lua__obj
->QColor::setBlue(arg1
);
513 int LuaBinder
< QColor
>::__LuaWrapCall__greenF (lua_State
*L
) {
514 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
516 lua_pushstring(L
, "trying to reference deleted pointer");
520 double ret
= __lua__obj
->QColor::greenF();
521 lua_pushnumber(L
, ret
);
524 int LuaBinder
< QColor
>::__LuaWrapCall__toHsv (lua_State
*L
) {
525 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
527 lua_pushstring(L
, "trying to reference deleted pointer");
531 QColor ret
= __lua__obj
->QColor::toHsv();
532 lqtL_passudata(L
, new QColor(ret
), "QColor*");
535 int LuaBinder
< QColor
>::__LuaWrapCall__alphaF (lua_State
*L
) {
536 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
538 lua_pushstring(L
, "trying to reference deleted pointer");
542 double ret
= __lua__obj
->QColor::alphaF();
543 lua_pushnumber(L
, ret
);
546 int LuaBinder
< QColor
>::__LuaWrapCall__toRgb (lua_State
*L
) {
547 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
549 lua_pushstring(L
, "trying to reference deleted pointer");
553 QColor ret
= __lua__obj
->QColor::toRgb();
554 lqtL_passudata(L
, new QColor(ret
), "QColor*");
557 int LuaBinder
< QColor
>::__LuaWrapCall__new__OverloadedVersion__1 (lua_State
*L
) {
558 QColor
* ret
= new LuaBinder
< QColor
>(L
);
559 lqtL_passudata(L
, ret
, "QColor*");
562 int LuaBinder
< QColor
>::__LuaWrapCall__new__OverloadedVersion__2 (lua_State
*L
) {
563 Qt::GlobalColor arg1
= static_cast<Qt::GlobalColor
>(lqtL_toenum(L
, 1, "Qt::GlobalColor"));
564 QColor
* ret
= new LuaBinder
< QColor
>(L
, arg1
);
565 lqtL_passudata(L
, ret
, "QColor*");
568 int LuaBinder
< QColor
>::__LuaWrapCall__new__OverloadedVersion__3 (lua_State
*L
) {
569 int arg1
= lua_tointeger(L
, 1);
570 int arg2
= lua_tointeger(L
, 2);
571 int arg3
= lua_tointeger(L
, 3);
572 int arg4
= lua_isnumber(L
, 4)?lua_tointeger(L
, 4):static_cast< int >(255);
573 QColor
* ret
= new LuaBinder
< QColor
>(L
, arg1
, arg2
, arg3
, arg4
);
574 lqtL_passudata(L
, ret
, "QColor*");
577 int LuaBinder
< QColor
>::__LuaWrapCall__new__OverloadedVersion__4 (lua_State
*L
) {
578 unsigned int arg1
= lua_tointeger(L
, 1);
579 QColor
* ret
= new LuaBinder
< QColor
>(L
, arg1
);
580 lqtL_passudata(L
, ret
, "QColor*");
583 int LuaBinder
< QColor
>::__LuaWrapCall__new__OverloadedVersion__5 (lua_State
*L
) {
584 const QString
& arg1
= QString::fromAscii(lua_tostring(L
, 1), lua_objlen(L
, 1));
585 QColor
* ret
= new LuaBinder
< QColor
>(L
, arg1
);
586 lqtL_passudata(L
, ret
, "QColor*");
589 int LuaBinder
< QColor
>::__LuaWrapCall__new__OverloadedVersion__6 (lua_State
*L
) {
590 const char * arg1
= lua_tostring(L
, 1);
591 QColor
* ret
= new LuaBinder
< QColor
>(L
, arg1
);
592 lqtL_passudata(L
, ret
, "QColor*");
595 int LuaBinder
< QColor
>::__LuaWrapCall__new__OverloadedVersion__7 (lua_State
*L
) {
596 const QColor
& arg1
= **static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
597 QColor
* ret
= new LuaBinder
< QColor
>(L
, arg1
);
598 lqtL_passudata(L
, ret
, "QColor*");
601 int LuaBinder
< QColor
>::__LuaWrapCall__new__OverloadedVersion__8 (lua_State
*L
) {
602 QColor::Spec arg1
= static_cast<QColor::Spec
>(lqtL_toenum(L
, 1, "QColor::Spec"));
603 QColor
* ret
= new LuaBinder
< QColor
>(L
, arg1
);
604 lqtL_passudata(L
, ret
, "QColor*");
607 int LuaBinder
< QColor
>::__LuaWrapCall__new (lua_State
*L
) {
609 const int premium
= 11+lua_gettop(L
);
612 if (lqtL_isenum(L
, 1, "Qt::GlobalColor")) {
615 score
[2] += premium
-1; // table: 0x1f38060;
617 score
[2] -= premium
*premium
;
620 if (lua_isnumber(L
, 1)) {
623 score
[3] += premium
-1; // table: 0x1f38ab0;
625 score
[3] -= premium
*premium
;
627 if (lua_isnumber(L
, 2)) {
630 score
[3] += premium
-1; // table: 0x1f38fc0;
632 score
[3] -= premium
*premium
;
634 if (lua_isnumber(L
, 3)) {
637 score
[3] += premium
-1; // table: 0x1f39370;
639 score
[3] -= premium
*premium
;
641 if (lua_isnumber(L
, 4)) {
644 score
[3] += premium
-1; // table: 0x1f397a0;
646 score
[3] -= premium
*premium
;
649 if (lua_isnumber(L
, 1)) {
652 score
[4] += premium
-1; // table: 0x1f3a050;
654 score
[4] -= premium
*premium
;
657 if ((lua_type(L
, 1)==LUA_TSTRING
)) {
660 score
[5] += premium
-1; // table: 0x1f3aac0;
662 score
[5] -= premium
*premium
;
665 if ((lua_type(L
, 1)==LUA_TSTRING
)) {
668 score
[6] += premium
-1; // table: 0x1f3b4e0;
670 score
[6] -= premium
*premium
;
673 if (lqtL_testudata(L
, 1, "QColor*")) {
676 score
[7] += premium
-1; // table: 0x1f3bf20;
678 score
[7] -= premium
*premium
;
681 if (lqtL_isenum(L
, 1, "QColor::Spec")) {
684 score
[8] += premium
-1; // table: 0x1f3c970;
686 score
[8] -= premium
*premium
;
689 for (int i
=1;i
<=8;i
++) {
690 if (score
[best
] < score
[i
]) { best
= i
; }
693 case 1: return __LuaWrapCall__new__OverloadedVersion__1(L
); break;
694 case 2: return __LuaWrapCall__new__OverloadedVersion__2(L
); break;
695 case 3: return __LuaWrapCall__new__OverloadedVersion__3(L
); break;
696 case 4: return __LuaWrapCall__new__OverloadedVersion__4(L
); break;
697 case 5: return __LuaWrapCall__new__OverloadedVersion__5(L
); break;
698 case 6: return __LuaWrapCall__new__OverloadedVersion__6(L
); break;
699 case 7: return __LuaWrapCall__new__OverloadedVersion__7(L
); break;
700 case 8: return __LuaWrapCall__new__OverloadedVersion__8(L
); break;
702 lua_pushstring(L
, "no overload of function __LuaWrapCall__new matching arguments");
706 int LuaBinder
< QColor
>::__LuaWrapCall__saturation (lua_State
*L
) {
707 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
709 lua_pushstring(L
, "trying to reference deleted pointer");
713 int ret
= __lua__obj
->QColor::saturation();
714 lua_pushinteger(L
, ret
);
717 int LuaBinder
< QColor
>::__LuaWrapCall__alpha (lua_State
*L
) {
718 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
720 lua_pushstring(L
, "trying to reference deleted pointer");
724 int ret
= __lua__obj
->QColor::alpha();
725 lua_pushinteger(L
, ret
);
728 int LuaBinder
< QColor
>::__LuaWrapCall__getHsv (lua_State
*L
) {
729 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
731 lua_pushstring(L
, "trying to reference deleted pointer");
735 int * arg1
= static_cast<int *>(lua_touserdata(L
, 2));
736 int * arg2
= static_cast<int *>(lua_touserdata(L
, 3));
737 int * arg3
= static_cast<int *>(lua_touserdata(L
, 4));
738 int * arg4
= lua_isnumber(L
, 5)?static_cast<int *>(lua_touserdata(L
, 5)):static_cast< int * >(0);
739 __lua__obj
->QColor::getHsv(arg1
, arg2
, arg3
, arg4
);
742 int LuaBinder
< QColor
>::__LuaWrapCall__setRgbF (lua_State
*L
) {
743 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
745 lua_pushstring(L
, "trying to reference deleted pointer");
749 double arg1
= lua_tonumber(L
, 2);
750 double arg2
= lua_tonumber(L
, 3);
751 double arg3
= lua_tonumber(L
, 4);
752 double arg4
= lua_isnumber(L
, 5)?lua_tonumber(L
, 5):static_cast< double >(1.0e+0);
753 __lua__obj
->QColor::setRgbF(arg1
, arg2
, arg3
, arg4
);
756 int LuaBinder
< QColor
>::__LuaWrapCall__magenta (lua_State
*L
) {
757 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
759 lua_pushstring(L
, "trying to reference deleted pointer");
763 int ret
= __lua__obj
->QColor::magenta();
764 lua_pushinteger(L
, ret
);
767 int LuaBinder
< QColor
>::__LuaWrapCall__light (lua_State
*L
) {
768 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
770 lua_pushstring(L
, "trying to reference deleted pointer");
774 int arg1
= lua_isnumber(L
, 2)?lua_tointeger(L
, 2):static_cast< int >(150);
775 QColor ret
= __lua__obj
->QColor::light(arg1
);
776 lqtL_passudata(L
, new QColor(ret
), "QColor*");
779 int LuaBinder
< QColor
>::__LuaWrapCall__hue (lua_State
*L
) {
780 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
782 lua_pushstring(L
, "trying to reference deleted pointer");
786 int ret
= __lua__obj
->QColor::hue();
787 lua_pushinteger(L
, ret
);
790 int LuaBinder
< QColor
>::__LuaWrapCall__setHsvF (lua_State
*L
) {
791 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
793 lua_pushstring(L
, "trying to reference deleted pointer");
797 double arg1
= lua_tonumber(L
, 2);
798 double arg2
= lua_tonumber(L
, 3);
799 double arg3
= lua_tonumber(L
, 4);
800 double arg4
= lua_isnumber(L
, 5)?lua_tonumber(L
, 5):static_cast< double >(1.0e+0);
801 __lua__obj
->QColor::setHsvF(arg1
, arg2
, arg3
, arg4
);
804 int LuaBinder
< QColor
>::__LuaWrapCall__blue (lua_State
*L
) {
805 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
807 lua_pushstring(L
, "trying to reference deleted pointer");
811 int ret
= __lua__obj
->QColor::blue();
812 lua_pushinteger(L
, ret
);
815 int LuaBinder
< QColor
>::__LuaWrapCall__yellowF (lua_State
*L
) {
816 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
818 lua_pushstring(L
, "trying to reference deleted pointer");
822 double ret
= __lua__obj
->QColor::yellowF();
823 lua_pushnumber(L
, ret
);
826 int LuaBinder
< QColor
>::__LuaWrapCall__setRedF (lua_State
*L
) {
827 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
829 lua_pushstring(L
, "trying to reference deleted pointer");
833 double arg1
= lua_tonumber(L
, 2);
834 __lua__obj
->QColor::setRedF(arg1
);
837 int LuaBinder
< QColor
>::__LuaWrapCall__spec (lua_State
*L
) {
838 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
840 lua_pushstring(L
, "trying to reference deleted pointer");
844 QColor::Spec ret
= __lua__obj
->QColor::spec();
845 lqtL_pushenum(L
, ret
, "QColor::Spec");
848 int LuaBinder
< QColor
>::__LuaWrapCall__saturationF (lua_State
*L
) {
849 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
851 lua_pushstring(L
, "trying to reference deleted pointer");
855 double ret
= __lua__obj
->QColor::saturationF();
856 lua_pushnumber(L
, ret
);
859 int LuaBinder
< QColor
>::__LuaWrapCall__dark (lua_State
*L
) {
860 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
862 lua_pushstring(L
, "trying to reference deleted pointer");
866 int arg1
= lua_isnumber(L
, 2)?lua_tointeger(L
, 2):static_cast< int >(200);
867 QColor ret
= __lua__obj
->QColor::dark(arg1
);
868 lqtL_passudata(L
, new QColor(ret
), "QColor*");
871 int LuaBinder
< QColor
>::__LuaWrapCall__blackF (lua_State
*L
) {
872 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
874 lua_pushstring(L
, "trying to reference deleted pointer");
878 double ret
= __lua__obj
->QColor::blackF();
879 lua_pushnumber(L
, ret
);
882 int LuaBinder
< QColor
>::__LuaWrapCall__blueF (lua_State
*L
) {
883 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
885 lua_pushstring(L
, "trying to reference deleted pointer");
889 double ret
= __lua__obj
->QColor::blueF();
890 lua_pushnumber(L
, ret
);
893 int LuaBinder
< QColor
>::__LuaWrapCall__red (lua_State
*L
) {
894 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
896 lua_pushstring(L
, "trying to reference deleted pointer");
900 int ret
= __lua__obj
->QColor::red();
901 lua_pushinteger(L
, ret
);
904 int LuaBinder
< QColor
>::__LuaWrapCall__fromRgb__OverloadedVersion__1 (lua_State
*L
) {
905 unsigned int arg1
= lua_tointeger(L
, 1);
906 QColor ret
= QColor::fromRgb(arg1
);
907 lqtL_passudata(L
, new QColor(ret
), "QColor*");
910 int LuaBinder
< QColor
>::__LuaWrapCall__fromRgb__OverloadedVersion__2 (lua_State
*L
) {
911 int arg1
= lua_tointeger(L
, 1);
912 int arg2
= lua_tointeger(L
, 2);
913 int arg3
= lua_tointeger(L
, 3);
914 int arg4
= lua_isnumber(L
, 4)?lua_tointeger(L
, 4):static_cast< int >(255);
915 QColor ret
= QColor::fromRgb(arg1
, arg2
, arg3
, arg4
);
916 lqtL_passudata(L
, new QColor(ret
), "QColor*");
919 int LuaBinder
< QColor
>::__LuaWrapCall__fromRgb (lua_State
*L
) {
921 const int premium
= 11+lua_gettop(L
);
923 if (lua_isnumber(L
, 1)) {
926 score
[1] += premium
-1; // table: 0x1f642e0;
928 score
[1] -= premium
*premium
;
931 if (lua_isnumber(L
, 1)) {
934 score
[2] += premium
-1; // table: 0x1f65760;
936 score
[2] -= premium
*premium
;
938 if (lua_isnumber(L
, 2)) {
941 score
[2] += premium
-1; // table: 0x1f65c70;
943 score
[2] -= premium
*premium
;
945 if (lua_isnumber(L
, 3)) {
948 score
[2] += premium
-1; // table: 0x1f66020;
950 score
[2] -= premium
*premium
;
952 if (lua_isnumber(L
, 4)) {
955 score
[2] += premium
-1; // table: 0x1f66450;
957 score
[2] -= premium
*premium
;
960 for (int i
=1;i
<=2;i
++) {
961 if (score
[best
] < score
[i
]) { best
= i
; }
964 case 1: return __LuaWrapCall__fromRgb__OverloadedVersion__1(L
); break;
965 case 2: return __LuaWrapCall__fromRgb__OverloadedVersion__2(L
); break;
967 lua_pushstring(L
, "no overload of function __LuaWrapCall__fromRgb matching arguments");
971 int LuaBinder
< QColor
>::__LuaWrapCall__fromRgba (lua_State
*L
) {
972 unsigned int arg1
= lua_tointeger(L
, 1);
973 QColor ret
= QColor::fromRgba(arg1
);
974 lqtL_passudata(L
, new QColor(ret
), "QColor*");
977 int LuaBinder
< QColor
>::__LuaWrapCall__fromHsv (lua_State
*L
) {
978 int arg1
= lua_tointeger(L
, 1);
979 int arg2
= lua_tointeger(L
, 2);
980 int arg3
= lua_tointeger(L
, 3);
981 int arg4
= lua_isnumber(L
, 4)?lua_tointeger(L
, 4):static_cast< int >(255);
982 QColor ret
= QColor::fromHsv(arg1
, arg2
, arg3
, arg4
);
983 lqtL_passudata(L
, new QColor(ret
), "QColor*");
986 int LuaBinder
< QColor
>::__LuaWrapCall__getRgbF (lua_State
*L
) {
987 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
989 lua_pushstring(L
, "trying to reference deleted pointer");
993 double * arg1
= static_cast<double *>(lua_touserdata(L
, 2));
994 double * arg2
= static_cast<double *>(lua_touserdata(L
, 3));
995 double * arg3
= static_cast<double *>(lua_touserdata(L
, 4));
996 double * arg4
= lua_isnumber(L
, 5)?static_cast<double *>(lua_touserdata(L
, 5)):static_cast< double * >(0);
997 __lua__obj
->QColor::getRgbF(arg1
, arg2
, arg3
, arg4
);
1000 int LuaBinder
< QColor
>::__LuaWrapCall__getHsvF (lua_State
*L
) {
1001 QColor
*& __lua__obj
= *static_cast<QColor
**>(lqtL_checkudata(L
, 1, "QColor*"));
1002 if (__lua__obj
==0) {
1003 lua_pushstring(L
, "trying to reference deleted pointer");
1007 double * arg1
= static_cast<double *>(lua_touserdata(L
, 2));
1008 double * arg2
= static_cast<double *>(lua_touserdata(L
, 3));
1009 double * arg3
= static_cast<double *>(lua_touserdata(L
, 4));
1010 double * arg4
= lua_isnumber(L
, 5)?static_cast<double *>(lua_touserdata(L
, 5)):static_cast< double * >(0);
1011 __lua__obj
->QColor::getHsvF(arg1
, arg2
, arg3
, arg4
);
1014 int LuaBinder
< QColor
>::lqt_pushenum_Spec (lua_State
*L
) {
1016 lua_getfield(L
, LUA_REGISTRYINDEX
, LQT_ENUMS
);
1017 if (!lua_istable(L
, -1)) {
1020 lua_pushvalue(L
, -1);
1021 lua_setfield(L
, LUA_REGISTRYINDEX
, LQT_ENUMS
);
1024 enum_table
= lua_gettop(L
);
1025 lua_pushstring(L
, "Invalid");
1026 lua_rawseti(L
, enum_table
, 0);
1027 lua_pushinteger(L
, 0);
1028 lua_setfield(L
, enum_table
, "Invalid");
1029 lua_pushstring(L
, "Rgb");
1030 lua_rawseti(L
, enum_table
, 1);
1031 lua_pushinteger(L
, 1);
1032 lua_setfield(L
, enum_table
, "Rgb");
1033 lua_pushstring(L
, "Hsv");
1034 lua_rawseti(L
, enum_table
, 2);
1035 lua_pushinteger(L
, 2);
1036 lua_setfield(L
, enum_table
, "Hsv");
1037 lua_pushstring(L
, "Cmyk");
1038 lua_rawseti(L
, enum_table
, 3);
1039 lua_pushinteger(L
, 3);
1040 lua_setfield(L
, enum_table
, "Cmyk");
1041 lua_pushcfunction(L
, LuaBinder
< QColor
>::lqt_pushenum_Spec_QFLAGS_CREATOR
);
1042 lua_setfield(L
, enum_table
, "QFlags");
1043 lua_pushvalue(L
, -1);
1044 lua_setfield(L
, -3, "QColor::Spec");
1048 int LuaBinder
< QColor
>::lqt_pushenum_Spec_QFLAGS_CREATOR (lua_State
*L
) {
1049 int argn
= lua_gettop(L
);
1051 void *p
= lua_newuserdata(L
, sizeof(QFlags
<QColor::Spec
>*) + sizeof(QFlags
<QColor::Spec
>));
1052 QFlags
<QColor::Spec
> *fl
= static_cast<QFlags
<QColor::Spec
>*>( static_cast<void*>(&static_cast<QFlags
<QColor::Spec
>**>(p
)[1]) );
1054 for (i
=1;i
<=argn
;i
++) {
1055 *fl
|= static_cast<QColor::Spec
>(lqtL_toenum(L
, i
, "QColor::Spec"));
1057 if (luaL_newmetatable(L
, "QFlags<QColor::Spec>*")) {
1058 lua_pushstring(L
, "QFlags<QColor::Spec>*");
1059 lua_setfield(L
, -2, "__qtype");
1061 lua_setmetatable(L
, -2);
1064 int luaopen_QColor (lua_State
*L
) {
1065 if (luaL_newmetatable(L
, "QColor*")) {
1066 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__cyan
);
1067 lua_setfield(L
, -2, "cyan");
1068 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__fromCmyk
);
1069 lua_setfield(L
, -2, "fromCmyk");
1070 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__cyanF
);
1071 lua_setfield(L
, -2, "cyanF");
1072 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__redF
);
1073 lua_setfield(L
, -2, "redF");
1074 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__setCmyk
);
1075 lua_setfield(L
, -2, "setCmyk");
1076 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__isValid
);
1077 lua_setfield(L
, -2, "isValid");
1078 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__black
);
1079 lua_setfield(L
, -2, "black");
1080 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__getCmyk
);
1081 lua_setfield(L
, -2, "getCmyk");
1082 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__yellow
);
1083 lua_setfield(L
, -2, "yellow");
1084 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__setGreen
);
1085 lua_setfield(L
, -2, "setGreen");
1086 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__setAlpha
);
1087 lua_setfield(L
, -2, "setAlpha");
1088 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__convertTo
);
1089 lua_setfield(L
, -2, "convertTo");
1090 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__setHsv
);
1091 lua_setfield(L
, -2, "setHsv");
1092 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__toCmyk
);
1093 lua_setfield(L
, -2, "toCmyk");
1094 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__hueF
);
1095 lua_setfield(L
, -2, "hueF");
1096 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__fromCmykF
);
1097 lua_setfield(L
, -2, "fromCmykF");
1098 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__darker
);
1099 lua_setfield(L
, -2, "darker");
1100 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__setRgba
);
1101 lua_setfield(L
, -2, "setRgba");
1102 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__rgb
);
1103 lua_setfield(L
, -2, "rgb");
1104 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__setGreenF
);
1105 lua_setfield(L
, -2, "setGreenF");
1106 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__green
);
1107 lua_setfield(L
, -2, "green");
1108 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__valueF
);
1109 lua_setfield(L
, -2, "valueF");
1110 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__setNamedColor
);
1111 lua_setfield(L
, -2, "setNamedColor");
1112 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__fromHsvF
);
1113 lua_setfield(L
, -2, "fromHsvF");
1114 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__fromRgbF
);
1115 lua_setfield(L
, -2, "fromRgbF");
1116 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__setRed
);
1117 lua_setfield(L
, -2, "setRed");
1118 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__value
);
1119 lua_setfield(L
, -2, "value");
1120 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__lighter
);
1121 lua_setfield(L
, -2, "lighter");
1122 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__rgba
);
1123 lua_setfield(L
, -2, "rgba");
1124 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__magentaF
);
1125 lua_setfield(L
, -2, "magentaF");
1126 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__getCmykF
);
1127 lua_setfield(L
, -2, "getCmykF");
1128 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__setBlueF
);
1129 lua_setfield(L
, -2, "setBlueF");
1130 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__colorNames
);
1131 lua_setfield(L
, -2, "colorNames");
1132 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__getRgb
);
1133 lua_setfield(L
, -2, "getRgb");
1134 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__name
);
1135 lua_setfield(L
, -2, "name");
1136 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__setRgb
);
1137 lua_setfield(L
, -2, "setRgb");
1138 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__setAlphaF
);
1139 lua_setfield(L
, -2, "setAlphaF");
1140 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__setCmykF
);
1141 lua_setfield(L
, -2, "setCmykF");
1142 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__setBlue
);
1143 lua_setfield(L
, -2, "setBlue");
1144 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__greenF
);
1145 lua_setfield(L
, -2, "greenF");
1146 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__toHsv
);
1147 lua_setfield(L
, -2, "toHsv");
1148 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__alphaF
);
1149 lua_setfield(L
, -2, "alphaF");
1150 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__toRgb
);
1151 lua_setfield(L
, -2, "toRgb");
1152 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__new
);
1153 lua_setfield(L
, -2, "new");
1154 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__saturation
);
1155 lua_setfield(L
, -2, "saturation");
1156 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__alpha
);
1157 lua_setfield(L
, -2, "alpha");
1158 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__getHsv
);
1159 lua_setfield(L
, -2, "getHsv");
1160 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__setRgbF
);
1161 lua_setfield(L
, -2, "setRgbF");
1162 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__magenta
);
1163 lua_setfield(L
, -2, "magenta");
1164 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__light
);
1165 lua_setfield(L
, -2, "light");
1166 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__hue
);
1167 lua_setfield(L
, -2, "hue");
1168 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__setHsvF
);
1169 lua_setfield(L
, -2, "setHsvF");
1170 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__blue
);
1171 lua_setfield(L
, -2, "blue");
1172 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__yellowF
);
1173 lua_setfield(L
, -2, "yellowF");
1174 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__setRedF
);
1175 lua_setfield(L
, -2, "setRedF");
1176 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__spec
);
1177 lua_setfield(L
, -2, "spec");
1178 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__saturationF
);
1179 lua_setfield(L
, -2, "saturationF");
1180 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__dark
);
1181 lua_setfield(L
, -2, "dark");
1182 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__blackF
);
1183 lua_setfield(L
, -2, "blackF");
1184 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__blueF
);
1185 lua_setfield(L
, -2, "blueF");
1186 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__red
);
1187 lua_setfield(L
, -2, "red");
1188 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__fromRgb
);
1189 lua_setfield(L
, -2, "fromRgb");
1190 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__fromRgba
);
1191 lua_setfield(L
, -2, "fromRgba");
1192 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__fromHsv
);
1193 lua_setfield(L
, -2, "fromHsv");
1194 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__getRgbF
);
1195 lua_setfield(L
, -2, "getRgbF");
1196 lua_pushcfunction(L
, LuaBinder
< QColor
>::__LuaWrapCall__getHsvF
);
1197 lua_setfield(L
, -2, "getHsvF");
1198 LuaBinder
< QColor
>::lqt_pushenum_Spec(L
);
1199 lua_setfield(L
, -2, "Spec");
1201 lua_setfield(L
, -2, "__base");
1202 lua_pushcfunction(L
, lqtL_newindex
);
1203 lua_setfield(L
, -2, "__newindex");
1204 lua_pushcfunction(L
, lqtL_index
);
1205 lua_setfield(L
, -2, "__index");
1206 lua_pushcfunction(L
, lqtL_gc
);
1207 lua_setfield(L
, -2, "__gc");
1208 lua_pushstring(L
, "QColor");
1209 lua_setfield(L
, -2, "__qtype");
1210 lua_setglobal(L
, "QColor");