##// END OF EJS Templates
Made possible to subclass from python plugin class....
Jeandet Alexis -
r64:fb730b849667 default
parent child
Show More
@@ -0,0 +1,3
1 SocExplorer Icon:
2 By Lolo00 (Own work) [GFDL (http://www.gnu.org/copyleft/fdl.html) or CC-BY-SA-3.0 (http://creativecommons.org/licenses/by-sa/3.0/)], via Wikimedia Commons
3
@@ -0,0 +1,6
1 #!/usr/bin/lppmon -e
2
3 class test(PySocExplorerEngine.socexplorerplugin):
4 def hello(self):
5 print "hello"
6
1 NO CONTENT: new file 100644, binary diff hidden
@@ -0,0 +1,4
1 #include <QtCore/QObject>
2 #include <QtWidgets/QtWidgets>
3 #include "plugins/socexplorerplugin.h"
4
@@ -0,0 +1,6
1 HEADERS += \
2 $$PWD/PySocExplorerEngine0.h \
3
4 SOURCES += \
5 $$PWD/PySocExplorerEngine0.cpp \
6 $$PWD/PySocExplorerEngine_init.cpp
This diff has been collapsed as it changes many lines, (1328 lines changed) Show them Hide them
@@ -0,0 +1,1328
1 #include "PySocExplorerEngine0.h"
2 #include <PythonQtConversion.h>
3 #include <PythonQtMethodInfo.h>
4 #include <PythonQtSignalReceiver.h>
5 #include <QIconEngine>
6 #include <QVariant>
7 #include <qaction.h>
8 #include <qbitmap.h>
9 #include <qbytearray.h>
10 #include <qcoreevent.h>
11 #include <qcursor.h>
12 #include <qdockwidget.h>
13 #include <qevent.h>
14 #include <qfont.h>
15 #include <qgraphicseffect.h>
16 #include <qgraphicsproxywidget.h>
17 #include <qkeysequence.h>
18 #include <qlayout.h>
19 #include <qlist.h>
20 #include <qlocale.h>
21 #include <qmargins.h>
22 #include <qmenu.h>
23 #include <qobject.h>
24 #include <qpaintdevice.h>
25 #include <qpaintengine.h>
26 #include <qpainter.h>
27 #include <qpalette.h>
28 #include <qpixmap.h>
29 #include <qpoint.h>
30 #include <qrect.h>
31 #include <qregion.h>
32 #include <qsize.h>
33 #include <qsizepolicy.h>
34 #include <qstyle.h>
35 #include <qstyleoption.h>
36 #include <qwidget.h>
37 #include <socexplorerplugin.h>
38
39 PythonQtShell_socexplorerplugin::~PythonQtShell_socexplorerplugin() {
40 PythonQtPrivate* priv = PythonQt::priv();
41 if (priv) { priv->shellClassDeleted(this); }
42 }
43 int PythonQtShell_socexplorerplugin::PID()
44 {
45 if (_wrapper) {
46 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "PID");
47 PyErr_Clear();
48 if (obj && !PythonQtSlotFunction_Check(obj)) {
49 static const char* argumentList[] ={"int"};
50 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
51 int returnValue;
52 void* args[1] = {NULL};
53 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
54 if (result) {
55 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
56 if (args[0]!=&returnValue) {
57 if (args[0]==NULL) {
58 PythonQt::priv()->handleVirtualOverloadReturnError("PID", methodInfo, result);
59 } else {
60 returnValue = *((int*)args[0]);
61 }
62 }
63 }
64 if (result) { Py_DECREF(result); }
65 Py_DECREF(obj);
66 return returnValue;
67 }
68 }
69 return socexplorerplugin::PID();
70 }
71 unsigned int PythonQtShell_socexplorerplugin::Read(unsigned int* Value, unsigned int count, unsigned int address)
72 {
73 if (_wrapper) {
74 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "Read");
75 PyErr_Clear();
76 if (obj && !PythonQtSlotFunction_Check(obj)) {
77 static const char* argumentList[] ={"unsigned int" , "unsigned int*" , "unsigned int" , "unsigned int"};
78 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList);
79 unsigned int returnValue;
80 void* args[4] = {NULL, (void*)&Value, (void*)&count, (void*)&address};
81 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
82 if (result) {
83 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
84 if (args[0]!=&returnValue) {
85 if (args[0]==NULL) {
86 PythonQt::priv()->handleVirtualOverloadReturnError("Read", methodInfo, result);
87 } else {
88 returnValue = *((unsigned int*)args[0]);
89 }
90 }
91 }
92 if (result) { Py_DECREF(result); }
93 Py_DECREF(obj);
94 return returnValue;
95 }
96 }
97 return socexplorerplugin::Read(Value, count, address);
98 }
99 int PythonQtShell_socexplorerplugin::VID()
100 {
101 if (_wrapper) {
102 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "VID");
103 PyErr_Clear();
104 if (obj && !PythonQtSlotFunction_Check(obj)) {
105 static const char* argumentList[] ={"int"};
106 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
107 int returnValue;
108 void* args[1] = {NULL};
109 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
110 if (result) {
111 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
112 if (args[0]!=&returnValue) {
113 if (args[0]==NULL) {
114 PythonQt::priv()->handleVirtualOverloadReturnError("VID", methodInfo, result);
115 } else {
116 returnValue = *((int*)args[0]);
117 }
118 }
119 }
120 if (result) { Py_DECREF(result); }
121 Py_DECREF(obj);
122 return returnValue;
123 }
124 }
125 return socexplorerplugin::VID();
126 }
127 unsigned int PythonQtShell_socexplorerplugin::Write(unsigned int* Value, unsigned int count, unsigned int address)
128 {
129 if (_wrapper) {
130 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "Write");
131 PyErr_Clear();
132 if (obj && !PythonQtSlotFunction_Check(obj)) {
133 static const char* argumentList[] ={"unsigned int" , "unsigned int*" , "unsigned int" , "unsigned int"};
134 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList);
135 unsigned int returnValue;
136 void* args[4] = {NULL, (void*)&Value, (void*)&count, (void*)&address};
137 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
138 if (result) {
139 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
140 if (args[0]!=&returnValue) {
141 if (args[0]==NULL) {
142 PythonQt::priv()->handleVirtualOverloadReturnError("Write", methodInfo, result);
143 } else {
144 returnValue = *((unsigned int*)args[0]);
145 }
146 }
147 }
148 if (result) { Py_DECREF(result); }
149 Py_DECREF(obj);
150 return returnValue;
151 }
152 }
153 return socexplorerplugin::Write(Value, count, address);
154 }
155 void PythonQtShell_socexplorerplugin::actionEvent(QActionEvent* arg__1)
156 {
157 if (_wrapper) {
158 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent");
159 PyErr_Clear();
160 if (obj && !PythonQtSlotFunction_Check(obj)) {
161 static const char* argumentList[] ={"" , "QActionEvent*"};
162 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
163 void* args[2] = {NULL, (void*)&arg__1};
164 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
165 if (result) { Py_DECREF(result); }
166 Py_DECREF(obj);
167 return;
168 }
169 }
170 socexplorerplugin::actionEvent(arg__1);
171 }
172 void PythonQtShell_socexplorerplugin::activate(bool flag)
173 {
174 if (_wrapper) {
175 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "activate");
176 PyErr_Clear();
177 if (obj && !PythonQtSlotFunction_Check(obj)) {
178 static const char* argumentList[] ={"" , "bool"};
179 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
180 void* args[2] = {NULL, (void*)&flag};
181 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
182 if (result) { Py_DECREF(result); }
183 Py_DECREF(obj);
184 return;
185 }
186 }
187 socexplorerplugin::activate(flag);
188 }
189 int PythonQtShell_socexplorerplugin::baseAddress()
190 {
191 if (_wrapper) {
192 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "baseAddress");
193 PyErr_Clear();
194 if (obj && !PythonQtSlotFunction_Check(obj)) {
195 static const char* argumentList[] ={"int"};
196 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
197 int returnValue;
198 void* args[1] = {NULL};
199 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
200 if (result) {
201 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
202 if (args[0]!=&returnValue) {
203 if (args[0]==NULL) {
204 PythonQt::priv()->handleVirtualOverloadReturnError("baseAddress", methodInfo, result);
205 } else {
206 returnValue = *((int*)args[0]);
207 }
208 }
209 }
210 if (result) { Py_DECREF(result); }
211 Py_DECREF(obj);
212 return returnValue;
213 }
214 }
215 return socexplorerplugin::baseAddress();
216 }
217 QString PythonQtShell_socexplorerplugin::baseName()
218 {
219 if (_wrapper) {
220 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "baseName");
221 PyErr_Clear();
222 if (obj && !PythonQtSlotFunction_Check(obj)) {
223 static const char* argumentList[] ={"QString"};
224 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
225 QString returnValue;
226 void* args[1] = {NULL};
227 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
228 if (result) {
229 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
230 if (args[0]!=&returnValue) {
231 if (args[0]==NULL) {
232 PythonQt::priv()->handleVirtualOverloadReturnError("baseName", methodInfo, result);
233 } else {
234 returnValue = *((QString*)args[0]);
235 }
236 }
237 }
238 if (result) { Py_DECREF(result); }
239 Py_DECREF(obj);
240 return returnValue;
241 }
242 }
243 return socexplorerplugin::baseName();
244 }
245 void PythonQtShell_socexplorerplugin::changeEvent(QEvent* event)
246 {
247 if (_wrapper) {
248 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent");
249 PyErr_Clear();
250 if (obj && !PythonQtSlotFunction_Check(obj)) {
251 static const char* argumentList[] ={"" , "QEvent*"};
252 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
253 void* args[2] = {NULL, (void*)&event};
254 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
255 if (result) { Py_DECREF(result); }
256 Py_DECREF(obj);
257 return;
258 }
259 }
260 socexplorerplugin::changeEvent(event);
261 }
262 void PythonQtShell_socexplorerplugin::childEvent(QChildEvent* arg__1)
263 {
264 if (_wrapper) {
265 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent");
266 PyErr_Clear();
267 if (obj && !PythonQtSlotFunction_Check(obj)) {
268 static const char* argumentList[] ={"" , "QChildEvent*"};
269 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
270 void* args[2] = {NULL, (void*)&arg__1};
271 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
272 if (result) { Py_DECREF(result); }
273 Py_DECREF(obj);
274 return;
275 }
276 }
277 socexplorerplugin::childEvent(arg__1);
278 }
279 void PythonQtShell_socexplorerplugin::closeEvent(QCloseEvent* event)
280 {
281 if (_wrapper) {
282 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent");
283 PyErr_Clear();
284 if (obj && !PythonQtSlotFunction_Check(obj)) {
285 static const char* argumentList[] ={"" , "QCloseEvent*"};
286 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
287 void* args[2] = {NULL, (void*)&event};
288 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
289 if (result) { Py_DECREF(result); }
290 Py_DECREF(obj);
291 return;
292 }
293 }
294 socexplorerplugin::closeEvent(event);
295 }
296 void PythonQtShell_socexplorerplugin::closeMe()
297 {
298 if (_wrapper) {
299 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeMe");
300 PyErr_Clear();
301 if (obj && !PythonQtSlotFunction_Check(obj)) {
302 static const char* argumentList[] ={""};
303 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
304 void* args[1] = {NULL};
305 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
306 if (result) { Py_DECREF(result); }
307 Py_DECREF(obj);
308 return;
309 }
310 }
311 socexplorerplugin::closeMe();
312 }
313 void PythonQtShell_socexplorerplugin::contextMenuEvent(QContextMenuEvent* arg__1)
314 {
315 if (_wrapper) {
316 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent");
317 PyErr_Clear();
318 if (obj && !PythonQtSlotFunction_Check(obj)) {
319 static const char* argumentList[] ={"" , "QContextMenuEvent*"};
320 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
321 void* args[2] = {NULL, (void*)&arg__1};
322 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
323 if (result) { Py_DECREF(result); }
324 Py_DECREF(obj);
325 return;
326 }
327 }
328 socexplorerplugin::contextMenuEvent(arg__1);
329 }
330 void PythonQtShell_socexplorerplugin::customEvent(QEvent* arg__1)
331 {
332 if (_wrapper) {
333 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent");
334 PyErr_Clear();
335 if (obj && !PythonQtSlotFunction_Check(obj)) {
336 static const char* argumentList[] ={"" , "QEvent*"};
337 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
338 void* args[2] = {NULL, (void*)&arg__1};
339 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
340 if (result) { Py_DECREF(result); }
341 Py_DECREF(obj);
342 return;
343 }
344 }
345 socexplorerplugin::customEvent(arg__1);
346 }
347 int PythonQtShell_socexplorerplugin::devType() const
348 {
349 if (_wrapper) {
350 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType");
351 PyErr_Clear();
352 if (obj && !PythonQtSlotFunction_Check(obj)) {
353 static const char* argumentList[] ={"int"};
354 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
355 int returnValue;
356 void* args[1] = {NULL};
357 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
358 if (result) {
359 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
360 if (args[0]!=&returnValue) {
361 if (args[0]==NULL) {
362 PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result);
363 } else {
364 returnValue = *((int*)args[0]);
365 }
366 }
367 }
368 if (result) { Py_DECREF(result); }
369 Py_DECREF(obj);
370 return returnValue;
371 }
372 }
373 return socexplorerplugin::devType();
374 }
375 void PythonQtShell_socexplorerplugin::dragEnterEvent(QDragEnterEvent* arg__1)
376 {
377 if (_wrapper) {
378 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent");
379 PyErr_Clear();
380 if (obj && !PythonQtSlotFunction_Check(obj)) {
381 static const char* argumentList[] ={"" , "QDragEnterEvent*"};
382 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
383 void* args[2] = {NULL, (void*)&arg__1};
384 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
385 if (result) { Py_DECREF(result); }
386 Py_DECREF(obj);
387 return;
388 }
389 }
390 socexplorerplugin::dragEnterEvent(arg__1);
391 }
392 void PythonQtShell_socexplorerplugin::dragLeaveEvent(QDragLeaveEvent* arg__1)
393 {
394 if (_wrapper) {
395 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent");
396 PyErr_Clear();
397 if (obj && !PythonQtSlotFunction_Check(obj)) {
398 static const char* argumentList[] ={"" , "QDragLeaveEvent*"};
399 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
400 void* args[2] = {NULL, (void*)&arg__1};
401 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
402 if (result) { Py_DECREF(result); }
403 Py_DECREF(obj);
404 return;
405 }
406 }
407 socexplorerplugin::dragLeaveEvent(arg__1);
408 }
409 void PythonQtShell_socexplorerplugin::dragMoveEvent(QDragMoveEvent* arg__1)
410 {
411 if (_wrapper) {
412 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent");
413 PyErr_Clear();
414 if (obj && !PythonQtSlotFunction_Check(obj)) {
415 static const char* argumentList[] ={"" , "QDragMoveEvent*"};
416 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
417 void* args[2] = {NULL, (void*)&arg__1};
418 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
419 if (result) { Py_DECREF(result); }
420 Py_DECREF(obj);
421 return;
422 }
423 }
424 socexplorerplugin::dragMoveEvent(arg__1);
425 }
426 void PythonQtShell_socexplorerplugin::dropEvent(QDropEvent* arg__1)
427 {
428 if (_wrapper) {
429 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent");
430 PyErr_Clear();
431 if (obj && !PythonQtSlotFunction_Check(obj)) {
432 static const char* argumentList[] ={"" , "QDropEvent*"};
433 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
434 void* args[2] = {NULL, (void*)&arg__1};
435 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
436 if (result) { Py_DECREF(result); }
437 Py_DECREF(obj);
438 return;
439 }
440 }
441 socexplorerplugin::dropEvent(arg__1);
442 }
443 void PythonQtShell_socexplorerplugin::enterEvent(QEvent* arg__1)
444 {
445 if (_wrapper) {
446 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent");
447 PyErr_Clear();
448 if (obj && !PythonQtSlotFunction_Check(obj)) {
449 static const char* argumentList[] ={"" , "QEvent*"};
450 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
451 void* args[2] = {NULL, (void*)&arg__1};
452 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
453 if (result) { Py_DECREF(result); }
454 Py_DECREF(obj);
455 return;
456 }
457 }
458 socexplorerplugin::enterEvent(arg__1);
459 }
460 bool PythonQtShell_socexplorerplugin::event(QEvent* event)
461 {
462 if (_wrapper) {
463 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event");
464 PyErr_Clear();
465 if (obj && !PythonQtSlotFunction_Check(obj)) {
466 static const char* argumentList[] ={"bool" , "QEvent*"};
467 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
468 bool returnValue;
469 void* args[2] = {NULL, (void*)&event};
470 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
471 if (result) {
472 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
473 if (args[0]!=&returnValue) {
474 if (args[0]==NULL) {
475 PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result);
476 } else {
477 returnValue = *((bool*)args[0]);
478 }
479 }
480 }
481 if (result) { Py_DECREF(result); }
482 Py_DECREF(obj);
483 return returnValue;
484 }
485 }
486 return socexplorerplugin::event(event);
487 }
488 bool PythonQtShell_socexplorerplugin::eventFilter(QObject* arg__1, QEvent* arg__2)
489 {
490 if (_wrapper) {
491 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter");
492 PyErr_Clear();
493 if (obj && !PythonQtSlotFunction_Check(obj)) {
494 static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"};
495 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
496 bool returnValue;
497 void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2};
498 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
499 if (result) {
500 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
501 if (args[0]!=&returnValue) {
502 if (args[0]==NULL) {
503 PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result);
504 } else {
505 returnValue = *((bool*)args[0]);
506 }
507 }
508 }
509 if (result) { Py_DECREF(result); }
510 Py_DECREF(obj);
511 return returnValue;
512 }
513 }
514 return socexplorerplugin::eventFilter(arg__1, arg__2);
515 }
516 void PythonQtShell_socexplorerplugin::focusInEvent(QFocusEvent* arg__1)
517 {
518 if (_wrapper) {
519 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent");
520 PyErr_Clear();
521 if (obj && !PythonQtSlotFunction_Check(obj)) {
522 static const char* argumentList[] ={"" , "QFocusEvent*"};
523 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
524 void* args[2] = {NULL, (void*)&arg__1};
525 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
526 if (result) { Py_DECREF(result); }
527 Py_DECREF(obj);
528 return;
529 }
530 }
531 socexplorerplugin::focusInEvent(arg__1);
532 }
533 bool PythonQtShell_socexplorerplugin::focusNextPrevChild(bool next)
534 {
535 if (_wrapper) {
536 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild");
537 PyErr_Clear();
538 if (obj && !PythonQtSlotFunction_Check(obj)) {
539 static const char* argumentList[] ={"bool" , "bool"};
540 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
541 bool returnValue;
542 void* args[2] = {NULL, (void*)&next};
543 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
544 if (result) {
545 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
546 if (args[0]!=&returnValue) {
547 if (args[0]==NULL) {
548 PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result);
549 } else {
550 returnValue = *((bool*)args[0]);
551 }
552 }
553 }
554 if (result) { Py_DECREF(result); }
555 Py_DECREF(obj);
556 return returnValue;
557 }
558 }
559 return socexplorerplugin::focusNextPrevChild(next);
560 }
561 void PythonQtShell_socexplorerplugin::focusOutEvent(QFocusEvent* arg__1)
562 {
563 if (_wrapper) {
564 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent");
565 PyErr_Clear();
566 if (obj && !PythonQtSlotFunction_Check(obj)) {
567 static const char* argumentList[] ={"" , "QFocusEvent*"};
568 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
569 void* args[2] = {NULL, (void*)&arg__1};
570 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
571 if (result) { Py_DECREF(result); }
572 Py_DECREF(obj);
573 return;
574 }
575 }
576 socexplorerplugin::focusOutEvent(arg__1);
577 }
578 bool PythonQtShell_socexplorerplugin::hasHeightForWidth() const
579 {
580 if (_wrapper) {
581 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasHeightForWidth");
582 PyErr_Clear();
583 if (obj && !PythonQtSlotFunction_Check(obj)) {
584 static const char* argumentList[] ={"bool"};
585 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
586 bool returnValue;
587 void* args[1] = {NULL};
588 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
589 if (result) {
590 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
591 if (args[0]!=&returnValue) {
592 if (args[0]==NULL) {
593 PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result);
594 } else {
595 returnValue = *((bool*)args[0]);
596 }
597 }
598 }
599 if (result) { Py_DECREF(result); }
600 Py_DECREF(obj);
601 return returnValue;
602 }
603 }
604 return socexplorerplugin::hasHeightForWidth();
605 }
606 int PythonQtShell_socexplorerplugin::heightForWidth(int arg__1) const
607 {
608 if (_wrapper) {
609 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth");
610 PyErr_Clear();
611 if (obj && !PythonQtSlotFunction_Check(obj)) {
612 static const char* argumentList[] ={"int" , "int"};
613 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
614 int returnValue;
615 void* args[2] = {NULL, (void*)&arg__1};
616 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
617 if (result) {
618 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
619 if (args[0]!=&returnValue) {
620 if (args[0]==NULL) {
621 PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result);
622 } else {
623 returnValue = *((int*)args[0]);
624 }
625 }
626 }
627 if (result) { Py_DECREF(result); }
628 Py_DECREF(obj);
629 return returnValue;
630 }
631 }
632 return socexplorerplugin::heightForWidth(arg__1);
633 }
634 void PythonQtShell_socexplorerplugin::hideEvent(QHideEvent* arg__1)
635 {
636 if (_wrapper) {
637 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent");
638 PyErr_Clear();
639 if (obj && !PythonQtSlotFunction_Check(obj)) {
640 static const char* argumentList[] ={"" , "QHideEvent*"};
641 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
642 void* args[2] = {NULL, (void*)&arg__1};
643 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
644 if (result) { Py_DECREF(result); }
645 Py_DECREF(obj);
646 return;
647 }
648 }
649 socexplorerplugin::hideEvent(arg__1);
650 }
651 void PythonQtShell_socexplorerplugin::initPainter(QPainter* painter) const
652 {
653 if (_wrapper) {
654 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "initPainter");
655 PyErr_Clear();
656 if (obj && !PythonQtSlotFunction_Check(obj)) {
657 static const char* argumentList[] ={"" , "QPainter*"};
658 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
659 void* args[2] = {NULL, (void*)&painter};
660 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
661 if (result) { Py_DECREF(result); }
662 Py_DECREF(obj);
663 return;
664 }
665 }
666 socexplorerplugin::initPainter(painter);
667 }
668 void PythonQtShell_socexplorerplugin::inputMethodEvent(QInputMethodEvent* arg__1)
669 {
670 if (_wrapper) {
671 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent");
672 PyErr_Clear();
673 if (obj && !PythonQtSlotFunction_Check(obj)) {
674 static const char* argumentList[] ={"" , "QInputMethodEvent*"};
675 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
676 void* args[2] = {NULL, (void*)&arg__1};
677 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
678 if (result) { Py_DECREF(result); }
679 Py_DECREF(obj);
680 return;
681 }
682 }
683 socexplorerplugin::inputMethodEvent(arg__1);
684 }
685 QVariant PythonQtShell_socexplorerplugin::inputMethodQuery(Qt::InputMethodQuery arg__1) const
686 {
687 if (_wrapper) {
688 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery");
689 PyErr_Clear();
690 if (obj && !PythonQtSlotFunction_Check(obj)) {
691 static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"};
692 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
693 QVariant returnValue;
694 void* args[2] = {NULL, (void*)&arg__1};
695 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
696 if (result) {
697 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
698 if (args[0]!=&returnValue) {
699 if (args[0]==NULL) {
700 PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result);
701 } else {
702 returnValue = *((QVariant*)args[0]);
703 }
704 }
705 }
706 if (result) { Py_DECREF(result); }
707 Py_DECREF(obj);
708 return returnValue;
709 }
710 }
711 return socexplorerplugin::inputMethodQuery(arg__1);
712 }
713 int PythonQtShell_socexplorerplugin::isConnected()
714 {
715 if (_wrapper) {
716 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isConnected");
717 PyErr_Clear();
718 if (obj && !PythonQtSlotFunction_Check(obj)) {
719 static const char* argumentList[] ={"int"};
720 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
721 int returnValue;
722 void* args[1] = {NULL};
723 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
724 if (result) {
725 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
726 if (args[0]!=&returnValue) {
727 if (args[0]==NULL) {
728 PythonQt::priv()->handleVirtualOverloadReturnError("isConnected", methodInfo, result);
729 } else {
730 returnValue = *((int*)args[0]);
731 }
732 }
733 }
734 if (result) { Py_DECREF(result); }
735 Py_DECREF(obj);
736 return returnValue;
737 }
738 }
739 return socexplorerplugin::isConnected();
740 }
741 void PythonQtShell_socexplorerplugin::keyPressEvent(QKeyEvent* arg__1)
742 {
743 if (_wrapper) {
744 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent");
745 PyErr_Clear();
746 if (obj && !PythonQtSlotFunction_Check(obj)) {
747 static const char* argumentList[] ={"" , "QKeyEvent*"};
748 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
749 void* args[2] = {NULL, (void*)&arg__1};
750 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
751 if (result) { Py_DECREF(result); }
752 Py_DECREF(obj);
753 return;
754 }
755 }
756 socexplorerplugin::keyPressEvent(arg__1);
757 }
758 void PythonQtShell_socexplorerplugin::keyReleaseEvent(QKeyEvent* arg__1)
759 {
760 if (_wrapper) {
761 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent");
762 PyErr_Clear();
763 if (obj && !PythonQtSlotFunction_Check(obj)) {
764 static const char* argumentList[] ={"" , "QKeyEvent*"};
765 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
766 void* args[2] = {NULL, (void*)&arg__1};
767 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
768 if (result) { Py_DECREF(result); }
769 Py_DECREF(obj);
770 return;
771 }
772 }
773 socexplorerplugin::keyReleaseEvent(arg__1);
774 }
775 void PythonQtShell_socexplorerplugin::leaveEvent(QEvent* arg__1)
776 {
777 if (_wrapper) {
778 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent");
779 PyErr_Clear();
780 if (obj && !PythonQtSlotFunction_Check(obj)) {
781 static const char* argumentList[] ={"" , "QEvent*"};
782 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
783 void* args[2] = {NULL, (void*)&arg__1};
784 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
785 if (result) { Py_DECREF(result); }
786 Py_DECREF(obj);
787 return;
788 }
789 }
790 socexplorerplugin::leaveEvent(arg__1);
791 }
792 int PythonQtShell_socexplorerplugin::metric(QPaintDevice::PaintDeviceMetric arg__1) const
793 {
794 if (_wrapper) {
795 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric");
796 PyErr_Clear();
797 if (obj && !PythonQtSlotFunction_Check(obj)) {
798 static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"};
799 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
800 int returnValue;
801 void* args[2] = {NULL, (void*)&arg__1};
802 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
803 if (result) {
804 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
805 if (args[0]!=&returnValue) {
806 if (args[0]==NULL) {
807 PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result);
808 } else {
809 returnValue = *((int*)args[0]);
810 }
811 }
812 }
813 if (result) { Py_DECREF(result); }
814 Py_DECREF(obj);
815 return returnValue;
816 }
817 }
818 return socexplorerplugin::metric(arg__1);
819 }
820 QSize PythonQtShell_socexplorerplugin::minimumSizeHint() const
821 {
822 if (_wrapper) {
823 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint");
824 PyErr_Clear();
825 if (obj && !PythonQtSlotFunction_Check(obj)) {
826 static const char* argumentList[] ={"QSize"};
827 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
828 QSize returnValue;
829 void* args[1] = {NULL};
830 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
831 if (result) {
832 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
833 if (args[0]!=&returnValue) {
834 if (args[0]==NULL) {
835 PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result);
836 } else {
837 returnValue = *((QSize*)args[0]);
838 }
839 }
840 }
841 if (result) { Py_DECREF(result); }
842 Py_DECREF(obj);
843 return returnValue;
844 }
845 }
846 return socexplorerplugin::minimumSizeHint();
847 }
848 void PythonQtShell_socexplorerplugin::mouseDoubleClickEvent(QMouseEvent* arg__1)
849 {
850 if (_wrapper) {
851 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent");
852 PyErr_Clear();
853 if (obj && !PythonQtSlotFunction_Check(obj)) {
854 static const char* argumentList[] ={"" , "QMouseEvent*"};
855 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
856 void* args[2] = {NULL, (void*)&arg__1};
857 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
858 if (result) { Py_DECREF(result); }
859 Py_DECREF(obj);
860 return;
861 }
862 }
863 socexplorerplugin::mouseDoubleClickEvent(arg__1);
864 }
865 void PythonQtShell_socexplorerplugin::mouseMoveEvent(QMouseEvent* arg__1)
866 {
867 if (_wrapper) {
868 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent");
869 PyErr_Clear();
870 if (obj && !PythonQtSlotFunction_Check(obj)) {
871 static const char* argumentList[] ={"" , "QMouseEvent*"};
872 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
873 void* args[2] = {NULL, (void*)&arg__1};
874 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
875 if (result) { Py_DECREF(result); }
876 Py_DECREF(obj);
877 return;
878 }
879 }
880 socexplorerplugin::mouseMoveEvent(arg__1);
881 }
882 void PythonQtShell_socexplorerplugin::mousePressEvent(QMouseEvent* arg__1)
883 {
884 if (_wrapper) {
885 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent");
886 PyErr_Clear();
887 if (obj && !PythonQtSlotFunction_Check(obj)) {
888 static const char* argumentList[] ={"" , "QMouseEvent*"};
889 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
890 void* args[2] = {NULL, (void*)&arg__1};
891 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
892 if (result) { Py_DECREF(result); }
893 Py_DECREF(obj);
894 return;
895 }
896 }
897 socexplorerplugin::mousePressEvent(arg__1);
898 }
899 void PythonQtShell_socexplorerplugin::mouseReleaseEvent(QMouseEvent* arg__1)
900 {
901 if (_wrapper) {
902 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent");
903 PyErr_Clear();
904 if (obj && !PythonQtSlotFunction_Check(obj)) {
905 static const char* argumentList[] ={"" , "QMouseEvent*"};
906 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
907 void* args[2] = {NULL, (void*)&arg__1};
908 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
909 if (result) { Py_DECREF(result); }
910 Py_DECREF(obj);
911 return;
912 }
913 }
914 socexplorerplugin::mouseReleaseEvent(arg__1);
915 }
916 void PythonQtShell_socexplorerplugin::moveEvent(QMoveEvent* arg__1)
917 {
918 if (_wrapper) {
919 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent");
920 PyErr_Clear();
921 if (obj && !PythonQtSlotFunction_Check(obj)) {
922 static const char* argumentList[] ={"" , "QMoveEvent*"};
923 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
924 void* args[2] = {NULL, (void*)&arg__1};
925 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
926 if (result) { Py_DECREF(result); }
927 Py_DECREF(obj);
928 return;
929 }
930 }
931 socexplorerplugin::moveEvent(arg__1);
932 }
933 bool PythonQtShell_socexplorerplugin::nativeEvent(const QByteArray& eventType, void* message, long* result)
934 {
935 if (_wrapper) {
936 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nativeEvent");
937 PyErr_Clear();
938 if (obj && !PythonQtSlotFunction_Check(obj)) {
939 static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"};
940 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList);
941 bool returnValue;
942 void* args[4] = {NULL, (void*)&eventType, (void*)&message, (void*)&result};
943 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
944 if (result) {
945 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
946 if (args[0]!=&returnValue) {
947 if (args[0]==NULL) {
948 PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result);
949 } else {
950 returnValue = *((bool*)args[0]);
951 }
952 }
953 }
954 if (result) { Py_DECREF(result); }
955 Py_DECREF(obj);
956 return returnValue;
957 }
958 }
959 return socexplorerplugin::nativeEvent(eventType, message, result);
960 }
961 QPaintEngine* PythonQtShell_socexplorerplugin::paintEngine() const
962 {
963 if (_wrapper) {
964 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine");
965 PyErr_Clear();
966 if (obj && !PythonQtSlotFunction_Check(obj)) {
967 static const char* argumentList[] ={"QPaintEngine*"};
968 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
969 QPaintEngine* returnValue;
970 void* args[1] = {NULL};
971 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
972 if (result) {
973 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
974 if (args[0]!=&returnValue) {
975 if (args[0]==NULL) {
976 PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result);
977 } else {
978 returnValue = *((QPaintEngine**)args[0]);
979 }
980 }
981 }
982 if (result) { Py_DECREF(result); }
983 Py_DECREF(obj);
984 return returnValue;
985 }
986 }
987 return socexplorerplugin::paintEngine();
988 }
989 void PythonQtShell_socexplorerplugin::paintEvent(QPaintEvent* event)
990 {
991 if (_wrapper) {
992 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent");
993 PyErr_Clear();
994 if (obj && !PythonQtSlotFunction_Check(obj)) {
995 static const char* argumentList[] ={"" , "QPaintEvent*"};
996 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
997 void* args[2] = {NULL, (void*)&event};
998 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
999 if (result) { Py_DECREF(result); }
1000 Py_DECREF(obj);
1001 return;
1002 }
1003 }
1004 socexplorerplugin::paintEvent(event);
1005 }
1006 void PythonQtShell_socexplorerplugin::postInstantiationTrigger()
1007 {
1008 if (_wrapper) {
1009 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "postInstantiationTrigger");
1010 PyErr_Clear();
1011 if (obj && !PythonQtSlotFunction_Check(obj)) {
1012 static const char* argumentList[] ={""};
1013 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
1014 void* args[1] = {NULL};
1015 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1016 if (result) { Py_DECREF(result); }
1017 Py_DECREF(obj);
1018 return;
1019 }
1020 }
1021 socexplorerplugin::postInstantiationTrigger();
1022 }
1023 QPaintDevice* PythonQtShell_socexplorerplugin::redirected(QPoint* offset) const
1024 {
1025 if (_wrapper) {
1026 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "redirected");
1027 PyErr_Clear();
1028 if (obj && !PythonQtSlotFunction_Check(obj)) {
1029 static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"};
1030 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1031 QPaintDevice* returnValue;
1032 void* args[2] = {NULL, (void*)&offset};
1033 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1034 if (result) {
1035 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
1036 if (args[0]!=&returnValue) {
1037 if (args[0]==NULL) {
1038 PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result);
1039 } else {
1040 returnValue = *((QPaintDevice**)args[0]);
1041 }
1042 }
1043 }
1044 if (result) { Py_DECREF(result); }
1045 Py_DECREF(obj);
1046 return returnValue;
1047 }
1048 }
1049 return socexplorerplugin::redirected(offset);
1050 }
1051 int PythonQtShell_socexplorerplugin::registermenu(QMenu* menu)
1052 {
1053 if (_wrapper) {
1054 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "registermenu");
1055 PyErr_Clear();
1056 if (obj && !PythonQtSlotFunction_Check(obj)) {
1057 static const char* argumentList[] ={"int" , "QMenu*"};
1058 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1059 int returnValue;
1060 void* args[2] = {NULL, (void*)&menu};
1061 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1062 if (result) {
1063 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
1064 if (args[0]!=&returnValue) {
1065 if (args[0]==NULL) {
1066 PythonQt::priv()->handleVirtualOverloadReturnError("registermenu", methodInfo, result);
1067 } else {
1068 returnValue = *((int*)args[0]);
1069 }
1070 }
1071 }
1072 if (result) { Py_DECREF(result); }
1073 Py_DECREF(obj);
1074 return returnValue;
1075 }
1076 }
1077 return socexplorerplugin::registermenu(menu);
1078 }
1079 void PythonQtShell_socexplorerplugin::resizeEvent(QResizeEvent* arg__1)
1080 {
1081 if (_wrapper) {
1082 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent");
1083 PyErr_Clear();
1084 if (obj && !PythonQtSlotFunction_Check(obj)) {
1085 static const char* argumentList[] ={"" , "QResizeEvent*"};
1086 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1087 void* args[2] = {NULL, (void*)&arg__1};
1088 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1089 if (result) { Py_DECREF(result); }
1090 Py_DECREF(obj);
1091 return;
1092 }
1093 }
1094 socexplorerplugin::resizeEvent(arg__1);
1095 }
1096 void PythonQtShell_socexplorerplugin::setBaseAddress(unsigned int baseAddress)
1097 {
1098 if (_wrapper) {
1099 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setBaseAddress");
1100 PyErr_Clear();
1101 if (obj && !PythonQtSlotFunction_Check(obj)) {
1102 static const char* argumentList[] ={"" , "unsigned int"};
1103 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1104 void* args[2] = {NULL, (void*)&baseAddress};
1105 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1106 if (result) { Py_DECREF(result); }
1107 Py_DECREF(obj);
1108 return;
1109 }
1110 }
1111 socexplorerplugin::setBaseAddress(baseAddress);
1112 }
1113 void PythonQtShell_socexplorerplugin::setInstanceName(const QString& newName)
1114 {
1115 if (_wrapper) {
1116 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setInstanceName");
1117 PyErr_Clear();
1118 if (obj && !PythonQtSlotFunction_Check(obj)) {
1119 static const char* argumentList[] ={"" , "const QString&"};
1120 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1121 void* args[2] = {NULL, (void*)&newName};
1122 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1123 if (result) { Py_DECREF(result); }
1124 Py_DECREF(obj);
1125 return;
1126 }
1127 }
1128 socexplorerplugin::setInstanceName(newName);
1129 }
1130 QPainter* PythonQtShell_socexplorerplugin::sharedPainter() const
1131 {
1132 if (_wrapper) {
1133 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sharedPainter");
1134 PyErr_Clear();
1135 if (obj && !PythonQtSlotFunction_Check(obj)) {
1136 static const char* argumentList[] ={"QPainter*"};
1137 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
1138 QPainter* returnValue;
1139 void* args[1] = {NULL};
1140 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1141 if (result) {
1142 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
1143 if (args[0]!=&returnValue) {
1144 if (args[0]==NULL) {
1145 PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result);
1146 } else {
1147 returnValue = *((QPainter**)args[0]);
1148 }
1149 }
1150 }
1151 if (result) { Py_DECREF(result); }
1152 Py_DECREF(obj);
1153 return returnValue;
1154 }
1155 }
1156 return socexplorerplugin::sharedPainter();
1157 }
1158 void PythonQtShell_socexplorerplugin::showEvent(QShowEvent* arg__1)
1159 {
1160 if (_wrapper) {
1161 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent");
1162 PyErr_Clear();
1163 if (obj && !PythonQtSlotFunction_Check(obj)) {
1164 static const char* argumentList[] ={"" , "QShowEvent*"};
1165 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1166 void* args[2] = {NULL, (void*)&arg__1};
1167 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1168 if (result) { Py_DECREF(result); }
1169 Py_DECREF(obj);
1170 return;
1171 }
1172 }
1173 socexplorerplugin::showEvent(arg__1);
1174 }
1175 QSize PythonQtShell_socexplorerplugin::sizeHint() const
1176 {
1177 if (_wrapper) {
1178 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint");
1179 PyErr_Clear();
1180 if (obj && !PythonQtSlotFunction_Check(obj)) {
1181 static const char* argumentList[] ={"QSize"};
1182 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
1183 QSize returnValue;
1184 void* args[1] = {NULL};
1185 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1186 if (result) {
1187 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
1188 if (args[0]!=&returnValue) {
1189 if (args[0]==NULL) {
1190 PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result);
1191 } else {
1192 returnValue = *((QSize*)args[0]);
1193 }
1194 }
1195 }
1196 if (result) { Py_DECREF(result); }
1197 Py_DECREF(obj);
1198 return returnValue;
1199 }
1200 }
1201 return socexplorerplugin::sizeHint();
1202 }
1203 void PythonQtShell_socexplorerplugin::tabletEvent(QTabletEvent* arg__1)
1204 {
1205 if (_wrapper) {
1206 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent");
1207 PyErr_Clear();
1208 if (obj && !PythonQtSlotFunction_Check(obj)) {
1209 static const char* argumentList[] ={"" , "QTabletEvent*"};
1210 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1211 void* args[2] = {NULL, (void*)&arg__1};
1212 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1213 if (result) { Py_DECREF(result); }
1214 Py_DECREF(obj);
1215 return;
1216 }
1217 }
1218 socexplorerplugin::tabletEvent(arg__1);
1219 }
1220 void PythonQtShell_socexplorerplugin::timerEvent(QTimerEvent* arg__1)
1221 {
1222 if (_wrapper) {
1223 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent");
1224 PyErr_Clear();
1225 if (obj && !PythonQtSlotFunction_Check(obj)) {
1226 static const char* argumentList[] ={"" , "QTimerEvent*"};
1227 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1228 void* args[2] = {NULL, (void*)&arg__1};
1229 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1230 if (result) { Py_DECREF(result); }
1231 Py_DECREF(obj);
1232 return;
1233 }
1234 }
1235 socexplorerplugin::timerEvent(arg__1);
1236 }
1237 void PythonQtShell_socexplorerplugin::wheelEvent(QWheelEvent* arg__1)
1238 {
1239 if (_wrapper) {
1240 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent");
1241 PyErr_Clear();
1242 if (obj && !PythonQtSlotFunction_Check(obj)) {
1243 static const char* argumentList[] ={"" , "QWheelEvent*"};
1244 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1245 void* args[2] = {NULL, (void*)&arg__1};
1246 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1247 if (result) { Py_DECREF(result); }
1248 Py_DECREF(obj);
1249 return;
1250 }
1251 }
1252 socexplorerplugin::wheelEvent(arg__1);
1253 }
1254 socexplorerplugin* PythonQtWrapper_socexplorerplugin::new_socexplorerplugin(QWidget* parent, bool createPyObject)
1255 {
1256 return new PythonQtShell_socexplorerplugin(parent, createPyObject); }
1257
1258 int PythonQtWrapper_socexplorerplugin::PID(socexplorerplugin* theWrappedObject)
1259 {
1260 return ( ((PythonQtPublicPromoter_socexplorerplugin*)theWrappedObject)->promoted_PID());
1261 }
1262
1263 unsigned int PythonQtWrapper_socexplorerplugin::Read(socexplorerplugin* theWrappedObject, unsigned int* Value, unsigned int count, unsigned int address)
1264 {
1265 return ( ((PythonQtPublicPromoter_socexplorerplugin*)theWrappedObject)->promoted_Read(Value, count, address));
1266 }
1267
1268 int PythonQtWrapper_socexplorerplugin::VID(socexplorerplugin* theWrappedObject)
1269 {
1270 return ( ((PythonQtPublicPromoter_socexplorerplugin*)theWrappedObject)->promoted_VID());
1271 }
1272
1273 unsigned int PythonQtWrapper_socexplorerplugin::Write(socexplorerplugin* theWrappedObject, unsigned int* Value, unsigned int count, unsigned int address)
1274 {
1275 return ( ((PythonQtPublicPromoter_socexplorerplugin*)theWrappedObject)->promoted_Write(Value, count, address));
1276 }
1277
1278 void PythonQtWrapper_socexplorerplugin::activate(socexplorerplugin* theWrappedObject, bool flag)
1279 {
1280 ( ((PythonQtPublicPromoter_socexplorerplugin*)theWrappedObject)->promoted_activate(flag));
1281 }
1282
1283 int PythonQtWrapper_socexplorerplugin::baseAddress(socexplorerplugin* theWrappedObject)
1284 {
1285 return ( ((PythonQtPublicPromoter_socexplorerplugin*)theWrappedObject)->promoted_baseAddress());
1286 }
1287
1288 QString PythonQtWrapper_socexplorerplugin::baseName(socexplorerplugin* theWrappedObject)
1289 {
1290 return ( ((PythonQtPublicPromoter_socexplorerplugin*)theWrappedObject)->promoted_baseName());
1291 }
1292
1293 void PythonQtWrapper_socexplorerplugin::closeMe(socexplorerplugin* theWrappedObject)
1294 {
1295 ( ((PythonQtPublicPromoter_socexplorerplugin*)theWrappedObject)->promoted_closeMe());
1296 }
1297
1298 QString PythonQtWrapper_socexplorerplugin::instanceName(socexplorerplugin* theWrappedObject)
1299 {
1300 return ( theWrappedObject->instanceName());
1301 }
1302
1303 int PythonQtWrapper_socexplorerplugin::isConnected(socexplorerplugin* theWrappedObject)
1304 {
1305 return ( ((PythonQtPublicPromoter_socexplorerplugin*)theWrappedObject)->promoted_isConnected());
1306 }
1307
1308 void PythonQtWrapper_socexplorerplugin::postInstantiationTrigger(socexplorerplugin* theWrappedObject)
1309 {
1310 ( ((PythonQtPublicPromoter_socexplorerplugin*)theWrappedObject)->promoted_postInstantiationTrigger());
1311 }
1312
1313 int PythonQtWrapper_socexplorerplugin::registermenu(socexplorerplugin* theWrappedObject, QMenu* menu)
1314 {
1315 return ( ((PythonQtPublicPromoter_socexplorerplugin*)theWrappedObject)->promoted_registermenu(menu));
1316 }
1317
1318 void PythonQtWrapper_socexplorerplugin::setBaseAddress(socexplorerplugin* theWrappedObject, unsigned int baseAddress)
1319 {
1320 ( ((PythonQtPublicPromoter_socexplorerplugin*)theWrappedObject)->promoted_setBaseAddress(baseAddress));
1321 }
1322
1323 void PythonQtWrapper_socexplorerplugin::setInstanceName(socexplorerplugin* theWrappedObject, const QString& newName)
1324 {
1325 ( ((PythonQtPublicPromoter_socexplorerplugin*)theWrappedObject)->promoted_setInstanceName(newName));
1326 }
1327
1328
@@ -0,0 +1,156
1 #include <PythonQt.h>
2 #include <QIconEngine>
3 #include <QObject>
4 #include <QVariant>
5 #include <qaction.h>
6 #include <qbitmap.h>
7 #include <qbytearray.h>
8 #include <qcoreevent.h>
9 #include <qcursor.h>
10 #include <qdockwidget.h>
11 #include <qevent.h>
12 #include <qfont.h>
13 #include <qgraphicseffect.h>
14 #include <qgraphicsproxywidget.h>
15 #include <qkeysequence.h>
16 #include <qlayout.h>
17 #include <qlist.h>
18 #include <qlocale.h>
19 #include <qmargins.h>
20 #include <qmenu.h>
21 #include <qobject.h>
22 #include <qpaintdevice.h>
23 #include <qpaintengine.h>
24 #include <qpainter.h>
25 #include <qpalette.h>
26 #include <qpixmap.h>
27 #include <qpoint.h>
28 #include <qrect.h>
29 #include <qregion.h>
30 #include <qsize.h>
31 #include <qsizepolicy.h>
32 #include <qstyle.h>
33 #include <qstyleoption.h>
34 #include <qwidget.h>
35 #include <socexplorerplugin.h>
36
37
38
39 class PythonQtShell_socexplorerplugin : public socexplorerplugin
40 {
41 public:
42 PythonQtShell_socexplorerplugin(QWidget* parent = 0, bool createPyObject = true):socexplorerplugin(parent, createPyObject),_wrapper(NULL) {};
43
44 ~PythonQtShell_socexplorerplugin();
45
46 virtual int PID();
47 virtual unsigned int Read(unsigned int* Value, unsigned int count, unsigned int address);
48 virtual int VID();
49 virtual unsigned int Write(unsigned int* Value, unsigned int count, unsigned int address);
50 virtual void actionEvent(QActionEvent* arg__1);
51 virtual void activate(bool flag);
52 virtual int baseAddress();
53 virtual QString baseName();
54 virtual void changeEvent(QEvent* event);
55 virtual void childEvent(QChildEvent* arg__1);
56 virtual void closeEvent(QCloseEvent* event);
57 virtual void closeMe();
58 virtual void contextMenuEvent(QContextMenuEvent* arg__1);
59 virtual void customEvent(QEvent* arg__1);
60 virtual int devType() const;
61 virtual void dragEnterEvent(QDragEnterEvent* arg__1);
62 virtual void dragLeaveEvent(QDragLeaveEvent* arg__1);
63 virtual void dragMoveEvent(QDragMoveEvent* arg__1);
64 virtual void dropEvent(QDropEvent* arg__1);
65 virtual void enterEvent(QEvent* arg__1);
66 virtual bool event(QEvent* event);
67 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
68 virtual void focusInEvent(QFocusEvent* arg__1);
69 virtual bool focusNextPrevChild(bool next);
70 virtual void focusOutEvent(QFocusEvent* arg__1);
71 virtual bool hasHeightForWidth() const;
72 virtual int heightForWidth(int arg__1) const;
73 virtual void hideEvent(QHideEvent* arg__1);
74 virtual void initPainter(QPainter* painter) const;
75 virtual void inputMethodEvent(QInputMethodEvent* arg__1);
76 virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const;
77 virtual int isConnected();
78 virtual void keyPressEvent(QKeyEvent* arg__1);
79 virtual void keyReleaseEvent(QKeyEvent* arg__1);
80 virtual void leaveEvent(QEvent* arg__1);
81 virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
82 virtual QSize minimumSizeHint() const;
83 virtual void mouseDoubleClickEvent(QMouseEvent* arg__1);
84 virtual void mouseMoveEvent(QMouseEvent* arg__1);
85 virtual void mousePressEvent(QMouseEvent* arg__1);
86 virtual void mouseReleaseEvent(QMouseEvent* arg__1);
87 virtual void moveEvent(QMoveEvent* arg__1);
88 virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result);
89 virtual QPaintEngine* paintEngine() const;
90 virtual void paintEvent(QPaintEvent* event);
91 virtual void postInstantiationTrigger();
92 virtual QPaintDevice* redirected(QPoint* offset) const;
93 virtual int registermenu(QMenu* menu);
94 virtual void resizeEvent(QResizeEvent* arg__1);
95 virtual void setBaseAddress(unsigned int baseAddress);
96 virtual void setInstanceName(const QString& newName);
97 virtual QPainter* sharedPainter() const;
98 virtual void showEvent(QShowEvent* arg__1);
99 virtual QSize sizeHint() const;
100 virtual void tabletEvent(QTabletEvent* arg__1);
101 virtual void timerEvent(QTimerEvent* arg__1);
102 virtual void wheelEvent(QWheelEvent* arg__1);
103
104 PythonQtInstanceWrapper* _wrapper;
105 };
106
107 class PythonQtPublicPromoter_socexplorerplugin : public socexplorerplugin
108 { public:
109 inline int promoted_PID() { return socexplorerplugin::PID(); }
110 inline unsigned int promoted_Read(unsigned int* Value, unsigned int count, unsigned int address) { return socexplorerplugin::Read(Value, count, address); }
111 inline int promoted_VID() { return socexplorerplugin::VID(); }
112 inline unsigned int promoted_Write(unsigned int* Value, unsigned int count, unsigned int address) { return socexplorerplugin::Write(Value, count, address); }
113 inline void promoted_activate(bool flag) { socexplorerplugin::activate(flag); }
114 inline int promoted_baseAddress() { return socexplorerplugin::baseAddress(); }
115 inline QString promoted_baseName() { return socexplorerplugin::baseName(); }
116 inline void promoted_closeMe() { socexplorerplugin::closeMe(); }
117 inline int promoted_isConnected() { return socexplorerplugin::isConnected(); }
118 inline void promoted_postInstantiationTrigger() { socexplorerplugin::postInstantiationTrigger(); }
119 inline int promoted_registermenu(QMenu* menu) { return socexplorerplugin::registermenu(menu); }
120 inline void promoted_setBaseAddress(unsigned int baseAddress) { socexplorerplugin::setBaseAddress(baseAddress); }
121 inline void promoted_setInstanceName(const QString& newName) { socexplorerplugin::setInstanceName(newName); }
122 };
123
124 class PythonQtWrapper_socexplorerplugin : public QObject
125 { Q_OBJECT
126 public:
127 public slots:
128 socexplorerplugin* new_socexplorerplugin(QWidget* parent = 0, bool createPyObject = true);
129 void delete_socexplorerplugin(socexplorerplugin* obj) { delete obj; }
130 int PID(socexplorerplugin* theWrappedObject);
131 unsigned int Read(socexplorerplugin* theWrappedObject, unsigned int* Value, unsigned int count, unsigned int address);
132 int VID(socexplorerplugin* theWrappedObject);
133 unsigned int Write(socexplorerplugin* theWrappedObject, unsigned int* Value, unsigned int count, unsigned int address);
134 void activate(socexplorerplugin* theWrappedObject, bool flag);
135 int baseAddress(socexplorerplugin* theWrappedObject);
136 QString baseName(socexplorerplugin* theWrappedObject);
137 void closeMe(socexplorerplugin* theWrappedObject);
138 QString instanceName(socexplorerplugin* theWrappedObject);
139 int isConnected(socexplorerplugin* theWrappedObject);
140 void postInstantiationTrigger(socexplorerplugin* theWrappedObject);
141 int registermenu(socexplorerplugin* theWrappedObject, QMenu* menu);
142 void setBaseAddress(socexplorerplugin* theWrappedObject, unsigned int baseAddress);
143 void setInstanceName(socexplorerplugin* theWrappedObject, const QString& newName);
144 void py_set_parent(socexplorerplugin* theWrappedObject, socexplorerplugin* parent){ theWrappedObject->parent = parent; }
145 socexplorerplugin* py_get_parent(socexplorerplugin* theWrappedObject){ return theWrappedObject->parent; }
146 void py_set_menu(socexplorerplugin* theWrappedObject, QMenu* menu){ theWrappedObject->menu = menu; }
147 QMenu* py_get_menu(socexplorerplugin* theWrappedObject){ return theWrappedObject->menu; }
148 void py_set_ChildsMenu(socexplorerplugin* theWrappedObject, QMenu* ChildsMenu){ theWrappedObject->ChildsMenu = ChildsMenu; }
149 QMenu* py_get_ChildsMenu(socexplorerplugin* theWrappedObject){ return theWrappedObject->ChildsMenu; }
150 void py_set_closeAction(socexplorerplugin* theWrappedObject, QAction* closeAction){ theWrappedObject->closeAction = closeAction; }
151 QAction* py_get_closeAction(socexplorerplugin* theWrappedObject){ return theWrappedObject->closeAction; }
152 void py_set_childs(socexplorerplugin* theWrappedObject, QList<socexplorerplugin* > childs){ theWrappedObject->childs = childs; }
153 QList<socexplorerplugin* > py_get_childs(socexplorerplugin* theWrappedObject){ return theWrappedObject->childs; }
154 };
155
156
@@ -0,0 +1,8
1 #include <PythonQt.h>
2 #include "PySocExplorerEngine0.h"
3
4
5 void PythonQt_init_PySocExplorerEngine(PyObject* module) {
6 PythonQt::priv()->registerClass(&socexplorerplugin::staticMetaObject, "PySocExplorerEngine", PythonQtCreateObject<PythonQtWrapper_socexplorerplugin>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_socexplorerplugin>, module, 0);
7
8 }
@@ -0,0 +1,16
1 <typesystem package="PySocExplorerEngine" default-superclass="com.trolltech.qt.QtJambiObject">
2 <load-typesystem name=":/trolltech/generator/typesystem_core.txt" generate="no" />
3 <load-typesystem name=":/trolltech/generator/typesystem_gui.txt" generate="no" />
4 <load-typesystem name=":/trolltech/generator/typesystem_network.txt" generate="no" />
5
6 <interface-type name="socexplorerplugin"/>
7
8 </typesystem>
9
10
11
12
13
14
15
16
@@ -0,0 +1,6
1 #!/bin/bash
2
3 #export QTDIR=/usr/include
4 #export QTDIR=/usr/include/qt5
5
6 pythonqt_generator --include-paths=./plugins:/usr/include/qt5:/usr/include/qt5/QtCore:/usr/include/qt5/QtWidgets --output-directory=pythonQtOut PySocExplorerEngine.h pythonQtgeneratorCfg.txt
@@ -1,4 +1,4
1 1 2c82d72694590cbc2aebb946667f11f60ea89afe src/SocExplorerEngine/PeripheralWidget
2 2 e0f25227d6283e833fbb70c5fc1bdc6c3ca8060e src/common/genericBinaryFiles
3 3 2dce25b198558be573f56c1cf337aa95ddd666d6 src/common/lppserial
4 a4274329c9f05c742b3eb9753e77c47d27e838e9 src/common/qhexedit
4 923afde9cc96bb419cf898560d080ec96991aeca src/common/qhexedit
@@ -1,86 +1,86
1 1 #-------------------------------------------------
2 2 #
3 3 # Project created by QtCreator 2011-09-19T22:52:10
4 4 #
5 5 #-------------------------------------------------
6 6
7 7 TEMPLATE = subdirs
8 8 CONFIG += ordered release
9 9
10 10 SUBDIRS = \
11 11 src/common \
12 12 src/SocExplorerEngine \
13 13 src \
14 14 src/SocExplorer_TCP_Terminal
15 15
16 16
17 17 socexplorercfg.path = $$[QT_INSTALL_PREFIX]/mkspecs/features
18 18 socexplorercfg.files = \
19 19 src/SocExplorerEngine/plugins/socexplorerplugin.prf
20 20
21 21
22 22 unix{
23 23 SocExplorer.path = /usr/share/applications/
24 24 SocExplorer.files = unixcfg/SocExplorer.desktop
25 icon.path = /etc/SocExplorer
26 icon.files = ressources/images/logo-lpp-cutted.png
25 icon.path = /usr/share/SocExplorer
26 icon.files = ressources/images/Indiana_Jones_cappello.png
27 27 Wizard.path = /usr/share/qtcreator/templates/wizards/SocExplorerPlugin
28 28 Wizard.files = Qt_Creator_Wizard/SocExplorerPlugin/logo-lpp-cutted.png \
29 29 Qt_Creator_Wizard/SocExplorerPlugin/plugin.cpp \
30 30 Qt_Creator_Wizard/SocExplorerPlugin/plugin.h \
31 31 Qt_Creator_Wizard/SocExplorerPlugin/project.pro \
32 32 Qt_Creator_Wizard/SocExplorerPlugin/wizard.xml
33 33 INSTALLS+=Wizard SocExplorer icon
34 34 }
35 35 INSTALLS+=socexplorercfg
36 36
37 37
38 38
39 39
40 40
41 41
42 42
43 43
44 44
45 45
46 46
47 47
48 48
49 49
50 50
51 51
52 52
53 53
54 54
55 55
56 56
57 57
58 58
59 59
60 60
61 61
62 62
63 63
64 64
65 65
66 66
67 67
68 68
69 69
70 70
71 71
72 72
73 73
74 74
75 75
76 76
77 77
78 78
79 79
80 80
81 81
82 82
83 83
84 84
85 85
86 86
@@ -1,22 +1,23
1 1 <RCC>
2 2 <qresource prefix="/images">
3 3 <file alias="logolpp.png">images/logo-lpp.png</file>
4 4 <file alias="logocnrs.png">images/LOGO CNRS.png</file>
5 5 <file alias="logoso.png">images/LOGO SO.png</file>
6 6 <file alias="logolppcutted.png">images/logo-lpp-cutted.png</file>
7 7 <file alias="trash.svg">images/Gnome-user-trash.svg</file>
8 8 <file alias="refresh.svg">images/Gnome-view-refresh.svg</file>
9 9 <file alias="open.svg">images/Gnome-document-open.svg</file>
10 10 <file alias="add.svg">images/Gnome-list-add.svg</file>
11 11 <file alias="server.svg">images/Gnome-network-server.svg</file>
12 12 <file alias="config.svg">images/Gnome-preferences-system.svg</file>
13 13 <file alias="up.svg">images/Gnome-go-up.svg</file>
14 14 <file alias="down.svg">images/Gnome-go-down.svg</file>
15 <file alias="icon.png">images/Indiana_Jones_cappello.png</file>
15 16 </qresource>
16 17 <qresource prefix="/about">
17 18 <file alias="about.html">txt/about.html</file>
18 19 </qresource>
19 20 <qresource prefix="/styles">
20 21 <file alias="SocExplorer.css">Styles/SocExplorer.css</file>
21 22 </qresource>
22 23 </RCC>
@@ -1,37 +1,40
1 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 2 <html>
3 3 <head>
4 4 </head>
5 5 <body style="background-color : #dbdbdb;">
6
6 <div align="center">
7 <IMG src=":/images/icon.png" alt="SocExplorer" width="80" height="54" align="center" border="0" >
8 </div>
7 9 <div align="center">
8 10 <a href="http://www.cnrs.fr/"> <IMG src=":/images/logocnrs.png" alt="CNRS" width="47" height="47" align="top" border="0" ></a>
9 11 <a href="http://www.lpp.fr/"> <IMG src=":/images/logolpp.png" width="158" height="47" align="top" border="0" ></a>
10 12 <a href="http://www.solarorbiter.org/"> <IMG src=":/images/logoso.png" width="64" height="47" align="top" border="0" ></a>
11 13 </div>
12 14 <hr>
13 15 <div align="center">
14 16 <B style="font-size : 150%;">About SocExplorer</B>
15 17 </div>
16 18 <hr>
17 19 <div align="center">
18 20 <B>SocExplorer Version $VERSION$.</B><BR><BR>
19 21 <B> Build from Changeset $Changeset$.</B><BR><BR>
20 22 <B> Branch $Branch$.</B><BR><BR>
21 23 Copyright (C) 2011-2014 Plasmas Physic Laboratory.<BR>
22 24 This is free software; licenced under the terms of the GPLV2 license.<BR><BR>
23 25 This program uses:
24 26 <div align="left" style="margin-left : 50%;">
25 27 <ul>
26 28 <LI><a href="http://qt.digia.com/" title="Qt">Qt</a> (Copyright 2008-2014 Digia Plc).</LI>
27 29 <LI><a href="http://pythonqt.sourceforge.net" title="PythonQt">PythonQt</a> </LI>
28 30 <LI><a href="http://commons.wikimedia.org/wiki/GNOME_Desktop_icons" title="Gnome Icons">Gnome Icons</a> </LI>
29 31 <LI><a href="http://nsis.sourceforge.net/Main_Page" title="NSIS">NSIS</a> (Nullsoft Scriptable Install System) </LI>
30 32 <LI><a href="https://hephaistos.lpp.polytechnique.fr/rhodecode/HG_REPOSITORIES/LPP/INSTRUMENTATION/lppserial" title="LppSerial">LppSerial</a></LI>
31 33 <LI><a href="http://www.qcustomplot.com/index.php/introduction" title="qhexedit">QCustomPlot</a></LI>
32 34 <LI><a href="http://code.google.com/p/qhexedit2/" title="qhexedit">QHexEdit</a></LI>
35 <LI><a href="http://commons.wikimedia.org/wiki/File:Indiana_Jones_cappello.png" title="Indiana Jones cappello icon">Indiana Jones cappello icon</a></LI>
33 36 </ul>
34 37 </div>
35 38 </div>
36 39 </body>
37 40 </html>
@@ -1,111 +1,112
1 1 #include "pythonconsole.h"
2 2 #include <QPushButton>
3 3 #include <QFile>
4 4 #include <QTextStream>
5 5 #include <QCustomPlot/qcustomplot.h>
6 6 #include "../common/pythonQtOut/generated_cpp/PySocExplorer/PySocExplorer0.h"
7 7
8 8 #include <PythonQt.h>
9 9 #include "pluginloader.h"
10 10 #include <socexplorer.h>
11 11
12 12 void PythonQt_init_PySocExplorer(PyObject* module);
13
13 void PythonQt_init_PySocExplorerEngine(PyObject* module) ;
14 14
15 15 PythonConsole::PythonConsole(socexplorerproxy *proxy, QWidget *parent) :
16 16 QWidget(parent)
17 17 {
18 18 //PythonQt::init();
19 19 PythonQt::init(PythonQt::RedirectStdOut);
20 20 PythonQt_QtAll::init();
21 21 this->proxy = proxy;
22 22 this->mainlayout = new QHBoxLayout;
23 23 this->mainContext = new PythonQtObjectPtr(PythonQt::self()->getMainModule());
24 24 this->mainContext->addVariable(QString("PYMODULES"),QVariant(QString(PYMODULES)));
25 25 this->console = new PythonQtScriptingConsoleDandD(NULL, PythonQt::self()->getMainModule());
26 26 this->mainlayout->addWidget(this->console);
27 27 this->setWindowTitle(tr("Python Scripting Console"));
28 28 this->bussdriver = 0;
29 29 this->setAcceptDrops(true);
30 30 this->setLayout(this->mainlayout);
31 31 connect(this->console,SIGNAL(pyConsoleRunFiles(QStringList)),this,SLOT(pyConsoleRunFiles(QStringList)));
32 32 this->mainContext->addObject("proxy", proxy);
33 33 PythonQt_init_PySocExplorer(0);
34 PythonQt_init_PySocExplorerEngine(0);
34 35 this->mainContext->evalScript(QString("from PythonQt import *"));
35 36 }
36 37
37 38 void PythonConsole::addObject(const QString& name, QObject* object)
38 39 {
39 40 this->mainContext->addObject(name, object);
40 41 }
41 42
42 43 void PythonConsole::setBussDriver(socexplorerplugin *driver)
43 44 {
44 45 this->bussdriver = driver;
45 46 this->mainContext->addObject("buss", this->bussdriver);
46 47 }
47 48
48 49 void PythonConsole::registerObject(QObject* object,const QString& instanceName)
49 50 {
50 51 this->mainContext->addObject(instanceName,object);
51 52 }
52 53
53 54 void PythonConsole::changeSysDriverInstName(const QString newinstanceName,const QString previnstanceName)
54 55 {
55 56 socexplorerplugin* obj= this->proxy->getSysDriver(previnstanceName);
56 57 if(obj==NULL)obj= this->proxy->getSysDriver(newinstanceName);
57 58 if(obj==NULL)return;
58 59 this->mainContext->addObject(newinstanceName,obj->getPyObjectWrapper());
59 60 this->mainContext->removeVariable(previnstanceName);
60 61 }
61 62
62 63 void PythonConsole::removeDriver(const QString& instanceName)
63 64 {
64 65 this->mainContext->removeVariable(instanceName);
65 66 }
66 67
67 68 void PythonConsole::removeBussDriver()
68 69 {
69 70 this->bussdriver = 0;
70 71 this->mainContext->removeVariable("buss");
71 72 emit this->rootDriverDelete();
72 73 }
73 74
74 75
75 76 void PythonConsole::pyConsoleRunFiles(const QStringList & pathList)
76 77 {
77 78 for (int i = 0; i < pathList.size() && i < 32; ++i)
78 79 {
79 80 this->pyConsoleRunFile(pathList.at(i));
80 81 }
81 82 }
82 83
83 84 void PythonConsole::pyConsoleRunFile(const QString& fileName)
84 85 {
85 86 QString code;
86 87 QFile file;
87 88 QFileInfo fileinfo;
88 89
89 90 code.clear();
90 91 file.setFileName(fileName);
91 92 fileinfo.setFile(fileName);
92 93 if(!fileinfo.suffix().compare("py"))
93 94 {
94 95 QString CMD="execfile(\'"+fileName+"\')";
95 96 this->console->executePythonCommand(CMD);
96 97 }
97 98 }
98 99
99 100
100 101 QSize PythonConsole::sizeHint()
101 102 {
102 103 return QSize(800,80);
103 104 }
104 105
105 106
106 107
107 108
108 109
109 110
110 111
111 112
@@ -1,152 +1,155
1 1 SOCEXPLORER_ROOT = \"$${PWD}/../..\"
2 2
3 3 include($${PWD}/../../build_cfg/socexplorer.pri)
4 4
5 5 TARGET = socexplorerengine$${DEBUG_EXT}
6 6 TEMPLATE = lib
7 7
8 8 #more verbose plugin loader to debug plugin loading issues such as dependencies issues
9 9 SOCEXPLORER_PLUGIN_LOADER="custom"
10 10
11 11 SOCEXPLORER_CHAGESETNUM=$$system(hg id)
12 12 SOCEXPLORER_CHAGESETNUMSTR = '\\"$${SOCEXPLORER_CHAGESETNUM}\\"'
13 13 SOCEXPLORER_BRANCH=$$system(hg branch)
14 14 SOCEXPLORER_BRANCHSTR = '\\"$${SOCEXPLORER_BRANCH}\\"'
15 15
16 16 DEFINES += SOCEXPLORER_VERSION="\"\\\"0.2.2"\\\"\"
17 17 DEFINES += SOCEXPLORER_CHAGESET=\"$${SOCEXPLORER_CHAGESETNUMSTR}\"
18 18 DEFINES += SOCEXPLORER_BRANCH=\"$${SOCEXPLORER_BRANCHSTR}\"
19 19
20 20
21 21 message("Building SOCEXPLORER changeset $${SOCEXPLORER_CHAGESETNUM}")
22 22
23 23 DEFINES += SOCEXPLORER_EXPORTS
24 24
25 25 include ( plugins/socexplorerplugin.prf )
26 26 include ( PeripheralWidget/PeripheralWidget.pri)
27 27
28 28 win32:CONFIG += dll
29 29 win32:CONFIG -= static
30 30 win32:LIBS+=-L$${SOCEXPLORER_ROOT}/bin/win32 -lsocexplorercommon$${DEBUG_EXT}
31 31
32 32 contains(SOCEXPLORER_PLUGIN_LOADER,"custom")
33 33 {
34 34 unix:LIBS+= -ldl
35 35 unix:DEFINES += SOCEXPLORER_CUSTOM_PLUGIN_LOADER
36 36 unix:HEADERS += \
37 37 pluginloader/unix/unixpluginloader.h
38 38 unix:SOURCES += \
39 39 pluginloader/unix/unixpluginloader.cpp
40 40 }
41 41
42 42 target.path = $$[QT_INSTALL_LIBS]
43 43 isEmpty(target.path) {
44 44 error(can\'t get QT_INSTALL_LIBS)
45 45 }
46 46
47 47 header.path = $$[QT_INSTALL_HEADERS]/SocExplorer
48 48 header.files = engine/socexplorerengine.h \
49 49 pluginloader/pluginscache.h \
50 50 plugins/socexplorerplugin.h \
51 51 proxy/socexplorerproxy.h \
52 52 engine/socexplorerxmlfile.h \
53 53 SOC/socexplorerenumdevice.h \
54 54 plugins/genericPySysdriver.h \
55 55 XmlEngine/XMLmodel.h \
56 56 XmlEngine/XMLdata.h \
57 57 XmlEngine/xmldriver.h \
58 58 SOC/socmodel.h \
59 59 SOC/registerdata.h \
60 60 SOC/socclk.h \
61 61 PeripheralWidget/src/peripheralwidget.h \
62 62 PeripheralWidget/src/registerwidget.h \
63 63 PeripheralWidget/src/socregsviewer.h
64 64
65 65
66 66
67 67 isEmpty(header.path) {
68 68 error(can\'t get QT_INSTALL_HEADERS)
69 69 }
70 70
71 71 pluginif.files = pluginsInterface/*.h \
72 72 pluginsInterface/*.cpp
73 73
74 74 pluginif.path = $$[QT_INSTALL_HEADERS]/SocExplorer/pluginsInterface
75 75
76 76
77 77 INSTALLS += target header pluginif
78 78
79 79 INCLUDEPATH += engine \
80 80 pluginloader \
81 81 pluginsInterface \
82 82 proxy \
83 83 plugins \
84 84 pluginManagerWdgt \
85 85 ../common \
86 86 ../ \
87 87 RegisterMVS \
88 88 XmlEngine \
89 89 SOC \
90 90 PeripheralWidget/src
91 91
92 92
93 93 HEADERS += \
94 94 pluginloader/pluginscache.h \
95 95 pluginloader/pluginloader.h \
96 96 plugins/genericPySysdriver.h \
97 97 pluginManagerWdgt/plugintree.h \
98 98 pluginManagerWdgt/pluginmanagerWDGT.h \
99 99 pluginManagerWdgt/pluginlist.h \
100 100 pluginManagerWdgt/plugininfoswdgt.h \
101 101 XmlEngine/XMLmodel.h \
102 102 XmlEngine/XMLdata.h \
103 103 SOC/socmodel.h \
104 104 SOC/registerdata.h \
105 105 XmlEngine/xmldriver.h \
106 106 PeripheralWidget/src/peripheralwidget.h \
107 107 PeripheralWidget/src/registerwidget.h \
108 108 PeripheralWidget/src/socregsviewer.h \
109 109 SOC/socclk.h \
110 110 engine/socexplorerengine.h \
111 111 engine/socexplorerxmlfile.h \
112 112 plugins/socexplorerplugin.h \
113 113 pluginsInterface/socexplorerplugininterface.h \
114 114 pluginsInterface/socexplorerplugininterface_global.h \
115 115 proxy/socexplorerproxy.h \
116 SOC/socexplorerenumdevice.h
116 SOC/socexplorerenumdevice.h \
117 PySocExplorerEngine.h
117 118
118 119
119 120
120 121
121 122
122 123
123 124 SOURCES += \
124 125 pluginloader/pluginscache.cpp \
125 126 pluginloader/pluginloader.cpp \
126 127 pluginManagerWdgt/plugintree.cpp \
127 128 pluginManagerWdgt/pluginmanagerWDGT.cpp \
128 129 pluginManagerWdgt/pluginlist.cpp \
129 130 pluginManagerWdgt/plugininfoswdgt.cpp \
130 131 XmlEngine/XMLmodel.cpp \
131 132 XmlEngine/XMLdata.cpp \
132 133 SOC/socmodel.cpp \
133 134 SOC/registerdata.cpp \
134 135 XmlEngine/xmldriver.cpp \
135 136 PeripheralWidget/src/peripheralwidget.cpp \
136 137 PeripheralWidget/src/registerwidget.cpp \
137 138 PeripheralWidget/src/socregsviewer.cpp \
138 139 SOC/socclk.cpp \
139 140 plugins/genericPySysdriver.cpp \
140 141 engine/socexplorerengine.cpp \
141 142 engine/socexplorerxmlfile.cpp \
142 143 proxy/socexplorerproxy.cpp \
143 144 SOC/socexplorerenumdevice.cpp \
144 145 plugins/socexplorerplugin.cpp
145 146
146 147
147 148 OTHER_FILES += \
148 149 plugins/socexplorerplugin.cpp \
149 150 pluginsInterface/socexplorerplugininterface.cpp \
150 plugins/socexplorerplugin.prf
151 plugins/socexplorerplugin.prf \
152 pythongenerator.sh \
153 pythonQtgeneratorCfg.txt
151 154
152 155
@@ -1,17 +1,18
1 1 #include <QtCore/QObject>
2 2 #include <QtWidgets/QtWidgets>
3 3 #include "qhexspinbox.h"
4 4 #include "memsizewdgt.h"
5 5 #include "qhexedit/qhexedit.h"
6 6 #include "SocExplorerPlot.h"
7 7 #include "tcp_terminal_client.h"
8 8 #include "QCustomPlot/qcustomplot.h"
9 9 #include "genericBinaryFiles/abstractbinfile.h"
10 10 #include "genericBinaryFiles/elf/elfparser.h"
11 11 #include "genericBinaryFiles/elf/elffile.h"
12 12 #include "genericBinaryFiles/elf/elffilewidget.h"
13 13 #include "genericBinaryFiles/elf/elfinfowdgt.h"
14 14 #include "genericBinaryFiles/srec/srecfile.h"
15 15 #include "genericBinaryFiles/srec/srecfilewidget.h"
16 16 #include "genericBinaryFiles/BinFile/binaryfile.h"
17 17 #include "genericBinaryFiles/BinFile/binaryfilewidget.h"
18 #include "genericBinaryFiles/genericbinaryfilewidget.h"
@@ -1,147 +1,150
1 1 SOCEXPLORER_ROOT = \"$${PWD}/../..\"
2 2 include($${PWD}/../../build_cfg/socexplorer.pri)
3 3 include($${PWD}/lppserial/lppserial.pri)
4 4
5 5 TEMPLATE = lib
6 6 TARGET = socexplorercommon$${DEBUG_EXT}
7 7
8 8 win32:CONFIG += dll
9 9 win32:CONFIG -= static
10 10
11 11 win32:INCLUDEPATH += $${PWD}/genericBinaryFiles/elf/libelfWin32/include
12 12 win32:INCLUDEPATH += $${PWD}/genericBinaryFiles/elf/libelfWin32/include/libelf
13 13 win32:DEFINES+=_ELF_WINDOWS_
14 14 DEFINES+=RS232_debug
15 15
16 16 win32:LIBS += $${PWD}/genericBinaryFiles/elf/libelfWin32/bin/libelf.a
17 17 unix:LIBS += -lelf
18 18
19 19 QMAKE_LFLAGS_RELEASE += --enable-auto-import
20 20 QMAKE_LFLAGS_DEBUG += --enable-auto-import
21 21
22 22 target.path = $$[QT_INSTALL_LIBS]
23 23 isEmpty(target.path) {
24 24 error(can\'t get QT_INSTALL_LIBS)
25 25 }
26 26
27 27 header.path = $$[QT_INSTALL_HEADERS]/SocExplorer/common
28 28 header.files = \
29 29 memsizewdgt.h \
30 30 qhexspinbox.h \
31 31 qsvgicon.h \
32 32 qhexedit/qhexedit_p.h \
33 33 qhexedit/qhexedit.h \
34 34 qhexedit/xbytearray.h \
35 35 QCustomPlot/qcustomplot.h \
36 36 SocExplorerPlot.h \
37 37 tcp_terminal_client.h \
38 38 genericBinaryFiles/elf/elfinfowdgt.h \
39 39 genericBinaryFiles/elf/elfparser.h \
40 40 genericBinaryFiles/elf/elffile.h \
41 41 genericBinaryFiles/elf/elffilewidget.h \
42 42 qipdialogbox.h \
43 43 lppserial/src/RS232.h \
44 44 qtablewidgetintitem.h \
45 45 genericBinaryFiles/srec/srecfile.h \
46 46 genericBinaryFiles/srec/srecfilewidget.h \
47 47 genericBinaryFiles/BinFile/binaryfile.h \
48 48 genericBinaryFiles/BinFile/binaryfilewidget.h \
49 49 genericBinaryFiles/abstractbinfile.h \
50 50 genericBinaryFiles/qvpushbutton.h \
51 51 genericBinaryFiles/qtablewidgetintitem.h \
52 52 genericBinaryFiles/filelist.h
53 53
54 54 win32{
55 55 elfheader.path = $$[QT_INSTALL_HEADERS]/SocExplorer/common/genericBinaryFiles/libelf
56 56 elfheader.files += \
57 57 genericBinaryFiles/elf/libelfWin32/include/libelf/byteswap.h \
58 58 genericBinaryFiles/elf/libelfWin32/include/libelf/errors.h \
59 59 genericBinaryFiles/elf/libelfWin32/include/libelf/gelf.h \
60 60 genericBinaryFiles/elf/libelfWin32/include/libelf/nlist.h \
61 61 genericBinaryFiles/elf/libelfWin32/include/libelf/sys_elf.h \
62 62 genericBinaryFiles/elf/libelfWin32/include/libelf/verneed.h \
63 63 genericBinaryFiles/elf/libelfWin32/include/libelf/elf_repl.h \
64 64 genericBinaryFiles/elf/libelfWin32/include/libelf/ext_types.h \
65 65 genericBinaryFiles/elf/libelfWin32/include/libelf/libelf.h \
66 66 genericBinaryFiles/elf/libelfWin32/include/libelf/private.h \
67 67 genericBinaryFiles/elf/libelfWin32/include/libelf/verdef.h
68 68 INSTALLS += elfheader
69 69 }
70 70
71 71
72 72 isEmpty(header.path) {
73 73 error(can\'t get QT_INSTALL_HEADERS)
74 74 }
75 75
76 76 INSTALLS += target header
77 77
78 78 INCLUDEPATH += QCustomPlot qhexedit genericBinaryFiles genericBinaryFiles/srec genericBinaryFiles/BinFile
79 79
80 80 HEADERS += \
81 81 memsizewdgt.h \
82 82 qhexspinbox.h \
83 83 qsvgicon.h \
84 84 qhexedit/qhexedit_p.h \
85 85 qhexedit/qhexedit.h \
86 86 qhexedit/xbytearray.h \
87 87 qhexedit/commands.h \
88 88 QCustomPlot/qcustomplot.h \
89 89 tcp_terminal_client.h \
90 90 genericBinaryFiles/elf/elfinfowdgt.h \
91 91 genericBinaryFiles/elf/elfparser.h \
92 92 genericBinaryFiles/elf/elffile.h \
93 93 qipdialogbox.h \
94 94 PySocExplorer.h \
95 95 SocExplorerPlot.h \
96 96 genericBinaryFiles/elf/elffilewidget.h \
97 97 genericBinaryFiles/srec/srecfile.h \
98 98 genericBinaryFiles/srec/srecfilewidget.h \
99 99 genericBinaryFiles/abstractbinfile.h \
100 100 genericBinaryFiles/BinFile/binaryfile.h \
101 101 genericBinaryFiles/BinFile/binaryfilewidget.h \
102 102 genericBinaryFiles/genericbinaryfilewidget.h \
103 103 genericBinaryFiles/qvpushbutton.h \
104 104 genericBinaryFiles/qtablewidgetintitem.h \
105 105 genericBinaryFiles/filelist.h
106 106
107 107
108 108 SOURCES += \
109 109 memsizewdgt.cpp \
110 110 qhexspinbox.cpp \
111 111 qsvgicon.cpp \
112 112 qhexedit/qhexedit_p.cpp \
113 113 qhexedit/qhexedit.cpp \
114 114 qhexedit/xbytearray.cpp \
115 115 qhexedit/commands.cpp \
116 116 QCustomPlot/qcustomplot.cpp \
117 117 tcp_terminal_client.cpp \
118 118 genericBinaryFiles/elf/elfinfowdgt.cpp \
119 119 genericBinaryFiles/elf/elfparser.cpp \
120 120 genericBinaryFiles/elf/elffile.cpp \
121 121 qipdialogbox.cpp \
122 122 SocExplorerPlot.cpp \
123 123 genericBinaryFiles/elf/elffilewidget.cpp \
124 124 genericBinaryFiles/srec/srecfile.cpp \
125 125 genericBinaryFiles/srec/srecfilewidget.cpp \
126 126 genericBinaryFiles/abstractbinfile.cpp \
127 127 genericBinaryFiles/BinFile/binaryfile.cpp \
128 128 genericBinaryFiles/BinFile/binaryfilewidget.cpp \
129 129 genericBinaryFiles/genericbinaryfilewidget.cpp \
130 130 genericBinaryFiles/qvpushbutton.cpp \
131 131 genericBinaryFiles/qtablewidgetintitem.cpp \
132 132 genericBinaryFiles/filelist.cpp
133 133
134 134 FORMS += \
135 135 genericBinaryFiles/elf/elffilewidget.ui \
136 136 genericBinaryFiles/srec/srecfilewidget.ui \
137 137 genericBinaryFiles/BinFile/binaryfilewidget.ui \
138 138 genericBinaryFiles/genericbinaryfilewidget.ui
139 139
140 140 OTHER_FILES += \
141 141 ./pythongenerator.sh \
142 142 ./pythonQtgeneratorCfg.txt
143 143
144 RESOURCES += \
145 genericBinaryFiles/genericBinaryFiles.qrc
144 146
145 147
146 148
147 149
150
This diff has been collapsed as it changes many lines, (928 lines changed) Show them Hide them
@@ -1,7793 +1,8711
1 1 #include "PySocExplorer0.h"
2 2 #include <PythonQtConversion.h>
3 3 #include <PythonQtMethodInfo.h>
4 4 #include <PythonQtSignalReceiver.h>
5 5 #include <QIconEngine>
6 #include <QObject>
7 #include <QSpinBox>
8 6 #include <QVariant>
9 #include <QWidget>
10 7 #include <abstractbinfile.h>
11 #include <elffile.h>
12 8 #include <elfparser.h>
13 9 #include <qaction.h>
14 10 #include <qbitmap.h>
15 11 #include <qbytearray.h>
16 12 #include <qcolor.h>
17 13 #include <qcoreevent.h>
18 14 #include <qcursor.h>
19 15 #include <qevent.h>
20 16 #include <qfile.h>
21 17 #include <qfont.h>
22 18 #include <qgraphicseffect.h>
23 19 #include <qgraphicsproxywidget.h>
24 20 #include <qkeysequence.h>
25 21 #include <qlayout.h>
26 22 #include <qlineedit.h>
27 23 #include <qlist.h>
28 24 #include <qlocale.h>
29 25 #include <qmargins.h>
30 26 #include <qobject.h>
31 27 #include <qpaintdevice.h>
32 28 #include <qpaintengine.h>
33 29 #include <qpainter.h>
34 30 #include <qpalette.h>
35 31 #include <qpen.h>
36 32 #include <qpixmap.h>
37 33 #include <qpoint.h>
38 34 #include <qrect.h>
39 35 #include <qregion.h>
40 36 #include <qscrollarea.h>
41 37 #include <qscrollbar.h>
42 38 #include <qsize.h>
43 39 #include <qsizepolicy.h>
44 40 #include <qspinbox.h>
45 41 #include <qstringlist.h>
46 42 #include <qstyle.h>
47 43 #include <qstyleoption.h>
48 44 #include <qwidget.h>
49 45
50 46 PythonQtShell_ElfFile::~PythonQtShell_ElfFile() {
51 47 PythonQtPrivate* priv = PythonQt::priv();
52 48 if (priv) { priv->shellClassDeleted(this); }
53 49 }
54 50 int PythonQtShell_ElfFile::closeFile()
55 51 {
56 52 if (_wrapper) {
57 53 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeFile");
58 54 PyErr_Clear();
59 55 if (obj && !PythonQtSlotFunction_Check(obj)) {
60 56 static const char* argumentList[] ={"int"};
61 57 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
62 58 int returnValue;
63 59 void* args[1] = {NULL};
64 60 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
65 61 if (result) {
66 62 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
67 63 if (args[0]!=&returnValue) {
68 64 if (args[0]==NULL) {
69 65 PythonQt::priv()->handleVirtualOverloadReturnError("closeFile", methodInfo, result);
70 66 } else {
71 67 returnValue = *((int*)args[0]);
72 68 }
73 69 }
74 70 }
75 71 if (result) { Py_DECREF(result); }
76 72 Py_DECREF(obj);
77 73 return returnValue;
78 74 }
79 75 }
80 76 return ElfFile::closeFile();
81 77 }
82 78 QList<codeFragment* > PythonQtShell_ElfFile::getFragments()
83 79 {
84 80 if (_wrapper) {
85 81 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getFragments");
86 82 PyErr_Clear();
87 83 if (obj && !PythonQtSlotFunction_Check(obj)) {
88 84 static const char* argumentList[] ={"QList<codeFragment* >"};
89 85 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
90 86 QList<codeFragment* > returnValue;
91 87 void* args[1] = {NULL};
92 88 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
93 89 if (result) {
94 90 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
95 91 if (args[0]!=&returnValue) {
96 92 if (args[0]==NULL) {
97 93 PythonQt::priv()->handleVirtualOverloadReturnError("getFragments", methodInfo, result);
98 94 } else {
99 95 returnValue = *((QList<codeFragment* >*)args[0]);
100 96 }
101 97 }
102 98 }
103 99 if (result) { Py_DECREF(result); }
104 100 Py_DECREF(obj);
105 101 return returnValue;
106 102 }
107 103 }
108 104 return ElfFile::getFragments();
109 105 }
110 106 bool PythonQtShell_ElfFile::isopened()
111 107 {
112 108 if (_wrapper) {
113 109 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isopened");
114 110 PyErr_Clear();
115 111 if (obj && !PythonQtSlotFunction_Check(obj)) {
116 112 static const char* argumentList[] ={"bool"};
117 113 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
118 114 bool returnValue;
119 115 void* args[1] = {NULL};
120 116 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
121 117 if (result) {
122 118 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
123 119 if (args[0]!=&returnValue) {
124 120 if (args[0]==NULL) {
125 121 PythonQt::priv()->handleVirtualOverloadReturnError("isopened", methodInfo, result);
126 122 } else {
127 123 returnValue = *((bool*)args[0]);
128 124 }
129 125 }
130 126 }
131 127 if (result) { Py_DECREF(result); }
132 128 Py_DECREF(obj);
133 129 return returnValue;
134 130 }
135 131 }
136 132 return ElfFile::isopened();
137 133 }
138 134 bool PythonQtShell_ElfFile::openFile(const QString& File)
139 135 {
140 136 if (_wrapper) {
141 137 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "openFile");
142 138 PyErr_Clear();
143 139 if (obj && !PythonQtSlotFunction_Check(obj)) {
144 140 static const char* argumentList[] ={"bool" , "const QString&"};
145 141 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
146 142 bool returnValue;
147 143 void* args[2] = {NULL, (void*)&File};
148 144 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
149 145 if (result) {
150 146 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
151 147 if (args[0]!=&returnValue) {
152 148 if (args[0]==NULL) {
153 149 PythonQt::priv()->handleVirtualOverloadReturnError("openFile", methodInfo, result);
154 150 } else {
155 151 returnValue = *((bool*)args[0]);
156 152 }
157 153 }
158 154 }
159 155 if (result) { Py_DECREF(result); }
160 156 Py_DECREF(obj);
161 157 return returnValue;
162 158 }
163 159 }
164 160 return ElfFile::openFile(File);
165 161 }
166 162 bool PythonQtShell_ElfFile::toBinary(const QString& File)
167 163 {
168 164 if (_wrapper) {
169 165 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "toBinary");
170 166 PyErr_Clear();
171 167 if (obj && !PythonQtSlotFunction_Check(obj)) {
172 168 static const char* argumentList[] ={"bool" , "const QString&"};
173 169 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
174 170 bool returnValue;
175 171 void* args[2] = {NULL, (void*)&File};
176 172 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
177 173 if (result) {
178 174 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
179 175 if (args[0]!=&returnValue) {
180 176 if (args[0]==NULL) {
181 177 PythonQt::priv()->handleVirtualOverloadReturnError("toBinary", methodInfo, result);
182 178 } else {
183 179 returnValue = *((bool*)args[0]);
184 180 }
185 181 }
186 182 }
187 183 if (result) { Py_DECREF(result); }
188 184 Py_DECREF(obj);
189 185 return returnValue;
190 186 }
191 187 }
192 188 return ElfFile::toBinary(File);
193 189 }
194 190 bool PythonQtShell_ElfFile::toSrec(const QString& File)
195 191 {
196 192 if (_wrapper) {
197 193 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "toSrec");
198 194 PyErr_Clear();
199 195 if (obj && !PythonQtSlotFunction_Check(obj)) {
200 196 static const char* argumentList[] ={"bool" , "const QString&"};
201 197 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
202 198 bool returnValue;
203 199 void* args[2] = {NULL, (void*)&File};
204 200 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
205 201 if (result) {
206 202 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
207 203 if (args[0]!=&returnValue) {
208 204 if (args[0]==NULL) {
209 205 PythonQt::priv()->handleVirtualOverloadReturnError("toSrec", methodInfo, result);
210 206 } else {
211 207 returnValue = *((bool*)args[0]);
212 208 }
213 209 }
214 210 }
215 211 if (result) { Py_DECREF(result); }
216 212 Py_DECREF(obj);
217 213 return returnValue;
218 214 }
219 215 }
220 216 return ElfFile::toSrec(File);
221 217 }
222 218 ElfFile* PythonQtWrapper_ElfFile::new_ElfFile()
223 219 {
224 220 return new PythonQtShell_ElfFile(); }
225 221
226 222 ElfFile* PythonQtWrapper_ElfFile::new_ElfFile(const QString& File)
227 223 {
228 224 return new PythonQtShell_ElfFile(File); }
229 225
230 226 int PythonQtWrapper_ElfFile::closeFile(ElfFile* theWrappedObject)
231 227 {
232 228 return ( ((PythonQtPublicPromoter_ElfFile*)theWrappedObject)->promoted_closeFile());
233 229 }
234 230
235 231 QString PythonQtWrapper_ElfFile::getABI(ElfFile* theWrappedObject)
236 232 {
237 233 return ( theWrappedObject->getABI());
238 234 }
239 235
240 236 QString PythonQtWrapper_ElfFile::getArchitecture(ElfFile* theWrappedObject)
241 237 {
242 238 return ( theWrappedObject->getArchitecture());
243 239 }
244 240
245 241 QString PythonQtWrapper_ElfFile::getClass(ElfFile* theWrappedObject)
246 242 {
247 243 return ( theWrappedObject->getClass());
248 244 }
249 245
250 246 QString PythonQtWrapper_ElfFile::getEndianness(ElfFile* theWrappedObject)
251 247 {
252 248 return ( theWrappedObject->getEndianness());
253 249 }
254 250
255 251 qint64 PythonQtWrapper_ElfFile::getEntryPointAddress(ElfFile* theWrappedObject)
256 252 {
257 253 return ( theWrappedObject->getEntryPointAddress());
258 254 }
259 255
260 256 QList<codeFragment* > PythonQtWrapper_ElfFile::getFragments(ElfFile* theWrappedObject)
261 257 {
262 258 return ( ((PythonQtPublicPromoter_ElfFile*)theWrappedObject)->promoted_getFragments());
263 259 }
264 260
265 261 QList<codeFragment* > PythonQtWrapper_ElfFile::getFragments(ElfFile* theWrappedObject, QStringList fragmentList)
266 262 {
267 263 return ( theWrappedObject->getFragments(fragmentList));
268 264 }
269 265
270 266 int PythonQtWrapper_ElfFile::getSectionCount(ElfFile* theWrappedObject)
271 267 {
272 268 return ( theWrappedObject->getSectionCount());
273 269 }
274 270
275 271 bool PythonQtWrapper_ElfFile::getSectionData(ElfFile* theWrappedObject, int index, char** buffer)
276 272 {
277 273 return ( theWrappedObject->getSectionData(index, buffer));
278 274 }
279 275
280 276 qint64 PythonQtWrapper_ElfFile::getSectionDatasz(ElfFile* theWrappedObject, int index)
281 277 {
282 278 return ( theWrappedObject->getSectionDatasz(index));
283 279 }
284 280
285 281 int PythonQtWrapper_ElfFile::getSectionIndex(ElfFile* theWrappedObject, QString name)
286 282 {
287 283 return ( theWrappedObject->getSectionIndex(name));
288 284 }
289 285
290 286 qint64 PythonQtWrapper_ElfFile::getSectionMemsz(ElfFile* theWrappedObject, int index)
291 287 {
292 288 return ( theWrappedObject->getSectionMemsz(index));
293 289 }
294 290
295 291 QString PythonQtWrapper_ElfFile::getSectionName(ElfFile* theWrappedObject, int index)
296 292 {
297 293 return ( theWrappedObject->getSectionName(index));
298 294 }
299 295
300 296 qint64 PythonQtWrapper_ElfFile::getSectionPaddr(ElfFile* theWrappedObject, int index)
301 297 {
302 298 return ( theWrappedObject->getSectionPaddr(index));
303 299 }
304 300
305 301 QString PythonQtWrapper_ElfFile::getSectionType(ElfFile* theWrappedObject, int index)
306 302 {
307 303 return ( theWrappedObject->getSectionType(index));
308 304 }
309 305
310 306 int PythonQtWrapper_ElfFile::getSegmentCount(ElfFile* theWrappedObject)
311 307 {
312 308 return ( theWrappedObject->getSegmentCount());
313 309 }
314 310
315 311 qint64 PythonQtWrapper_ElfFile::getSegmentFilesz(ElfFile* theWrappedObject, int index)
316 312 {
317 313 return ( theWrappedObject->getSegmentFilesz(index));
318 314 }
319 315
320 316 QString PythonQtWrapper_ElfFile::getSegmentFlags(ElfFile* theWrappedObject, int index)
321 317 {
322 318 return ( theWrappedObject->getSegmentFlags(index));
323 319 }
324 320
325 321 qint64 PythonQtWrapper_ElfFile::getSegmentMemsz(ElfFile* theWrappedObject, int index)
326 322 {
327 323 return ( theWrappedObject->getSegmentMemsz(index));
328 324 }
329 325
330 326 qint64 PythonQtWrapper_ElfFile::getSegmentOffset(ElfFile* theWrappedObject, int index)
331 327 {
332 328 return ( theWrappedObject->getSegmentOffset(index));
333 329 }
334 330
335 331 qint64 PythonQtWrapper_ElfFile::getSegmentPaddr(ElfFile* theWrappedObject, int index)
336 332 {
337 333 return ( theWrappedObject->getSegmentPaddr(index));
338 334 }
339 335
340 336 QString PythonQtWrapper_ElfFile::getSegmentType(ElfFile* theWrappedObject, int index)
341 337 {
342 338 return ( theWrappedObject->getSegmentType(index));
343 339 }
344 340
345 341 qint64 PythonQtWrapper_ElfFile::getSegmentVaddr(ElfFile* theWrappedObject, int index)
346 342 {
347 343 return ( theWrappedObject->getSegmentVaddr(index));
348 344 }
349 345
350 346 quint64 PythonQtWrapper_ElfFile::getSymbolAddress(ElfFile* theWrappedObject, int index)
351 347 {
352 348 return ( theWrappedObject->getSymbolAddress(index));
353 349 }
354 350
355 351 int PythonQtWrapper_ElfFile::getSymbolCount(ElfFile* theWrappedObject)
356 352 {
357 353 return ( theWrappedObject->getSymbolCount());
358 354 }
359 355
360 356 QString PythonQtWrapper_ElfFile::getSymbolLinkType(ElfFile* theWrappedObject, int index)
361 357 {
362 358 return ( theWrappedObject->getSymbolLinkType(index));
363 359 }
364 360
365 361 QString PythonQtWrapper_ElfFile::getSymbolName(ElfFile* theWrappedObject, int index)
366 362 {
367 363 return ( theWrappedObject->getSymbolName(index));
368 364 }
369 365
370 366 int PythonQtWrapper_ElfFile::getSymbolSectionIndex(ElfFile* theWrappedObject, int index)
371 367 {
372 368 return ( theWrappedObject->getSymbolSectionIndex(index));
373 369 }
374 370
375 371 QString PythonQtWrapper_ElfFile::getSymbolSectionName(ElfFile* theWrappedObject, int index)
376 372 {
377 373 return ( theWrappedObject->getSymbolSectionName(index));
378 374 }
379 375
380 376 quint64 PythonQtWrapper_ElfFile::getSymbolSize(ElfFile* theWrappedObject, int index)
381 377 {
382 378 return ( theWrappedObject->getSymbolSize(index));
383 379 }
384 380
385 381 QString PythonQtWrapper_ElfFile::getSymbolType(ElfFile* theWrappedObject, int index)
386 382 {
387 383 return ( theWrappedObject->getSymbolType(index));
388 384 }
389 385
390 386 QString PythonQtWrapper_ElfFile::getType(ElfFile* theWrappedObject)
391 387 {
392 388 return ( theWrappedObject->getType());
393 389 }
394 390
395 391 qint64 PythonQtWrapper_ElfFile::getVersion(ElfFile* theWrappedObject)
396 392 {
397 393 return ( theWrappedObject->getVersion());
398 394 }
399 395
400 396 bool PythonQtWrapper_ElfFile::static_ElfFile_isElf(const QString& File)
401 397 {
402 398 return (ElfFile::isElf(File));
403 399 }
404 400
405 401 bool PythonQtWrapper_ElfFile::iself(ElfFile* theWrappedObject)
406 402 {
407 403 return ( theWrappedObject->iself());
408 404 }
409 405
410 406 bool PythonQtWrapper_ElfFile::isopened(ElfFile* theWrappedObject)
411 407 {
412 408 return ( ((PythonQtPublicPromoter_ElfFile*)theWrappedObject)->promoted_isopened());
413 409 }
414 410
415 411 bool PythonQtWrapper_ElfFile::openFile(ElfFile* theWrappedObject, const QString& File)
416 412 {
417 413 return ( ((PythonQtPublicPromoter_ElfFile*)theWrappedObject)->promoted_openFile(File));
418 414 }
419 415
420 416 bool PythonQtWrapper_ElfFile::sectionIsNobits(ElfFile* theWrappedObject, int index)
421 417 {
422 418 return ( theWrappedObject->sectionIsNobits(index));
423 419 }
424 420
425 421 bool PythonQtWrapper_ElfFile::toBinary(ElfFile* theWrappedObject, const QString& File)
426 422 {
427 423 return ( ((PythonQtPublicPromoter_ElfFile*)theWrappedObject)->promoted_toBinary(File));
428 424 }
429 425
430 426 bool PythonQtWrapper_ElfFile::toSrec(ElfFile* theWrappedObject, const QString& File)
431 427 {
432 428 return ( ((PythonQtPublicPromoter_ElfFile*)theWrappedObject)->promoted_toSrec(File));
433 429 }
434 430
435 431
436 432
437 433 PythonQtShell_MemSizeWdgt::~PythonQtShell_MemSizeWdgt() {
438 434 PythonQtPrivate* priv = PythonQt::priv();
439 435 if (priv) { priv->shellClassDeleted(this); }
440 436 }
441 437 void PythonQtShell_MemSizeWdgt::actionEvent(QActionEvent* arg__1)
442 438 {
443 439 if (_wrapper) {
444 440 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent");
445 441 PyErr_Clear();
446 442 if (obj && !PythonQtSlotFunction_Check(obj)) {
447 443 static const char* argumentList[] ={"" , "QActionEvent*"};
448 444 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
449 445 void* args[2] = {NULL, (void*)&arg__1};
450 446 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
451 447 if (result) { Py_DECREF(result); }
452 448 Py_DECREF(obj);
453 449 return;
454 450 }
455 451 }
456 452 MemSizeWdgt::actionEvent(arg__1);
457 453 }
458 454 void PythonQtShell_MemSizeWdgt::changeEvent(QEvent* arg__1)
459 455 {
460 456 if (_wrapper) {
461 457 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent");
462 458 PyErr_Clear();
463 459 if (obj && !PythonQtSlotFunction_Check(obj)) {
464 460 static const char* argumentList[] ={"" , "QEvent*"};
465 461 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
466 462 void* args[2] = {NULL, (void*)&arg__1};
467 463 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
468 464 if (result) { Py_DECREF(result); }
469 465 Py_DECREF(obj);
470 466 return;
471 467 }
472 468 }
473 469 MemSizeWdgt::changeEvent(arg__1);
474 470 }
475 471 void PythonQtShell_MemSizeWdgt::childEvent(QChildEvent* arg__1)
476 472 {
477 473 if (_wrapper) {
478 474 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent");
479 475 PyErr_Clear();
480 476 if (obj && !PythonQtSlotFunction_Check(obj)) {
481 477 static const char* argumentList[] ={"" , "QChildEvent*"};
482 478 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
483 479 void* args[2] = {NULL, (void*)&arg__1};
484 480 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
485 481 if (result) { Py_DECREF(result); }
486 482 Py_DECREF(obj);
487 483 return;
488 484 }
489 485 }
490 486 MemSizeWdgt::childEvent(arg__1);
491 487 }
492 488 void PythonQtShell_MemSizeWdgt::closeEvent(QCloseEvent* arg__1)
493 489 {
494 490 if (_wrapper) {
495 491 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent");
496 492 PyErr_Clear();
497 493 if (obj && !PythonQtSlotFunction_Check(obj)) {
498 494 static const char* argumentList[] ={"" , "QCloseEvent*"};
499 495 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
500 496 void* args[2] = {NULL, (void*)&arg__1};
501 497 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
502 498 if (result) { Py_DECREF(result); }
503 499 Py_DECREF(obj);
504 500 return;
505 501 }
506 502 }
507 503 MemSizeWdgt::closeEvent(arg__1);
508 504 }
509 505 void PythonQtShell_MemSizeWdgt::contextMenuEvent(QContextMenuEvent* arg__1)
510 506 {
511 507 if (_wrapper) {
512 508 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent");
513 509 PyErr_Clear();
514 510 if (obj && !PythonQtSlotFunction_Check(obj)) {
515 511 static const char* argumentList[] ={"" , "QContextMenuEvent*"};
516 512 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
517 513 void* args[2] = {NULL, (void*)&arg__1};
518 514 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
519 515 if (result) { Py_DECREF(result); }
520 516 Py_DECREF(obj);
521 517 return;
522 518 }
523 519 }
524 520 MemSizeWdgt::contextMenuEvent(arg__1);
525 521 }
526 522 void PythonQtShell_MemSizeWdgt::customEvent(QEvent* arg__1)
527 523 {
528 524 if (_wrapper) {
529 525 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent");
530 526 PyErr_Clear();
531 527 if (obj && !PythonQtSlotFunction_Check(obj)) {
532 528 static const char* argumentList[] ={"" , "QEvent*"};
533 529 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
534 530 void* args[2] = {NULL, (void*)&arg__1};
535 531 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
536 532 if (result) { Py_DECREF(result); }
537 533 Py_DECREF(obj);
538 534 return;
539 535 }
540 536 }
541 537 MemSizeWdgt::customEvent(arg__1);
542 538 }
543 539 int PythonQtShell_MemSizeWdgt::devType() const
544 540 {
545 541 if (_wrapper) {
546 542 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType");
547 543 PyErr_Clear();
548 544 if (obj && !PythonQtSlotFunction_Check(obj)) {
549 545 static const char* argumentList[] ={"int"};
550 546 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
551 547 int returnValue;
552 548 void* args[1] = {NULL};
553 549 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
554 550 if (result) {
555 551 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
556 552 if (args[0]!=&returnValue) {
557 553 if (args[0]==NULL) {
558 554 PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result);
559 555 } else {
560 556 returnValue = *((int*)args[0]);
561 557 }
562 558 }
563 559 }
564 560 if (result) { Py_DECREF(result); }
565 561 Py_DECREF(obj);
566 562 return returnValue;
567 563 }
568 564 }
569 565 return MemSizeWdgt::devType();
570 566 }
571 567 void PythonQtShell_MemSizeWdgt::dragEnterEvent(QDragEnterEvent* arg__1)
572 568 {
573 569 if (_wrapper) {
574 570 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent");
575 571 PyErr_Clear();
576 572 if (obj && !PythonQtSlotFunction_Check(obj)) {
577 573 static const char* argumentList[] ={"" , "QDragEnterEvent*"};
578 574 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
579 575 void* args[2] = {NULL, (void*)&arg__1};
580 576 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
581 577 if (result) { Py_DECREF(result); }
582 578 Py_DECREF(obj);
583 579 return;
584 580 }
585 581 }
586 582 MemSizeWdgt::dragEnterEvent(arg__1);
587 583 }
588 584 void PythonQtShell_MemSizeWdgt::dragLeaveEvent(QDragLeaveEvent* arg__1)
589 585 {
590 586 if (_wrapper) {
591 587 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent");
592 588 PyErr_Clear();
593 589 if (obj && !PythonQtSlotFunction_Check(obj)) {
594 590 static const char* argumentList[] ={"" , "QDragLeaveEvent*"};
595 591 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
596 592 void* args[2] = {NULL, (void*)&arg__1};
597 593 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
598 594 if (result) { Py_DECREF(result); }
599 595 Py_DECREF(obj);
600 596 return;
601 597 }
602 598 }
603 599 MemSizeWdgt::dragLeaveEvent(arg__1);
604 600 }
605 601 void PythonQtShell_MemSizeWdgt::dragMoveEvent(QDragMoveEvent* arg__1)
606 602 {
607 603 if (_wrapper) {
608 604 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent");
609 605 PyErr_Clear();
610 606 if (obj && !PythonQtSlotFunction_Check(obj)) {
611 607 static const char* argumentList[] ={"" , "QDragMoveEvent*"};
612 608 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
613 609 void* args[2] = {NULL, (void*)&arg__1};
614 610 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
615 611 if (result) { Py_DECREF(result); }
616 612 Py_DECREF(obj);
617 613 return;
618 614 }
619 615 }
620 616 MemSizeWdgt::dragMoveEvent(arg__1);
621 617 }
622 618 void PythonQtShell_MemSizeWdgt::dropEvent(QDropEvent* arg__1)
623 619 {
624 620 if (_wrapper) {
625 621 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent");
626 622 PyErr_Clear();
627 623 if (obj && !PythonQtSlotFunction_Check(obj)) {
628 624 static const char* argumentList[] ={"" , "QDropEvent*"};
629 625 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
630 626 void* args[2] = {NULL, (void*)&arg__1};
631 627 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
632 628 if (result) { Py_DECREF(result); }
633 629 Py_DECREF(obj);
634 630 return;
635 631 }
636 632 }
637 633 MemSizeWdgt::dropEvent(arg__1);
638 634 }
639 635 void PythonQtShell_MemSizeWdgt::enterEvent(QEvent* arg__1)
640 636 {
641 637 if (_wrapper) {
642 638 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent");
643 639 PyErr_Clear();
644 640 if (obj && !PythonQtSlotFunction_Check(obj)) {
645 641 static const char* argumentList[] ={"" , "QEvent*"};
646 642 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
647 643 void* args[2] = {NULL, (void*)&arg__1};
648 644 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
649 645 if (result) { Py_DECREF(result); }
650 646 Py_DECREF(obj);
651 647 return;
652 648 }
653 649 }
654 650 MemSizeWdgt::enterEvent(arg__1);
655 651 }
656 652 bool PythonQtShell_MemSizeWdgt::event(QEvent* arg__1)
657 653 {
658 654 if (_wrapper) {
659 655 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event");
660 656 PyErr_Clear();
661 657 if (obj && !PythonQtSlotFunction_Check(obj)) {
662 658 static const char* argumentList[] ={"bool" , "QEvent*"};
663 659 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
664 660 bool returnValue;
665 661 void* args[2] = {NULL, (void*)&arg__1};
666 662 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
667 663 if (result) {
668 664 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
669 665 if (args[0]!=&returnValue) {
670 666 if (args[0]==NULL) {
671 667 PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result);
672 668 } else {
673 669 returnValue = *((bool*)args[0]);
674 670 }
675 671 }
676 672 }
677 673 if (result) { Py_DECREF(result); }
678 674 Py_DECREF(obj);
679 675 return returnValue;
680 676 }
681 677 }
682 678 return MemSizeWdgt::event(arg__1);
683 679 }
684 680 bool PythonQtShell_MemSizeWdgt::eventFilter(QObject* arg__1, QEvent* arg__2)
685 681 {
686 682 if (_wrapper) {
687 683 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter");
688 684 PyErr_Clear();
689 685 if (obj && !PythonQtSlotFunction_Check(obj)) {
690 686 static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"};
691 687 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
692 688 bool returnValue;
693 689 void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2};
694 690 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
695 691 if (result) {
696 692 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
697 693 if (args[0]!=&returnValue) {
698 694 if (args[0]==NULL) {
699 695 PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result);
700 696 } else {
701 697 returnValue = *((bool*)args[0]);
702 698 }
703 699 }
704 700 }
705 701 if (result) { Py_DECREF(result); }
706 702 Py_DECREF(obj);
707 703 return returnValue;
708 704 }
709 705 }
710 706 return MemSizeWdgt::eventFilter(arg__1, arg__2);
711 707 }
712 708 void PythonQtShell_MemSizeWdgt::focusInEvent(QFocusEvent* arg__1)
713 709 {
714 710 if (_wrapper) {
715 711 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent");
716 712 PyErr_Clear();
717 713 if (obj && !PythonQtSlotFunction_Check(obj)) {
718 714 static const char* argumentList[] ={"" , "QFocusEvent*"};
719 715 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
720 716 void* args[2] = {NULL, (void*)&arg__1};
721 717 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
722 718 if (result) { Py_DECREF(result); }
723 719 Py_DECREF(obj);
724 720 return;
725 721 }
726 722 }
727 723 MemSizeWdgt::focusInEvent(arg__1);
728 724 }
729 725 bool PythonQtShell_MemSizeWdgt::focusNextPrevChild(bool next)
730 726 {
731 727 if (_wrapper) {
732 728 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild");
733 729 PyErr_Clear();
734 730 if (obj && !PythonQtSlotFunction_Check(obj)) {
735 731 static const char* argumentList[] ={"bool" , "bool"};
736 732 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
737 733 bool returnValue;
738 734 void* args[2] = {NULL, (void*)&next};
739 735 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
740 736 if (result) {
741 737 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
742 738 if (args[0]!=&returnValue) {
743 739 if (args[0]==NULL) {
744 740 PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result);
745 741 } else {
746 742 returnValue = *((bool*)args[0]);
747 743 }
748 744 }
749 745 }
750 746 if (result) { Py_DECREF(result); }
751 747 Py_DECREF(obj);
752 748 return returnValue;
753 749 }
754 750 }
755 751 return MemSizeWdgt::focusNextPrevChild(next);
756 752 }
757 753 void PythonQtShell_MemSizeWdgt::focusOutEvent(QFocusEvent* arg__1)
758 754 {
759 755 if (_wrapper) {
760 756 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent");
761 757 PyErr_Clear();
762 758 if (obj && !PythonQtSlotFunction_Check(obj)) {
763 759 static const char* argumentList[] ={"" , "QFocusEvent*"};
764 760 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
765 761 void* args[2] = {NULL, (void*)&arg__1};
766 762 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
767 763 if (result) { Py_DECREF(result); }
768 764 Py_DECREF(obj);
769 765 return;
770 766 }
771 767 }
772 768 MemSizeWdgt::focusOutEvent(arg__1);
773 769 }
774 770 bool PythonQtShell_MemSizeWdgt::hasHeightForWidth() const
775 771 {
776 772 if (_wrapper) {
777 773 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasHeightForWidth");
778 774 PyErr_Clear();
779 775 if (obj && !PythonQtSlotFunction_Check(obj)) {
780 776 static const char* argumentList[] ={"bool"};
781 777 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
782 778 bool returnValue;
783 779 void* args[1] = {NULL};
784 780 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
785 781 if (result) {
786 782 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
787 783 if (args[0]!=&returnValue) {
788 784 if (args[0]==NULL) {
789 785 PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result);
790 786 } else {
791 787 returnValue = *((bool*)args[0]);
792 788 }
793 789 }
794 790 }
795 791 if (result) { Py_DECREF(result); }
796 792 Py_DECREF(obj);
797 793 return returnValue;
798 794 }
799 795 }
800 796 return MemSizeWdgt::hasHeightForWidth();
801 797 }
802 798 int PythonQtShell_MemSizeWdgt::heightForWidth(int arg__1) const
803 799 {
804 800 if (_wrapper) {
805 801 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth");
806 802 PyErr_Clear();
807 803 if (obj && !PythonQtSlotFunction_Check(obj)) {
808 804 static const char* argumentList[] ={"int" , "int"};
809 805 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
810 806 int returnValue;
811 807 void* args[2] = {NULL, (void*)&arg__1};
812 808 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
813 809 if (result) {
814 810 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
815 811 if (args[0]!=&returnValue) {
816 812 if (args[0]==NULL) {
817 813 PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result);
818 814 } else {
819 815 returnValue = *((int*)args[0]);
820 816 }
821 817 }
822 818 }
823 819 if (result) { Py_DECREF(result); }
824 820 Py_DECREF(obj);
825 821 return returnValue;
826 822 }
827 823 }
828 824 return MemSizeWdgt::heightForWidth(arg__1);
829 825 }
830 826 void PythonQtShell_MemSizeWdgt::hideEvent(QHideEvent* arg__1)
831 827 {
832 828 if (_wrapper) {
833 829 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent");
834 830 PyErr_Clear();
835 831 if (obj && !PythonQtSlotFunction_Check(obj)) {
836 832 static const char* argumentList[] ={"" , "QHideEvent*"};
837 833 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
838 834 void* args[2] = {NULL, (void*)&arg__1};
839 835 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
840 836 if (result) { Py_DECREF(result); }
841 837 Py_DECREF(obj);
842 838 return;
843 839 }
844 840 }
845 841 MemSizeWdgt::hideEvent(arg__1);
846 842 }
847 843 void PythonQtShell_MemSizeWdgt::initPainter(QPainter* painter) const
848 844 {
849 845 if (_wrapper) {
850 846 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "initPainter");
851 847 PyErr_Clear();
852 848 if (obj && !PythonQtSlotFunction_Check(obj)) {
853 849 static const char* argumentList[] ={"" , "QPainter*"};
854 850 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
855 851 void* args[2] = {NULL, (void*)&painter};
856 852 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
857 853 if (result) { Py_DECREF(result); }
858 854 Py_DECREF(obj);
859 855 return;
860 856 }
861 857 }
862 858 MemSizeWdgt::initPainter(painter);
863 859 }
864 860 void PythonQtShell_MemSizeWdgt::inputMethodEvent(QInputMethodEvent* arg__1)
865 861 {
866 862 if (_wrapper) {
867 863 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent");
868 864 PyErr_Clear();
869 865 if (obj && !PythonQtSlotFunction_Check(obj)) {
870 866 static const char* argumentList[] ={"" , "QInputMethodEvent*"};
871 867 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
872 868 void* args[2] = {NULL, (void*)&arg__1};
873 869 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
874 870 if (result) { Py_DECREF(result); }
875 871 Py_DECREF(obj);
876 872 return;
877 873 }
878 874 }
879 875 MemSizeWdgt::inputMethodEvent(arg__1);
880 876 }
881 877 QVariant PythonQtShell_MemSizeWdgt::inputMethodQuery(Qt::InputMethodQuery arg__1) const
882 878 {
883 879 if (_wrapper) {
884 880 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery");
885 881 PyErr_Clear();
886 882 if (obj && !PythonQtSlotFunction_Check(obj)) {
887 883 static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"};
888 884 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
889 885 QVariant returnValue;
890 886 void* args[2] = {NULL, (void*)&arg__1};
891 887 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
892 888 if (result) {
893 889 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
894 890 if (args[0]!=&returnValue) {
895 891 if (args[0]==NULL) {
896 892 PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result);
897 893 } else {
898 894 returnValue = *((QVariant*)args[0]);
899 895 }
900 896 }
901 897 }
902 898 if (result) { Py_DECREF(result); }
903 899 Py_DECREF(obj);
904 900 return returnValue;
905 901 }
906 902 }
907 903 return MemSizeWdgt::inputMethodQuery(arg__1);
908 904 }
909 905 void PythonQtShell_MemSizeWdgt::keyPressEvent(QKeyEvent* arg__1)
910 906 {
911 907 if (_wrapper) {
912 908 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent");
913 909 PyErr_Clear();
914 910 if (obj && !PythonQtSlotFunction_Check(obj)) {
915 911 static const char* argumentList[] ={"" , "QKeyEvent*"};
916 912 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
917 913 void* args[2] = {NULL, (void*)&arg__1};
918 914 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
919 915 if (result) { Py_DECREF(result); }
920 916 Py_DECREF(obj);
921 917 return;
922 918 }
923 919 }
924 920 MemSizeWdgt::keyPressEvent(arg__1);
925 921 }
926 922 void PythonQtShell_MemSizeWdgt::keyReleaseEvent(QKeyEvent* arg__1)
927 923 {
928 924 if (_wrapper) {
929 925 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent");
930 926 PyErr_Clear();
931 927 if (obj && !PythonQtSlotFunction_Check(obj)) {
932 928 static const char* argumentList[] ={"" , "QKeyEvent*"};
933 929 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
934 930 void* args[2] = {NULL, (void*)&arg__1};
935 931 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
936 932 if (result) { Py_DECREF(result); }
937 933 Py_DECREF(obj);
938 934 return;
939 935 }
940 936 }
941 937 MemSizeWdgt::keyReleaseEvent(arg__1);
942 938 }
943 939 void PythonQtShell_MemSizeWdgt::leaveEvent(QEvent* arg__1)
944 940 {
945 941 if (_wrapper) {
946 942 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent");
947 943 PyErr_Clear();
948 944 if (obj && !PythonQtSlotFunction_Check(obj)) {
949 945 static const char* argumentList[] ={"" , "QEvent*"};
950 946 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
951 947 void* args[2] = {NULL, (void*)&arg__1};
952 948 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
953 949 if (result) { Py_DECREF(result); }
954 950 Py_DECREF(obj);
955 951 return;
956 952 }
957 953 }
958 954 MemSizeWdgt::leaveEvent(arg__1);
959 955 }
960 956 int PythonQtShell_MemSizeWdgt::metric(QPaintDevice::PaintDeviceMetric arg__1) const
961 957 {
962 958 if (_wrapper) {
963 959 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric");
964 960 PyErr_Clear();
965 961 if (obj && !PythonQtSlotFunction_Check(obj)) {
966 962 static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"};
967 963 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
968 964 int returnValue;
969 965 void* args[2] = {NULL, (void*)&arg__1};
970 966 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
971 967 if (result) {
972 968 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
973 969 if (args[0]!=&returnValue) {
974 970 if (args[0]==NULL) {
975 971 PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result);
976 972 } else {
977 973 returnValue = *((int*)args[0]);
978 974 }
979 975 }
980 976 }
981 977 if (result) { Py_DECREF(result); }
982 978 Py_DECREF(obj);
983 979 return returnValue;
984 980 }
985 981 }
986 982 return MemSizeWdgt::metric(arg__1);
987 983 }
988 984 QSize PythonQtShell_MemSizeWdgt::minimumSizeHint() const
989 985 {
990 986 if (_wrapper) {
991 987 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint");
992 988 PyErr_Clear();
993 989 if (obj && !PythonQtSlotFunction_Check(obj)) {
994 990 static const char* argumentList[] ={"QSize"};
995 991 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
996 992 QSize returnValue;
997 993 void* args[1] = {NULL};
998 994 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
999 995 if (result) {
1000 996 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
1001 997 if (args[0]!=&returnValue) {
1002 998 if (args[0]==NULL) {
1003 999 PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result);
1004 1000 } else {
1005 1001 returnValue = *((QSize*)args[0]);
1006 1002 }
1007 1003 }
1008 1004 }
1009 1005 if (result) { Py_DECREF(result); }
1010 1006 Py_DECREF(obj);
1011 1007 return returnValue;
1012 1008 }
1013 1009 }
1014 1010 return MemSizeWdgt::minimumSizeHint();
1015 1011 }
1016 1012 void PythonQtShell_MemSizeWdgt::mouseDoubleClickEvent(QMouseEvent* arg__1)
1017 1013 {
1018 1014 if (_wrapper) {
1019 1015 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent");
1020 1016 PyErr_Clear();
1021 1017 if (obj && !PythonQtSlotFunction_Check(obj)) {
1022 1018 static const char* argumentList[] ={"" , "QMouseEvent*"};
1023 1019 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1024 1020 void* args[2] = {NULL, (void*)&arg__1};
1025 1021 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1026 1022 if (result) { Py_DECREF(result); }
1027 1023 Py_DECREF(obj);
1028 1024 return;
1029 1025 }
1030 1026 }
1031 1027 MemSizeWdgt::mouseDoubleClickEvent(arg__1);
1032 1028 }
1033 1029 void PythonQtShell_MemSizeWdgt::mouseMoveEvent(QMouseEvent* arg__1)
1034 1030 {
1035 1031 if (_wrapper) {
1036 1032 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent");
1037 1033 PyErr_Clear();
1038 1034 if (obj && !PythonQtSlotFunction_Check(obj)) {
1039 1035 static const char* argumentList[] ={"" , "QMouseEvent*"};
1040 1036 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1041 1037 void* args[2] = {NULL, (void*)&arg__1};
1042 1038 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1043 1039 if (result) { Py_DECREF(result); }
1044 1040 Py_DECREF(obj);
1045 1041 return;
1046 1042 }
1047 1043 }
1048 1044 MemSizeWdgt::mouseMoveEvent(arg__1);
1049 1045 }
1050 1046 void PythonQtShell_MemSizeWdgt::mousePressEvent(QMouseEvent* arg__1)
1051 1047 {
1052 1048 if (_wrapper) {
1053 1049 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent");
1054 1050 PyErr_Clear();
1055 1051 if (obj && !PythonQtSlotFunction_Check(obj)) {
1056 1052 static const char* argumentList[] ={"" , "QMouseEvent*"};
1057 1053 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1058 1054 void* args[2] = {NULL, (void*)&arg__1};
1059 1055 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1060 1056 if (result) { Py_DECREF(result); }
1061 1057 Py_DECREF(obj);
1062 1058 return;
1063 1059 }
1064 1060 }
1065 1061 MemSizeWdgt::mousePressEvent(arg__1);
1066 1062 }
1067 1063 void PythonQtShell_MemSizeWdgt::mouseReleaseEvent(QMouseEvent* arg__1)
1068 1064 {
1069 1065 if (_wrapper) {
1070 1066 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent");
1071 1067 PyErr_Clear();
1072 1068 if (obj && !PythonQtSlotFunction_Check(obj)) {
1073 1069 static const char* argumentList[] ={"" , "QMouseEvent*"};
1074 1070 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1075 1071 void* args[2] = {NULL, (void*)&arg__1};
1076 1072 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1077 1073 if (result) { Py_DECREF(result); }
1078 1074 Py_DECREF(obj);
1079 1075 return;
1080 1076 }
1081 1077 }
1082 1078 MemSizeWdgt::mouseReleaseEvent(arg__1);
1083 1079 }
1084 1080 void PythonQtShell_MemSizeWdgt::moveEvent(QMoveEvent* arg__1)
1085 1081 {
1086 1082 if (_wrapper) {
1087 1083 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent");
1088 1084 PyErr_Clear();
1089 1085 if (obj && !PythonQtSlotFunction_Check(obj)) {
1090 1086 static const char* argumentList[] ={"" , "QMoveEvent*"};
1091 1087 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1092 1088 void* args[2] = {NULL, (void*)&arg__1};
1093 1089 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1094 1090 if (result) { Py_DECREF(result); }
1095 1091 Py_DECREF(obj);
1096 1092 return;
1097 1093 }
1098 1094 }
1099 1095 MemSizeWdgt::moveEvent(arg__1);
1100 1096 }
1101 1097 bool PythonQtShell_MemSizeWdgt::nativeEvent(const QByteArray& eventType, void* message, long* result)
1102 1098 {
1103 1099 if (_wrapper) {
1104 1100 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nativeEvent");
1105 1101 PyErr_Clear();
1106 1102 if (obj && !PythonQtSlotFunction_Check(obj)) {
1107 1103 static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"};
1108 1104 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList);
1109 1105 bool returnValue;
1110 1106 void* args[4] = {NULL, (void*)&eventType, (void*)&message, (void*)&result};
1111 1107 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1112 1108 if (result) {
1113 1109 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
1114 1110 if (args[0]!=&returnValue) {
1115 1111 if (args[0]==NULL) {
1116 1112 PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result);
1117 1113 } else {
1118 1114 returnValue = *((bool*)args[0]);
1119 1115 }
1120 1116 }
1121 1117 }
1122 1118 if (result) { Py_DECREF(result); }
1123 1119 Py_DECREF(obj);
1124 1120 return returnValue;
1125 1121 }
1126 1122 }
1127 1123 return MemSizeWdgt::nativeEvent(eventType, message, result);
1128 1124 }
1129 1125 QPaintEngine* PythonQtShell_MemSizeWdgt::paintEngine() const
1130 1126 {
1131 1127 if (_wrapper) {
1132 1128 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine");
1133 1129 PyErr_Clear();
1134 1130 if (obj && !PythonQtSlotFunction_Check(obj)) {
1135 1131 static const char* argumentList[] ={"QPaintEngine*"};
1136 1132 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
1137 1133 QPaintEngine* returnValue;
1138 1134 void* args[1] = {NULL};
1139 1135 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1140 1136 if (result) {
1141 1137 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
1142 1138 if (args[0]!=&returnValue) {
1143 1139 if (args[0]==NULL) {
1144 1140 PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result);
1145 1141 } else {
1146 1142 returnValue = *((QPaintEngine**)args[0]);
1147 1143 }
1148 1144 }
1149 1145 }
1150 1146 if (result) { Py_DECREF(result); }
1151 1147 Py_DECREF(obj);
1152 1148 return returnValue;
1153 1149 }
1154 1150 }
1155 1151 return MemSizeWdgt::paintEngine();
1156 1152 }
1157 1153 void PythonQtShell_MemSizeWdgt::paintEvent(QPaintEvent* arg__1)
1158 1154 {
1159 1155 if (_wrapper) {
1160 1156 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent");
1161 1157 PyErr_Clear();
1162 1158 if (obj && !PythonQtSlotFunction_Check(obj)) {
1163 1159 static const char* argumentList[] ={"" , "QPaintEvent*"};
1164 1160 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1165 1161 void* args[2] = {NULL, (void*)&arg__1};
1166 1162 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1167 1163 if (result) { Py_DECREF(result); }
1168 1164 Py_DECREF(obj);
1169 1165 return;
1170 1166 }
1171 1167 }
1172 1168 MemSizeWdgt::paintEvent(arg__1);
1173 1169 }
1174 1170 QPaintDevice* PythonQtShell_MemSizeWdgt::redirected(QPoint* offset) const
1175 1171 {
1176 1172 if (_wrapper) {
1177 1173 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "redirected");
1178 1174 PyErr_Clear();
1179 1175 if (obj && !PythonQtSlotFunction_Check(obj)) {
1180 1176 static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"};
1181 1177 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1182 1178 QPaintDevice* returnValue;
1183 1179 void* args[2] = {NULL, (void*)&offset};
1184 1180 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1185 1181 if (result) {
1186 1182 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
1187 1183 if (args[0]!=&returnValue) {
1188 1184 if (args[0]==NULL) {
1189 1185 PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result);
1190 1186 } else {
1191 1187 returnValue = *((QPaintDevice**)args[0]);
1192 1188 }
1193 1189 }
1194 1190 }
1195 1191 if (result) { Py_DECREF(result); }
1196 1192 Py_DECREF(obj);
1197 1193 return returnValue;
1198 1194 }
1199 1195 }
1200 1196 return MemSizeWdgt::redirected(offset);
1201 1197 }
1202 1198 void PythonQtShell_MemSizeWdgt::resizeEvent(QResizeEvent* arg__1)
1203 1199 {
1204 1200 if (_wrapper) {
1205 1201 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent");
1206 1202 PyErr_Clear();
1207 1203 if (obj && !PythonQtSlotFunction_Check(obj)) {
1208 1204 static const char* argumentList[] ={"" , "QResizeEvent*"};
1209 1205 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1210 1206 void* args[2] = {NULL, (void*)&arg__1};
1211 1207 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1212 1208 if (result) { Py_DECREF(result); }
1213 1209 Py_DECREF(obj);
1214 1210 return;
1215 1211 }
1216 1212 }
1217 1213 MemSizeWdgt::resizeEvent(arg__1);
1218 1214 }
1219 1215 QPainter* PythonQtShell_MemSizeWdgt::sharedPainter() const
1220 1216 {
1221 1217 if (_wrapper) {
1222 1218 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sharedPainter");
1223 1219 PyErr_Clear();
1224 1220 if (obj && !PythonQtSlotFunction_Check(obj)) {
1225 1221 static const char* argumentList[] ={"QPainter*"};
1226 1222 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
1227 1223 QPainter* returnValue;
1228 1224 void* args[1] = {NULL};
1229 1225 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1230 1226 if (result) {
1231 1227 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
1232 1228 if (args[0]!=&returnValue) {
1233 1229 if (args[0]==NULL) {
1234 1230 PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result);
1235 1231 } else {
1236 1232 returnValue = *((QPainter**)args[0]);
1237 1233 }
1238 1234 }
1239 1235 }
1240 1236 if (result) { Py_DECREF(result); }
1241 1237 Py_DECREF(obj);
1242 1238 return returnValue;
1243 1239 }
1244 1240 }
1245 1241 return MemSizeWdgt::sharedPainter();
1246 1242 }
1247 1243 void PythonQtShell_MemSizeWdgt::showEvent(QShowEvent* arg__1)
1248 1244 {
1249 1245 if (_wrapper) {
1250 1246 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent");
1251 1247 PyErr_Clear();
1252 1248 if (obj && !PythonQtSlotFunction_Check(obj)) {
1253 1249 static const char* argumentList[] ={"" , "QShowEvent*"};
1254 1250 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1255 1251 void* args[2] = {NULL, (void*)&arg__1};
1256 1252 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1257 1253 if (result) { Py_DECREF(result); }
1258 1254 Py_DECREF(obj);
1259 1255 return;
1260 1256 }
1261 1257 }
1262 1258 MemSizeWdgt::showEvent(arg__1);
1263 1259 }
1264 1260 QSize PythonQtShell_MemSizeWdgt::sizeHint() const
1265 1261 {
1266 1262 if (_wrapper) {
1267 1263 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint");
1268 1264 PyErr_Clear();
1269 1265 if (obj && !PythonQtSlotFunction_Check(obj)) {
1270 1266 static const char* argumentList[] ={"QSize"};
1271 1267 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
1272 1268 QSize returnValue;
1273 1269 void* args[1] = {NULL};
1274 1270 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1275 1271 if (result) {
1276 1272 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
1277 1273 if (args[0]!=&returnValue) {
1278 1274 if (args[0]==NULL) {
1279 1275 PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result);
1280 1276 } else {
1281 1277 returnValue = *((QSize*)args[0]);
1282 1278 }
1283 1279 }
1284 1280 }
1285 1281 if (result) { Py_DECREF(result); }
1286 1282 Py_DECREF(obj);
1287 1283 return returnValue;
1288 1284 }
1289 1285 }
1290 1286 return MemSizeWdgt::sizeHint();
1291 1287 }
1292 1288 void PythonQtShell_MemSizeWdgt::tabletEvent(QTabletEvent* arg__1)
1293 1289 {
1294 1290 if (_wrapper) {
1295 1291 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent");
1296 1292 PyErr_Clear();
1297 1293 if (obj && !PythonQtSlotFunction_Check(obj)) {
1298 1294 static const char* argumentList[] ={"" , "QTabletEvent*"};
1299 1295 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1300 1296 void* args[2] = {NULL, (void*)&arg__1};
1301 1297 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1302 1298 if (result) { Py_DECREF(result); }
1303 1299 Py_DECREF(obj);
1304 1300 return;
1305 1301 }
1306 1302 }
1307 1303 MemSizeWdgt::tabletEvent(arg__1);
1308 1304 }
1309 1305 void PythonQtShell_MemSizeWdgt::timerEvent(QTimerEvent* arg__1)
1310 1306 {
1311 1307 if (_wrapper) {
1312 1308 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent");
1313 1309 PyErr_Clear();
1314 1310 if (obj && !PythonQtSlotFunction_Check(obj)) {
1315 1311 static const char* argumentList[] ={"" , "QTimerEvent*"};
1316 1312 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1317 1313 void* args[2] = {NULL, (void*)&arg__1};
1318 1314 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1319 1315 if (result) { Py_DECREF(result); }
1320 1316 Py_DECREF(obj);
1321 1317 return;
1322 1318 }
1323 1319 }
1324 1320 MemSizeWdgt::timerEvent(arg__1);
1325 1321 }
1326 1322 void PythonQtShell_MemSizeWdgt::wheelEvent(QWheelEvent* arg__1)
1327 1323 {
1328 1324 if (_wrapper) {
1329 1325 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent");
1330 1326 PyErr_Clear();
1331 1327 if (obj && !PythonQtSlotFunction_Check(obj)) {
1332 1328 static const char* argumentList[] ={"" , "QWheelEvent*"};
1333 1329 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1334 1330 void* args[2] = {NULL, (void*)&arg__1};
1335 1331 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1336 1332 if (result) { Py_DECREF(result); }
1337 1333 Py_DECREF(obj);
1338 1334 return;
1339 1335 }
1340 1336 }
1341 1337 MemSizeWdgt::wheelEvent(arg__1);
1342 1338 }
1343 1339 MemSizeWdgt* PythonQtWrapper_MemSizeWdgt::new_MemSizeWdgt(QWidget* parent)
1344 1340 {
1345 1341 return new PythonQtShell_MemSizeWdgt(parent); }
1346 1342
1347 1343 MemSizeWdgt* PythonQtWrapper_MemSizeWdgt::new_MemSizeWdgt(int defaultSize, QWidget* parent)
1348 1344 {
1349 1345 return new PythonQtShell_MemSizeWdgt(defaultSize, parent); }
1350 1346
1351 1347 int PythonQtWrapper_MemSizeWdgt::getsize(MemSizeWdgt* theWrappedObject)
1352 1348 {
1353 1349 return ( theWrappedObject->getsize());
1354 1350 }
1355 1351
1356 1352 void PythonQtWrapper_MemSizeWdgt::setMaximum(MemSizeWdgt* theWrappedObject, unsigned int max)
1357 1353 {
1358 1354 ( theWrappedObject->setMaximum(max));
1359 1355 }
1360 1356
1361 1357 void PythonQtWrapper_MemSizeWdgt::show(MemSizeWdgt* theWrappedObject)
1362 1358 {
1363 1359 ( theWrappedObject->show());
1364 1360 }
1365 1361
1366 1362 void PythonQtWrapper_MemSizeWdgt::updateSizeValue(MemSizeWdgt* theWrappedObject)
1367 1363 {
1368 1364 ( theWrappedObject->updateSizeValue());
1369 1365 }
1370 1366
1371 1367
1372 1368
1373 1369 PythonQtShell_QHexEdit::~PythonQtShell_QHexEdit() {
1374 1370 PythonQtPrivate* priv = PythonQt::priv();
1375 1371 if (priv) { priv->shellClassDeleted(this); }
1376 1372 }
1377 1373 void PythonQtShell_QHexEdit::actionEvent(QActionEvent* arg__1)
1378 1374 {
1379 1375 if (_wrapper) {
1380 1376 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent");
1381 1377 PyErr_Clear();
1382 1378 if (obj && !PythonQtSlotFunction_Check(obj)) {
1383 1379 static const char* argumentList[] ={"" , "QActionEvent*"};
1384 1380 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1385 1381 void* args[2] = {NULL, (void*)&arg__1};
1386 1382 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1387 1383 if (result) { Py_DECREF(result); }
1388 1384 Py_DECREF(obj);
1389 1385 return;
1390 1386 }
1391 1387 }
1392 1388 QHexEdit::actionEvent(arg__1);
1393 1389 }
1394 1390 void PythonQtShell_QHexEdit::changeEvent(QEvent* arg__1)
1395 1391 {
1396 1392 if (_wrapper) {
1397 1393 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent");
1398 1394 PyErr_Clear();
1399 1395 if (obj && !PythonQtSlotFunction_Check(obj)) {
1400 1396 static const char* argumentList[] ={"" , "QEvent*"};
1401 1397 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1402 1398 void* args[2] = {NULL, (void*)&arg__1};
1403 1399 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1404 1400 if (result) { Py_DECREF(result); }
1405 1401 Py_DECREF(obj);
1406 1402 return;
1407 1403 }
1408 1404 }
1409 1405 QHexEdit::changeEvent(arg__1);
1410 1406 }
1411 1407 void PythonQtShell_QHexEdit::childEvent(QChildEvent* arg__1)
1412 1408 {
1413 1409 if (_wrapper) {
1414 1410 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent");
1415 1411 PyErr_Clear();
1416 1412 if (obj && !PythonQtSlotFunction_Check(obj)) {
1417 1413 static const char* argumentList[] ={"" , "QChildEvent*"};
1418 1414 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1419 1415 void* args[2] = {NULL, (void*)&arg__1};
1420 1416 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1421 1417 if (result) { Py_DECREF(result); }
1422 1418 Py_DECREF(obj);
1423 1419 return;
1424 1420 }
1425 1421 }
1426 1422 QHexEdit::childEvent(arg__1);
1427 1423 }
1428 1424 void PythonQtShell_QHexEdit::closeEvent(QCloseEvent* arg__1)
1429 1425 {
1430 1426 if (_wrapper) {
1431 1427 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent");
1432 1428 PyErr_Clear();
1433 1429 if (obj && !PythonQtSlotFunction_Check(obj)) {
1434 1430 static const char* argumentList[] ={"" , "QCloseEvent*"};
1435 1431 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1436 1432 void* args[2] = {NULL, (void*)&arg__1};
1437 1433 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1438 1434 if (result) { Py_DECREF(result); }
1439 1435 Py_DECREF(obj);
1440 1436 return;
1441 1437 }
1442 1438 }
1443 1439 QHexEdit::closeEvent(arg__1);
1444 1440 }
1445 1441 void PythonQtShell_QHexEdit::contextMenuEvent(QContextMenuEvent* arg__1)
1446 1442 {
1447 1443 if (_wrapper) {
1448 1444 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent");
1449 1445 PyErr_Clear();
1450 1446 if (obj && !PythonQtSlotFunction_Check(obj)) {
1451 1447 static const char* argumentList[] ={"" , "QContextMenuEvent*"};
1452 1448 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1453 1449 void* args[2] = {NULL, (void*)&arg__1};
1454 1450 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1455 1451 if (result) { Py_DECREF(result); }
1456 1452 Py_DECREF(obj);
1457 1453 return;
1458 1454 }
1459 1455 }
1460 1456 QHexEdit::contextMenuEvent(arg__1);
1461 1457 }
1462 1458 void PythonQtShell_QHexEdit::customEvent(QEvent* arg__1)
1463 1459 {
1464 1460 if (_wrapper) {
1465 1461 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent");
1466 1462 PyErr_Clear();
1467 1463 if (obj && !PythonQtSlotFunction_Check(obj)) {
1468 1464 static const char* argumentList[] ={"" , "QEvent*"};
1469 1465 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1470 1466 void* args[2] = {NULL, (void*)&arg__1};
1471 1467 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1472 1468 if (result) { Py_DECREF(result); }
1473 1469 Py_DECREF(obj);
1474 1470 return;
1475 1471 }
1476 1472 }
1477 1473 QHexEdit::customEvent(arg__1);
1478 1474 }
1479 1475 int PythonQtShell_QHexEdit::devType() const
1480 1476 {
1481 1477 if (_wrapper) {
1482 1478 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType");
1483 1479 PyErr_Clear();
1484 1480 if (obj && !PythonQtSlotFunction_Check(obj)) {
1485 1481 static const char* argumentList[] ={"int"};
1486 1482 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
1487 1483 int returnValue;
1488 1484 void* args[1] = {NULL};
1489 1485 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1490 1486 if (result) {
1491 1487 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
1492 1488 if (args[0]!=&returnValue) {
1493 1489 if (args[0]==NULL) {
1494 1490 PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result);
1495 1491 } else {
1496 1492 returnValue = *((int*)args[0]);
1497 1493 }
1498 1494 }
1499 1495 }
1500 1496 if (result) { Py_DECREF(result); }
1501 1497 Py_DECREF(obj);
1502 1498 return returnValue;
1503 1499 }
1504 1500 }
1505 1501 return QHexEdit::devType();
1506 1502 }
1507 1503 void PythonQtShell_QHexEdit::dragEnterEvent(QDragEnterEvent* arg__1)
1508 1504 {
1509 1505 if (_wrapper) {
1510 1506 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent");
1511 1507 PyErr_Clear();
1512 1508 if (obj && !PythonQtSlotFunction_Check(obj)) {
1513 1509 static const char* argumentList[] ={"" , "QDragEnterEvent*"};
1514 1510 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1515 1511 void* args[2] = {NULL, (void*)&arg__1};
1516 1512 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1517 1513 if (result) { Py_DECREF(result); }
1518 1514 Py_DECREF(obj);
1519 1515 return;
1520 1516 }
1521 1517 }
1522 1518 QHexEdit::dragEnterEvent(arg__1);
1523 1519 }
1524 1520 void PythonQtShell_QHexEdit::dragLeaveEvent(QDragLeaveEvent* arg__1)
1525 1521 {
1526 1522 if (_wrapper) {
1527 1523 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent");
1528 1524 PyErr_Clear();
1529 1525 if (obj && !PythonQtSlotFunction_Check(obj)) {
1530 1526 static const char* argumentList[] ={"" , "QDragLeaveEvent*"};
1531 1527 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1532 1528 void* args[2] = {NULL, (void*)&arg__1};
1533 1529 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1534 1530 if (result) { Py_DECREF(result); }
1535 1531 Py_DECREF(obj);
1536 1532 return;
1537 1533 }
1538 1534 }
1539 1535 QHexEdit::dragLeaveEvent(arg__1);
1540 1536 }
1541 1537 void PythonQtShell_QHexEdit::dragMoveEvent(QDragMoveEvent* arg__1)
1542 1538 {
1543 1539 if (_wrapper) {
1544 1540 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent");
1545 1541 PyErr_Clear();
1546 1542 if (obj && !PythonQtSlotFunction_Check(obj)) {
1547 1543 static const char* argumentList[] ={"" , "QDragMoveEvent*"};
1548 1544 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1549 1545 void* args[2] = {NULL, (void*)&arg__1};
1550 1546 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1551 1547 if (result) { Py_DECREF(result); }
1552 1548 Py_DECREF(obj);
1553 1549 return;
1554 1550 }
1555 1551 }
1556 1552 QHexEdit::dragMoveEvent(arg__1);
1557 1553 }
1558 1554 void PythonQtShell_QHexEdit::dropEvent(QDropEvent* arg__1)
1559 1555 {
1560 1556 if (_wrapper) {
1561 1557 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent");
1562 1558 PyErr_Clear();
1563 1559 if (obj && !PythonQtSlotFunction_Check(obj)) {
1564 1560 static const char* argumentList[] ={"" , "QDropEvent*"};
1565 1561 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1566 1562 void* args[2] = {NULL, (void*)&arg__1};
1567 1563 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1568 1564 if (result) { Py_DECREF(result); }
1569 1565 Py_DECREF(obj);
1570 1566 return;
1571 1567 }
1572 1568 }
1573 1569 QHexEdit::dropEvent(arg__1);
1574 1570 }
1575 1571 void PythonQtShell_QHexEdit::enterEvent(QEvent* arg__1)
1576 1572 {
1577 1573 if (_wrapper) {
1578 1574 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent");
1579 1575 PyErr_Clear();
1580 1576 if (obj && !PythonQtSlotFunction_Check(obj)) {
1581 1577 static const char* argumentList[] ={"" , "QEvent*"};
1582 1578 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1583 1579 void* args[2] = {NULL, (void*)&arg__1};
1584 1580 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1585 1581 if (result) { Py_DECREF(result); }
1586 1582 Py_DECREF(obj);
1587 1583 return;
1588 1584 }
1589 1585 }
1590 1586 QHexEdit::enterEvent(arg__1);
1591 1587 }
1592 1588 bool PythonQtShell_QHexEdit::event(QEvent* arg__1)
1593 1589 {
1594 1590 if (_wrapper) {
1595 1591 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event");
1596 1592 PyErr_Clear();
1597 1593 if (obj && !PythonQtSlotFunction_Check(obj)) {
1598 1594 static const char* argumentList[] ={"bool" , "QEvent*"};
1599 1595 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1600 1596 bool returnValue;
1601 1597 void* args[2] = {NULL, (void*)&arg__1};
1602 1598 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1603 1599 if (result) {
1604 1600 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
1605 1601 if (args[0]!=&returnValue) {
1606 1602 if (args[0]==NULL) {
1607 1603 PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result);
1608 1604 } else {
1609 1605 returnValue = *((bool*)args[0]);
1610 1606 }
1611 1607 }
1612 1608 }
1613 1609 if (result) { Py_DECREF(result); }
1614 1610 Py_DECREF(obj);
1615 1611 return returnValue;
1616 1612 }
1617 1613 }
1618 1614 return QHexEdit::event(arg__1);
1619 1615 }
1620 1616 bool PythonQtShell_QHexEdit::eventFilter(QObject* arg__1, QEvent* arg__2)
1621 1617 {
1622 1618 if (_wrapper) {
1623 1619 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter");
1624 1620 PyErr_Clear();
1625 1621 if (obj && !PythonQtSlotFunction_Check(obj)) {
1626 1622 static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"};
1627 1623 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
1628 1624 bool returnValue;
1629 1625 void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2};
1630 1626 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1631 1627 if (result) {
1632 1628 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
1633 1629 if (args[0]!=&returnValue) {
1634 1630 if (args[0]==NULL) {
1635 1631 PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result);
1636 1632 } else {
1637 1633 returnValue = *((bool*)args[0]);
1638 1634 }
1639 1635 }
1640 1636 }
1641 1637 if (result) { Py_DECREF(result); }
1642 1638 Py_DECREF(obj);
1643 1639 return returnValue;
1644 1640 }
1645 1641 }
1646 1642 return QHexEdit::eventFilter(arg__1, arg__2);
1647 1643 }
1648 1644 void PythonQtShell_QHexEdit::focusInEvent(QFocusEvent* arg__1)
1649 1645 {
1650 1646 if (_wrapper) {
1651 1647 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent");
1652 1648 PyErr_Clear();
1653 1649 if (obj && !PythonQtSlotFunction_Check(obj)) {
1654 1650 static const char* argumentList[] ={"" , "QFocusEvent*"};
1655 1651 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1656 1652 void* args[2] = {NULL, (void*)&arg__1};
1657 1653 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1658 1654 if (result) { Py_DECREF(result); }
1659 1655 Py_DECREF(obj);
1660 1656 return;
1661 1657 }
1662 1658 }
1663 1659 QHexEdit::focusInEvent(arg__1);
1664 1660 }
1665 1661 bool PythonQtShell_QHexEdit::focusNextPrevChild(bool next)
1666 1662 {
1667 1663 if (_wrapper) {
1668 1664 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild");
1669 1665 PyErr_Clear();
1670 1666 if (obj && !PythonQtSlotFunction_Check(obj)) {
1671 1667 static const char* argumentList[] ={"bool" , "bool"};
1672 1668 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1673 1669 bool returnValue;
1674 1670 void* args[2] = {NULL, (void*)&next};
1675 1671 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1676 1672 if (result) {
1677 1673 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
1678 1674 if (args[0]!=&returnValue) {
1679 1675 if (args[0]==NULL) {
1680 1676 PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result);
1681 1677 } else {
1682 1678 returnValue = *((bool*)args[0]);
1683 1679 }
1684 1680 }
1685 1681 }
1686 1682 if (result) { Py_DECREF(result); }
1687 1683 Py_DECREF(obj);
1688 1684 return returnValue;
1689 1685 }
1690 1686 }
1691 1687 return QHexEdit::focusNextPrevChild(next);
1692 1688 }
1693 1689 void PythonQtShell_QHexEdit::focusOutEvent(QFocusEvent* arg__1)
1694 1690 {
1695 1691 if (_wrapper) {
1696 1692 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent");
1697 1693 PyErr_Clear();
1698 1694 if (obj && !PythonQtSlotFunction_Check(obj)) {
1699 1695 static const char* argumentList[] ={"" , "QFocusEvent*"};
1700 1696 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1701 1697 void* args[2] = {NULL, (void*)&arg__1};
1702 1698 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1703 1699 if (result) { Py_DECREF(result); }
1704 1700 Py_DECREF(obj);
1705 1701 return;
1706 1702 }
1707 1703 }
1708 1704 QHexEdit::focusOutEvent(arg__1);
1709 1705 }
1710 1706 bool PythonQtShell_QHexEdit::hasHeightForWidth() const
1711 1707 {
1712 1708 if (_wrapper) {
1713 1709 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasHeightForWidth");
1714 1710 PyErr_Clear();
1715 1711 if (obj && !PythonQtSlotFunction_Check(obj)) {
1716 1712 static const char* argumentList[] ={"bool"};
1717 1713 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
1718 1714 bool returnValue;
1719 1715 void* args[1] = {NULL};
1720 1716 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1721 1717 if (result) {
1722 1718 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
1723 1719 if (args[0]!=&returnValue) {
1724 1720 if (args[0]==NULL) {
1725 1721 PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result);
1726 1722 } else {
1727 1723 returnValue = *((bool*)args[0]);
1728 1724 }
1729 1725 }
1730 1726 }
1731 1727 if (result) { Py_DECREF(result); }
1732 1728 Py_DECREF(obj);
1733 1729 return returnValue;
1734 1730 }
1735 1731 }
1736 1732 return QHexEdit::hasHeightForWidth();
1737 1733 }
1738 1734 int PythonQtShell_QHexEdit::heightForWidth(int arg__1) const
1739 1735 {
1740 1736 if (_wrapper) {
1741 1737 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth");
1742 1738 PyErr_Clear();
1743 1739 if (obj && !PythonQtSlotFunction_Check(obj)) {
1744 1740 static const char* argumentList[] ={"int" , "int"};
1745 1741 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1746 1742 int returnValue;
1747 1743 void* args[2] = {NULL, (void*)&arg__1};
1748 1744 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1749 1745 if (result) {
1750 1746 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
1751 1747 if (args[0]!=&returnValue) {
1752 1748 if (args[0]==NULL) {
1753 1749 PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result);
1754 1750 } else {
1755 1751 returnValue = *((int*)args[0]);
1756 1752 }
1757 1753 }
1758 1754 }
1759 1755 if (result) { Py_DECREF(result); }
1760 1756 Py_DECREF(obj);
1761 1757 return returnValue;
1762 1758 }
1763 1759 }
1764 1760 return QHexEdit::heightForWidth(arg__1);
1765 1761 }
1766 1762 void PythonQtShell_QHexEdit::hideEvent(QHideEvent* arg__1)
1767 1763 {
1768 1764 if (_wrapper) {
1769 1765 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent");
1770 1766 PyErr_Clear();
1771 1767 if (obj && !PythonQtSlotFunction_Check(obj)) {
1772 1768 static const char* argumentList[] ={"" , "QHideEvent*"};
1773 1769 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1774 1770 void* args[2] = {NULL, (void*)&arg__1};
1775 1771 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1776 1772 if (result) { Py_DECREF(result); }
1777 1773 Py_DECREF(obj);
1778 1774 return;
1779 1775 }
1780 1776 }
1781 1777 QHexEdit::hideEvent(arg__1);
1782 1778 }
1783 1779 void PythonQtShell_QHexEdit::initPainter(QPainter* painter) const
1784 1780 {
1785 1781 if (_wrapper) {
1786 1782 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "initPainter");
1787 1783 PyErr_Clear();
1788 1784 if (obj && !PythonQtSlotFunction_Check(obj)) {
1789 1785 static const char* argumentList[] ={"" , "QPainter*"};
1790 1786 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1791 1787 void* args[2] = {NULL, (void*)&painter};
1792 1788 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1793 1789 if (result) { Py_DECREF(result); }
1794 1790 Py_DECREF(obj);
1795 1791 return;
1796 1792 }
1797 1793 }
1798 1794 QHexEdit::initPainter(painter);
1799 1795 }
1800 1796 void PythonQtShell_QHexEdit::inputMethodEvent(QInputMethodEvent* arg__1)
1801 1797 {
1802 1798 if (_wrapper) {
1803 1799 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent");
1804 1800 PyErr_Clear();
1805 1801 if (obj && !PythonQtSlotFunction_Check(obj)) {
1806 1802 static const char* argumentList[] ={"" , "QInputMethodEvent*"};
1807 1803 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1808 1804 void* args[2] = {NULL, (void*)&arg__1};
1809 1805 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1810 1806 if (result) { Py_DECREF(result); }
1811 1807 Py_DECREF(obj);
1812 1808 return;
1813 1809 }
1814 1810 }
1815 1811 QHexEdit::inputMethodEvent(arg__1);
1816 1812 }
1817 1813 QVariant PythonQtShell_QHexEdit::inputMethodQuery(Qt::InputMethodQuery arg__1) const
1818 1814 {
1819 1815 if (_wrapper) {
1820 1816 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery");
1821 1817 PyErr_Clear();
1822 1818 if (obj && !PythonQtSlotFunction_Check(obj)) {
1823 1819 static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"};
1824 1820 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1825 1821 QVariant returnValue;
1826 1822 void* args[2] = {NULL, (void*)&arg__1};
1827 1823 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1828 1824 if (result) {
1829 1825 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
1830 1826 if (args[0]!=&returnValue) {
1831 1827 if (args[0]==NULL) {
1832 1828 PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result);
1833 1829 } else {
1834 1830 returnValue = *((QVariant*)args[0]);
1835 1831 }
1836 1832 }
1837 1833 }
1838 1834 if (result) { Py_DECREF(result); }
1839 1835 Py_DECREF(obj);
1840 1836 return returnValue;
1841 1837 }
1842 1838 }
1843 1839 return QHexEdit::inputMethodQuery(arg__1);
1844 1840 }
1845 1841 void PythonQtShell_QHexEdit::keyPressEvent(QKeyEvent* arg__1)
1846 1842 {
1847 1843 if (_wrapper) {
1848 1844 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent");
1849 1845 PyErr_Clear();
1850 1846 if (obj && !PythonQtSlotFunction_Check(obj)) {
1851 1847 static const char* argumentList[] ={"" , "QKeyEvent*"};
1852 1848 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1853 1849 void* args[2] = {NULL, (void*)&arg__1};
1854 1850 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1855 1851 if (result) { Py_DECREF(result); }
1856 1852 Py_DECREF(obj);
1857 1853 return;
1858 1854 }
1859 1855 }
1860 1856 QHexEdit::keyPressEvent(arg__1);
1861 1857 }
1862 1858 void PythonQtShell_QHexEdit::keyReleaseEvent(QKeyEvent* arg__1)
1863 1859 {
1864 1860 if (_wrapper) {
1865 1861 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent");
1866 1862 PyErr_Clear();
1867 1863 if (obj && !PythonQtSlotFunction_Check(obj)) {
1868 1864 static const char* argumentList[] ={"" , "QKeyEvent*"};
1869 1865 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1870 1866 void* args[2] = {NULL, (void*)&arg__1};
1871 1867 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1872 1868 if (result) { Py_DECREF(result); }
1873 1869 Py_DECREF(obj);
1874 1870 return;
1875 1871 }
1876 1872 }
1877 1873 QHexEdit::keyReleaseEvent(arg__1);
1878 1874 }
1879 1875 void PythonQtShell_QHexEdit::leaveEvent(QEvent* arg__1)
1880 1876 {
1881 1877 if (_wrapper) {
1882 1878 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent");
1883 1879 PyErr_Clear();
1884 1880 if (obj && !PythonQtSlotFunction_Check(obj)) {
1885 1881 static const char* argumentList[] ={"" , "QEvent*"};
1886 1882 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1887 1883 void* args[2] = {NULL, (void*)&arg__1};
1888 1884 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1889 1885 if (result) { Py_DECREF(result); }
1890 1886 Py_DECREF(obj);
1891 1887 return;
1892 1888 }
1893 1889 }
1894 1890 QHexEdit::leaveEvent(arg__1);
1895 1891 }
1896 1892 int PythonQtShell_QHexEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const
1897 1893 {
1898 1894 if (_wrapper) {
1899 1895 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric");
1900 1896 PyErr_Clear();
1901 1897 if (obj && !PythonQtSlotFunction_Check(obj)) {
1902 1898 static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"};
1903 1899 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1904 1900 int returnValue;
1905 1901 void* args[2] = {NULL, (void*)&arg__1};
1906 1902 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1907 1903 if (result) {
1908 1904 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
1909 1905 if (args[0]!=&returnValue) {
1910 1906 if (args[0]==NULL) {
1911 1907 PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result);
1912 1908 } else {
1913 1909 returnValue = *((int*)args[0]);
1914 1910 }
1915 1911 }
1916 1912 }
1917 1913 if (result) { Py_DECREF(result); }
1918 1914 Py_DECREF(obj);
1919 1915 return returnValue;
1920 1916 }
1921 1917 }
1922 1918 return QHexEdit::metric(arg__1);
1923 1919 }
1924 1920 void PythonQtShell_QHexEdit::mouseDoubleClickEvent(QMouseEvent* arg__1)
1925 1921 {
1926 1922 if (_wrapper) {
1927 1923 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent");
1928 1924 PyErr_Clear();
1929 1925 if (obj && !PythonQtSlotFunction_Check(obj)) {
1930 1926 static const char* argumentList[] ={"" , "QMouseEvent*"};
1931 1927 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1932 1928 void* args[2] = {NULL, (void*)&arg__1};
1933 1929 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1934 1930 if (result) { Py_DECREF(result); }
1935 1931 Py_DECREF(obj);
1936 1932 return;
1937 1933 }
1938 1934 }
1939 1935 QHexEdit::mouseDoubleClickEvent(arg__1);
1940 1936 }
1941 1937 void PythonQtShell_QHexEdit::mouseMoveEvent(QMouseEvent* arg__1)
1942 1938 {
1943 1939 if (_wrapper) {
1944 1940 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent");
1945 1941 PyErr_Clear();
1946 1942 if (obj && !PythonQtSlotFunction_Check(obj)) {
1947 1943 static const char* argumentList[] ={"" , "QMouseEvent*"};
1948 1944 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1949 1945 void* args[2] = {NULL, (void*)&arg__1};
1950 1946 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1951 1947 if (result) { Py_DECREF(result); }
1952 1948 Py_DECREF(obj);
1953 1949 return;
1954 1950 }
1955 1951 }
1956 1952 QHexEdit::mouseMoveEvent(arg__1);
1957 1953 }
1958 1954 void PythonQtShell_QHexEdit::mousePressEvent(QMouseEvent* arg__1)
1959 1955 {
1960 1956 if (_wrapper) {
1961 1957 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent");
1962 1958 PyErr_Clear();
1963 1959 if (obj && !PythonQtSlotFunction_Check(obj)) {
1964 1960 static const char* argumentList[] ={"" , "QMouseEvent*"};
1965 1961 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1966 1962 void* args[2] = {NULL, (void*)&arg__1};
1967 1963 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1968 1964 if (result) { Py_DECREF(result); }
1969 1965 Py_DECREF(obj);
1970 1966 return;
1971 1967 }
1972 1968 }
1973 1969 QHexEdit::mousePressEvent(arg__1);
1974 1970 }
1975 1971 void PythonQtShell_QHexEdit::mouseReleaseEvent(QMouseEvent* arg__1)
1976 1972 {
1977 1973 if (_wrapper) {
1978 1974 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent");
1979 1975 PyErr_Clear();
1980 1976 if (obj && !PythonQtSlotFunction_Check(obj)) {
1981 1977 static const char* argumentList[] ={"" , "QMouseEvent*"};
1982 1978 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
1983 1979 void* args[2] = {NULL, (void*)&arg__1};
1984 1980 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
1985 1981 if (result) { Py_DECREF(result); }
1986 1982 Py_DECREF(obj);
1987 1983 return;
1988 1984 }
1989 1985 }
1990 1986 QHexEdit::mouseReleaseEvent(arg__1);
1991 1987 }
1992 1988 void PythonQtShell_QHexEdit::moveEvent(QMoveEvent* arg__1)
1993 1989 {
1994 1990 if (_wrapper) {
1995 1991 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent");
1996 1992 PyErr_Clear();
1997 1993 if (obj && !PythonQtSlotFunction_Check(obj)) {
1998 1994 static const char* argumentList[] ={"" , "QMoveEvent*"};
1999 1995 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2000 1996 void* args[2] = {NULL, (void*)&arg__1};
2001 1997 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2002 1998 if (result) { Py_DECREF(result); }
2003 1999 Py_DECREF(obj);
2004 2000 return;
2005 2001 }
2006 2002 }
2007 2003 QHexEdit::moveEvent(arg__1);
2008 2004 }
2009 2005 bool PythonQtShell_QHexEdit::nativeEvent(const QByteArray& eventType, void* message, long* result)
2010 2006 {
2011 2007 if (_wrapper) {
2012 2008 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nativeEvent");
2013 2009 PyErr_Clear();
2014 2010 if (obj && !PythonQtSlotFunction_Check(obj)) {
2015 2011 static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"};
2016 2012 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList);
2017 2013 bool returnValue;
2018 2014 void* args[4] = {NULL, (void*)&eventType, (void*)&message, (void*)&result};
2019 2015 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2020 2016 if (result) {
2021 2017 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
2022 2018 if (args[0]!=&returnValue) {
2023 2019 if (args[0]==NULL) {
2024 2020 PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result);
2025 2021 } else {
2026 2022 returnValue = *((bool*)args[0]);
2027 2023 }
2028 2024 }
2029 2025 }
2030 2026 if (result) { Py_DECREF(result); }
2031 2027 Py_DECREF(obj);
2032 2028 return returnValue;
2033 2029 }
2034 2030 }
2035 2031 return QHexEdit::nativeEvent(eventType, message, result);
2036 2032 }
2037 2033 QPaintEngine* PythonQtShell_QHexEdit::paintEngine() const
2038 2034 {
2039 2035 if (_wrapper) {
2040 2036 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine");
2041 2037 PyErr_Clear();
2042 2038 if (obj && !PythonQtSlotFunction_Check(obj)) {
2043 2039 static const char* argumentList[] ={"QPaintEngine*"};
2044 2040 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
2045 2041 QPaintEngine* returnValue;
2046 2042 void* args[1] = {NULL};
2047 2043 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2048 2044 if (result) {
2049 2045 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
2050 2046 if (args[0]!=&returnValue) {
2051 2047 if (args[0]==NULL) {
2052 2048 PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result);
2053 2049 } else {
2054 2050 returnValue = *((QPaintEngine**)args[0]);
2055 2051 }
2056 2052 }
2057 2053 }
2058 2054 if (result) { Py_DECREF(result); }
2059 2055 Py_DECREF(obj);
2060 2056 return returnValue;
2061 2057 }
2062 2058 }
2063 2059 return QHexEdit::paintEngine();
2064 2060 }
2065 2061 void PythonQtShell_QHexEdit::paintEvent(QPaintEvent* arg__1)
2066 2062 {
2067 2063 if (_wrapper) {
2068 2064 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent");
2069 2065 PyErr_Clear();
2070 2066 if (obj && !PythonQtSlotFunction_Check(obj)) {
2071 2067 static const char* argumentList[] ={"" , "QPaintEvent*"};
2072 2068 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2073 2069 void* args[2] = {NULL, (void*)&arg__1};
2074 2070 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2075 2071 if (result) { Py_DECREF(result); }
2076 2072 Py_DECREF(obj);
2077 2073 return;
2078 2074 }
2079 2075 }
2080 2076 QHexEdit::paintEvent(arg__1);
2081 2077 }
2082 2078 QPaintDevice* PythonQtShell_QHexEdit::redirected(QPoint* offset) const
2083 2079 {
2084 2080 if (_wrapper) {
2085 2081 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "redirected");
2086 2082 PyErr_Clear();
2087 2083 if (obj && !PythonQtSlotFunction_Check(obj)) {
2088 2084 static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"};
2089 2085 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2090 2086 QPaintDevice* returnValue;
2091 2087 void* args[2] = {NULL, (void*)&offset};
2092 2088 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2093 2089 if (result) {
2094 2090 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
2095 2091 if (args[0]!=&returnValue) {
2096 2092 if (args[0]==NULL) {
2097 2093 PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result);
2098 2094 } else {
2099 2095 returnValue = *((QPaintDevice**)args[0]);
2100 2096 }
2101 2097 }
2102 2098 }
2103 2099 if (result) { Py_DECREF(result); }
2104 2100 Py_DECREF(obj);
2105 2101 return returnValue;
2106 2102 }
2107 2103 }
2108 2104 return QHexEdit::redirected(offset);
2109 2105 }
2110 2106 void PythonQtShell_QHexEdit::resizeEvent(QResizeEvent* arg__1)
2111 2107 {
2112 2108 if (_wrapper) {
2113 2109 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent");
2114 2110 PyErr_Clear();
2115 2111 if (obj && !PythonQtSlotFunction_Check(obj)) {
2116 2112 static const char* argumentList[] ={"" , "QResizeEvent*"};
2117 2113 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2118 2114 void* args[2] = {NULL, (void*)&arg__1};
2119 2115 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2120 2116 if (result) { Py_DECREF(result); }
2121 2117 Py_DECREF(obj);
2122 2118 return;
2123 2119 }
2124 2120 }
2125 2121 QHexEdit::resizeEvent(arg__1);
2126 2122 }
2127 2123 void PythonQtShell_QHexEdit::scrollContentsBy(int dx, int dy)
2128 2124 {
2129 2125 if (_wrapper) {
2130 2126 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollContentsBy");
2131 2127 PyErr_Clear();
2132 2128 if (obj && !PythonQtSlotFunction_Check(obj)) {
2133 2129 static const char* argumentList[] ={"" , "int" , "int"};
2134 2130 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
2135 2131 void* args[3] = {NULL, (void*)&dx, (void*)&dy};
2136 2132 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2137 2133 if (result) { Py_DECREF(result); }
2138 2134 Py_DECREF(obj);
2139 2135 return;
2140 2136 }
2141 2137 }
2142 2138 QHexEdit::scrollContentsBy(dx, dy);
2143 2139 }
2144 2140 void PythonQtShell_QHexEdit::setupViewport(QWidget* viewport)
2145 2141 {
2146 2142 if (_wrapper) {
2147 2143 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setupViewport");
2148 2144 PyErr_Clear();
2149 2145 if (obj && !PythonQtSlotFunction_Check(obj)) {
2150 2146 static const char* argumentList[] ={"" , "QWidget*"};
2151 2147 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2152 2148 void* args[2] = {NULL, (void*)&viewport};
2153 2149 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2154 2150 if (result) { Py_DECREF(result); }
2155 2151 Py_DECREF(obj);
2156 2152 return;
2157 2153 }
2158 2154 }
2159 2155 QHexEdit::setupViewport(viewport);
2160 2156 }
2161 2157 QPainter* PythonQtShell_QHexEdit::sharedPainter() const
2162 2158 {
2163 2159 if (_wrapper) {
2164 2160 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sharedPainter");
2165 2161 PyErr_Clear();
2166 2162 if (obj && !PythonQtSlotFunction_Check(obj)) {
2167 2163 static const char* argumentList[] ={"QPainter*"};
2168 2164 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
2169 2165 QPainter* returnValue;
2170 2166 void* args[1] = {NULL};
2171 2167 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2172 2168 if (result) {
2173 2169 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
2174 2170 if (args[0]!=&returnValue) {
2175 2171 if (args[0]==NULL) {
2176 2172 PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result);
2177 2173 } else {
2178 2174 returnValue = *((QPainter**)args[0]);
2179 2175 }
2180 2176 }
2181 2177 }
2182 2178 if (result) { Py_DECREF(result); }
2183 2179 Py_DECREF(obj);
2184 2180 return returnValue;
2185 2181 }
2186 2182 }
2187 2183 return QHexEdit::sharedPainter();
2188 2184 }
2189 2185 void PythonQtShell_QHexEdit::showEvent(QShowEvent* arg__1)
2190 2186 {
2191 2187 if (_wrapper) {
2192 2188 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent");
2193 2189 PyErr_Clear();
2194 2190 if (obj && !PythonQtSlotFunction_Check(obj)) {
2195 2191 static const char* argumentList[] ={"" , "QShowEvent*"};
2196 2192 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2197 2193 void* args[2] = {NULL, (void*)&arg__1};
2198 2194 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2199 2195 if (result) { Py_DECREF(result); }
2200 2196 Py_DECREF(obj);
2201 2197 return;
2202 2198 }
2203 2199 }
2204 2200 QHexEdit::showEvent(arg__1);
2205 2201 }
2206 2202 void PythonQtShell_QHexEdit::tabletEvent(QTabletEvent* arg__1)
2207 2203 {
2208 2204 if (_wrapper) {
2209 2205 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent");
2210 2206 PyErr_Clear();
2211 2207 if (obj && !PythonQtSlotFunction_Check(obj)) {
2212 2208 static const char* argumentList[] ={"" , "QTabletEvent*"};
2213 2209 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2214 2210 void* args[2] = {NULL, (void*)&arg__1};
2215 2211 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2216 2212 if (result) { Py_DECREF(result); }
2217 2213 Py_DECREF(obj);
2218 2214 return;
2219 2215 }
2220 2216 }
2221 2217 QHexEdit::tabletEvent(arg__1);
2222 2218 }
2223 2219 void PythonQtShell_QHexEdit::timerEvent(QTimerEvent* arg__1)
2224 2220 {
2225 2221 if (_wrapper) {
2226 2222 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent");
2227 2223 PyErr_Clear();
2228 2224 if (obj && !PythonQtSlotFunction_Check(obj)) {
2229 2225 static const char* argumentList[] ={"" , "QTimerEvent*"};
2230 2226 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2231 2227 void* args[2] = {NULL, (void*)&arg__1};
2232 2228 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2233 2229 if (result) { Py_DECREF(result); }
2234 2230 Py_DECREF(obj);
2235 2231 return;
2236 2232 }
2237 2233 }
2238 2234 QHexEdit::timerEvent(arg__1);
2239 2235 }
2240 2236 bool PythonQtShell_QHexEdit::viewportEvent(QEvent* arg__1)
2241 2237 {
2242 2238 if (_wrapper) {
2243 2239 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewportEvent");
2244 2240 PyErr_Clear();
2245 2241 if (obj && !PythonQtSlotFunction_Check(obj)) {
2246 2242 static const char* argumentList[] ={"bool" , "QEvent*"};
2247 2243 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2248 2244 bool returnValue;
2249 2245 void* args[2] = {NULL, (void*)&arg__1};
2250 2246 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2251 2247 if (result) {
2252 2248 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
2253 2249 if (args[0]!=&returnValue) {
2254 2250 if (args[0]==NULL) {
2255 2251 PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result);
2256 2252 } else {
2257 2253 returnValue = *((bool*)args[0]);
2258 2254 }
2259 2255 }
2260 2256 }
2261 2257 if (result) { Py_DECREF(result); }
2262 2258 Py_DECREF(obj);
2263 2259 return returnValue;
2264 2260 }
2265 2261 }
2266 2262 return QHexEdit::viewportEvent(arg__1);
2267 2263 }
2268 2264 QSize PythonQtShell_QHexEdit::viewportSizeHint() const
2269 2265 {
2270 2266 if (_wrapper) {
2271 2267 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewportSizeHint");
2272 2268 PyErr_Clear();
2273 2269 if (obj && !PythonQtSlotFunction_Check(obj)) {
2274 2270 static const char* argumentList[] ={"QSize"};
2275 2271 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
2276 2272 QSize returnValue;
2277 2273 void* args[1] = {NULL};
2278 2274 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2279 2275 if (result) {
2280 2276 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
2281 2277 if (args[0]!=&returnValue) {
2282 2278 if (args[0]==NULL) {
2283 2279 PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result);
2284 2280 } else {
2285 2281 returnValue = *((QSize*)args[0]);
2286 2282 }
2287 2283 }
2288 2284 }
2289 2285 if (result) { Py_DECREF(result); }
2290 2286 Py_DECREF(obj);
2291 2287 return returnValue;
2292 2288 }
2293 2289 }
2294 2290 return QHexEdit::viewportSizeHint();
2295 2291 }
2296 2292 void PythonQtShell_QHexEdit::wheelEvent(QWheelEvent* arg__1)
2297 2293 {
2298 2294 if (_wrapper) {
2299 2295 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent");
2300 2296 PyErr_Clear();
2301 2297 if (obj && !PythonQtSlotFunction_Check(obj)) {
2302 2298 static const char* argumentList[] ={"" , "QWheelEvent*"};
2303 2299 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2304 2300 void* args[2] = {NULL, (void*)&arg__1};
2305 2301 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2306 2302 if (result) { Py_DECREF(result); }
2307 2303 Py_DECREF(obj);
2308 2304 return;
2309 2305 }
2310 2306 }
2311 2307 QHexEdit::wheelEvent(arg__1);
2312 2308 }
2313 2309 QHexEdit* PythonQtWrapper_QHexEdit::new_QHexEdit(QWidget* parent)
2314 2310 {
2315 2311 return new PythonQtShell_QHexEdit(parent); }
2316 2312
2317 2313 QColor PythonQtWrapper_QHexEdit::addressAreaColor(QHexEdit* theWrappedObject)
2318 2314 {
2319 2315 return ( theWrappedObject->addressAreaColor());
2320 2316 }
2321 2317
2322 2318 int PythonQtWrapper_QHexEdit::addressOffset(QHexEdit* theWrappedObject)
2323 2319 {
2324 2320 return ( theWrappedObject->addressOffset());
2325 2321 }
2326 2322
2327 2323 int PythonQtWrapper_QHexEdit::cursorPosition(QHexEdit* theWrappedObject)
2328 2324 {
2329 2325 return ( theWrappedObject->cursorPosition());
2330 2326 }
2331 2327
2332 2328 QByteArray PythonQtWrapper_QHexEdit::data(QHexEdit* theWrappedObject)
2333 2329 {
2334 2330 return ( theWrappedObject->data());
2335 2331 }
2336 2332
2337 2333 const QFont* PythonQtWrapper_QHexEdit::font(QHexEdit* theWrappedObject) const
2338 2334 {
2339 2335 return &( theWrappedObject->font());
2340 2336 }
2341 2337
2342 2338 int PythonQtWrapper_QHexEdit::getSelectionBegin(QHexEdit* theWrappedObject)
2343 2339 {
2344 2340 return ( theWrappedObject->getSelectionBegin());
2345 2341 }
2346 2342
2347 2343 int PythonQtWrapper_QHexEdit::getSelectionEnd(QHexEdit* theWrappedObject)
2348 2344 {
2349 2345 return ( theWrappedObject->getSelectionEnd());
2350 2346 }
2351 2347
2352 2348 QColor PythonQtWrapper_QHexEdit::highlightingColor(QHexEdit* theWrappedObject)
2353 2349 {
2354 2350 return ( theWrappedObject->highlightingColor());
2355 2351 }
2356 2352
2357 2353 int PythonQtWrapper_QHexEdit::indexOf(QHexEdit* theWrappedObject, const QByteArray& ba, int from) const
2358 2354 {
2359 2355 return ( theWrappedObject->indexOf(ba, from));
2360 2356 }
2361 2357
2362 2358 void PythonQtWrapper_QHexEdit::insert(QHexEdit* theWrappedObject, int i, char ch)
2363 2359 {
2364 2360 ( theWrappedObject->insert(i, ch));
2365 2361 }
2366 2362
2367 2363 void PythonQtWrapper_QHexEdit::insert(QHexEdit* theWrappedObject, int i, const QByteArray& ba)
2368 2364 {
2369 2365 ( theWrappedObject->insert(i, ba));
2370 2366 }
2371 2367
2372 2368 bool PythonQtWrapper_QHexEdit::isReadOnly(QHexEdit* theWrappedObject)
2373 2369 {
2374 2370 return ( theWrappedObject->isReadOnly());
2375 2371 }
2376 2372
2377 2373 int PythonQtWrapper_QHexEdit::lastIndexOf(QHexEdit* theWrappedObject, const QByteArray& ba, int from) const
2378 2374 {
2379 2375 return ( theWrappedObject->lastIndexOf(ba, from));
2380 2376 }
2381 2377
2382 2378 bool PythonQtWrapper_QHexEdit::overwriteMode(QHexEdit* theWrappedObject)
2383 2379 {
2384 2380 return ( theWrappedObject->overwriteMode());
2385 2381 }
2386 2382
2387 2383 void PythonQtWrapper_QHexEdit::remove(QHexEdit* theWrappedObject, int pos, int len)
2388 2384 {
2389 2385 ( theWrappedObject->remove(pos, len));
2390 2386 }
2391 2387
2392 2388 void PythonQtWrapper_QHexEdit::replace(QHexEdit* theWrappedObject, int pos, int len, const QByteArray& after)
2393 2389 {
2394 2390 ( theWrappedObject->replace(pos, len, after));
2395 2391 }
2396 2392
2397 2393 void PythonQtWrapper_QHexEdit::resetSelection(QHexEdit* theWrappedObject)
2398 2394 {
2399 2395 ( theWrappedObject->resetSelection());
2400 2396 }
2401 2397
2402 2398 void PythonQtWrapper_QHexEdit::resetSelection(QHexEdit* theWrappedObject, int pos)
2403 2399 {
2404 2400 ( theWrappedObject->resetSelection(pos));
2405 2401 }
2406 2402
2407 2403 QColor PythonQtWrapper_QHexEdit::selectionColor(QHexEdit* theWrappedObject)
2408 2404 {
2409 2405 return ( theWrappedObject->selectionColor());
2410 2406 }
2411 2407
2412 2408 QString PythonQtWrapper_QHexEdit::selectionToReadableString(QHexEdit* theWrappedObject)
2413 2409 {
2414 2410 return ( theWrappedObject->selectionToReadableString());
2415 2411 }
2416 2412
2417 2413 void PythonQtWrapper_QHexEdit::setAddressAreaColor(QHexEdit* theWrappedObject, const QColor& color)
2418 2414 {
2419 2415 ( theWrappedObject->setAddressAreaColor(color));
2420 2416 }
2421 2417
2422 2418 void PythonQtWrapper_QHexEdit::setAddressOffset(QHexEdit* theWrappedObject, int offset)
2423 2419 {
2424 2420 ( theWrappedObject->setAddressOffset(offset));
2425 2421 }
2426 2422
2427 2423 void PythonQtWrapper_QHexEdit::setCursorPosition(QHexEdit* theWrappedObject, int cusorPos)
2428 2424 {
2429 2425 ( theWrappedObject->setCursorPosition(cusorPos));
2430 2426 }
2431 2427
2432 2428 void PythonQtWrapper_QHexEdit::setData(QHexEdit* theWrappedObject, const QByteArray& data)
2433 2429 {
2434 2430 ( theWrappedObject->setData(data));
2435 2431 }
2436 2432
2437 2433 void PythonQtWrapper_QHexEdit::setFont(QHexEdit* theWrappedObject, const QFont& arg__1)
2438 2434 {
2439 2435 ( theWrappedObject->setFont(arg__1));
2440 2436 }
2441 2437
2442 2438 void PythonQtWrapper_QHexEdit::setHighlightingColor(QHexEdit* theWrappedObject, const QColor& color)
2443 2439 {
2444 2440 ( theWrappedObject->setHighlightingColor(color));
2445 2441 }
2446 2442
2447 2443 void PythonQtWrapper_QHexEdit::setOverwriteMode(QHexEdit* theWrappedObject, bool arg__1)
2448 2444 {
2449 2445 ( theWrappedObject->setOverwriteMode(arg__1));
2450 2446 }
2451 2447
2452 2448 void PythonQtWrapper_QHexEdit::setReadOnly(QHexEdit* theWrappedObject, bool arg__1)
2453 2449 {
2454 2450 ( theWrappedObject->setReadOnly(arg__1));
2455 2451 }
2456 2452
2457 2453 void PythonQtWrapper_QHexEdit::setSelection(QHexEdit* theWrappedObject, int pos)
2458 2454 {
2459 2455 ( theWrappedObject->setSelection(pos));
2460 2456 }
2461 2457
2462 2458 void PythonQtWrapper_QHexEdit::setSelectionColor(QHexEdit* theWrappedObject, const QColor& color)
2463 2459 {
2464 2460 ( theWrappedObject->setSelectionColor(color));
2465 2461 }
2466 2462
2467 2463 QString PythonQtWrapper_QHexEdit::toReadableString(QHexEdit* theWrappedObject)
2468 2464 {
2469 2465 return ( theWrappedObject->toReadableString());
2470 2466 }
2471 2467
2472 2468
2473 2469
2474 2470 PythonQtShell_QHexSpinBox::~PythonQtShell_QHexSpinBox() {
2475 2471 PythonQtPrivate* priv = PythonQt::priv();
2476 2472 if (priv) { priv->shellClassDeleted(this); }
2477 2473 }
2478 2474 void PythonQtShell_QHexSpinBox::actionEvent(QActionEvent* arg__1)
2479 2475 {
2480 2476 if (_wrapper) {
2481 2477 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent");
2482 2478 PyErr_Clear();
2483 2479 if (obj && !PythonQtSlotFunction_Check(obj)) {
2484 2480 static const char* argumentList[] ={"" , "QActionEvent*"};
2485 2481 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2486 2482 void* args[2] = {NULL, (void*)&arg__1};
2487 2483 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2488 2484 if (result) { Py_DECREF(result); }
2489 2485 Py_DECREF(obj);
2490 2486 return;
2491 2487 }
2492 2488 }
2493 2489 QHexSpinBox::actionEvent(arg__1);
2494 2490 }
2495 2491 void PythonQtShell_QHexSpinBox::changeEvent(QEvent* event)
2496 2492 {
2497 2493 if (_wrapper) {
2498 2494 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent");
2499 2495 PyErr_Clear();
2500 2496 if (obj && !PythonQtSlotFunction_Check(obj)) {
2501 2497 static const char* argumentList[] ={"" , "QEvent*"};
2502 2498 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2503 2499 void* args[2] = {NULL, (void*)&event};
2504 2500 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2505 2501 if (result) { Py_DECREF(result); }
2506 2502 Py_DECREF(obj);
2507 2503 return;
2508 2504 }
2509 2505 }
2510 2506 QHexSpinBox::changeEvent(event);
2511 2507 }
2512 2508 void PythonQtShell_QHexSpinBox::childEvent(QChildEvent* arg__1)
2513 2509 {
2514 2510 if (_wrapper) {
2515 2511 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent");
2516 2512 PyErr_Clear();
2517 2513 if (obj && !PythonQtSlotFunction_Check(obj)) {
2518 2514 static const char* argumentList[] ={"" , "QChildEvent*"};
2519 2515 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2520 2516 void* args[2] = {NULL, (void*)&arg__1};
2521 2517 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2522 2518 if (result) { Py_DECREF(result); }
2523 2519 Py_DECREF(obj);
2524 2520 return;
2525 2521 }
2526 2522 }
2527 2523 QHexSpinBox::childEvent(arg__1);
2528 2524 }
2529 2525 void PythonQtShell_QHexSpinBox::clear()
2530 2526 {
2531 2527 if (_wrapper) {
2532 2528 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "clear");
2533 2529 PyErr_Clear();
2534 2530 if (obj && !PythonQtSlotFunction_Check(obj)) {
2535 2531 static const char* argumentList[] ={""};
2536 2532 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
2537 2533 void* args[1] = {NULL};
2538 2534 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2539 2535 if (result) { Py_DECREF(result); }
2540 2536 Py_DECREF(obj);
2541 2537 return;
2542 2538 }
2543 2539 }
2544 2540 QHexSpinBox::clear();
2545 2541 }
2546 2542 void PythonQtShell_QHexSpinBox::closeEvent(QCloseEvent* event)
2547 2543 {
2548 2544 if (_wrapper) {
2549 2545 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent");
2550 2546 PyErr_Clear();
2551 2547 if (obj && !PythonQtSlotFunction_Check(obj)) {
2552 2548 static const char* argumentList[] ={"" , "QCloseEvent*"};
2553 2549 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2554 2550 void* args[2] = {NULL, (void*)&event};
2555 2551 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2556 2552 if (result) { Py_DECREF(result); }
2557 2553 Py_DECREF(obj);
2558 2554 return;
2559 2555 }
2560 2556 }
2561 2557 QHexSpinBox::closeEvent(event);
2562 2558 }
2563 2559 void PythonQtShell_QHexSpinBox::contextMenuEvent(QContextMenuEvent* event)
2564 2560 {
2565 2561 if (_wrapper) {
2566 2562 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent");
2567 2563 PyErr_Clear();
2568 2564 if (obj && !PythonQtSlotFunction_Check(obj)) {
2569 2565 static const char* argumentList[] ={"" , "QContextMenuEvent*"};
2570 2566 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2571 2567 void* args[2] = {NULL, (void*)&event};
2572 2568 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2573 2569 if (result) { Py_DECREF(result); }
2574 2570 Py_DECREF(obj);
2575 2571 return;
2576 2572 }
2577 2573 }
2578 2574 QHexSpinBox::contextMenuEvent(event);
2579 2575 }
2580 2576 void PythonQtShell_QHexSpinBox::customEvent(QEvent* arg__1)
2581 2577 {
2582 2578 if (_wrapper) {
2583 2579 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent");
2584 2580 PyErr_Clear();
2585 2581 if (obj && !PythonQtSlotFunction_Check(obj)) {
2586 2582 static const char* argumentList[] ={"" , "QEvent*"};
2587 2583 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2588 2584 void* args[2] = {NULL, (void*)&arg__1};
2589 2585 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2590 2586 if (result) { Py_DECREF(result); }
2591 2587 Py_DECREF(obj);
2592 2588 return;
2593 2589 }
2594 2590 }
2595 2591 QHexSpinBox::customEvent(arg__1);
2596 2592 }
2597 2593 int PythonQtShell_QHexSpinBox::devType() const
2598 2594 {
2599 2595 if (_wrapper) {
2600 2596 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType");
2601 2597 PyErr_Clear();
2602 2598 if (obj && !PythonQtSlotFunction_Check(obj)) {
2603 2599 static const char* argumentList[] ={"int"};
2604 2600 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
2605 2601 int returnValue;
2606 2602 void* args[1] = {NULL};
2607 2603 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2608 2604 if (result) {
2609 2605 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
2610 2606 if (args[0]!=&returnValue) {
2611 2607 if (args[0]==NULL) {
2612 2608 PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result);
2613 2609 } else {
2614 2610 returnValue = *((int*)args[0]);
2615 2611 }
2616 2612 }
2617 2613 }
2618 2614 if (result) { Py_DECREF(result); }
2619 2615 Py_DECREF(obj);
2620 2616 return returnValue;
2621 2617 }
2622 2618 }
2623 2619 return QHexSpinBox::devType();
2624 2620 }
2625 2621 void PythonQtShell_QHexSpinBox::dragEnterEvent(QDragEnterEvent* arg__1)
2626 2622 {
2627 2623 if (_wrapper) {
2628 2624 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent");
2629 2625 PyErr_Clear();
2630 2626 if (obj && !PythonQtSlotFunction_Check(obj)) {
2631 2627 static const char* argumentList[] ={"" , "QDragEnterEvent*"};
2632 2628 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2633 2629 void* args[2] = {NULL, (void*)&arg__1};
2634 2630 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2635 2631 if (result) { Py_DECREF(result); }
2636 2632 Py_DECREF(obj);
2637 2633 return;
2638 2634 }
2639 2635 }
2640 2636 QHexSpinBox::dragEnterEvent(arg__1);
2641 2637 }
2642 2638 void PythonQtShell_QHexSpinBox::dragLeaveEvent(QDragLeaveEvent* arg__1)
2643 2639 {
2644 2640 if (_wrapper) {
2645 2641 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent");
2646 2642 PyErr_Clear();
2647 2643 if (obj && !PythonQtSlotFunction_Check(obj)) {
2648 2644 static const char* argumentList[] ={"" , "QDragLeaveEvent*"};
2649 2645 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2650 2646 void* args[2] = {NULL, (void*)&arg__1};
2651 2647 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2652 2648 if (result) { Py_DECREF(result); }
2653 2649 Py_DECREF(obj);
2654 2650 return;
2655 2651 }
2656 2652 }
2657 2653 QHexSpinBox::dragLeaveEvent(arg__1);
2658 2654 }
2659 2655 void PythonQtShell_QHexSpinBox::dragMoveEvent(QDragMoveEvent* arg__1)
2660 2656 {
2661 2657 if (_wrapper) {
2662 2658 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent");
2663 2659 PyErr_Clear();
2664 2660 if (obj && !PythonQtSlotFunction_Check(obj)) {
2665 2661 static const char* argumentList[] ={"" , "QDragMoveEvent*"};
2666 2662 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2667 2663 void* args[2] = {NULL, (void*)&arg__1};
2668 2664 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2669 2665 if (result) { Py_DECREF(result); }
2670 2666 Py_DECREF(obj);
2671 2667 return;
2672 2668 }
2673 2669 }
2674 2670 QHexSpinBox::dragMoveEvent(arg__1);
2675 2671 }
2676 2672 void PythonQtShell_QHexSpinBox::dropEvent(QDropEvent* arg__1)
2677 2673 {
2678 2674 if (_wrapper) {
2679 2675 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent");
2680 2676 PyErr_Clear();
2681 2677 if (obj && !PythonQtSlotFunction_Check(obj)) {
2682 2678 static const char* argumentList[] ={"" , "QDropEvent*"};
2683 2679 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2684 2680 void* args[2] = {NULL, (void*)&arg__1};
2685 2681 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2686 2682 if (result) { Py_DECREF(result); }
2687 2683 Py_DECREF(obj);
2688 2684 return;
2689 2685 }
2690 2686 }
2691 2687 QHexSpinBox::dropEvent(arg__1);
2692 2688 }
2693 2689 void PythonQtShell_QHexSpinBox::enterEvent(QEvent* arg__1)
2694 2690 {
2695 2691 if (_wrapper) {
2696 2692 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent");
2697 2693 PyErr_Clear();
2698 2694 if (obj && !PythonQtSlotFunction_Check(obj)) {
2699 2695 static const char* argumentList[] ={"" , "QEvent*"};
2700 2696 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2701 2697 void* args[2] = {NULL, (void*)&arg__1};
2702 2698 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2703 2699 if (result) { Py_DECREF(result); }
2704 2700 Py_DECREF(obj);
2705 2701 return;
2706 2702 }
2707 2703 }
2708 2704 QHexSpinBox::enterEvent(arg__1);
2709 2705 }
2710 2706 bool PythonQtShell_QHexSpinBox::event(QEvent* event)
2711 2707 {
2712 2708 if (_wrapper) {
2713 2709 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event");
2714 2710 PyErr_Clear();
2715 2711 if (obj && !PythonQtSlotFunction_Check(obj)) {
2716 2712 static const char* argumentList[] ={"bool" , "QEvent*"};
2717 2713 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2718 2714 bool returnValue;
2719 2715 void* args[2] = {NULL, (void*)&event};
2720 2716 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2721 2717 if (result) {
2722 2718 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
2723 2719 if (args[0]!=&returnValue) {
2724 2720 if (args[0]==NULL) {
2725 2721 PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result);
2726 2722 } else {
2727 2723 returnValue = *((bool*)args[0]);
2728 2724 }
2729 2725 }
2730 2726 }
2731 2727 if (result) { Py_DECREF(result); }
2732 2728 Py_DECREF(obj);
2733 2729 return returnValue;
2734 2730 }
2735 2731 }
2736 2732 return QHexSpinBox::event(event);
2737 2733 }
2738 2734 bool PythonQtShell_QHexSpinBox::eventFilter(QObject* arg__1, QEvent* arg__2)
2739 2735 {
2740 2736 if (_wrapper) {
2741 2737 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter");
2742 2738 PyErr_Clear();
2743 2739 if (obj && !PythonQtSlotFunction_Check(obj)) {
2744 2740 static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"};
2745 2741 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
2746 2742 bool returnValue;
2747 2743 void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2};
2748 2744 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2749 2745 if (result) {
2750 2746 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
2751 2747 if (args[0]!=&returnValue) {
2752 2748 if (args[0]==NULL) {
2753 2749 PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result);
2754 2750 } else {
2755 2751 returnValue = *((bool*)args[0]);
2756 2752 }
2757 2753 }
2758 2754 }
2759 2755 if (result) { Py_DECREF(result); }
2760 2756 Py_DECREF(obj);
2761 2757 return returnValue;
2762 2758 }
2763 2759 }
2764 2760 return QHexSpinBox::eventFilter(arg__1, arg__2);
2765 2761 }
2766 2762 void PythonQtShell_QHexSpinBox::fixup(QString& str) const
2767 2763 {
2768 2764 if (_wrapper) {
2769 2765 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "fixup");
2770 2766 PyErr_Clear();
2771 2767 if (obj && !PythonQtSlotFunction_Check(obj)) {
2772 2768 static const char* argumentList[] ={"" , "QString&"};
2773 2769 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2774 2770 void* args[2] = {NULL, (void*)&str};
2775 2771 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2776 2772 if (result) { Py_DECREF(result); }
2777 2773 Py_DECREF(obj);
2778 2774 return;
2779 2775 }
2780 2776 }
2781 2777 QHexSpinBox::fixup(str);
2782 2778 }
2783 2779 void PythonQtShell_QHexSpinBox::focusInEvent(QFocusEvent* event)
2784 2780 {
2785 2781 if (_wrapper) {
2786 2782 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent");
2787 2783 PyErr_Clear();
2788 2784 if (obj && !PythonQtSlotFunction_Check(obj)) {
2789 2785 static const char* argumentList[] ={"" , "QFocusEvent*"};
2790 2786 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2791 2787 void* args[2] = {NULL, (void*)&event};
2792 2788 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2793 2789 if (result) { Py_DECREF(result); }
2794 2790 Py_DECREF(obj);
2795 2791 return;
2796 2792 }
2797 2793 }
2798 2794 QHexSpinBox::focusInEvent(event);
2799 2795 }
2800 2796 bool PythonQtShell_QHexSpinBox::focusNextPrevChild(bool next)
2801 2797 {
2802 2798 if (_wrapper) {
2803 2799 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild");
2804 2800 PyErr_Clear();
2805 2801 if (obj && !PythonQtSlotFunction_Check(obj)) {
2806 2802 static const char* argumentList[] ={"bool" , "bool"};
2807 2803 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2808 2804 bool returnValue;
2809 2805 void* args[2] = {NULL, (void*)&next};
2810 2806 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2811 2807 if (result) {
2812 2808 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
2813 2809 if (args[0]!=&returnValue) {
2814 2810 if (args[0]==NULL) {
2815 2811 PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result);
2816 2812 } else {
2817 2813 returnValue = *((bool*)args[0]);
2818 2814 }
2819 2815 }
2820 2816 }
2821 2817 if (result) { Py_DECREF(result); }
2822 2818 Py_DECREF(obj);
2823 2819 return returnValue;
2824 2820 }
2825 2821 }
2826 2822 return QHexSpinBox::focusNextPrevChild(next);
2827 2823 }
2828 2824 void PythonQtShell_QHexSpinBox::focusOutEvent(QFocusEvent* event)
2829 2825 {
2830 2826 if (_wrapper) {
2831 2827 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent");
2832 2828 PyErr_Clear();
2833 2829 if (obj && !PythonQtSlotFunction_Check(obj)) {
2834 2830 static const char* argumentList[] ={"" , "QFocusEvent*"};
2835 2831 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2836 2832 void* args[2] = {NULL, (void*)&event};
2837 2833 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2838 2834 if (result) { Py_DECREF(result); }
2839 2835 Py_DECREF(obj);
2840 2836 return;
2841 2837 }
2842 2838 }
2843 2839 QHexSpinBox::focusOutEvent(event);
2844 2840 }
2845 2841 bool PythonQtShell_QHexSpinBox::hasHeightForWidth() const
2846 2842 {
2847 2843 if (_wrapper) {
2848 2844 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasHeightForWidth");
2849 2845 PyErr_Clear();
2850 2846 if (obj && !PythonQtSlotFunction_Check(obj)) {
2851 2847 static const char* argumentList[] ={"bool"};
2852 2848 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
2853 2849 bool returnValue;
2854 2850 void* args[1] = {NULL};
2855 2851 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2856 2852 if (result) {
2857 2853 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
2858 2854 if (args[0]!=&returnValue) {
2859 2855 if (args[0]==NULL) {
2860 2856 PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result);
2861 2857 } else {
2862 2858 returnValue = *((bool*)args[0]);
2863 2859 }
2864 2860 }
2865 2861 }
2866 2862 if (result) { Py_DECREF(result); }
2867 2863 Py_DECREF(obj);
2868 2864 return returnValue;
2869 2865 }
2870 2866 }
2871 2867 return QHexSpinBox::hasHeightForWidth();
2872 2868 }
2873 2869 int PythonQtShell_QHexSpinBox::heightForWidth(int arg__1) const
2874 2870 {
2875 2871 if (_wrapper) {
2876 2872 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth");
2877 2873 PyErr_Clear();
2878 2874 if (obj && !PythonQtSlotFunction_Check(obj)) {
2879 2875 static const char* argumentList[] ={"int" , "int"};
2880 2876 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2881 2877 int returnValue;
2882 2878 void* args[2] = {NULL, (void*)&arg__1};
2883 2879 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2884 2880 if (result) {
2885 2881 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
2886 2882 if (args[0]!=&returnValue) {
2887 2883 if (args[0]==NULL) {
2888 2884 PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result);
2889 2885 } else {
2890 2886 returnValue = *((int*)args[0]);
2891 2887 }
2892 2888 }
2893 2889 }
2894 2890 if (result) { Py_DECREF(result); }
2895 2891 Py_DECREF(obj);
2896 2892 return returnValue;
2897 2893 }
2898 2894 }
2899 2895 return QHexSpinBox::heightForWidth(arg__1);
2900 2896 }
2901 2897 void PythonQtShell_QHexSpinBox::hideEvent(QHideEvent* event)
2902 2898 {
2903 2899 if (_wrapper) {
2904 2900 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent");
2905 2901 PyErr_Clear();
2906 2902 if (obj && !PythonQtSlotFunction_Check(obj)) {
2907 2903 static const char* argumentList[] ={"" , "QHideEvent*"};
2908 2904 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2909 2905 void* args[2] = {NULL, (void*)&event};
2910 2906 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2911 2907 if (result) { Py_DECREF(result); }
2912 2908 Py_DECREF(obj);
2913 2909 return;
2914 2910 }
2915 2911 }
2916 2912 QHexSpinBox::hideEvent(event);
2917 2913 }
2918 2914 void PythonQtShell_QHexSpinBox::initPainter(QPainter* painter) const
2919 2915 {
2920 2916 if (_wrapper) {
2921 2917 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "initPainter");
2922 2918 PyErr_Clear();
2923 2919 if (obj && !PythonQtSlotFunction_Check(obj)) {
2924 2920 static const char* argumentList[] ={"" , "QPainter*"};
2925 2921 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2926 2922 void* args[2] = {NULL, (void*)&painter};
2927 2923 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2928 2924 if (result) { Py_DECREF(result); }
2929 2925 Py_DECREF(obj);
2930 2926 return;
2931 2927 }
2932 2928 }
2933 2929 QHexSpinBox::initPainter(painter);
2934 2930 }
2935 2931 void PythonQtShell_QHexSpinBox::inputMethodEvent(QInputMethodEvent* arg__1)
2936 2932 {
2937 2933 if (_wrapper) {
2938 2934 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent");
2939 2935 PyErr_Clear();
2940 2936 if (obj && !PythonQtSlotFunction_Check(obj)) {
2941 2937 static const char* argumentList[] ={"" , "QInputMethodEvent*"};
2942 2938 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2943 2939 void* args[2] = {NULL, (void*)&arg__1};
2944 2940 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2945 2941 if (result) { Py_DECREF(result); }
2946 2942 Py_DECREF(obj);
2947 2943 return;
2948 2944 }
2949 2945 }
2950 2946 QHexSpinBox::inputMethodEvent(arg__1);
2951 2947 }
2952 2948 QVariant PythonQtShell_QHexSpinBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const
2953 2949 {
2954 2950 if (_wrapper) {
2955 2951 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery");
2956 2952 PyErr_Clear();
2957 2953 if (obj && !PythonQtSlotFunction_Check(obj)) {
2958 2954 static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"};
2959 2955 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2960 2956 QVariant returnValue;
2961 2957 void* args[2] = {NULL, (void*)&arg__1};
2962 2958 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2963 2959 if (result) {
2964 2960 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
2965 2961 if (args[0]!=&returnValue) {
2966 2962 if (args[0]==NULL) {
2967 2963 PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result);
2968 2964 } else {
2969 2965 returnValue = *((QVariant*)args[0]);
2970 2966 }
2971 2967 }
2972 2968 }
2973 2969 if (result) { Py_DECREF(result); }
2974 2970 Py_DECREF(obj);
2975 2971 return returnValue;
2976 2972 }
2977 2973 }
2978 2974 return QHexSpinBox::inputMethodQuery(arg__1);
2979 2975 }
2980 2976 void PythonQtShell_QHexSpinBox::keyPressEvent(QKeyEvent* event)
2981 2977 {
2982 2978 if (_wrapper) {
2983 2979 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent");
2984 2980 PyErr_Clear();
2985 2981 if (obj && !PythonQtSlotFunction_Check(obj)) {
2986 2982 static const char* argumentList[] ={"" , "QKeyEvent*"};
2987 2983 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
2988 2984 void* args[2] = {NULL, (void*)&event};
2989 2985 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
2990 2986 if (result) { Py_DECREF(result); }
2991 2987 Py_DECREF(obj);
2992 2988 return;
2993 2989 }
2994 2990 }
2995 2991 QHexSpinBox::keyPressEvent(event);
2996 2992 }
2997 2993 void PythonQtShell_QHexSpinBox::keyReleaseEvent(QKeyEvent* event)
2998 2994 {
2999 2995 if (_wrapper) {
3000 2996 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent");
3001 2997 PyErr_Clear();
3002 2998 if (obj && !PythonQtSlotFunction_Check(obj)) {
3003 2999 static const char* argumentList[] ={"" , "QKeyEvent*"};
3004 3000 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3005 3001 void* args[2] = {NULL, (void*)&event};
3006 3002 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3007 3003 if (result) { Py_DECREF(result); }
3008 3004 Py_DECREF(obj);
3009 3005 return;
3010 3006 }
3011 3007 }
3012 3008 QHexSpinBox::keyReleaseEvent(event);
3013 3009 }
3014 3010 void PythonQtShell_QHexSpinBox::leaveEvent(QEvent* arg__1)
3015 3011 {
3016 3012 if (_wrapper) {
3017 3013 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent");
3018 3014 PyErr_Clear();
3019 3015 if (obj && !PythonQtSlotFunction_Check(obj)) {
3020 3016 static const char* argumentList[] ={"" , "QEvent*"};
3021 3017 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3022 3018 void* args[2] = {NULL, (void*)&arg__1};
3023 3019 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3024 3020 if (result) { Py_DECREF(result); }
3025 3021 Py_DECREF(obj);
3026 3022 return;
3027 3023 }
3028 3024 }
3029 3025 QHexSpinBox::leaveEvent(arg__1);
3030 3026 }
3031 3027 int PythonQtShell_QHexSpinBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const
3032 3028 {
3033 3029 if (_wrapper) {
3034 3030 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric");
3035 3031 PyErr_Clear();
3036 3032 if (obj && !PythonQtSlotFunction_Check(obj)) {
3037 3033 static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"};
3038 3034 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3039 3035 int returnValue;
3040 3036 void* args[2] = {NULL, (void*)&arg__1};
3041 3037 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3042 3038 if (result) {
3043 3039 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
3044 3040 if (args[0]!=&returnValue) {
3045 3041 if (args[0]==NULL) {
3046 3042 PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result);
3047 3043 } else {
3048 3044 returnValue = *((int*)args[0]);
3049 3045 }
3050 3046 }
3051 3047 }
3052 3048 if (result) { Py_DECREF(result); }
3053 3049 Py_DECREF(obj);
3054 3050 return returnValue;
3055 3051 }
3056 3052 }
3057 3053 return QHexSpinBox::metric(arg__1);
3058 3054 }
3059 3055 void PythonQtShell_QHexSpinBox::mouseDoubleClickEvent(QMouseEvent* arg__1)
3060 3056 {
3061 3057 if (_wrapper) {
3062 3058 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent");
3063 3059 PyErr_Clear();
3064 3060 if (obj && !PythonQtSlotFunction_Check(obj)) {
3065 3061 static const char* argumentList[] ={"" , "QMouseEvent*"};
3066 3062 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3067 3063 void* args[2] = {NULL, (void*)&arg__1};
3068 3064 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3069 3065 if (result) { Py_DECREF(result); }
3070 3066 Py_DECREF(obj);
3071 3067 return;
3072 3068 }
3073 3069 }
3074 3070 QHexSpinBox::mouseDoubleClickEvent(arg__1);
3075 3071 }
3076 3072 void PythonQtShell_QHexSpinBox::mouseMoveEvent(QMouseEvent* event)
3077 3073 {
3078 3074 if (_wrapper) {
3079 3075 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent");
3080 3076 PyErr_Clear();
3081 3077 if (obj && !PythonQtSlotFunction_Check(obj)) {
3082 3078 static const char* argumentList[] ={"" , "QMouseEvent*"};
3083 3079 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3084 3080 void* args[2] = {NULL, (void*)&event};
3085 3081 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3086 3082 if (result) { Py_DECREF(result); }
3087 3083 Py_DECREF(obj);
3088 3084 return;
3089 3085 }
3090 3086 }
3091 3087 QHexSpinBox::mouseMoveEvent(event);
3092 3088 }
3093 3089 void PythonQtShell_QHexSpinBox::mousePressEvent(QMouseEvent* event)
3094 3090 {
3095 3091 if (_wrapper) {
3096 3092 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent");
3097 3093 PyErr_Clear();
3098 3094 if (obj && !PythonQtSlotFunction_Check(obj)) {
3099 3095 static const char* argumentList[] ={"" , "QMouseEvent*"};
3100 3096 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3101 3097 void* args[2] = {NULL, (void*)&event};
3102 3098 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3103 3099 if (result) { Py_DECREF(result); }
3104 3100 Py_DECREF(obj);
3105 3101 return;
3106 3102 }
3107 3103 }
3108 3104 QHexSpinBox::mousePressEvent(event);
3109 3105 }
3110 3106 void PythonQtShell_QHexSpinBox::mouseReleaseEvent(QMouseEvent* event)
3111 3107 {
3112 3108 if (_wrapper) {
3113 3109 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent");
3114 3110 PyErr_Clear();
3115 3111 if (obj && !PythonQtSlotFunction_Check(obj)) {
3116 3112 static const char* argumentList[] ={"" , "QMouseEvent*"};
3117 3113 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3118 3114 void* args[2] = {NULL, (void*)&event};
3119 3115 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3120 3116 if (result) { Py_DECREF(result); }
3121 3117 Py_DECREF(obj);
3122 3118 return;
3123 3119 }
3124 3120 }
3125 3121 QHexSpinBox::mouseReleaseEvent(event);
3126 3122 }
3127 3123 void PythonQtShell_QHexSpinBox::moveEvent(QMoveEvent* arg__1)
3128 3124 {
3129 3125 if (_wrapper) {
3130 3126 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent");
3131 3127 PyErr_Clear();
3132 3128 if (obj && !PythonQtSlotFunction_Check(obj)) {
3133 3129 static const char* argumentList[] ={"" , "QMoveEvent*"};
3134 3130 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3135 3131 void* args[2] = {NULL, (void*)&arg__1};
3136 3132 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3137 3133 if (result) { Py_DECREF(result); }
3138 3134 Py_DECREF(obj);
3139 3135 return;
3140 3136 }
3141 3137 }
3142 3138 QHexSpinBox::moveEvent(arg__1);
3143 3139 }
3144 3140 bool PythonQtShell_QHexSpinBox::nativeEvent(const QByteArray& eventType, void* message, long* result)
3145 3141 {
3146 3142 if (_wrapper) {
3147 3143 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nativeEvent");
3148 3144 PyErr_Clear();
3149 3145 if (obj && !PythonQtSlotFunction_Check(obj)) {
3150 3146 static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"};
3151 3147 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList);
3152 3148 bool returnValue;
3153 3149 void* args[4] = {NULL, (void*)&eventType, (void*)&message, (void*)&result};
3154 3150 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3155 3151 if (result) {
3156 3152 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
3157 3153 if (args[0]!=&returnValue) {
3158 3154 if (args[0]==NULL) {
3159 3155 PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result);
3160 3156 } else {
3161 3157 returnValue = *((bool*)args[0]);
3162 3158 }
3163 3159 }
3164 3160 }
3165 3161 if (result) { Py_DECREF(result); }
3166 3162 Py_DECREF(obj);
3167 3163 return returnValue;
3168 3164 }
3169 3165 }
3170 3166 return QHexSpinBox::nativeEvent(eventType, message, result);
3171 3167 }
3172 3168 QPaintEngine* PythonQtShell_QHexSpinBox::paintEngine() const
3173 3169 {
3174 3170 if (_wrapper) {
3175 3171 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine");
3176 3172 PyErr_Clear();
3177 3173 if (obj && !PythonQtSlotFunction_Check(obj)) {
3178 3174 static const char* argumentList[] ={"QPaintEngine*"};
3179 3175 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
3180 3176 QPaintEngine* returnValue;
3181 3177 void* args[1] = {NULL};
3182 3178 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3183 3179 if (result) {
3184 3180 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
3185 3181 if (args[0]!=&returnValue) {
3186 3182 if (args[0]==NULL) {
3187 3183 PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result);
3188 3184 } else {
3189 3185 returnValue = *((QPaintEngine**)args[0]);
3190 3186 }
3191 3187 }
3192 3188 }
3193 3189 if (result) { Py_DECREF(result); }
3194 3190 Py_DECREF(obj);
3195 3191 return returnValue;
3196 3192 }
3197 3193 }
3198 3194 return QHexSpinBox::paintEngine();
3199 3195 }
3200 3196 void PythonQtShell_QHexSpinBox::paintEvent(QPaintEvent* event)
3201 3197 {
3202 3198 if (_wrapper) {
3203 3199 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent");
3204 3200 PyErr_Clear();
3205 3201 if (obj && !PythonQtSlotFunction_Check(obj)) {
3206 3202 static const char* argumentList[] ={"" , "QPaintEvent*"};
3207 3203 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3208 3204 void* args[2] = {NULL, (void*)&event};
3209 3205 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3210 3206 if (result) { Py_DECREF(result); }
3211 3207 Py_DECREF(obj);
3212 3208 return;
3213 3209 }
3214 3210 }
3215 3211 QHexSpinBox::paintEvent(event);
3216 3212 }
3217 3213 QPaintDevice* PythonQtShell_QHexSpinBox::redirected(QPoint* offset) const
3218 3214 {
3219 3215 if (_wrapper) {
3220 3216 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "redirected");
3221 3217 PyErr_Clear();
3222 3218 if (obj && !PythonQtSlotFunction_Check(obj)) {
3223 3219 static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"};
3224 3220 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3225 3221 QPaintDevice* returnValue;
3226 3222 void* args[2] = {NULL, (void*)&offset};
3227 3223 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3228 3224 if (result) {
3229 3225 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
3230 3226 if (args[0]!=&returnValue) {
3231 3227 if (args[0]==NULL) {
3232 3228 PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result);
3233 3229 } else {
3234 3230 returnValue = *((QPaintDevice**)args[0]);
3235 3231 }
3236 3232 }
3237 3233 }
3238 3234 if (result) { Py_DECREF(result); }
3239 3235 Py_DECREF(obj);
3240 3236 return returnValue;
3241 3237 }
3242 3238 }
3243 3239 return QHexSpinBox::redirected(offset);
3244 3240 }
3245 3241 void PythonQtShell_QHexSpinBox::resizeEvent(QResizeEvent* event)
3246 3242 {
3247 3243 if (_wrapper) {
3248 3244 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent");
3249 3245 PyErr_Clear();
3250 3246 if (obj && !PythonQtSlotFunction_Check(obj)) {
3251 3247 static const char* argumentList[] ={"" , "QResizeEvent*"};
3252 3248 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3253 3249 void* args[2] = {NULL, (void*)&event};
3254 3250 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3255 3251 if (result) { Py_DECREF(result); }
3256 3252 Py_DECREF(obj);
3257 3253 return;
3258 3254 }
3259 3255 }
3260 3256 QHexSpinBox::resizeEvent(event);
3261 3257 }
3262 3258 QPainter* PythonQtShell_QHexSpinBox::sharedPainter() const
3263 3259 {
3264 3260 if (_wrapper) {
3265 3261 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sharedPainter");
3266 3262 PyErr_Clear();
3267 3263 if (obj && !PythonQtSlotFunction_Check(obj)) {
3268 3264 static const char* argumentList[] ={"QPainter*"};
3269 3265 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
3270 3266 QPainter* returnValue;
3271 3267 void* args[1] = {NULL};
3272 3268 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3273 3269 if (result) {
3274 3270 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
3275 3271 if (args[0]!=&returnValue) {
3276 3272 if (args[0]==NULL) {
3277 3273 PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result);
3278 3274 } else {
3279 3275 returnValue = *((QPainter**)args[0]);
3280 3276 }
3281 3277 }
3282 3278 }
3283 3279 if (result) { Py_DECREF(result); }
3284 3280 Py_DECREF(obj);
3285 3281 return returnValue;
3286 3282 }
3287 3283 }
3288 3284 return QHexSpinBox::sharedPainter();
3289 3285 }
3290 3286 void PythonQtShell_QHexSpinBox::showEvent(QShowEvent* event)
3291 3287 {
3292 3288 if (_wrapper) {
3293 3289 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent");
3294 3290 PyErr_Clear();
3295 3291 if (obj && !PythonQtSlotFunction_Check(obj)) {
3296 3292 static const char* argumentList[] ={"" , "QShowEvent*"};
3297 3293 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3298 3294 void* args[2] = {NULL, (void*)&event};
3299 3295 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3300 3296 if (result) { Py_DECREF(result); }
3301 3297 Py_DECREF(obj);
3302 3298 return;
3303 3299 }
3304 3300 }
3305 3301 QHexSpinBox::showEvent(event);
3306 3302 }
3307 3303 void PythonQtShell_QHexSpinBox::stepBy(int steps)
3308 3304 {
3309 3305 if (_wrapper) {
3310 3306 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "stepBy");
3311 3307 PyErr_Clear();
3312 3308 if (obj && !PythonQtSlotFunction_Check(obj)) {
3313 3309 static const char* argumentList[] ={"" , "int"};
3314 3310 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3315 3311 void* args[2] = {NULL, (void*)&steps};
3316 3312 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3317 3313 if (result) { Py_DECREF(result); }
3318 3314 Py_DECREF(obj);
3319 3315 return;
3320 3316 }
3321 3317 }
3322 3318 QHexSpinBox::stepBy(steps);
3323 3319 }
3324 3320 QAbstractSpinBox::StepEnabled PythonQtShell_QHexSpinBox::stepEnabled() const
3325 3321 {
3326 3322 if (_wrapper) {
3327 3323 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "stepEnabled");
3328 3324 PyErr_Clear();
3329 3325 if (obj && !PythonQtSlotFunction_Check(obj)) {
3330 3326 static const char* argumentList[] ={"QAbstractSpinBox::StepEnabled"};
3331 3327 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
3332 3328 QAbstractSpinBox::StepEnabled returnValue;
3333 3329 void* args[1] = {NULL};
3334 3330 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3335 3331 if (result) {
3336 3332 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
3337 3333 if (args[0]!=&returnValue) {
3338 3334 if (args[0]==NULL) {
3339 3335 PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result);
3340 3336 } else {
3341 3337 returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]);
3342 3338 }
3343 3339 }
3344 3340 }
3345 3341 if (result) { Py_DECREF(result); }
3346 3342 Py_DECREF(obj);
3347 3343 return returnValue;
3348 3344 }
3349 3345 }
3350 3346 return QHexSpinBox::stepEnabled();
3351 3347 }
3352 3348 void PythonQtShell_QHexSpinBox::tabletEvent(QTabletEvent* arg__1)
3353 3349 {
3354 3350 if (_wrapper) {
3355 3351 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent");
3356 3352 PyErr_Clear();
3357 3353 if (obj && !PythonQtSlotFunction_Check(obj)) {
3358 3354 static const char* argumentList[] ={"" , "QTabletEvent*"};
3359 3355 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3360 3356 void* args[2] = {NULL, (void*)&arg__1};
3361 3357 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3362 3358 if (result) { Py_DECREF(result); }
3363 3359 Py_DECREF(obj);
3364 3360 return;
3365 3361 }
3366 3362 }
3367 3363 QHexSpinBox::tabletEvent(arg__1);
3368 3364 }
3369 3365 QString PythonQtShell_QHexSpinBox::textFromValue(int value) const
3370 3366 {
3371 3367 if (_wrapper) {
3372 3368 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "textFromValue");
3373 3369 PyErr_Clear();
3374 3370 if (obj && !PythonQtSlotFunction_Check(obj)) {
3375 3371 static const char* argumentList[] ={"QString" , "int"};
3376 3372 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3377 3373 QString returnValue;
3378 3374 void* args[2] = {NULL, (void*)&value};
3379 3375 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3380 3376 if (result) {
3381 3377 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
3382 3378 if (args[0]!=&returnValue) {
3383 3379 if (args[0]==NULL) {
3384 3380 PythonQt::priv()->handleVirtualOverloadReturnError("textFromValue", methodInfo, result);
3385 3381 } else {
3386 3382 returnValue = *((QString*)args[0]);
3387 3383 }
3388 3384 }
3389 3385 }
3390 3386 if (result) { Py_DECREF(result); }
3391 3387 Py_DECREF(obj);
3392 3388 return returnValue;
3393 3389 }
3394 3390 }
3395 3391 return QHexSpinBox::textFromValue(value);
3396 3392 }
3397 3393 void PythonQtShell_QHexSpinBox::timerEvent(QTimerEvent* event)
3398 3394 {
3399 3395 if (_wrapper) {
3400 3396 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent");
3401 3397 PyErr_Clear();
3402 3398 if (obj && !PythonQtSlotFunction_Check(obj)) {
3403 3399 static const char* argumentList[] ={"" , "QTimerEvent*"};
3404 3400 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3405 3401 void* args[2] = {NULL, (void*)&event};
3406 3402 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3407 3403 if (result) { Py_DECREF(result); }
3408 3404 Py_DECREF(obj);
3409 3405 return;
3410 3406 }
3411 3407 }
3412 3408 QHexSpinBox::timerEvent(event);
3413 3409 }
3414 3410 QValidator::State PythonQtShell_QHexSpinBox::validate(QString& input, int& pos) const
3415 3411 {
3416 3412 if (_wrapper) {
3417 3413 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "validate");
3418 3414 PyErr_Clear();
3419 3415 if (obj && !PythonQtSlotFunction_Check(obj)) {
3420 3416 static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"};
3421 3417 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
3422 3418 QValidator::State returnValue;
3423 3419 void* args[3] = {NULL, (void*)&input, (void*)&pos};
3424 3420 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3425 3421 if (result) {
3426 3422 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
3427 3423 if (args[0]!=&returnValue) {
3428 3424 if (args[0]==NULL) {
3429 3425 PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result);
3430 3426 } else {
3431 3427 returnValue = *((QValidator::State*)args[0]);
3432 3428 }
3433 3429 }
3434 3430 }
3435 3431 if (result) { Py_DECREF(result); }
3436 3432 Py_DECREF(obj);
3437 3433 return returnValue;
3438 3434 }
3439 3435 }
3440 3436 return QHexSpinBox::validate(input, pos);
3441 3437 }
3442 3438 int PythonQtShell_QHexSpinBox::valueFromText(const QString& text) const
3443 3439 {
3444 3440 if (_wrapper) {
3445 3441 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "valueFromText");
3446 3442 PyErr_Clear();
3447 3443 if (obj && !PythonQtSlotFunction_Check(obj)) {
3448 3444 static const char* argumentList[] ={"int" , "const QString&"};
3449 3445 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3450 3446 int returnValue;
3451 3447 void* args[2] = {NULL, (void*)&text};
3452 3448 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3453 3449 if (result) {
3454 3450 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
3455 3451 if (args[0]!=&returnValue) {
3456 3452 if (args[0]==NULL) {
3457 3453 PythonQt::priv()->handleVirtualOverloadReturnError("valueFromText", methodInfo, result);
3458 3454 } else {
3459 3455 returnValue = *((int*)args[0]);
3460 3456 }
3461 3457 }
3462 3458 }
3463 3459 if (result) { Py_DECREF(result); }
3464 3460 Py_DECREF(obj);
3465 3461 return returnValue;
3466 3462 }
3467 3463 }
3468 3464 return QHexSpinBox::valueFromText(text);
3469 3465 }
3470 3466 void PythonQtShell_QHexSpinBox::wheelEvent(QWheelEvent* event)
3471 3467 {
3472 3468 if (_wrapper) {
3473 3469 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent");
3474 3470 PyErr_Clear();
3475 3471 if (obj && !PythonQtSlotFunction_Check(obj)) {
3476 3472 static const char* argumentList[] ={"" , "QWheelEvent*"};
3477 3473 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3478 3474 void* args[2] = {NULL, (void*)&event};
3479 3475 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3480 3476 if (result) { Py_DECREF(result); }
3481 3477 Py_DECREF(obj);
3482 3478 return;
3483 3479 }
3484 3480 }
3485 3481 QHexSpinBox::wheelEvent(event);
3486 3482 }
3487 3483 QHexSpinBox* PythonQtWrapper_QHexSpinBox::new_QHexSpinBox(QWidget* parent)
3488 3484 {
3489 3485 return new PythonQtShell_QHexSpinBox(parent); }
3490 3486
3491 3487 void PythonQtWrapper_QHexSpinBox::show(QHexSpinBox* theWrappedObject)
3492 3488 {
3493 3489 ( theWrappedObject->show());
3494 3490 }
3495 3491
3496 3492 QString PythonQtWrapper_QHexSpinBox::textFromValue(QHexSpinBox* theWrappedObject, int value) const
3497 3493 {
3498 3494 return ( ((PythonQtPublicPromoter_QHexSpinBox*)theWrappedObject)->promoted_textFromValue(value));
3499 3495 }
3500 3496
3501 3497 QValidator::State PythonQtWrapper_QHexSpinBox::validate(QHexSpinBox* theWrappedObject, QString& input, int& pos) const
3502 3498 {
3503 3499 return ( ((PythonQtPublicPromoter_QHexSpinBox*)theWrappedObject)->promoted_validate(input, pos));
3504 3500 }
3505 3501
3506 3502 int PythonQtWrapper_QHexSpinBox::valueFromText(QHexSpinBox* theWrappedObject, const QString& text) const
3507 3503 {
3508 3504 return ( ((PythonQtPublicPromoter_QHexSpinBox*)theWrappedObject)->promoted_valueFromText(text));
3509 3505 }
3510 3506
3511 3507
3512 3508
3513 3509 PythonQtShell_SocExplorerPlot::~PythonQtShell_SocExplorerPlot() {
3514 3510 PythonQtPrivate* priv = PythonQt::priv();
3515 3511 if (priv) { priv->shellClassDeleted(this); }
3516 3512 }
3517 3513 void PythonQtShell_SocExplorerPlot::actionEvent(QActionEvent* arg__1)
3518 3514 {
3519 3515 if (_wrapper) {
3520 3516 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent");
3521 3517 PyErr_Clear();
3522 3518 if (obj && !PythonQtSlotFunction_Check(obj)) {
3523 3519 static const char* argumentList[] ={"" , "QActionEvent*"};
3524 3520 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3525 3521 void* args[2] = {NULL, (void*)&arg__1};
3526 3522 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3527 3523 if (result) { Py_DECREF(result); }
3528 3524 Py_DECREF(obj);
3529 3525 return;
3530 3526 }
3531 3527 }
3532 3528 SocExplorerPlot::actionEvent(arg__1);
3533 3529 }
3534 3530 void PythonQtShell_SocExplorerPlot::changeEvent(QEvent* arg__1)
3535 3531 {
3536 3532 if (_wrapper) {
3537 3533 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent");
3538 3534 PyErr_Clear();
3539 3535 if (obj && !PythonQtSlotFunction_Check(obj)) {
3540 3536 static const char* argumentList[] ={"" , "QEvent*"};
3541 3537 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3542 3538 void* args[2] = {NULL, (void*)&arg__1};
3543 3539 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3544 3540 if (result) { Py_DECREF(result); }
3545 3541 Py_DECREF(obj);
3546 3542 return;
3547 3543 }
3548 3544 }
3549 3545 SocExplorerPlot::changeEvent(arg__1);
3550 3546 }
3551 3547 void PythonQtShell_SocExplorerPlot::childEvent(QChildEvent* arg__1)
3552 3548 {
3553 3549 if (_wrapper) {
3554 3550 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent");
3555 3551 PyErr_Clear();
3556 3552 if (obj && !PythonQtSlotFunction_Check(obj)) {
3557 3553 static const char* argumentList[] ={"" , "QChildEvent*"};
3558 3554 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3559 3555 void* args[2] = {NULL, (void*)&arg__1};
3560 3556 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3561 3557 if (result) { Py_DECREF(result); }
3562 3558 Py_DECREF(obj);
3563 3559 return;
3564 3560 }
3565 3561 }
3566 3562 SocExplorerPlot::childEvent(arg__1);
3567 3563 }
3568 3564 void PythonQtShell_SocExplorerPlot::closeEvent(QCloseEvent* arg__1)
3569 3565 {
3570 3566 if (_wrapper) {
3571 3567 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent");
3572 3568 PyErr_Clear();
3573 3569 if (obj && !PythonQtSlotFunction_Check(obj)) {
3574 3570 static const char* argumentList[] ={"" , "QCloseEvent*"};
3575 3571 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3576 3572 void* args[2] = {NULL, (void*)&arg__1};
3577 3573 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3578 3574 if (result) { Py_DECREF(result); }
3579 3575 Py_DECREF(obj);
3580 3576 return;
3581 3577 }
3582 3578 }
3583 3579 SocExplorerPlot::closeEvent(arg__1);
3584 3580 }
3585 3581 void PythonQtShell_SocExplorerPlot::contextMenuEvent(QContextMenuEvent* arg__1)
3586 3582 {
3587 3583 if (_wrapper) {
3588 3584 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent");
3589 3585 PyErr_Clear();
3590 3586 if (obj && !PythonQtSlotFunction_Check(obj)) {
3591 3587 static const char* argumentList[] ={"" , "QContextMenuEvent*"};
3592 3588 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3593 3589 void* args[2] = {NULL, (void*)&arg__1};
3594 3590 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3595 3591 if (result) { Py_DECREF(result); }
3596 3592 Py_DECREF(obj);
3597 3593 return;
3598 3594 }
3599 3595 }
3600 3596 SocExplorerPlot::contextMenuEvent(arg__1);
3601 3597 }
3602 3598 void PythonQtShell_SocExplorerPlot::customEvent(QEvent* arg__1)
3603 3599 {
3604 3600 if (_wrapper) {
3605 3601 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent");
3606 3602 PyErr_Clear();
3607 3603 if (obj && !PythonQtSlotFunction_Check(obj)) {
3608 3604 static const char* argumentList[] ={"" , "QEvent*"};
3609 3605 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3610 3606 void* args[2] = {NULL, (void*)&arg__1};
3611 3607 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3612 3608 if (result) { Py_DECREF(result); }
3613 3609 Py_DECREF(obj);
3614 3610 return;
3615 3611 }
3616 3612 }
3617 3613 SocExplorerPlot::customEvent(arg__1);
3618 3614 }
3619 3615 int PythonQtShell_SocExplorerPlot::devType() const
3620 3616 {
3621 3617 if (_wrapper) {
3622 3618 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType");
3623 3619 PyErr_Clear();
3624 3620 if (obj && !PythonQtSlotFunction_Check(obj)) {
3625 3621 static const char* argumentList[] ={"int"};
3626 3622 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
3627 3623 int returnValue;
3628 3624 void* args[1] = {NULL};
3629 3625 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3630 3626 if (result) {
3631 3627 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
3632 3628 if (args[0]!=&returnValue) {
3633 3629 if (args[0]==NULL) {
3634 3630 PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result);
3635 3631 } else {
3636 3632 returnValue = *((int*)args[0]);
3637 3633 }
3638 3634 }
3639 3635 }
3640 3636 if (result) { Py_DECREF(result); }
3641 3637 Py_DECREF(obj);
3642 3638 return returnValue;
3643 3639 }
3644 3640 }
3645 3641 return SocExplorerPlot::devType();
3646 3642 }
3647 3643 void PythonQtShell_SocExplorerPlot::dragEnterEvent(QDragEnterEvent* arg__1)
3648 3644 {
3649 3645 if (_wrapper) {
3650 3646 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent");
3651 3647 PyErr_Clear();
3652 3648 if (obj && !PythonQtSlotFunction_Check(obj)) {
3653 3649 static const char* argumentList[] ={"" , "QDragEnterEvent*"};
3654 3650 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3655 3651 void* args[2] = {NULL, (void*)&arg__1};
3656 3652 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3657 3653 if (result) { Py_DECREF(result); }
3658 3654 Py_DECREF(obj);
3659 3655 return;
3660 3656 }
3661 3657 }
3662 3658 SocExplorerPlot::dragEnterEvent(arg__1);
3663 3659 }
3664 3660 void PythonQtShell_SocExplorerPlot::dragLeaveEvent(QDragLeaveEvent* arg__1)
3665 3661 {
3666 3662 if (_wrapper) {
3667 3663 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent");
3668 3664 PyErr_Clear();
3669 3665 if (obj && !PythonQtSlotFunction_Check(obj)) {
3670 3666 static const char* argumentList[] ={"" , "QDragLeaveEvent*"};
3671 3667 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3672 3668 void* args[2] = {NULL, (void*)&arg__1};
3673 3669 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3674 3670 if (result) { Py_DECREF(result); }
3675 3671 Py_DECREF(obj);
3676 3672 return;
3677 3673 }
3678 3674 }
3679 3675 SocExplorerPlot::dragLeaveEvent(arg__1);
3680 3676 }
3681 3677 void PythonQtShell_SocExplorerPlot::dragMoveEvent(QDragMoveEvent* arg__1)
3682 3678 {
3683 3679 if (_wrapper) {
3684 3680 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent");
3685 3681 PyErr_Clear();
3686 3682 if (obj && !PythonQtSlotFunction_Check(obj)) {
3687 3683 static const char* argumentList[] ={"" , "QDragMoveEvent*"};
3688 3684 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3689 3685 void* args[2] = {NULL, (void*)&arg__1};
3690 3686 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3691 3687 if (result) { Py_DECREF(result); }
3692 3688 Py_DECREF(obj);
3693 3689 return;
3694 3690 }
3695 3691 }
3696 3692 SocExplorerPlot::dragMoveEvent(arg__1);
3697 3693 }
3698 3694 void PythonQtShell_SocExplorerPlot::dropEvent(QDropEvent* arg__1)
3699 3695 {
3700 3696 if (_wrapper) {
3701 3697 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent");
3702 3698 PyErr_Clear();
3703 3699 if (obj && !PythonQtSlotFunction_Check(obj)) {
3704 3700 static const char* argumentList[] ={"" , "QDropEvent*"};
3705 3701 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3706 3702 void* args[2] = {NULL, (void*)&arg__1};
3707 3703 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3708 3704 if (result) { Py_DECREF(result); }
3709 3705 Py_DECREF(obj);
3710 3706 return;
3711 3707 }
3712 3708 }
3713 3709 SocExplorerPlot::dropEvent(arg__1);
3714 3710 }
3715 3711 void PythonQtShell_SocExplorerPlot::enterEvent(QEvent* arg__1)
3716 3712 {
3717 3713 if (_wrapper) {
3718 3714 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent");
3719 3715 PyErr_Clear();
3720 3716 if (obj && !PythonQtSlotFunction_Check(obj)) {
3721 3717 static const char* argumentList[] ={"" , "QEvent*"};
3722 3718 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3723 3719 void* args[2] = {NULL, (void*)&arg__1};
3724 3720 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3725 3721 if (result) { Py_DECREF(result); }
3726 3722 Py_DECREF(obj);
3727 3723 return;
3728 3724 }
3729 3725 }
3730 3726 SocExplorerPlot::enterEvent(arg__1);
3731 3727 }
3732 3728 bool PythonQtShell_SocExplorerPlot::event(QEvent* arg__1)
3733 3729 {
3734 3730 if (_wrapper) {
3735 3731 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event");
3736 3732 PyErr_Clear();
3737 3733 if (obj && !PythonQtSlotFunction_Check(obj)) {
3738 3734 static const char* argumentList[] ={"bool" , "QEvent*"};
3739 3735 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3740 3736 bool returnValue;
3741 3737 void* args[2] = {NULL, (void*)&arg__1};
3742 3738 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3743 3739 if (result) {
3744 3740 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
3745 3741 if (args[0]!=&returnValue) {
3746 3742 if (args[0]==NULL) {
3747 3743 PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result);
3748 3744 } else {
3749 3745 returnValue = *((bool*)args[0]);
3750 3746 }
3751 3747 }
3752 3748 }
3753 3749 if (result) { Py_DECREF(result); }
3754 3750 Py_DECREF(obj);
3755 3751 return returnValue;
3756 3752 }
3757 3753 }
3758 3754 return SocExplorerPlot::event(arg__1);
3759 3755 }
3760 3756 bool PythonQtShell_SocExplorerPlot::eventFilter(QObject* arg__1, QEvent* arg__2)
3761 3757 {
3762 3758 if (_wrapper) {
3763 3759 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter");
3764 3760 PyErr_Clear();
3765 3761 if (obj && !PythonQtSlotFunction_Check(obj)) {
3766 3762 static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"};
3767 3763 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
3768 3764 bool returnValue;
3769 3765 void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2};
3770 3766 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3771 3767 if (result) {
3772 3768 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
3773 3769 if (args[0]!=&returnValue) {
3774 3770 if (args[0]==NULL) {
3775 3771 PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result);
3776 3772 } else {
3777 3773 returnValue = *((bool*)args[0]);
3778 3774 }
3779 3775 }
3780 3776 }
3781 3777 if (result) { Py_DECREF(result); }
3782 3778 Py_DECREF(obj);
3783 3779 return returnValue;
3784 3780 }
3785 3781 }
3786 3782 return SocExplorerPlot::eventFilter(arg__1, arg__2);
3787 3783 }
3788 3784 void PythonQtShell_SocExplorerPlot::focusInEvent(QFocusEvent* arg__1)
3789 3785 {
3790 3786 if (_wrapper) {
3791 3787 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent");
3792 3788 PyErr_Clear();
3793 3789 if (obj && !PythonQtSlotFunction_Check(obj)) {
3794 3790 static const char* argumentList[] ={"" , "QFocusEvent*"};
3795 3791 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3796 3792 void* args[2] = {NULL, (void*)&arg__1};
3797 3793 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3798 3794 if (result) { Py_DECREF(result); }
3799 3795 Py_DECREF(obj);
3800 3796 return;
3801 3797 }
3802 3798 }
3803 3799 SocExplorerPlot::focusInEvent(arg__1);
3804 3800 }
3805 3801 bool PythonQtShell_SocExplorerPlot::focusNextPrevChild(bool next)
3806 3802 {
3807 3803 if (_wrapper) {
3808 3804 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild");
3809 3805 PyErr_Clear();
3810 3806 if (obj && !PythonQtSlotFunction_Check(obj)) {
3811 3807 static const char* argumentList[] ={"bool" , "bool"};
3812 3808 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3813 3809 bool returnValue;
3814 3810 void* args[2] = {NULL, (void*)&next};
3815 3811 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3816 3812 if (result) {
3817 3813 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
3818 3814 if (args[0]!=&returnValue) {
3819 3815 if (args[0]==NULL) {
3820 3816 PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result);
3821 3817 } else {
3822 3818 returnValue = *((bool*)args[0]);
3823 3819 }
3824 3820 }
3825 3821 }
3826 3822 if (result) { Py_DECREF(result); }
3827 3823 Py_DECREF(obj);
3828 3824 return returnValue;
3829 3825 }
3830 3826 }
3831 3827 return SocExplorerPlot::focusNextPrevChild(next);
3832 3828 }
3833 3829 void PythonQtShell_SocExplorerPlot::focusOutEvent(QFocusEvent* arg__1)
3834 3830 {
3835 3831 if (_wrapper) {
3836 3832 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent");
3837 3833 PyErr_Clear();
3838 3834 if (obj && !PythonQtSlotFunction_Check(obj)) {
3839 3835 static const char* argumentList[] ={"" , "QFocusEvent*"};
3840 3836 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3841 3837 void* args[2] = {NULL, (void*)&arg__1};
3842 3838 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3843 3839 if (result) { Py_DECREF(result); }
3844 3840 Py_DECREF(obj);
3845 3841 return;
3846 3842 }
3847 3843 }
3848 3844 SocExplorerPlot::focusOutEvent(arg__1);
3849 3845 }
3850 3846 bool PythonQtShell_SocExplorerPlot::hasHeightForWidth() const
3851 3847 {
3852 3848 if (_wrapper) {
3853 3849 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasHeightForWidth");
3854 3850 PyErr_Clear();
3855 3851 if (obj && !PythonQtSlotFunction_Check(obj)) {
3856 3852 static const char* argumentList[] ={"bool"};
3857 3853 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
3858 3854 bool returnValue;
3859 3855 void* args[1] = {NULL};
3860 3856 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3861 3857 if (result) {
3862 3858 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
3863 3859 if (args[0]!=&returnValue) {
3864 3860 if (args[0]==NULL) {
3865 3861 PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result);
3866 3862 } else {
3867 3863 returnValue = *((bool*)args[0]);
3868 3864 }
3869 3865 }
3870 3866 }
3871 3867 if (result) { Py_DECREF(result); }
3872 3868 Py_DECREF(obj);
3873 3869 return returnValue;
3874 3870 }
3875 3871 }
3876 3872 return SocExplorerPlot::hasHeightForWidth();
3877 3873 }
3878 3874 int PythonQtShell_SocExplorerPlot::heightForWidth(int arg__1) const
3879 3875 {
3880 3876 if (_wrapper) {
3881 3877 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth");
3882 3878 PyErr_Clear();
3883 3879 if (obj && !PythonQtSlotFunction_Check(obj)) {
3884 3880 static const char* argumentList[] ={"int" , "int"};
3885 3881 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3886 3882 int returnValue;
3887 3883 void* args[2] = {NULL, (void*)&arg__1};
3888 3884 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3889 3885 if (result) {
3890 3886 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
3891 3887 if (args[0]!=&returnValue) {
3892 3888 if (args[0]==NULL) {
3893 3889 PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result);
3894 3890 } else {
3895 3891 returnValue = *((int*)args[0]);
3896 3892 }
3897 3893 }
3898 3894 }
3899 3895 if (result) { Py_DECREF(result); }
3900 3896 Py_DECREF(obj);
3901 3897 return returnValue;
3902 3898 }
3903 3899 }
3904 3900 return SocExplorerPlot::heightForWidth(arg__1);
3905 3901 }
3906 3902 void PythonQtShell_SocExplorerPlot::hideEvent(QHideEvent* arg__1)
3907 3903 {
3908 3904 if (_wrapper) {
3909 3905 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent");
3910 3906 PyErr_Clear();
3911 3907 if (obj && !PythonQtSlotFunction_Check(obj)) {
3912 3908 static const char* argumentList[] ={"" , "QHideEvent*"};
3913 3909 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3914 3910 void* args[2] = {NULL, (void*)&arg__1};
3915 3911 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3916 3912 if (result) { Py_DECREF(result); }
3917 3913 Py_DECREF(obj);
3918 3914 return;
3919 3915 }
3920 3916 }
3921 3917 SocExplorerPlot::hideEvent(arg__1);
3922 3918 }
3923 3919 void PythonQtShell_SocExplorerPlot::initPainter(QPainter* painter) const
3924 3920 {
3925 3921 if (_wrapper) {
3926 3922 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "initPainter");
3927 3923 PyErr_Clear();
3928 3924 if (obj && !PythonQtSlotFunction_Check(obj)) {
3929 3925 static const char* argumentList[] ={"" , "QPainter*"};
3930 3926 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3931 3927 void* args[2] = {NULL, (void*)&painter};
3932 3928 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3933 3929 if (result) { Py_DECREF(result); }
3934 3930 Py_DECREF(obj);
3935 3931 return;
3936 3932 }
3937 3933 }
3938 3934 SocExplorerPlot::initPainter(painter);
3939 3935 }
3940 3936 void PythonQtShell_SocExplorerPlot::inputMethodEvent(QInputMethodEvent* arg__1)
3941 3937 {
3942 3938 if (_wrapper) {
3943 3939 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent");
3944 3940 PyErr_Clear();
3945 3941 if (obj && !PythonQtSlotFunction_Check(obj)) {
3946 3942 static const char* argumentList[] ={"" , "QInputMethodEvent*"};
3947 3943 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3948 3944 void* args[2] = {NULL, (void*)&arg__1};
3949 3945 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3950 3946 if (result) { Py_DECREF(result); }
3951 3947 Py_DECREF(obj);
3952 3948 return;
3953 3949 }
3954 3950 }
3955 3951 SocExplorerPlot::inputMethodEvent(arg__1);
3956 3952 }
3957 3953 QVariant PythonQtShell_SocExplorerPlot::inputMethodQuery(Qt::InputMethodQuery arg__1) const
3958 3954 {
3959 3955 if (_wrapper) {
3960 3956 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery");
3961 3957 PyErr_Clear();
3962 3958 if (obj && !PythonQtSlotFunction_Check(obj)) {
3963 3959 static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"};
3964 3960 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3965 3961 QVariant returnValue;
3966 3962 void* args[2] = {NULL, (void*)&arg__1};
3967 3963 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3968 3964 if (result) {
3969 3965 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
3970 3966 if (args[0]!=&returnValue) {
3971 3967 if (args[0]==NULL) {
3972 3968 PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result);
3973 3969 } else {
3974 3970 returnValue = *((QVariant*)args[0]);
3975 3971 }
3976 3972 }
3977 3973 }
3978 3974 if (result) { Py_DECREF(result); }
3979 3975 Py_DECREF(obj);
3980 3976 return returnValue;
3981 3977 }
3982 3978 }
3983 3979 return SocExplorerPlot::inputMethodQuery(arg__1);
3984 3980 }
3985 3981 void PythonQtShell_SocExplorerPlot::keyPressEvent(QKeyEvent* arg__1)
3986 3982 {
3987 3983 if (_wrapper) {
3988 3984 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent");
3989 3985 PyErr_Clear();
3990 3986 if (obj && !PythonQtSlotFunction_Check(obj)) {
3991 3987 static const char* argumentList[] ={"" , "QKeyEvent*"};
3992 3988 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
3993 3989 void* args[2] = {NULL, (void*)&arg__1};
3994 3990 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
3995 3991 if (result) { Py_DECREF(result); }
3996 3992 Py_DECREF(obj);
3997 3993 return;
3998 3994 }
3999 3995 }
4000 3996 SocExplorerPlot::keyPressEvent(arg__1);
4001 3997 }
4002 3998 void PythonQtShell_SocExplorerPlot::keyReleaseEvent(QKeyEvent* arg__1)
4003 3999 {
4004 4000 if (_wrapper) {
4005 4001 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent");
4006 4002 PyErr_Clear();
4007 4003 if (obj && !PythonQtSlotFunction_Check(obj)) {
4008 4004 static const char* argumentList[] ={"" , "QKeyEvent*"};
4009 4005 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4010 4006 void* args[2] = {NULL, (void*)&arg__1};
4011 4007 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4012 4008 if (result) { Py_DECREF(result); }
4013 4009 Py_DECREF(obj);
4014 4010 return;
4015 4011 }
4016 4012 }
4017 4013 SocExplorerPlot::keyReleaseEvent(arg__1);
4018 4014 }
4019 4015 void PythonQtShell_SocExplorerPlot::leaveEvent(QEvent* arg__1)
4020 4016 {
4021 4017 if (_wrapper) {
4022 4018 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent");
4023 4019 PyErr_Clear();
4024 4020 if (obj && !PythonQtSlotFunction_Check(obj)) {
4025 4021 static const char* argumentList[] ={"" , "QEvent*"};
4026 4022 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4027 4023 void* args[2] = {NULL, (void*)&arg__1};
4028 4024 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4029 4025 if (result) { Py_DECREF(result); }
4030 4026 Py_DECREF(obj);
4031 4027 return;
4032 4028 }
4033 4029 }
4034 4030 SocExplorerPlot::leaveEvent(arg__1);
4035 4031 }
4036 4032 int PythonQtShell_SocExplorerPlot::metric(QPaintDevice::PaintDeviceMetric arg__1) const
4037 4033 {
4038 4034 if (_wrapper) {
4039 4035 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric");
4040 4036 PyErr_Clear();
4041 4037 if (obj && !PythonQtSlotFunction_Check(obj)) {
4042 4038 static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"};
4043 4039 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4044 4040 int returnValue;
4045 4041 void* args[2] = {NULL, (void*)&arg__1};
4046 4042 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4047 4043 if (result) {
4048 4044 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
4049 4045 if (args[0]!=&returnValue) {
4050 4046 if (args[0]==NULL) {
4051 4047 PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result);
4052 4048 } else {
4053 4049 returnValue = *((int*)args[0]);
4054 4050 }
4055 4051 }
4056 4052 }
4057 4053 if (result) { Py_DECREF(result); }
4058 4054 Py_DECREF(obj);
4059 4055 return returnValue;
4060 4056 }
4061 4057 }
4062 4058 return SocExplorerPlot::metric(arg__1);
4063 4059 }
4064 4060 QSize PythonQtShell_SocExplorerPlot::minimumSizeHint() const
4065 4061 {
4066 4062 if (_wrapper) {
4067 4063 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint");
4068 4064 PyErr_Clear();
4069 4065 if (obj && !PythonQtSlotFunction_Check(obj)) {
4070 4066 static const char* argumentList[] ={"QSize"};
4071 4067 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
4072 4068 QSize returnValue;
4073 4069 void* args[1] = {NULL};
4074 4070 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4075 4071 if (result) {
4076 4072 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
4077 4073 if (args[0]!=&returnValue) {
4078 4074 if (args[0]==NULL) {
4079 4075 PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result);
4080 4076 } else {
4081 4077 returnValue = *((QSize*)args[0]);
4082 4078 }
4083 4079 }
4084 4080 }
4085 4081 if (result) { Py_DECREF(result); }
4086 4082 Py_DECREF(obj);
4087 4083 return returnValue;
4088 4084 }
4089 4085 }
4090 4086 return SocExplorerPlot::minimumSizeHint();
4091 4087 }
4092 4088 void PythonQtShell_SocExplorerPlot::mouseDoubleClickEvent(QMouseEvent* arg__1)
4093 4089 {
4094 4090 if (_wrapper) {
4095 4091 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent");
4096 4092 PyErr_Clear();
4097 4093 if (obj && !PythonQtSlotFunction_Check(obj)) {
4098 4094 static const char* argumentList[] ={"" , "QMouseEvent*"};
4099 4095 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4100 4096 void* args[2] = {NULL, (void*)&arg__1};
4101 4097 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4102 4098 if (result) { Py_DECREF(result); }
4103 4099 Py_DECREF(obj);
4104 4100 return;
4105 4101 }
4106 4102 }
4107 4103 SocExplorerPlot::mouseDoubleClickEvent(arg__1);
4108 4104 }
4109 4105 void PythonQtShell_SocExplorerPlot::mouseMoveEvent(QMouseEvent* arg__1)
4110 4106 {
4111 4107 if (_wrapper) {
4112 4108 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent");
4113 4109 PyErr_Clear();
4114 4110 if (obj && !PythonQtSlotFunction_Check(obj)) {
4115 4111 static const char* argumentList[] ={"" , "QMouseEvent*"};
4116 4112 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4117 4113 void* args[2] = {NULL, (void*)&arg__1};
4118 4114 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4119 4115 if (result) { Py_DECREF(result); }
4120 4116 Py_DECREF(obj);
4121 4117 return;
4122 4118 }
4123 4119 }
4124 4120 SocExplorerPlot::mouseMoveEvent(arg__1);
4125 4121 }
4126 4122 void PythonQtShell_SocExplorerPlot::mousePressEvent(QMouseEvent* arg__1)
4127 4123 {
4128 4124 if (_wrapper) {
4129 4125 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent");
4130 4126 PyErr_Clear();
4131 4127 if (obj && !PythonQtSlotFunction_Check(obj)) {
4132 4128 static const char* argumentList[] ={"" , "QMouseEvent*"};
4133 4129 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4134 4130 void* args[2] = {NULL, (void*)&arg__1};
4135 4131 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4136 4132 if (result) { Py_DECREF(result); }
4137 4133 Py_DECREF(obj);
4138 4134 return;
4139 4135 }
4140 4136 }
4141 4137 SocExplorerPlot::mousePressEvent(arg__1);
4142 4138 }
4143 4139 void PythonQtShell_SocExplorerPlot::mouseReleaseEvent(QMouseEvent* arg__1)
4144 4140 {
4145 4141 if (_wrapper) {
4146 4142 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent");
4147 4143 PyErr_Clear();
4148 4144 if (obj && !PythonQtSlotFunction_Check(obj)) {
4149 4145 static const char* argumentList[] ={"" , "QMouseEvent*"};
4150 4146 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4151 4147 void* args[2] = {NULL, (void*)&arg__1};
4152 4148 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4153 4149 if (result) { Py_DECREF(result); }
4154 4150 Py_DECREF(obj);
4155 4151 return;
4156 4152 }
4157 4153 }
4158 4154 SocExplorerPlot::mouseReleaseEvent(arg__1);
4159 4155 }
4160 4156 void PythonQtShell_SocExplorerPlot::moveEvent(QMoveEvent* arg__1)
4161 4157 {
4162 4158 if (_wrapper) {
4163 4159 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent");
4164 4160 PyErr_Clear();
4165 4161 if (obj && !PythonQtSlotFunction_Check(obj)) {
4166 4162 static const char* argumentList[] ={"" , "QMoveEvent*"};
4167 4163 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4168 4164 void* args[2] = {NULL, (void*)&arg__1};
4169 4165 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4170 4166 if (result) { Py_DECREF(result); }
4171 4167 Py_DECREF(obj);
4172 4168 return;
4173 4169 }
4174 4170 }
4175 4171 SocExplorerPlot::moveEvent(arg__1);
4176 4172 }
4177 4173 bool PythonQtShell_SocExplorerPlot::nativeEvent(const QByteArray& eventType, void* message, long* result)
4178 4174 {
4179 4175 if (_wrapper) {
4180 4176 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nativeEvent");
4181 4177 PyErr_Clear();
4182 4178 if (obj && !PythonQtSlotFunction_Check(obj)) {
4183 4179 static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"};
4184 4180 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList);
4185 4181 bool returnValue;
4186 4182 void* args[4] = {NULL, (void*)&eventType, (void*)&message, (void*)&result};
4187 4183 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4188 4184 if (result) {
4189 4185 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
4190 4186 if (args[0]!=&returnValue) {
4191 4187 if (args[0]==NULL) {
4192 4188 PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result);
4193 4189 } else {
4194 4190 returnValue = *((bool*)args[0]);
4195 4191 }
4196 4192 }
4197 4193 }
4198 4194 if (result) { Py_DECREF(result); }
4199 4195 Py_DECREF(obj);
4200 4196 return returnValue;
4201 4197 }
4202 4198 }
4203 4199 return SocExplorerPlot::nativeEvent(eventType, message, result);
4204 4200 }
4205 4201 QPaintEngine* PythonQtShell_SocExplorerPlot::paintEngine() const
4206 4202 {
4207 4203 if (_wrapper) {
4208 4204 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine");
4209 4205 PyErr_Clear();
4210 4206 if (obj && !PythonQtSlotFunction_Check(obj)) {
4211 4207 static const char* argumentList[] ={"QPaintEngine*"};
4212 4208 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
4213 4209 QPaintEngine* returnValue;
4214 4210 void* args[1] = {NULL};
4215 4211 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4216 4212 if (result) {
4217 4213 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
4218 4214 if (args[0]!=&returnValue) {
4219 4215 if (args[0]==NULL) {
4220 4216 PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result);
4221 4217 } else {
4222 4218 returnValue = *((QPaintEngine**)args[0]);
4223 4219 }
4224 4220 }
4225 4221 }
4226 4222 if (result) { Py_DECREF(result); }
4227 4223 Py_DECREF(obj);
4228 4224 return returnValue;
4229 4225 }
4230 4226 }
4231 4227 return SocExplorerPlot::paintEngine();
4232 4228 }
4233 4229 void PythonQtShell_SocExplorerPlot::paintEvent(QPaintEvent* arg__1)
4234 4230 {
4235 4231 if (_wrapper) {
4236 4232 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent");
4237 4233 PyErr_Clear();
4238 4234 if (obj && !PythonQtSlotFunction_Check(obj)) {
4239 4235 static const char* argumentList[] ={"" , "QPaintEvent*"};
4240 4236 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4241 4237 void* args[2] = {NULL, (void*)&arg__1};
4242 4238 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4243 4239 if (result) { Py_DECREF(result); }
4244 4240 Py_DECREF(obj);
4245 4241 return;
4246 4242 }
4247 4243 }
4248 4244 SocExplorerPlot::paintEvent(arg__1);
4249 4245 }
4250 4246 QPaintDevice* PythonQtShell_SocExplorerPlot::redirected(QPoint* offset) const
4251 4247 {
4252 4248 if (_wrapper) {
4253 4249 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "redirected");
4254 4250 PyErr_Clear();
4255 4251 if (obj && !PythonQtSlotFunction_Check(obj)) {
4256 4252 static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"};
4257 4253 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4258 4254 QPaintDevice* returnValue;
4259 4255 void* args[2] = {NULL, (void*)&offset};
4260 4256 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4261 4257 if (result) {
4262 4258 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
4263 4259 if (args[0]!=&returnValue) {
4264 4260 if (args[0]==NULL) {
4265 4261 PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result);
4266 4262 } else {
4267 4263 returnValue = *((QPaintDevice**)args[0]);
4268 4264 }
4269 4265 }
4270 4266 }
4271 4267 if (result) { Py_DECREF(result); }
4272 4268 Py_DECREF(obj);
4273 4269 return returnValue;
4274 4270 }
4275 4271 }
4276 4272 return SocExplorerPlot::redirected(offset);
4277 4273 }
4278 4274 void PythonQtShell_SocExplorerPlot::resizeEvent(QResizeEvent* arg__1)
4279 4275 {
4280 4276 if (_wrapper) {
4281 4277 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent");
4282 4278 PyErr_Clear();
4283 4279 if (obj && !PythonQtSlotFunction_Check(obj)) {
4284 4280 static const char* argumentList[] ={"" , "QResizeEvent*"};
4285 4281 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4286 4282 void* args[2] = {NULL, (void*)&arg__1};
4287 4283 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4288 4284 if (result) { Py_DECREF(result); }
4289 4285 Py_DECREF(obj);
4290 4286 return;
4291 4287 }
4292 4288 }
4293 4289 SocExplorerPlot::resizeEvent(arg__1);
4294 4290 }
4295 4291 QPainter* PythonQtShell_SocExplorerPlot::sharedPainter() const
4296 4292 {
4297 4293 if (_wrapper) {
4298 4294 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sharedPainter");
4299 4295 PyErr_Clear();
4300 4296 if (obj && !PythonQtSlotFunction_Check(obj)) {
4301 4297 static const char* argumentList[] ={"QPainter*"};
4302 4298 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
4303 4299 QPainter* returnValue;
4304 4300 void* args[1] = {NULL};
4305 4301 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4306 4302 if (result) {
4307 4303 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
4308 4304 if (args[0]!=&returnValue) {
4309 4305 if (args[0]==NULL) {
4310 4306 PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result);
4311 4307 } else {
4312 4308 returnValue = *((QPainter**)args[0]);
4313 4309 }
4314 4310 }
4315 4311 }
4316 4312 if (result) { Py_DECREF(result); }
4317 4313 Py_DECREF(obj);
4318 4314 return returnValue;
4319 4315 }
4320 4316 }
4321 4317 return SocExplorerPlot::sharedPainter();
4322 4318 }
4323 4319 void PythonQtShell_SocExplorerPlot::showEvent(QShowEvent* arg__1)
4324 4320 {
4325 4321 if (_wrapper) {
4326 4322 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent");
4327 4323 PyErr_Clear();
4328 4324 if (obj && !PythonQtSlotFunction_Check(obj)) {
4329 4325 static const char* argumentList[] ={"" , "QShowEvent*"};
4330 4326 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4331 4327 void* args[2] = {NULL, (void*)&arg__1};
4332 4328 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4333 4329 if (result) { Py_DECREF(result); }
4334 4330 Py_DECREF(obj);
4335 4331 return;
4336 4332 }
4337 4333 }
4338 4334 SocExplorerPlot::showEvent(arg__1);
4339 4335 }
4340 4336 QSize PythonQtShell_SocExplorerPlot::sizeHint() const
4341 4337 {
4342 4338 if (_wrapper) {
4343 4339 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint");
4344 4340 PyErr_Clear();
4345 4341 if (obj && !PythonQtSlotFunction_Check(obj)) {
4346 4342 static const char* argumentList[] ={"QSize"};
4347 4343 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
4348 4344 QSize returnValue;
4349 4345 void* args[1] = {NULL};
4350 4346 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4351 4347 if (result) {
4352 4348 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
4353 4349 if (args[0]!=&returnValue) {
4354 4350 if (args[0]==NULL) {
4355 4351 PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result);
4356 4352 } else {
4357 4353 returnValue = *((QSize*)args[0]);
4358 4354 }
4359 4355 }
4360 4356 }
4361 4357 if (result) { Py_DECREF(result); }
4362 4358 Py_DECREF(obj);
4363 4359 return returnValue;
4364 4360 }
4365 4361 }
4366 4362 return SocExplorerPlot::sizeHint();
4367 4363 }
4368 4364 void PythonQtShell_SocExplorerPlot::tabletEvent(QTabletEvent* arg__1)
4369 4365 {
4370 4366 if (_wrapper) {
4371 4367 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent");
4372 4368 PyErr_Clear();
4373 4369 if (obj && !PythonQtSlotFunction_Check(obj)) {
4374 4370 static const char* argumentList[] ={"" , "QTabletEvent*"};
4375 4371 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4376 4372 void* args[2] = {NULL, (void*)&arg__1};
4377 4373 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4378 4374 if (result) { Py_DECREF(result); }
4379 4375 Py_DECREF(obj);
4380 4376 return;
4381 4377 }
4382 4378 }
4383 4379 SocExplorerPlot::tabletEvent(arg__1);
4384 4380 }
4385 4381 void PythonQtShell_SocExplorerPlot::timerEvent(QTimerEvent* arg__1)
4386 4382 {
4387 4383 if (_wrapper) {
4388 4384 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent");
4389 4385 PyErr_Clear();
4390 4386 if (obj && !PythonQtSlotFunction_Check(obj)) {
4391 4387 static const char* argumentList[] ={"" , "QTimerEvent*"};
4392 4388 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4393 4389 void* args[2] = {NULL, (void*)&arg__1};
4394 4390 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4395 4391 if (result) { Py_DECREF(result); }
4396 4392 Py_DECREF(obj);
4397 4393 return;
4398 4394 }
4399 4395 }
4400 4396 SocExplorerPlot::timerEvent(arg__1);
4401 4397 }
4402 4398 void PythonQtShell_SocExplorerPlot::wheelEvent(QWheelEvent* arg__1)
4403 4399 {
4404 4400 if (_wrapper) {
4405 4401 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent");
4406 4402 PyErr_Clear();
4407 4403 if (obj && !PythonQtSlotFunction_Check(obj)) {
4408 4404 static const char* argumentList[] ={"" , "QWheelEvent*"};
4409 4405 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4410 4406 void* args[2] = {NULL, (void*)&arg__1};
4411 4407 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4412 4408 if (result) { Py_DECREF(result); }
4413 4409 Py_DECREF(obj);
4414 4410 return;
4415 4411 }
4416 4412 }
4417 4413 SocExplorerPlot::wheelEvent(arg__1);
4418 4414 }
4419 4415 SocExplorerPlot* PythonQtWrapper_SocExplorerPlot::new_SocExplorerPlot(QWidget* parent)
4420 4416 {
4421 4417 return new PythonQtShell_SocExplorerPlot(parent); }
4422 4418
4423 4419 int PythonQtWrapper_SocExplorerPlot::addGraph(SocExplorerPlot* theWrappedObject)
4424 4420 {
4425 4421 return ( theWrappedObject->addGraph());
4426 4422 }
4427 4423
4428 4424 void PythonQtWrapper_SocExplorerPlot::addGraphData(SocExplorerPlot* theWrappedObject, int graphIndex, QList<QVariant > x, QList<QVariant > y)
4429 4425 {
4430 4426 ( theWrappedObject->addGraphData(graphIndex, x, y));
4431 4427 }
4432 4428
4433 4429 void PythonQtWrapper_SocExplorerPlot::addGraphData(SocExplorerPlot* theWrappedObject, int graphIndex, QVariant x, QVariant y)
4434 4430 {
4435 4431 ( theWrappedObject->addGraphData(graphIndex, x, y));
4436 4432 }
4437 4433
4438 4434 QPen PythonQtWrapper_SocExplorerPlot::getGraphPen(SocExplorerPlot* theWrappedObject, int graphIndex)
4439 4435 {
4440 4436 return ( theWrappedObject->getGraphPen(graphIndex));
4441 4437 }
4442 4438
4443 4439 void PythonQtWrapper_SocExplorerPlot::keyPressEvent(SocExplorerPlot* theWrappedObject, QKeyEvent* arg__1)
4444 4440 {
4445 4441 ( ((PythonQtPublicPromoter_SocExplorerPlot*)theWrappedObject)->promoted_keyPressEvent(arg__1));
4446 4442 }
4447 4443
4448 4444 void PythonQtWrapper_SocExplorerPlot::keyReleaseEvent(SocExplorerPlot* theWrappedObject, QKeyEvent* arg__1)
4449 4445 {
4450 4446 ( ((PythonQtPublicPromoter_SocExplorerPlot*)theWrappedObject)->promoted_keyReleaseEvent(arg__1));
4451 4447 }
4452 4448
4453 4449 void PythonQtWrapper_SocExplorerPlot::mouseMoveEvent(SocExplorerPlot* theWrappedObject, QMouseEvent* arg__1)
4454 4450 {
4455 4451 ( ((PythonQtPublicPromoter_SocExplorerPlot*)theWrappedObject)->promoted_mouseMoveEvent(arg__1));
4456 4452 }
4457 4453
4458 4454 void PythonQtWrapper_SocExplorerPlot::mousePressEvent(SocExplorerPlot* theWrappedObject, QMouseEvent* arg__1)
4459 4455 {
4460 4456 ( ((PythonQtPublicPromoter_SocExplorerPlot*)theWrappedObject)->promoted_mousePressEvent(arg__1));
4461 4457 }
4462 4458
4463 4459 void PythonQtWrapper_SocExplorerPlot::mouseReleaseEvent(SocExplorerPlot* theWrappedObject, QMouseEvent* arg__1)
4464 4460 {
4465 4461 ( ((PythonQtPublicPromoter_SocExplorerPlot*)theWrappedObject)->promoted_mouseReleaseEvent(arg__1));
4466 4462 }
4467 4463
4468 4464 void PythonQtWrapper_SocExplorerPlot::rescaleAxis(SocExplorerPlot* theWrappedObject)
4469 4465 {
4470 4466 ( theWrappedObject->rescaleAxis());
4471 4467 }
4472 4468
4473 4469 void PythonQtWrapper_SocExplorerPlot::setAdaptativeSampling(SocExplorerPlot* theWrappedObject, int graphIndex, bool enable)
4474 4470 {
4475 4471 ( theWrappedObject->setAdaptativeSampling(graphIndex, enable));
4476 4472 }
4477 4473
4478 4474 void PythonQtWrapper_SocExplorerPlot::setGraphData(SocExplorerPlot* theWrappedObject, int graphIndex, QList<QVariant > x, QList<QVariant > y)
4479 4475 {
4480 4476 ( theWrappedObject->setGraphData(graphIndex, x, y));
4481 4477 }
4482 4478
4483 4479 void PythonQtWrapper_SocExplorerPlot::setGraphLineStyle(SocExplorerPlot* theWrappedObject, int graphIndex, QString lineStyle)
4484 4480 {
4485 4481 ( theWrappedObject->setGraphLineStyle(graphIndex, lineStyle));
4486 4482 }
4487 4483
4488 4484 void PythonQtWrapper_SocExplorerPlot::setGraphName(SocExplorerPlot* theWrappedObject, int graphIndex, QString name)
4489 4485 {
4490 4486 ( theWrappedObject->setGraphName(graphIndex, name));
4491 4487 }
4492 4488
4493 4489 void PythonQtWrapper_SocExplorerPlot::setGraphPen(SocExplorerPlot* theWrappedObject, int graphIndex, QPen pen)
4494 4490 {
4495 4491 ( theWrappedObject->setGraphPen(graphIndex, pen));
4496 4492 }
4497 4493
4498 4494 void PythonQtWrapper_SocExplorerPlot::setGraphScatterStyle(SocExplorerPlot* theWrappedObject, int graphIndex, QString scatterStyle)
4499 4495 {
4500 4496 ( theWrappedObject->setGraphScatterStyle(graphIndex, scatterStyle));
4501 4497 }
4502 4498
4503 4499 void PythonQtWrapper_SocExplorerPlot::setLegendFont(SocExplorerPlot* theWrappedObject, QFont font)
4504 4500 {
4505 4501 ( theWrappedObject->setLegendFont(font));
4506 4502 }
4507 4503
4508 4504 void PythonQtWrapper_SocExplorerPlot::setLegendSelectedFont(SocExplorerPlot* theWrappedObject, QFont font)
4509 4505 {
4510 4506 ( theWrappedObject->setLegendSelectedFont(font));
4511 4507 }
4512 4508
4513 4509 void PythonQtWrapper_SocExplorerPlot::setTitle(SocExplorerPlot* theWrappedObject, QString title)
4514 4510 {
4515 4511 ( theWrappedObject->setTitle(title));
4516 4512 }
4517 4513
4518 4514 void PythonQtWrapper_SocExplorerPlot::setXaxisLabel(SocExplorerPlot* theWrappedObject, QString label)
4519 4515 {
4520 4516 ( theWrappedObject->setXaxisLabel(label));
4521 4517 }
4522 4518
4523 4519 void PythonQtWrapper_SocExplorerPlot::setXaxisRange(SocExplorerPlot* theWrappedObject, double lower, double upper)
4524 4520 {
4525 4521 ( theWrappedObject->setXaxisRange(lower, upper));
4526 4522 }
4527 4523
4528 4524 void PythonQtWrapper_SocExplorerPlot::setYaxisLabel(SocExplorerPlot* theWrappedObject, QString label)
4529 4525 {
4530 4526 ( theWrappedObject->setYaxisLabel(label));
4531 4527 }
4532 4528
4533 4529 void PythonQtWrapper_SocExplorerPlot::setYaxisRange(SocExplorerPlot* theWrappedObject, double lower, double upper)
4534 4530 {
4535 4531 ( theWrappedObject->setYaxisRange(lower, upper));
4536 4532 }
4537 4533
4538 4534 void PythonQtWrapper_SocExplorerPlot::show(SocExplorerPlot* theWrappedObject)
4539 4535 {
4540 4536 ( theWrappedObject->show());
4541 4537 }
4542 4538
4543 4539 void PythonQtWrapper_SocExplorerPlot::wheelEvent(SocExplorerPlot* theWrappedObject, QWheelEvent* arg__1)
4544 4540 {
4545 4541 ( ((PythonQtPublicPromoter_SocExplorerPlot*)theWrappedObject)->promoted_wheelEvent(arg__1));
4546 4542 }
4547 4543
4548 4544
4549 4545
4550 4546 PythonQtShell_TCP_Terminal_Client::~PythonQtShell_TCP_Terminal_Client() {
4551 4547 PythonQtPrivate* priv = PythonQt::priv();
4552 4548 if (priv) { priv->shellClassDeleted(this); }
4553 4549 }
4554 4550 void PythonQtShell_TCP_Terminal_Client::childEvent(QChildEvent* arg__1)
4555 4551 {
4556 4552 if (_wrapper) {
4557 4553 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent");
4558 4554 PyErr_Clear();
4559 4555 if (obj && !PythonQtSlotFunction_Check(obj)) {
4560 4556 static const char* argumentList[] ={"" , "QChildEvent*"};
4561 4557 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4562 4558 void* args[2] = {NULL, (void*)&arg__1};
4563 4559 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4564 4560 if (result) { Py_DECREF(result); }
4565 4561 Py_DECREF(obj);
4566 4562 return;
4567 4563 }
4568 4564 }
4569 4565 TCP_Terminal_Client::childEvent(arg__1);
4570 4566 }
4571 4567 void PythonQtShell_TCP_Terminal_Client::customEvent(QEvent* arg__1)
4572 4568 {
4573 4569 if (_wrapper) {
4574 4570 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent");
4575 4571 PyErr_Clear();
4576 4572 if (obj && !PythonQtSlotFunction_Check(obj)) {
4577 4573 static const char* argumentList[] ={"" , "QEvent*"};
4578 4574 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4579 4575 void* args[2] = {NULL, (void*)&arg__1};
4580 4576 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4581 4577 if (result) { Py_DECREF(result); }
4582 4578 Py_DECREF(obj);
4583 4579 return;
4584 4580 }
4585 4581 }
4586 4582 TCP_Terminal_Client::customEvent(arg__1);
4587 4583 }
4588 4584 bool PythonQtShell_TCP_Terminal_Client::event(QEvent* arg__1)
4589 4585 {
4590 4586 if (_wrapper) {
4591 4587 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event");
4592 4588 PyErr_Clear();
4593 4589 if (obj && !PythonQtSlotFunction_Check(obj)) {
4594 4590 static const char* argumentList[] ={"bool" , "QEvent*"};
4595 4591 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4596 4592 bool returnValue;
4597 4593 void* args[2] = {NULL, (void*)&arg__1};
4598 4594 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4599 4595 if (result) {
4600 4596 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
4601 4597 if (args[0]!=&returnValue) {
4602 4598 if (args[0]==NULL) {
4603 4599 PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result);
4604 4600 } else {
4605 4601 returnValue = *((bool*)args[0]);
4606 4602 }
4607 4603 }
4608 4604 }
4609 4605 if (result) { Py_DECREF(result); }
4610 4606 Py_DECREF(obj);
4611 4607 return returnValue;
4612 4608 }
4613 4609 }
4614 4610 return TCP_Terminal_Client::event(arg__1);
4615 4611 }
4616 4612 bool PythonQtShell_TCP_Terminal_Client::eventFilter(QObject* arg__1, QEvent* arg__2)
4617 4613 {
4618 4614 if (_wrapper) {
4619 4615 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter");
4620 4616 PyErr_Clear();
4621 4617 if (obj && !PythonQtSlotFunction_Check(obj)) {
4622 4618 static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"};
4623 4619 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
4624 4620 bool returnValue;
4625 4621 void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2};
4626 4622 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4627 4623 if (result) {
4628 4624 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
4629 4625 if (args[0]!=&returnValue) {
4630 4626 if (args[0]==NULL) {
4631 4627 PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result);
4632 4628 } else {
4633 4629 returnValue = *((bool*)args[0]);
4634 4630 }
4635 4631 }
4636 4632 }
4637 4633 if (result) { Py_DECREF(result); }
4638 4634 Py_DECREF(obj);
4639 4635 return returnValue;
4640 4636 }
4641 4637 }
4642 4638 return TCP_Terminal_Client::eventFilter(arg__1, arg__2);
4643 4639 }
4644 4640 void PythonQtShell_TCP_Terminal_Client::timerEvent(QTimerEvent* arg__1)
4645 4641 {
4646 4642 if (_wrapper) {
4647 4643 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent");
4648 4644 PyErr_Clear();
4649 4645 if (obj && !PythonQtSlotFunction_Check(obj)) {
4650 4646 static const char* argumentList[] ={"" , "QTimerEvent*"};
4651 4647 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4652 4648 void* args[2] = {NULL, (void*)&arg__1};
4653 4649 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4654 4650 if (result) { Py_DECREF(result); }
4655 4651 Py_DECREF(obj);
4656 4652 return;
4657 4653 }
4658 4654 }
4659 4655 TCP_Terminal_Client::timerEvent(arg__1);
4660 4656 }
4661 4657 TCP_Terminal_Client* PythonQtWrapper_TCP_Terminal_Client::new_TCP_Terminal_Client(QObject* parent)
4662 4658 {
4663 4659 return new PythonQtShell_TCP_Terminal_Client(parent); }
4664 4660
4665 4661 void PythonQtWrapper_TCP_Terminal_Client::connectToServer(TCP_Terminal_Client* theWrappedObject)
4666 4662 {
4667 4663 ( theWrappedObject->connectToServer());
4668 4664 }
4669 4665
4670 4666 void PythonQtWrapper_TCP_Terminal_Client::connectToServer(TCP_Terminal_Client* theWrappedObject, const QString& IP, int port)
4671 4667 {
4672 4668 ( theWrappedObject->connectToServer(IP, port));
4673 4669 }
4674 4670
4675 4671 bool PythonQtWrapper_TCP_Terminal_Client::isConnected(TCP_Terminal_Client* theWrappedObject)
4676 4672 {
4677 4673 return ( theWrappedObject->isConnected());
4678 4674 }
4679 4675
4680 4676 void PythonQtWrapper_TCP_Terminal_Client::sendText(TCP_Terminal_Client* theWrappedObject, const QString& text)
4681 4677 {
4682 4678 ( theWrappedObject->sendText(text));
4683 4679 }
4684 4680
4685 4681 void PythonQtWrapper_TCP_Terminal_Client::startServer(TCP_Terminal_Client* theWrappedObject)
4686 4682 {
4687 4683 ( theWrappedObject->startServer());
4688 4684 }
4689 4685
4690 4686 void PythonQtWrapper_TCP_Terminal_Client::startServer(TCP_Terminal_Client* theWrappedObject, int port)
4691 4687 {
4692 4688 ( theWrappedObject->startServer(port));
4693 4689 }
4694 4690
4695 4691
4696 4692
4697 4693 XByteArray* PythonQtWrapper_XByteArray::new_XByteArray()
4698 4694 {
4699 4695 return new XByteArray(); }
4700 4696
4701 4697 int PythonQtWrapper_XByteArray::addressOffset(XByteArray* theWrappedObject)
4702 4698 {
4703 4699 return ( theWrappedObject->addressOffset());
4704 4700 }
4705 4701
4706 4702 int PythonQtWrapper_XByteArray::addressWidth(XByteArray* theWrappedObject)
4707 4703 {
4708 4704 return ( theWrappedObject->addressWidth());
4709 4705 }
4710 4706
4711 4707 QChar PythonQtWrapper_XByteArray::asciiChar(XByteArray* theWrappedObject, int index)
4712 4708 {
4713 4709 return ( theWrappedObject->asciiChar(index));
4714 4710 }
4715 4711
4716 4712 QByteArray* PythonQtWrapper_XByteArray::data(XByteArray* theWrappedObject)
4717 4713 {
4718 4714 return &( theWrappedObject->data());
4719 4715 }
4720 4716
4721 4717 bool PythonQtWrapper_XByteArray::dataChanged(XByteArray* theWrappedObject, int i)
4722 4718 {
4723 4719 return ( theWrappedObject->dataChanged(i));
4724 4720 }
4725 4721
4726 4722 QByteArray PythonQtWrapper_XByteArray::dataChanged(XByteArray* theWrappedObject, int i, int len)
4727 4723 {
4728 4724 return ( theWrappedObject->dataChanged(i, len));
4729 4725 }
4730 4726
4731 4727 QByteArray* PythonQtWrapper_XByteArray::insert(XByteArray* theWrappedObject, int i, char ch)
4732 4728 {
4733 4729 return &( theWrappedObject->insert(i, ch));
4734 4730 }
4735 4731
4736 4732 QByteArray* PythonQtWrapper_XByteArray::insert(XByteArray* theWrappedObject, int i, const QByteArray& ba)
4737 4733 {
4738 4734 return &( theWrappedObject->insert(i, ba));
4739 4735 }
4740 4736
4741 4737 int PythonQtWrapper_XByteArray::realAddressNumbers(XByteArray* theWrappedObject)
4742 4738 {
4743 4739 return ( theWrappedObject->realAddressNumbers());
4744 4740 }
4745 4741
4746 4742 QByteArray* PythonQtWrapper_XByteArray::remove(XByteArray* theWrappedObject, int pos, int len)
4747 4743 {
4748 4744 return &( theWrappedObject->remove(pos, len));
4749 4745 }
4750 4746
4751 4747 QByteArray* PythonQtWrapper_XByteArray::replace(XByteArray* theWrappedObject, int index, char ch)
4752 4748 {
4753 4749 return &( theWrappedObject->replace(index, ch));
4754 4750 }
4755 4751
4756 4752 QByteArray* PythonQtWrapper_XByteArray::replace(XByteArray* theWrappedObject, int index, const QByteArray& ba)
4757 4753 {
4758 4754 return &( theWrappedObject->replace(index, ba));
4759 4755 }
4760 4756
4761 4757 QByteArray* PythonQtWrapper_XByteArray::replace(XByteArray* theWrappedObject, int index, int length, const QByteArray& ba)
4762 4758 {
4763 4759 return &( theWrappedObject->replace(index, length, ba));
4764 4760 }
4765 4761
4766 4762 void PythonQtWrapper_XByteArray::setAddressOffset(XByteArray* theWrappedObject, int offset)
4767 4763 {
4768 4764 ( theWrappedObject->setAddressOffset(offset));
4769 4765 }
4770 4766
4771 4767 void PythonQtWrapper_XByteArray::setAddressWidth(XByteArray* theWrappedObject, int width)
4772 4768 {
4773 4769 ( theWrappedObject->setAddressWidth(width));
4774 4770 }
4775 4771
4776 4772 void PythonQtWrapper_XByteArray::setData(XByteArray* theWrappedObject, QByteArray data)
4777 4773 {
4778 4774 ( theWrappedObject->setData(data));
4779 4775 }
4780 4776
4781 4777 void PythonQtWrapper_XByteArray::setDataChanged(XByteArray* theWrappedObject, int i, bool state)
4782 4778 {
4783 4779 ( theWrappedObject->setDataChanged(i, state));
4784 4780 }
4785 4781
4786 4782 void PythonQtWrapper_XByteArray::setDataChanged(XByteArray* theWrappedObject, int i, const QByteArray& state)
4787 4783 {
4788 4784 ( theWrappedObject->setDataChanged(i, state));
4789 4785 }
4790 4786
4791 4787 int PythonQtWrapper_XByteArray::size(XByteArray* theWrappedObject)
4792 4788 {
4793 4789 return ( theWrappedObject->size());
4794 4790 }
4795 4791
4796 4792 QString PythonQtWrapper_XByteArray::toRedableString(XByteArray* theWrappedObject, int start, int end)
4797 4793 {
4798 4794 return ( theWrappedObject->toRedableString(start, end));
4799 4795 }
4800 4796
4801 4797
4802 4798
4803 4799 PythonQtShell_abstractBinFile::~PythonQtShell_abstractBinFile() {
4804 4800 PythonQtPrivate* priv = PythonQt::priv();
4805 4801 if (priv) { priv->shellClassDeleted(this); }
4806 4802 }
4807 4803 void PythonQtShell_abstractBinFile::childEvent(QChildEvent* arg__1)
4808 4804 {
4809 4805 if (_wrapper) {
4810 4806 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent");
4811 4807 PyErr_Clear();
4812 4808 if (obj && !PythonQtSlotFunction_Check(obj)) {
4813 4809 static const char* argumentList[] ={"" , "QChildEvent*"};
4814 4810 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4815 4811 void* args[2] = {NULL, (void*)&arg__1};
4816 4812 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4817 4813 if (result) { Py_DECREF(result); }
4818 4814 Py_DECREF(obj);
4819 4815 return;
4820 4816 }
4821 4817 }
4822 4818 abstractBinFile::childEvent(arg__1);
4823 4819 }
4824 4820 int PythonQtShell_abstractBinFile::closeFile()
4825 4821 {
4826 4822 if (_wrapper) {
4827 4823 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeFile");
4828 4824 PyErr_Clear();
4829 4825 if (obj && !PythonQtSlotFunction_Check(obj)) {
4830 4826 static const char* argumentList[] ={"int"};
4831 4827 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
4832 4828 int returnValue;
4833 4829 void* args[1] = {NULL};
4834 4830 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4835 4831 if (result) {
4836 4832 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
4837 4833 if (args[0]!=&returnValue) {
4838 4834 if (args[0]==NULL) {
4839 4835 PythonQt::priv()->handleVirtualOverloadReturnError("closeFile", methodInfo, result);
4840 4836 } else {
4841 4837 returnValue = *((int*)args[0]);
4842 4838 }
4843 4839 }
4844 4840 }
4845 4841 if (result) { Py_DECREF(result); }
4846 4842 Py_DECREF(obj);
4847 4843 return returnValue;
4848 4844 }
4849 4845 }
4850 4846 return int();
4851 4847 }
4852 4848 void PythonQtShell_abstractBinFile::customEvent(QEvent* arg__1)
4853 4849 {
4854 4850 if (_wrapper) {
4855 4851 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent");
4856 4852 PyErr_Clear();
4857 4853 if (obj && !PythonQtSlotFunction_Check(obj)) {
4858 4854 static const char* argumentList[] ={"" , "QEvent*"};
4859 4855 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4860 4856 void* args[2] = {NULL, (void*)&arg__1};
4861 4857 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4862 4858 if (result) { Py_DECREF(result); }
4863 4859 Py_DECREF(obj);
4864 4860 return;
4865 4861 }
4866 4862 }
4867 4863 abstractBinFile::customEvent(arg__1);
4868 4864 }
4869 4865 bool PythonQtShell_abstractBinFile::event(QEvent* arg__1)
4870 4866 {
4871 4867 if (_wrapper) {
4872 4868 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event");
4873 4869 PyErr_Clear();
4874 4870 if (obj && !PythonQtSlotFunction_Check(obj)) {
4875 4871 static const char* argumentList[] ={"bool" , "QEvent*"};
4876 4872 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4877 4873 bool returnValue;
4878 4874 void* args[2] = {NULL, (void*)&arg__1};
4879 4875 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4880 4876 if (result) {
4881 4877 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
4882 4878 if (args[0]!=&returnValue) {
4883 4879 if (args[0]==NULL) {
4884 4880 PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result);
4885 4881 } else {
4886 4882 returnValue = *((bool*)args[0]);
4887 4883 }
4888 4884 }
4889 4885 }
4890 4886 if (result) { Py_DECREF(result); }
4891 4887 Py_DECREF(obj);
4892 4888 return returnValue;
4893 4889 }
4894 4890 }
4895 4891 return abstractBinFile::event(arg__1);
4896 4892 }
4897 4893 bool PythonQtShell_abstractBinFile::eventFilter(QObject* arg__1, QEvent* arg__2)
4898 4894 {
4899 4895 if (_wrapper) {
4900 4896 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter");
4901 4897 PyErr_Clear();
4902 4898 if (obj && !PythonQtSlotFunction_Check(obj)) {
4903 4899 static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"};
4904 4900 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
4905 4901 bool returnValue;
4906 4902 void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2};
4907 4903 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4908 4904 if (result) {
4909 4905 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
4910 4906 if (args[0]!=&returnValue) {
4911 4907 if (args[0]==NULL) {
4912 4908 PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result);
4913 4909 } else {
4914 4910 returnValue = *((bool*)args[0]);
4915 4911 }
4916 4912 }
4917 4913 }
4918 4914 if (result) { Py_DECREF(result); }
4919 4915 Py_DECREF(obj);
4920 4916 return returnValue;
4921 4917 }
4922 4918 }
4923 4919 return abstractBinFile::eventFilter(arg__1, arg__2);
4924 4920 }
4925 4921 QList<codeFragment* > PythonQtShell_abstractBinFile::getFragments()
4926 4922 {
4927 4923 if (_wrapper) {
4928 4924 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getFragments");
4929 4925 PyErr_Clear();
4930 4926 if (obj && !PythonQtSlotFunction_Check(obj)) {
4931 4927 static const char* argumentList[] ={"QList<codeFragment* >"};
4932 4928 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
4933 4929 QList<codeFragment* > returnValue;
4934 4930 void* args[1] = {NULL};
4935 4931 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4936 4932 if (result) {
4937 4933 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
4938 4934 if (args[0]!=&returnValue) {
4939 4935 if (args[0]==NULL) {
4940 4936 PythonQt::priv()->handleVirtualOverloadReturnError("getFragments", methodInfo, result);
4941 4937 } else {
4942 4938 returnValue = *((QList<codeFragment* >*)args[0]);
4943 4939 }
4944 4940 }
4945 4941 }
4946 4942 if (result) { Py_DECREF(result); }
4947 4943 Py_DECREF(obj);
4948 4944 return returnValue;
4949 4945 }
4950 4946 }
4951 4947 return QList<codeFragment* >();
4952 4948 }
4953 4949 bool PythonQtShell_abstractBinFile::isopened()
4954 4950 {
4955 4951 if (_wrapper) {
4956 4952 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isopened");
4957 4953 PyErr_Clear();
4958 4954 if (obj && !PythonQtSlotFunction_Check(obj)) {
4959 4955 static const char* argumentList[] ={"bool"};
4960 4956 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
4961 4957 bool returnValue;
4962 4958 void* args[1] = {NULL};
4963 4959 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4964 4960 if (result) {
4965 4961 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
4966 4962 if (args[0]!=&returnValue) {
4967 4963 if (args[0]==NULL) {
4968 4964 PythonQt::priv()->handleVirtualOverloadReturnError("isopened", methodInfo, result);
4969 4965 } else {
4970 4966 returnValue = *((bool*)args[0]);
4971 4967 }
4972 4968 }
4973 4969 }
4974 4970 if (result) { Py_DECREF(result); }
4975 4971 Py_DECREF(obj);
4976 4972 return returnValue;
4977 4973 }
4978 4974 }
4979 4975 return bool();
4980 4976 }
4981 4977 bool PythonQtShell_abstractBinFile::openFile(const QString& File)
4982 4978 {
4983 4979 if (_wrapper) {
4984 4980 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "openFile");
4985 4981 PyErr_Clear();
4986 4982 if (obj && !PythonQtSlotFunction_Check(obj)) {
4987 4983 static const char* argumentList[] ={"bool" , "const QString&"};
4988 4984 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
4989 4985 bool returnValue;
4990 4986 void* args[2] = {NULL, (void*)&File};
4991 4987 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
4992 4988 if (result) {
4993 4989 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
4994 4990 if (args[0]!=&returnValue) {
4995 4991 if (args[0]==NULL) {
4996 4992 PythonQt::priv()->handleVirtualOverloadReturnError("openFile", methodInfo, result);
4997 4993 } else {
4998 4994 returnValue = *((bool*)args[0]);
4999 4995 }
5000 4996 }
5001 4997 }
5002 4998 if (result) { Py_DECREF(result); }
5003 4999 Py_DECREF(obj);
5004 5000 return returnValue;
5005 5001 }
5006 5002 }
5007 5003 return bool();
5008 5004 }
5009 5005 void PythonQtShell_abstractBinFile::timerEvent(QTimerEvent* arg__1)
5010 5006 {
5011 5007 if (_wrapper) {
5012 5008 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent");
5013 5009 PyErr_Clear();
5014 5010 if (obj && !PythonQtSlotFunction_Check(obj)) {
5015 5011 static const char* argumentList[] ={"" , "QTimerEvent*"};
5016 5012 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5017 5013 void* args[2] = {NULL, (void*)&arg__1};
5018 5014 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5019 5015 if (result) { Py_DECREF(result); }
5020 5016 Py_DECREF(obj);
5021 5017 return;
5022 5018 }
5023 5019 }
5024 5020 abstractBinFile::timerEvent(arg__1);
5025 5021 }
5026 5022 bool PythonQtShell_abstractBinFile::toBinary(const QString& File)
5027 5023 {
5028 5024 if (_wrapper) {
5029 5025 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "toBinary");
5030 5026 PyErr_Clear();
5031 5027 if (obj && !PythonQtSlotFunction_Check(obj)) {
5032 5028 static const char* argumentList[] ={"bool" , "const QString&"};
5033 5029 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5034 5030 bool returnValue;
5035 5031 void* args[2] = {NULL, (void*)&File};
5036 5032 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5037 5033 if (result) {
5038 5034 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5039 5035 if (args[0]!=&returnValue) {
5040 5036 if (args[0]==NULL) {
5041 5037 PythonQt::priv()->handleVirtualOverloadReturnError("toBinary", methodInfo, result);
5042 5038 } else {
5043 5039 returnValue = *((bool*)args[0]);
5044 5040 }
5045 5041 }
5046 5042 }
5047 5043 if (result) { Py_DECREF(result); }
5048 5044 Py_DECREF(obj);
5049 5045 return returnValue;
5050 5046 }
5051 5047 }
5052 5048 return bool();
5053 5049 }
5054 5050 bool PythonQtShell_abstractBinFile::toSrec(const QString& File)
5055 5051 {
5056 5052 if (_wrapper) {
5057 5053 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "toSrec");
5058 5054 PyErr_Clear();
5059 5055 if (obj && !PythonQtSlotFunction_Check(obj)) {
5060 5056 static const char* argumentList[] ={"bool" , "const QString&"};
5061 5057 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5062 5058 bool returnValue;
5063 5059 void* args[2] = {NULL, (void*)&File};
5064 5060 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5065 5061 if (result) {
5066 5062 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5067 5063 if (args[0]!=&returnValue) {
5068 5064 if (args[0]==NULL) {
5069 5065 PythonQt::priv()->handleVirtualOverloadReturnError("toSrec", methodInfo, result);
5070 5066 } else {
5071 5067 returnValue = *((bool*)args[0]);
5072 5068 }
5073 5069 }
5074 5070 }
5075 5071 if (result) { Py_DECREF(result); }
5076 5072 Py_DECREF(obj);
5077 5073 return returnValue;
5078 5074 }
5079 5075 }
5080 5076 return bool();
5081 5077 }
5082 5078 abstractBinFile* PythonQtWrapper_abstractBinFile::new_abstractBinFile()
5083 5079 {
5084 5080 return new PythonQtShell_abstractBinFile(); }
5085 5081
5086 5082
5087 5083
5088 5084 PythonQtShell_abstractBinFileWidget::~PythonQtShell_abstractBinFileWidget() {
5089 5085 PythonQtPrivate* priv = PythonQt::priv();
5090 5086 if (priv) { priv->shellClassDeleted(this); }
5091 5087 }
5092 5088 void PythonQtShell_abstractBinFileWidget::actionEvent(QActionEvent* arg__1)
5093 5089 {
5094 5090 if (_wrapper) {
5095 5091 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent");
5096 5092 PyErr_Clear();
5097 5093 if (obj && !PythonQtSlotFunction_Check(obj)) {
5098 5094 static const char* argumentList[] ={"" , "QActionEvent*"};
5099 5095 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5100 5096 void* args[2] = {NULL, (void*)&arg__1};
5101 5097 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5102 5098 if (result) { Py_DECREF(result); }
5103 5099 Py_DECREF(obj);
5104 5100 return;
5105 5101 }
5106 5102 }
5107 5103 abstractBinFileWidget::actionEvent(arg__1);
5108 5104 }
5109 5105 void PythonQtShell_abstractBinFileWidget::changeEvent(QEvent* arg__1)
5110 5106 {
5111 5107 if (_wrapper) {
5112 5108 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent");
5113 5109 PyErr_Clear();
5114 5110 if (obj && !PythonQtSlotFunction_Check(obj)) {
5115 5111 static const char* argumentList[] ={"" , "QEvent*"};
5116 5112 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5117 5113 void* args[2] = {NULL, (void*)&arg__1};
5118 5114 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5119 5115 if (result) { Py_DECREF(result); }
5120 5116 Py_DECREF(obj);
5121 5117 return;
5122 5118 }
5123 5119 }
5124 5120 abstractBinFileWidget::changeEvent(arg__1);
5125 5121 }
5126 5122 void PythonQtShell_abstractBinFileWidget::childEvent(QChildEvent* arg__1)
5127 5123 {
5128 5124 if (_wrapper) {
5129 5125 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent");
5130 5126 PyErr_Clear();
5131 5127 if (obj && !PythonQtSlotFunction_Check(obj)) {
5132 5128 static const char* argumentList[] ={"" , "QChildEvent*"};
5133 5129 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5134 5130 void* args[2] = {NULL, (void*)&arg__1};
5135 5131 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5136 5132 if (result) { Py_DECREF(result); }
5137 5133 Py_DECREF(obj);
5138 5134 return;
5139 5135 }
5140 5136 }
5141 5137 abstractBinFileWidget::childEvent(arg__1);
5142 5138 }
5143 5139 void PythonQtShell_abstractBinFileWidget::closeEvent(QCloseEvent* arg__1)
5144 5140 {
5145 5141 if (_wrapper) {
5146 5142 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent");
5147 5143 PyErr_Clear();
5148 5144 if (obj && !PythonQtSlotFunction_Check(obj)) {
5149 5145 static const char* argumentList[] ={"" , "QCloseEvent*"};
5150 5146 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5151 5147 void* args[2] = {NULL, (void*)&arg__1};
5152 5148 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5153 5149 if (result) { Py_DECREF(result); }
5154 5150 Py_DECREF(obj);
5155 5151 return;
5156 5152 }
5157 5153 }
5158 5154 abstractBinFileWidget::closeEvent(arg__1);
5159 5155 }
5160 5156 void PythonQtShell_abstractBinFileWidget::contextMenuEvent(QContextMenuEvent* arg__1)
5161 5157 {
5162 5158 if (_wrapper) {
5163 5159 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent");
5164 5160 PyErr_Clear();
5165 5161 if (obj && !PythonQtSlotFunction_Check(obj)) {
5166 5162 static const char* argumentList[] ={"" , "QContextMenuEvent*"};
5167 5163 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5168 5164 void* args[2] = {NULL, (void*)&arg__1};
5169 5165 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5170 5166 if (result) { Py_DECREF(result); }
5171 5167 Py_DECREF(obj);
5172 5168 return;
5173 5169 }
5174 5170 }
5175 5171 abstractBinFileWidget::contextMenuEvent(arg__1);
5176 5172 }
5177 5173 void PythonQtShell_abstractBinFileWidget::customEvent(QEvent* arg__1)
5178 5174 {
5179 5175 if (_wrapper) {
5180 5176 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent");
5181 5177 PyErr_Clear();
5182 5178 if (obj && !PythonQtSlotFunction_Check(obj)) {
5183 5179 static const char* argumentList[] ={"" , "QEvent*"};
5184 5180 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5185 5181 void* args[2] = {NULL, (void*)&arg__1};
5186 5182 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5187 5183 if (result) { Py_DECREF(result); }
5188 5184 Py_DECREF(obj);
5189 5185 return;
5190 5186 }
5191 5187 }
5192 5188 abstractBinFileWidget::customEvent(arg__1);
5193 5189 }
5194 5190 int PythonQtShell_abstractBinFileWidget::devType() const
5195 5191 {
5196 5192 if (_wrapper) {
5197 5193 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType");
5198 5194 PyErr_Clear();
5199 5195 if (obj && !PythonQtSlotFunction_Check(obj)) {
5200 5196 static const char* argumentList[] ={"int"};
5201 5197 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
5202 5198 int returnValue;
5203 5199 void* args[1] = {NULL};
5204 5200 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5205 5201 if (result) {
5206 5202 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5207 5203 if (args[0]!=&returnValue) {
5208 5204 if (args[0]==NULL) {
5209 5205 PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result);
5210 5206 } else {
5211 5207 returnValue = *((int*)args[0]);
5212 5208 }
5213 5209 }
5214 5210 }
5215 5211 if (result) { Py_DECREF(result); }
5216 5212 Py_DECREF(obj);
5217 5213 return returnValue;
5218 5214 }
5219 5215 }
5220 5216 return abstractBinFileWidget::devType();
5221 5217 }
5222 5218 void PythonQtShell_abstractBinFileWidget::dragEnterEvent(QDragEnterEvent* arg__1)
5223 5219 {
5224 5220 if (_wrapper) {
5225 5221 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent");
5226 5222 PyErr_Clear();
5227 5223 if (obj && !PythonQtSlotFunction_Check(obj)) {
5228 5224 static const char* argumentList[] ={"" , "QDragEnterEvent*"};
5229 5225 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5230 5226 void* args[2] = {NULL, (void*)&arg__1};
5231 5227 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5232 5228 if (result) { Py_DECREF(result); }
5233 5229 Py_DECREF(obj);
5234 5230 return;
5235 5231 }
5236 5232 }
5237 5233 abstractBinFileWidget::dragEnterEvent(arg__1);
5238 5234 }
5239 5235 void PythonQtShell_abstractBinFileWidget::dragLeaveEvent(QDragLeaveEvent* arg__1)
5240 5236 {
5241 5237 if (_wrapper) {
5242 5238 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent");
5243 5239 PyErr_Clear();
5244 5240 if (obj && !PythonQtSlotFunction_Check(obj)) {
5245 5241 static const char* argumentList[] ={"" , "QDragLeaveEvent*"};
5246 5242 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5247 5243 void* args[2] = {NULL, (void*)&arg__1};
5248 5244 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5249 5245 if (result) { Py_DECREF(result); }
5250 5246 Py_DECREF(obj);
5251 5247 return;
5252 5248 }
5253 5249 }
5254 5250 abstractBinFileWidget::dragLeaveEvent(arg__1);
5255 5251 }
5256 5252 void PythonQtShell_abstractBinFileWidget::dragMoveEvent(QDragMoveEvent* arg__1)
5257 5253 {
5258 5254 if (_wrapper) {
5259 5255 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent");
5260 5256 PyErr_Clear();
5261 5257 if (obj && !PythonQtSlotFunction_Check(obj)) {
5262 5258 static const char* argumentList[] ={"" , "QDragMoveEvent*"};
5263 5259 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5264 5260 void* args[2] = {NULL, (void*)&arg__1};
5265 5261 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5266 5262 if (result) { Py_DECREF(result); }
5267 5263 Py_DECREF(obj);
5268 5264 return;
5269 5265 }
5270 5266 }
5271 5267 abstractBinFileWidget::dragMoveEvent(arg__1);
5272 5268 }
5273 5269 void PythonQtShell_abstractBinFileWidget::dropEvent(QDropEvent* arg__1)
5274 5270 {
5275 5271 if (_wrapper) {
5276 5272 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent");
5277 5273 PyErr_Clear();
5278 5274 if (obj && !PythonQtSlotFunction_Check(obj)) {
5279 5275 static const char* argumentList[] ={"" , "QDropEvent*"};
5280 5276 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5281 5277 void* args[2] = {NULL, (void*)&arg__1};
5282 5278 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5283 5279 if (result) { Py_DECREF(result); }
5284 5280 Py_DECREF(obj);
5285 5281 return;
5286 5282 }
5287 5283 }
5288 5284 abstractBinFileWidget::dropEvent(arg__1);
5289 5285 }
5290 5286 void PythonQtShell_abstractBinFileWidget::enterEvent(QEvent* arg__1)
5291 5287 {
5292 5288 if (_wrapper) {
5293 5289 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent");
5294 5290 PyErr_Clear();
5295 5291 if (obj && !PythonQtSlotFunction_Check(obj)) {
5296 5292 static const char* argumentList[] ={"" , "QEvent*"};
5297 5293 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5298 5294 void* args[2] = {NULL, (void*)&arg__1};
5299 5295 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5300 5296 if (result) { Py_DECREF(result); }
5301 5297 Py_DECREF(obj);
5302 5298 return;
5303 5299 }
5304 5300 }
5305 5301 abstractBinFileWidget::enterEvent(arg__1);
5306 5302 }
5307 5303 bool PythonQtShell_abstractBinFileWidget::event(QEvent* arg__1)
5308 5304 {
5309 5305 if (_wrapper) {
5310 5306 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event");
5311 5307 PyErr_Clear();
5312 5308 if (obj && !PythonQtSlotFunction_Check(obj)) {
5313 5309 static const char* argumentList[] ={"bool" , "QEvent*"};
5314 5310 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5315 5311 bool returnValue;
5316 5312 void* args[2] = {NULL, (void*)&arg__1};
5317 5313 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5318 5314 if (result) {
5319 5315 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5320 5316 if (args[0]!=&returnValue) {
5321 5317 if (args[0]==NULL) {
5322 5318 PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result);
5323 5319 } else {
5324 5320 returnValue = *((bool*)args[0]);
5325 5321 }
5326 5322 }
5327 5323 }
5328 5324 if (result) { Py_DECREF(result); }
5329 5325 Py_DECREF(obj);
5330 5326 return returnValue;
5331 5327 }
5332 5328 }
5333 5329 return abstractBinFileWidget::event(arg__1);
5334 5330 }
5335 5331 bool PythonQtShell_abstractBinFileWidget::eventFilter(QObject* arg__1, QEvent* arg__2)
5336 5332 {
5337 5333 if (_wrapper) {
5338 5334 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter");
5339 5335 PyErr_Clear();
5340 5336 if (obj && !PythonQtSlotFunction_Check(obj)) {
5341 5337 static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"};
5342 5338 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
5343 5339 bool returnValue;
5344 5340 void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2};
5345 5341 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5346 5342 if (result) {
5347 5343 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5348 5344 if (args[0]!=&returnValue) {
5349 5345 if (args[0]==NULL) {
5350 5346 PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result);
5351 5347 } else {
5352 5348 returnValue = *((bool*)args[0]);
5353 5349 }
5354 5350 }
5355 5351 }
5356 5352 if (result) { Py_DECREF(result); }
5357 5353 Py_DECREF(obj);
5358 5354 return returnValue;
5359 5355 }
5360 5356 }
5361 5357 return abstractBinFileWidget::eventFilter(arg__1, arg__2);
5362 5358 }
5363 5359 void PythonQtShell_abstractBinFileWidget::focusInEvent(QFocusEvent* arg__1)
5364 5360 {
5365 5361 if (_wrapper) {
5366 5362 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent");
5367 5363 PyErr_Clear();
5368 5364 if (obj && !PythonQtSlotFunction_Check(obj)) {
5369 5365 static const char* argumentList[] ={"" , "QFocusEvent*"};
5370 5366 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5371 5367 void* args[2] = {NULL, (void*)&arg__1};
5372 5368 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5373 5369 if (result) { Py_DECREF(result); }
5374 5370 Py_DECREF(obj);
5375 5371 return;
5376 5372 }
5377 5373 }
5378 5374 abstractBinFileWidget::focusInEvent(arg__1);
5379 5375 }
5380 5376 bool PythonQtShell_abstractBinFileWidget::focusNextPrevChild(bool next)
5381 5377 {
5382 5378 if (_wrapper) {
5383 5379 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild");
5384 5380 PyErr_Clear();
5385 5381 if (obj && !PythonQtSlotFunction_Check(obj)) {
5386 5382 static const char* argumentList[] ={"bool" , "bool"};
5387 5383 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5388 5384 bool returnValue;
5389 5385 void* args[2] = {NULL, (void*)&next};
5390 5386 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5391 5387 if (result) {
5392 5388 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5393 5389 if (args[0]!=&returnValue) {
5394 5390 if (args[0]==NULL) {
5395 5391 PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result);
5396 5392 } else {
5397 5393 returnValue = *((bool*)args[0]);
5398 5394 }
5399 5395 }
5400 5396 }
5401 5397 if (result) { Py_DECREF(result); }
5402 5398 Py_DECREF(obj);
5403 5399 return returnValue;
5404 5400 }
5405 5401 }
5406 5402 return abstractBinFileWidget::focusNextPrevChild(next);
5407 5403 }
5408 5404 void PythonQtShell_abstractBinFileWidget::focusOutEvent(QFocusEvent* arg__1)
5409 5405 {
5410 5406 if (_wrapper) {
5411 5407 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent");
5412 5408 PyErr_Clear();
5413 5409 if (obj && !PythonQtSlotFunction_Check(obj)) {
5414 5410 static const char* argumentList[] ={"" , "QFocusEvent*"};
5415 5411 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5416 5412 void* args[2] = {NULL, (void*)&arg__1};
5417 5413 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5418 5414 if (result) { Py_DECREF(result); }
5419 5415 Py_DECREF(obj);
5420 5416 return;
5421 5417 }
5422 5418 }
5423 5419 abstractBinFileWidget::focusOutEvent(arg__1);
5424 5420 }
5425 5421 bool PythonQtShell_abstractBinFileWidget::hasHeightForWidth() const
5426 5422 {
5427 5423 if (_wrapper) {
5428 5424 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasHeightForWidth");
5429 5425 PyErr_Clear();
5430 5426 if (obj && !PythonQtSlotFunction_Check(obj)) {
5431 5427 static const char* argumentList[] ={"bool"};
5432 5428 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
5433 5429 bool returnValue;
5434 5430 void* args[1] = {NULL};
5435 5431 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5436 5432 if (result) {
5437 5433 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5438 5434 if (args[0]!=&returnValue) {
5439 5435 if (args[0]==NULL) {
5440 5436 PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result);
5441 5437 } else {
5442 5438 returnValue = *((bool*)args[0]);
5443 5439 }
5444 5440 }
5445 5441 }
5446 5442 if (result) { Py_DECREF(result); }
5447 5443 Py_DECREF(obj);
5448 5444 return returnValue;
5449 5445 }
5450 5446 }
5451 5447 return abstractBinFileWidget::hasHeightForWidth();
5452 5448 }
5453 5449 int PythonQtShell_abstractBinFileWidget::heightForWidth(int arg__1) const
5454 5450 {
5455 5451 if (_wrapper) {
5456 5452 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth");
5457 5453 PyErr_Clear();
5458 5454 if (obj && !PythonQtSlotFunction_Check(obj)) {
5459 5455 static const char* argumentList[] ={"int" , "int"};
5460 5456 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5461 5457 int returnValue;
5462 5458 void* args[2] = {NULL, (void*)&arg__1};
5463 5459 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5464 5460 if (result) {
5465 5461 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5466 5462 if (args[0]!=&returnValue) {
5467 5463 if (args[0]==NULL) {
5468 5464 PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result);
5469 5465 } else {
5470 5466 returnValue = *((int*)args[0]);
5471 5467 }
5472 5468 }
5473 5469 }
5474 5470 if (result) { Py_DECREF(result); }
5475 5471 Py_DECREF(obj);
5476 5472 return returnValue;
5477 5473 }
5478 5474 }
5479 5475 return abstractBinFileWidget::heightForWidth(arg__1);
5480 5476 }
5481 5477 void PythonQtShell_abstractBinFileWidget::hideEvent(QHideEvent* arg__1)
5482 5478 {
5483 5479 if (_wrapper) {
5484 5480 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent");
5485 5481 PyErr_Clear();
5486 5482 if (obj && !PythonQtSlotFunction_Check(obj)) {
5487 5483 static const char* argumentList[] ={"" , "QHideEvent*"};
5488 5484 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5489 5485 void* args[2] = {NULL, (void*)&arg__1};
5490 5486 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5491 5487 if (result) { Py_DECREF(result); }
5492 5488 Py_DECREF(obj);
5493 5489 return;
5494 5490 }
5495 5491 }
5496 5492 abstractBinFileWidget::hideEvent(arg__1);
5497 5493 }
5498 5494 void PythonQtShell_abstractBinFileWidget::initPainter(QPainter* painter) const
5499 5495 {
5500 5496 if (_wrapper) {
5501 5497 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "initPainter");
5502 5498 PyErr_Clear();
5503 5499 if (obj && !PythonQtSlotFunction_Check(obj)) {
5504 5500 static const char* argumentList[] ={"" , "QPainter*"};
5505 5501 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5506 5502 void* args[2] = {NULL, (void*)&painter};
5507 5503 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5508 5504 if (result) { Py_DECREF(result); }
5509 5505 Py_DECREF(obj);
5510 5506 return;
5511 5507 }
5512 5508 }
5513 5509 abstractBinFileWidget::initPainter(painter);
5514 5510 }
5515 5511 void PythonQtShell_abstractBinFileWidget::inputMethodEvent(QInputMethodEvent* arg__1)
5516 5512 {
5517 5513 if (_wrapper) {
5518 5514 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent");
5519 5515 PyErr_Clear();
5520 5516 if (obj && !PythonQtSlotFunction_Check(obj)) {
5521 5517 static const char* argumentList[] ={"" , "QInputMethodEvent*"};
5522 5518 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5523 5519 void* args[2] = {NULL, (void*)&arg__1};
5524 5520 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5525 5521 if (result) { Py_DECREF(result); }
5526 5522 Py_DECREF(obj);
5527 5523 return;
5528 5524 }
5529 5525 }
5530 5526 abstractBinFileWidget::inputMethodEvent(arg__1);
5531 5527 }
5532 5528 QVariant PythonQtShell_abstractBinFileWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const
5533 5529 {
5534 5530 if (_wrapper) {
5535 5531 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery");
5536 5532 PyErr_Clear();
5537 5533 if (obj && !PythonQtSlotFunction_Check(obj)) {
5538 5534 static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"};
5539 5535 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5540 5536 QVariant returnValue;
5541 5537 void* args[2] = {NULL, (void*)&arg__1};
5542 5538 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5543 5539 if (result) {
5544 5540 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5545 5541 if (args[0]!=&returnValue) {
5546 5542 if (args[0]==NULL) {
5547 5543 PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result);
5548 5544 } else {
5549 5545 returnValue = *((QVariant*)args[0]);
5550 5546 }
5551 5547 }
5552 5548 }
5553 5549 if (result) { Py_DECREF(result); }
5554 5550 Py_DECREF(obj);
5555 5551 return returnValue;
5556 5552 }
5557 5553 }
5558 5554 return abstractBinFileWidget::inputMethodQuery(arg__1);
5559 5555 }
5560 5556 void PythonQtShell_abstractBinFileWidget::keyPressEvent(QKeyEvent* arg__1)
5561 5557 {
5562 5558 if (_wrapper) {
5563 5559 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent");
5564 5560 PyErr_Clear();
5565 5561 if (obj && !PythonQtSlotFunction_Check(obj)) {
5566 5562 static const char* argumentList[] ={"" , "QKeyEvent*"};
5567 5563 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5568 5564 void* args[2] = {NULL, (void*)&arg__1};
5569 5565 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5570 5566 if (result) { Py_DECREF(result); }
5571 5567 Py_DECREF(obj);
5572 5568 return;
5573 5569 }
5574 5570 }
5575 5571 abstractBinFileWidget::keyPressEvent(arg__1);
5576 5572 }
5577 5573 void PythonQtShell_abstractBinFileWidget::keyReleaseEvent(QKeyEvent* arg__1)
5578 5574 {
5579 5575 if (_wrapper) {
5580 5576 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent");
5581 5577 PyErr_Clear();
5582 5578 if (obj && !PythonQtSlotFunction_Check(obj)) {
5583 5579 static const char* argumentList[] ={"" , "QKeyEvent*"};
5584 5580 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5585 5581 void* args[2] = {NULL, (void*)&arg__1};
5586 5582 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5587 5583 if (result) { Py_DECREF(result); }
5588 5584 Py_DECREF(obj);
5589 5585 return;
5590 5586 }
5591 5587 }
5592 5588 abstractBinFileWidget::keyReleaseEvent(arg__1);
5593 5589 }
5594 5590 void PythonQtShell_abstractBinFileWidget::leaveEvent(QEvent* arg__1)
5595 5591 {
5596 5592 if (_wrapper) {
5597 5593 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent");
5598 5594 PyErr_Clear();
5599 5595 if (obj && !PythonQtSlotFunction_Check(obj)) {
5600 5596 static const char* argumentList[] ={"" , "QEvent*"};
5601 5597 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5602 5598 void* args[2] = {NULL, (void*)&arg__1};
5603 5599 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5604 5600 if (result) { Py_DECREF(result); }
5605 5601 Py_DECREF(obj);
5606 5602 return;
5607 5603 }
5608 5604 }
5609 5605 abstractBinFileWidget::leaveEvent(arg__1);
5610 5606 }
5611 5607 int PythonQtShell_abstractBinFileWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const
5612 5608 {
5613 5609 if (_wrapper) {
5614 5610 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric");
5615 5611 PyErr_Clear();
5616 5612 if (obj && !PythonQtSlotFunction_Check(obj)) {
5617 5613 static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"};
5618 5614 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5619 5615 int returnValue;
5620 5616 void* args[2] = {NULL, (void*)&arg__1};
5621 5617 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5622 5618 if (result) {
5623 5619 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5624 5620 if (args[0]!=&returnValue) {
5625 5621 if (args[0]==NULL) {
5626 5622 PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result);
5627 5623 } else {
5628 5624 returnValue = *((int*)args[0]);
5629 5625 }
5630 5626 }
5631 5627 }
5632 5628 if (result) { Py_DECREF(result); }
5633 5629 Py_DECREF(obj);
5634 5630 return returnValue;
5635 5631 }
5636 5632 }
5637 5633 return abstractBinFileWidget::metric(arg__1);
5638 5634 }
5639 5635 QSize PythonQtShell_abstractBinFileWidget::minimumSizeHint() const
5640 5636 {
5641 5637 if (_wrapper) {
5642 5638 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint");
5643 5639 PyErr_Clear();
5644 5640 if (obj && !PythonQtSlotFunction_Check(obj)) {
5645 5641 static const char* argumentList[] ={"QSize"};
5646 5642 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
5647 5643 QSize returnValue;
5648 5644 void* args[1] = {NULL};
5649 5645 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5650 5646 if (result) {
5651 5647 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5652 5648 if (args[0]!=&returnValue) {
5653 5649 if (args[0]==NULL) {
5654 5650 PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result);
5655 5651 } else {
5656 5652 returnValue = *((QSize*)args[0]);
5657 5653 }
5658 5654 }
5659 5655 }
5660 5656 if (result) { Py_DECREF(result); }
5661 5657 Py_DECREF(obj);
5662 5658 return returnValue;
5663 5659 }
5664 5660 }
5665 5661 return abstractBinFileWidget::minimumSizeHint();
5666 5662 }
5667 5663 void PythonQtShell_abstractBinFileWidget::mouseDoubleClickEvent(QMouseEvent* arg__1)
5668 5664 {
5669 5665 if (_wrapper) {
5670 5666 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent");
5671 5667 PyErr_Clear();
5672 5668 if (obj && !PythonQtSlotFunction_Check(obj)) {
5673 5669 static const char* argumentList[] ={"" , "QMouseEvent*"};
5674 5670 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5675 5671 void* args[2] = {NULL, (void*)&arg__1};
5676 5672 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5677 5673 if (result) { Py_DECREF(result); }
5678 5674 Py_DECREF(obj);
5679 5675 return;
5680 5676 }
5681 5677 }
5682 5678 abstractBinFileWidget::mouseDoubleClickEvent(arg__1);
5683 5679 }
5684 5680 void PythonQtShell_abstractBinFileWidget::mouseMoveEvent(QMouseEvent* arg__1)
5685 5681 {
5686 5682 if (_wrapper) {
5687 5683 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent");
5688 5684 PyErr_Clear();
5689 5685 if (obj && !PythonQtSlotFunction_Check(obj)) {
5690 5686 static const char* argumentList[] ={"" , "QMouseEvent*"};
5691 5687 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5692 5688 void* args[2] = {NULL, (void*)&arg__1};
5693 5689 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5694 5690 if (result) { Py_DECREF(result); }
5695 5691 Py_DECREF(obj);
5696 5692 return;
5697 5693 }
5698 5694 }
5699 5695 abstractBinFileWidget::mouseMoveEvent(arg__1);
5700 5696 }
5701 5697 void PythonQtShell_abstractBinFileWidget::mousePressEvent(QMouseEvent* arg__1)
5702 5698 {
5703 5699 if (_wrapper) {
5704 5700 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent");
5705 5701 PyErr_Clear();
5706 5702 if (obj && !PythonQtSlotFunction_Check(obj)) {
5707 5703 static const char* argumentList[] ={"" , "QMouseEvent*"};
5708 5704 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5709 5705 void* args[2] = {NULL, (void*)&arg__1};
5710 5706 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5711 5707 if (result) { Py_DECREF(result); }
5712 5708 Py_DECREF(obj);
5713 5709 return;
5714 5710 }
5715 5711 }
5716 5712 abstractBinFileWidget::mousePressEvent(arg__1);
5717 5713 }
5718 5714 void PythonQtShell_abstractBinFileWidget::mouseReleaseEvent(QMouseEvent* arg__1)
5719 5715 {
5720 5716 if (_wrapper) {
5721 5717 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent");
5722 5718 PyErr_Clear();
5723 5719 if (obj && !PythonQtSlotFunction_Check(obj)) {
5724 5720 static const char* argumentList[] ={"" , "QMouseEvent*"};
5725 5721 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5726 5722 void* args[2] = {NULL, (void*)&arg__1};
5727 5723 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5728 5724 if (result) { Py_DECREF(result); }
5729 5725 Py_DECREF(obj);
5730 5726 return;
5731 5727 }
5732 5728 }
5733 5729 abstractBinFileWidget::mouseReleaseEvent(arg__1);
5734 5730 }
5735 5731 void PythonQtShell_abstractBinFileWidget::moveEvent(QMoveEvent* arg__1)
5736 5732 {
5737 5733 if (_wrapper) {
5738 5734 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent");
5739 5735 PyErr_Clear();
5740 5736 if (obj && !PythonQtSlotFunction_Check(obj)) {
5741 5737 static const char* argumentList[] ={"" , "QMoveEvent*"};
5742 5738 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5743 5739 void* args[2] = {NULL, (void*)&arg__1};
5744 5740 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5745 5741 if (result) { Py_DECREF(result); }
5746 5742 Py_DECREF(obj);
5747 5743 return;
5748 5744 }
5749 5745 }
5750 5746 abstractBinFileWidget::moveEvent(arg__1);
5751 5747 }
5752 5748 bool PythonQtShell_abstractBinFileWidget::nativeEvent(const QByteArray& eventType, void* message, long* result)
5753 5749 {
5754 5750 if (_wrapper) {
5755 5751 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nativeEvent");
5756 5752 PyErr_Clear();
5757 5753 if (obj && !PythonQtSlotFunction_Check(obj)) {
5758 5754 static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"};
5759 5755 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList);
5760 5756 bool returnValue;
5761 5757 void* args[4] = {NULL, (void*)&eventType, (void*)&message, (void*)&result};
5762 5758 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5763 5759 if (result) {
5764 5760 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5765 5761 if (args[0]!=&returnValue) {
5766 5762 if (args[0]==NULL) {
5767 5763 PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result);
5768 5764 } else {
5769 5765 returnValue = *((bool*)args[0]);
5770 5766 }
5771 5767 }
5772 5768 }
5773 5769 if (result) { Py_DECREF(result); }
5774 5770 Py_DECREF(obj);
5775 5771 return returnValue;
5776 5772 }
5777 5773 }
5778 5774 return abstractBinFileWidget::nativeEvent(eventType, message, result);
5779 5775 }
5780 5776 QPaintEngine* PythonQtShell_abstractBinFileWidget::paintEngine() const
5781 5777 {
5782 5778 if (_wrapper) {
5783 5779 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine");
5784 5780 PyErr_Clear();
5785 5781 if (obj && !PythonQtSlotFunction_Check(obj)) {
5786 5782 static const char* argumentList[] ={"QPaintEngine*"};
5787 5783 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
5788 5784 QPaintEngine* returnValue;
5789 5785 void* args[1] = {NULL};
5790 5786 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5791 5787 if (result) {
5792 5788 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5793 5789 if (args[0]!=&returnValue) {
5794 5790 if (args[0]==NULL) {
5795 5791 PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result);
5796 5792 } else {
5797 5793 returnValue = *((QPaintEngine**)args[0]);
5798 5794 }
5799 5795 }
5800 5796 }
5801 5797 if (result) { Py_DECREF(result); }
5802 5798 Py_DECREF(obj);
5803 5799 return returnValue;
5804 5800 }
5805 5801 }
5806 5802 return abstractBinFileWidget::paintEngine();
5807 5803 }
5808 5804 void PythonQtShell_abstractBinFileWidget::paintEvent(QPaintEvent* arg__1)
5809 5805 {
5810 5806 if (_wrapper) {
5811 5807 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent");
5812 5808 PyErr_Clear();
5813 5809 if (obj && !PythonQtSlotFunction_Check(obj)) {
5814 5810 static const char* argumentList[] ={"" , "QPaintEvent*"};
5815 5811 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5816 5812 void* args[2] = {NULL, (void*)&arg__1};
5817 5813 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5818 5814 if (result) { Py_DECREF(result); }
5819 5815 Py_DECREF(obj);
5820 5816 return;
5821 5817 }
5822 5818 }
5823 5819 abstractBinFileWidget::paintEvent(arg__1);
5824 5820 }
5825 5821 QPaintDevice* PythonQtShell_abstractBinFileWidget::redirected(QPoint* offset) const
5826 5822 {
5827 5823 if (_wrapper) {
5828 5824 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "redirected");
5829 5825 PyErr_Clear();
5830 5826 if (obj && !PythonQtSlotFunction_Check(obj)) {
5831 5827 static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"};
5832 5828 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5833 5829 QPaintDevice* returnValue;
5834 5830 void* args[2] = {NULL, (void*)&offset};
5835 5831 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5836 5832 if (result) {
5837 5833 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5838 5834 if (args[0]!=&returnValue) {
5839 5835 if (args[0]==NULL) {
5840 5836 PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result);
5841 5837 } else {
5842 5838 returnValue = *((QPaintDevice**)args[0]);
5843 5839 }
5844 5840 }
5845 5841 }
5846 5842 if (result) { Py_DECREF(result); }
5847 5843 Py_DECREF(obj);
5848 5844 return returnValue;
5849 5845 }
5850 5846 }
5851 5847 return abstractBinFileWidget::redirected(offset);
5852 5848 }
5853 5849 void PythonQtShell_abstractBinFileWidget::reloadFile()
5854 5850 {
5855 5851 if (_wrapper) {
5856 5852 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reloadFile");
5857 5853 PyErr_Clear();
5858 5854 if (obj && !PythonQtSlotFunction_Check(obj)) {
5859 5855 static const char* argumentList[] ={""};
5860 5856 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
5861 5857 void* args[1] = {NULL};
5862 5858 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5863 5859 if (result) { Py_DECREF(result); }
5864 5860 Py_DECREF(obj);
5865 5861 return;
5866 5862 }
5867 5863 }
5868 5864
5869 5865 }
5870 5866 void PythonQtShell_abstractBinFileWidget::resizeEvent(QResizeEvent* arg__1)
5871 5867 {
5872 5868 if (_wrapper) {
5873 5869 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent");
5874 5870 PyErr_Clear();
5875 5871 if (obj && !PythonQtSlotFunction_Check(obj)) {
5876 5872 static const char* argumentList[] ={"" , "QResizeEvent*"};
5877 5873 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5878 5874 void* args[2] = {NULL, (void*)&arg__1};
5879 5875 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5880 5876 if (result) { Py_DECREF(result); }
5881 5877 Py_DECREF(obj);
5882 5878 return;
5883 5879 }
5884 5880 }
5885 5881 abstractBinFileWidget::resizeEvent(arg__1);
5886 5882 }
5887 5883 void PythonQtShell_abstractBinFileWidget::setFile(abstractBinFile* file)
5888 5884 {
5889 5885 if (_wrapper) {
5890 5886 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setFile");
5891 5887 PyErr_Clear();
5892 5888 if (obj && !PythonQtSlotFunction_Check(obj)) {
5893 5889 static const char* argumentList[] ={"" , "abstractBinFile*"};
5894 5890 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5895 5891 void* args[2] = {NULL, (void*)&file};
5896 5892 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5897 5893 if (result) { Py_DECREF(result); }
5898 5894 Py_DECREF(obj);
5899 5895 return;
5900 5896 }
5901 5897 }
5902 5898
5903 5899 }
5904 5900 QPainter* PythonQtShell_abstractBinFileWidget::sharedPainter() const
5905 5901 {
5906 5902 if (_wrapper) {
5907 5903 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sharedPainter");
5908 5904 PyErr_Clear();
5909 5905 if (obj && !PythonQtSlotFunction_Check(obj)) {
5910 5906 static const char* argumentList[] ={"QPainter*"};
5911 5907 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
5912 5908 QPainter* returnValue;
5913 5909 void* args[1] = {NULL};
5914 5910 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5915 5911 if (result) {
5916 5912 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5917 5913 if (args[0]!=&returnValue) {
5918 5914 if (args[0]==NULL) {
5919 5915 PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result);
5920 5916 } else {
5921 5917 returnValue = *((QPainter**)args[0]);
5922 5918 }
5923 5919 }
5924 5920 }
5925 5921 if (result) { Py_DECREF(result); }
5926 5922 Py_DECREF(obj);
5927 5923 return returnValue;
5928 5924 }
5929 5925 }
5930 5926 return abstractBinFileWidget::sharedPainter();
5931 5927 }
5932 5928 void PythonQtShell_abstractBinFileWidget::showEvent(QShowEvent* arg__1)
5933 5929 {
5934 5930 if (_wrapper) {
5935 5931 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent");
5936 5932 PyErr_Clear();
5937 5933 if (obj && !PythonQtSlotFunction_Check(obj)) {
5938 5934 static const char* argumentList[] ={"" , "QShowEvent*"};
5939 5935 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5940 5936 void* args[2] = {NULL, (void*)&arg__1};
5941 5937 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5942 5938 if (result) { Py_DECREF(result); }
5943 5939 Py_DECREF(obj);
5944 5940 return;
5945 5941 }
5946 5942 }
5947 5943 abstractBinFileWidget::showEvent(arg__1);
5948 5944 }
5949 5945 QSize PythonQtShell_abstractBinFileWidget::sizeHint() const
5950 5946 {
5951 5947 if (_wrapper) {
5952 5948 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint");
5953 5949 PyErr_Clear();
5954 5950 if (obj && !PythonQtSlotFunction_Check(obj)) {
5955 5951 static const char* argumentList[] ={"QSize"};
5956 5952 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
5957 5953 QSize returnValue;
5958 5954 void* args[1] = {NULL};
5959 5955 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5960 5956 if (result) {
5961 5957 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
5962 5958 if (args[0]!=&returnValue) {
5963 5959 if (args[0]==NULL) {
5964 5960 PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result);
5965 5961 } else {
5966 5962 returnValue = *((QSize*)args[0]);
5967 5963 }
5968 5964 }
5969 5965 }
5970 5966 if (result) { Py_DECREF(result); }
5971 5967 Py_DECREF(obj);
5972 5968 return returnValue;
5973 5969 }
5974 5970 }
5975 5971 return abstractBinFileWidget::sizeHint();
5976 5972 }
5977 5973 void PythonQtShell_abstractBinFileWidget::tabletEvent(QTabletEvent* arg__1)
5978 5974 {
5979 5975 if (_wrapper) {
5980 5976 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent");
5981 5977 PyErr_Clear();
5982 5978 if (obj && !PythonQtSlotFunction_Check(obj)) {
5983 5979 static const char* argumentList[] ={"" , "QTabletEvent*"};
5984 5980 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
5985 5981 void* args[2] = {NULL, (void*)&arg__1};
5986 5982 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
5987 5983 if (result) { Py_DECREF(result); }
5988 5984 Py_DECREF(obj);
5989 5985 return;
5990 5986 }
5991 5987 }
5992 5988 abstractBinFileWidget::tabletEvent(arg__1);
5993 5989 }
5994 5990 void PythonQtShell_abstractBinFileWidget::timerEvent(QTimerEvent* arg__1)
5995 5991 {
5996 5992 if (_wrapper) {
5997 5993 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent");
5998 5994 PyErr_Clear();
5999 5995 if (obj && !PythonQtSlotFunction_Check(obj)) {
6000 5996 static const char* argumentList[] ={"" , "QTimerEvent*"};
6001 5997 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6002 5998 void* args[2] = {NULL, (void*)&arg__1};
6003 5999 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6004 6000 if (result) { Py_DECREF(result); }
6005 6001 Py_DECREF(obj);
6006 6002 return;
6007 6003 }
6008 6004 }
6009 6005 abstractBinFileWidget::timerEvent(arg__1);
6010 6006 }
6011 6007 void PythonQtShell_abstractBinFileWidget::wheelEvent(QWheelEvent* arg__1)
6012 6008 {
6013 6009 if (_wrapper) {
6014 6010 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent");
6015 6011 PyErr_Clear();
6016 6012 if (obj && !PythonQtSlotFunction_Check(obj)) {
6017 6013 static const char* argumentList[] ={"" , "QWheelEvent*"};
6018 6014 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6019 6015 void* args[2] = {NULL, (void*)&arg__1};
6020 6016 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6021 6017 if (result) { Py_DECREF(result); }
6022 6018 Py_DECREF(obj);
6023 6019 return;
6024 6020 }
6025 6021 }
6026 6022 abstractBinFileWidget::wheelEvent(arg__1);
6027 6023 }
6028 6024 abstractBinFileWidget* PythonQtWrapper_abstractBinFileWidget::new_abstractBinFileWidget(QWidget* parent)
6029 6025 {
6030 6026 return new PythonQtShell_abstractBinFileWidget(parent); }
6031 6027
6032 6028
6033 6029
6034 6030 PythonQtShell_binaryFile::~PythonQtShell_binaryFile() {
6035 6031 PythonQtPrivate* priv = PythonQt::priv();
6036 6032 if (priv) { priv->shellClassDeleted(this); }
6037 6033 }
6038 6034 int PythonQtShell_binaryFile::closeFile()
6039 6035 {
6040 6036 if (_wrapper) {
6041 6037 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeFile");
6042 6038 PyErr_Clear();
6043 6039 if (obj && !PythonQtSlotFunction_Check(obj)) {
6044 6040 static const char* argumentList[] ={"int"};
6045 6041 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
6046 6042 int returnValue;
6047 6043 void* args[1] = {NULL};
6048 6044 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6049 6045 if (result) {
6050 6046 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6051 6047 if (args[0]!=&returnValue) {
6052 6048 if (args[0]==NULL) {
6053 6049 PythonQt::priv()->handleVirtualOverloadReturnError("closeFile", methodInfo, result);
6054 6050 } else {
6055 6051 returnValue = *((int*)args[0]);
6056 6052 }
6057 6053 }
6058 6054 }
6059 6055 if (result) { Py_DECREF(result); }
6060 6056 Py_DECREF(obj);
6061 6057 return returnValue;
6062 6058 }
6063 6059 }
6064 6060 return binaryFile::closeFile();
6065 6061 }
6066 6062 QList<codeFragment* > PythonQtShell_binaryFile::getFragments()
6067 6063 {
6068 6064 if (_wrapper) {
6069 6065 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getFragments");
6070 6066 PyErr_Clear();
6071 6067 if (obj && !PythonQtSlotFunction_Check(obj)) {
6072 6068 static const char* argumentList[] ={"QList<codeFragment* >"};
6073 6069 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
6074 6070 QList<codeFragment* > returnValue;
6075 6071 void* args[1] = {NULL};
6076 6072 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6077 6073 if (result) {
6078 6074 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6079 6075 if (args[0]!=&returnValue) {
6080 6076 if (args[0]==NULL) {
6081 6077 PythonQt::priv()->handleVirtualOverloadReturnError("getFragments", methodInfo, result);
6082 6078 } else {
6083 6079 returnValue = *((QList<codeFragment* >*)args[0]);
6084 6080 }
6085 6081 }
6086 6082 }
6087 6083 if (result) { Py_DECREF(result); }
6088 6084 Py_DECREF(obj);
6089 6085 return returnValue;
6090 6086 }
6091 6087 }
6092 6088 return binaryFile::getFragments();
6093 6089 }
6094 6090 bool PythonQtShell_binaryFile::isopened()
6095 6091 {
6096 6092 if (_wrapper) {
6097 6093 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isopened");
6098 6094 PyErr_Clear();
6099 6095 if (obj && !PythonQtSlotFunction_Check(obj)) {
6100 6096 static const char* argumentList[] ={"bool"};
6101 6097 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
6102 6098 bool returnValue;
6103 6099 void* args[1] = {NULL};
6104 6100 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6105 6101 if (result) {
6106 6102 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6107 6103 if (args[0]!=&returnValue) {
6108 6104 if (args[0]==NULL) {
6109 6105 PythonQt::priv()->handleVirtualOverloadReturnError("isopened", methodInfo, result);
6110 6106 } else {
6111 6107 returnValue = *((bool*)args[0]);
6112 6108 }
6113 6109 }
6114 6110 }
6115 6111 if (result) { Py_DECREF(result); }
6116 6112 Py_DECREF(obj);
6117 6113 return returnValue;
6118 6114 }
6119 6115 }
6120 6116 return binaryFile::isopened();
6121 6117 }
6122 6118 bool PythonQtShell_binaryFile::openFile(const QString& File)
6123 6119 {
6124 6120 if (_wrapper) {
6125 6121 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "openFile");
6126 6122 PyErr_Clear();
6127 6123 if (obj && !PythonQtSlotFunction_Check(obj)) {
6128 6124 static const char* argumentList[] ={"bool" , "const QString&"};
6129 6125 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6130 6126 bool returnValue;
6131 6127 void* args[2] = {NULL, (void*)&File};
6132 6128 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6133 6129 if (result) {
6134 6130 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6135 6131 if (args[0]!=&returnValue) {
6136 6132 if (args[0]==NULL) {
6137 6133 PythonQt::priv()->handleVirtualOverloadReturnError("openFile", methodInfo, result);
6138 6134 } else {
6139 6135 returnValue = *((bool*)args[0]);
6140 6136 }
6141 6137 }
6142 6138 }
6143 6139 if (result) { Py_DECREF(result); }
6144 6140 Py_DECREF(obj);
6145 6141 return returnValue;
6146 6142 }
6147 6143 }
6148 6144 return binaryFile::openFile(File);
6149 6145 }
6150 6146 bool PythonQtShell_binaryFile::toBinary(const QString& fileName)
6151 6147 {
6152 6148 if (_wrapper) {
6153 6149 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "toBinary");
6154 6150 PyErr_Clear();
6155 6151 if (obj && !PythonQtSlotFunction_Check(obj)) {
6156 6152 static const char* argumentList[] ={"bool" , "const QString&"};
6157 6153 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6158 6154 bool returnValue;
6159 6155 void* args[2] = {NULL, (void*)&fileName};
6160 6156 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6161 6157 if (result) {
6162 6158 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6163 6159 if (args[0]!=&returnValue) {
6164 6160 if (args[0]==NULL) {
6165 6161 PythonQt::priv()->handleVirtualOverloadReturnError("toBinary", methodInfo, result);
6166 6162 } else {
6167 6163 returnValue = *((bool*)args[0]);
6168 6164 }
6169 6165 }
6170 6166 }
6171 6167 if (result) { Py_DECREF(result); }
6172 6168 Py_DECREF(obj);
6173 6169 return returnValue;
6174 6170 }
6175 6171 }
6176 6172 return binaryFile::toBinary(fileName);
6177 6173 }
6178 6174 bool PythonQtShell_binaryFile::toSrec(const QString& fileName)
6179 6175 {
6180 6176 if (_wrapper) {
6181 6177 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "toSrec");
6182 6178 PyErr_Clear();
6183 6179 if (obj && !PythonQtSlotFunction_Check(obj)) {
6184 6180 static const char* argumentList[] ={"bool" , "const QString&"};
6185 6181 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6186 6182 bool returnValue;
6187 6183 void* args[2] = {NULL, (void*)&fileName};
6188 6184 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6189 6185 if (result) {
6190 6186 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6191 6187 if (args[0]!=&returnValue) {
6192 6188 if (args[0]==NULL) {
6193 6189 PythonQt::priv()->handleVirtualOverloadReturnError("toSrec", methodInfo, result);
6194 6190 } else {
6195 6191 returnValue = *((bool*)args[0]);
6196 6192 }
6197 6193 }
6198 6194 }
6199 6195 if (result) { Py_DECREF(result); }
6200 6196 Py_DECREF(obj);
6201 6197 return returnValue;
6202 6198 }
6203 6199 }
6204 6200 return binaryFile::toSrec(fileName);
6205 6201 }
6206 6202 binaryFile* PythonQtWrapper_binaryFile::new_binaryFile()
6207 6203 {
6208 6204 return new PythonQtShell_binaryFile(); }
6209 6205
6210 6206 binaryFile* PythonQtWrapper_binaryFile::new_binaryFile(const QString& File)
6211 6207 {
6212 6208 return new PythonQtShell_binaryFile(File); }
6213 6209
6214 6210 binaryFile* PythonQtWrapper_binaryFile::new_binaryFile(const QStringList& Files)
6215 6211 {
6216 6212 return new PythonQtShell_binaryFile(Files); }
6217 6213
6218 6214 int PythonQtWrapper_binaryFile::closeFile(binaryFile* theWrappedObject)
6219 6215 {
6220 6216 return ( ((PythonQtPublicPromoter_binaryFile*)theWrappedObject)->promoted_closeFile());
6221 6217 }
6222 6218
6223 6219 codeFragment* PythonQtWrapper_binaryFile::getFragment(binaryFile* theWrappedObject, int index)
6224 6220 {
6225 6221 return ( theWrappedObject->getFragment(index));
6226 6222 }
6227 6223
6228 6224 int PythonQtWrapper_binaryFile::getFragmentAddress(binaryFile* theWrappedObject, int index)
6229 6225 {
6230 6226 return ( theWrappedObject->getFragmentAddress(index));
6231 6227 }
6232 6228
6233 6229 bool PythonQtWrapper_binaryFile::getFragmentData(binaryFile* theWrappedObject, int index, char** buffer)
6234 6230 {
6235 6231 return ( theWrappedObject->getFragmentData(index, buffer));
6236 6232 }
6237 6233
6238 6234 QString PythonQtWrapper_binaryFile::getFragmentHeader(binaryFile* theWrappedObject, int index)
6239 6235 {
6240 6236 return ( theWrappedObject->getFragmentHeader(index));
6241 6237 }
6242 6238
6243 6239 int PythonQtWrapper_binaryFile::getFragmentSize(binaryFile* theWrappedObject, int index)
6244 6240 {
6245 6241 return ( theWrappedObject->getFragmentSize(index));
6246 6242 }
6247 6243
6248 6244 QList<codeFragment* > PythonQtWrapper_binaryFile::getFragments(binaryFile* theWrappedObject)
6249 6245 {
6250 6246 return ( ((PythonQtPublicPromoter_binaryFile*)theWrappedObject)->promoted_getFragments());
6251 6247 }
6252 6248
6253 6249 int PythonQtWrapper_binaryFile::getFragmentsCount(binaryFile* theWrappedObject)
6254 6250 {
6255 6251 return ( theWrappedObject->getFragmentsCount());
6256 6252 }
6257 6253
6258 6254 bool PythonQtWrapper_binaryFile::isopened(binaryFile* theWrappedObject)
6259 6255 {
6260 6256 return ( ((PythonQtPublicPromoter_binaryFile*)theWrappedObject)->promoted_isopened());
6261 6257 }
6262 6258
6263 6259 bool PythonQtWrapper_binaryFile::openFile(binaryFile* theWrappedObject, const QString& File)
6264 6260 {
6265 6261 return ( ((PythonQtPublicPromoter_binaryFile*)theWrappedObject)->promoted_openFile(File));
6266 6262 }
6267 6263
6268 6264 bool PythonQtWrapper_binaryFile::openFiles(binaryFile* theWrappedObject, const QStringList& Files)
6269 6265 {
6270 6266 return ( theWrappedObject->openFiles(Files));
6271 6267 }
6272 6268
6273 6269 bool PythonQtWrapper_binaryFile::static_binaryFile_toBinary(QList<codeFragment* > fragments, const QString& File)
6274 6270 {
6275 6271 return (binaryFile::toBinary(fragments, File));
6276 6272 }
6277 6273
6278 6274 bool PythonQtWrapper_binaryFile::toBinary(binaryFile* theWrappedObject, const QString& fileName)
6279 6275 {
6280 6276 return ( ((PythonQtPublicPromoter_binaryFile*)theWrappedObject)->promoted_toBinary(fileName));
6281 6277 }
6282 6278
6283 6279 bool PythonQtWrapper_binaryFile::toSrec(binaryFile* theWrappedObject, const QString& fileName)
6284 6280 {
6285 6281 return ( ((PythonQtPublicPromoter_binaryFile*)theWrappedObject)->promoted_toSrec(fileName));
6286 6282 }
6287 6283
6288 6284
6289 6285
6290 6286 PythonQtShell_binaryFileWidget::~PythonQtShell_binaryFileWidget() {
6291 6287 PythonQtPrivate* priv = PythonQt::priv();
6292 6288 if (priv) { priv->shellClassDeleted(this); }
6293 6289 }
6294 6290 void PythonQtShell_binaryFileWidget::reloadFile()
6295 6291 {
6296 6292 if (_wrapper) {
6297 6293 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reloadFile");
6298 6294 PyErr_Clear();
6299 6295 if (obj && !PythonQtSlotFunction_Check(obj)) {
6300 6296 static const char* argumentList[] ={""};
6301 6297 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
6302 6298 void* args[1] = {NULL};
6303 6299 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6304 6300 if (result) { Py_DECREF(result); }
6305 6301 Py_DECREF(obj);
6306 6302 return;
6307 6303 }
6308 6304 }
6309 6305 binaryFileWidget::reloadFile();
6310 6306 }
6311 6307 void PythonQtShell_binaryFileWidget::setFile(abstractBinFile* file)
6312 6308 {
6313 6309 if (_wrapper) {
6314 6310 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setFile");
6315 6311 PyErr_Clear();
6316 6312 if (obj && !PythonQtSlotFunction_Check(obj)) {
6317 6313 static const char* argumentList[] ={"" , "abstractBinFile*"};
6318 6314 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6319 6315 void* args[2] = {NULL, (void*)&file};
6320 6316 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6321 6317 if (result) { Py_DECREF(result); }
6322 6318 Py_DECREF(obj);
6323 6319 return;
6324 6320 }
6325 6321 }
6326 6322 binaryFileWidget::setFile(file);
6327 6323 }
6328 6324 binaryFileWidget* PythonQtWrapper_binaryFileWidget::new_binaryFileWidget(QWidget* parent)
6329 6325 {
6330 6326 return new PythonQtShell_binaryFileWidget(parent); }
6331 6327
6332 6328 void PythonQtWrapper_binaryFileWidget::reloadFile(binaryFileWidget* theWrappedObject)
6333 6329 {
6334 6330 ( ((PythonQtPublicPromoter_binaryFileWidget*)theWrappedObject)->promoted_reloadFile());
6335 6331 }
6336 6332
6337 6333 void PythonQtWrapper_binaryFileWidget::setFile(binaryFileWidget* theWrappedObject, abstractBinFile* file)
6338 6334 {
6339 6335 ( ((PythonQtPublicPromoter_binaryFileWidget*)theWrappedObject)->promoted_setFile(file));
6340 6336 }
6341 6337
6342 6338
6343 6339
6344 6340 PythonQtShell_codeFragment::~PythonQtShell_codeFragment() {
6345 6341 PythonQtPrivate* priv = PythonQt::priv();
6346 6342 if (priv) { priv->shellClassDeleted(this); }
6347 6343 }
6348 6344 codeFragment* PythonQtWrapper_codeFragment::new_codeFragment()
6349 6345 {
6350 6346 return new PythonQtShell_codeFragment(); }
6351 6347
6352 6348 codeFragment* PythonQtWrapper_codeFragment::new_codeFragment(char* data, quint64 size, quint64 address)
6353 6349 {
6354 6350 return new PythonQtShell_codeFragment(data, size, address); }
6355 6351
6356 6352
6357 6353
6358 6354 PythonQtShell_elfFileWidget::~PythonQtShell_elfFileWidget() {
6359 6355 PythonQtPrivate* priv = PythonQt::priv();
6360 6356 if (priv) { priv->shellClassDeleted(this); }
6361 6357 }
6362 6358 void PythonQtShell_elfFileWidget::reloadFile()
6363 6359 {
6364 6360 if (_wrapper) {
6365 6361 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reloadFile");
6366 6362 PyErr_Clear();
6367 6363 if (obj && !PythonQtSlotFunction_Check(obj)) {
6368 6364 static const char* argumentList[] ={""};
6369 6365 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
6370 6366 void* args[1] = {NULL};
6371 6367 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6372 6368 if (result) { Py_DECREF(result); }
6373 6369 Py_DECREF(obj);
6374 6370 return;
6375 6371 }
6376 6372 }
6377 6373 elfFileWidget::reloadFile();
6378 6374 }
6379 6375 void PythonQtShell_elfFileWidget::setFile(abstractBinFile* file)
6380 6376 {
6381 6377 if (_wrapper) {
6382 6378 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setFile");
6383 6379 PyErr_Clear();
6384 6380 if (obj && !PythonQtSlotFunction_Check(obj)) {
6385 6381 static const char* argumentList[] ={"" , "abstractBinFile*"};
6386 6382 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6387 6383 void* args[2] = {NULL, (void*)&file};
6388 6384 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6389 6385 if (result) { Py_DECREF(result); }
6390 6386 Py_DECREF(obj);
6391 6387 return;
6392 6388 }
6393 6389 }
6394
6390 elfFileWidget::setFile(file);
6395 6391 }
6396 6392 elfFileWidget* PythonQtWrapper_elfFileWidget::new_elfFileWidget(QWidget* parent)
6397 6393 {
6398 6394 return new PythonQtShell_elfFileWidget(parent); }
6399 6395
6400 6396 void PythonQtWrapper_elfFileWidget::reloadFile(elfFileWidget* theWrappedObject)
6401 6397 {
6402 6398 ( ((PythonQtPublicPromoter_elfFileWidget*)theWrappedObject)->promoted_reloadFile());
6403 6399 }
6404 6400
6401 void PythonQtWrapper_elfFileWidget::setFile(elfFileWidget* theWrappedObject, abstractBinFile* file)
6402 {
6403 ( ((PythonQtPublicPromoter_elfFileWidget*)theWrappedObject)->promoted_setFile(file));
6404 }
6405
6405 6406
6406 6407
6407 6408 PythonQtShell_elfInfoWdgt::~PythonQtShell_elfInfoWdgt() {
6408 6409 PythonQtPrivate* priv = PythonQt::priv();
6409 6410 if (priv) { priv->shellClassDeleted(this); }
6410 6411 }
6411 6412 void PythonQtShell_elfInfoWdgt::actionEvent(QActionEvent* arg__1)
6412 6413 {
6413 6414 if (_wrapper) {
6414 6415 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent");
6415 6416 PyErr_Clear();
6416 6417 if (obj && !PythonQtSlotFunction_Check(obj)) {
6417 6418 static const char* argumentList[] ={"" , "QActionEvent*"};
6418 6419 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6419 6420 void* args[2] = {NULL, (void*)&arg__1};
6420 6421 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6421 6422 if (result) { Py_DECREF(result); }
6422 6423 Py_DECREF(obj);
6423 6424 return;
6424 6425 }
6425 6426 }
6426 6427 elfInfoWdgt::actionEvent(arg__1);
6427 6428 }
6428 6429 void PythonQtShell_elfInfoWdgt::changeEvent(QEvent* arg__1)
6429 6430 {
6430 6431 if (_wrapper) {
6431 6432 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent");
6432 6433 PyErr_Clear();
6433 6434 if (obj && !PythonQtSlotFunction_Check(obj)) {
6434 6435 static const char* argumentList[] ={"" , "QEvent*"};
6435 6436 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6436 6437 void* args[2] = {NULL, (void*)&arg__1};
6437 6438 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6438 6439 if (result) { Py_DECREF(result); }
6439 6440 Py_DECREF(obj);
6440 6441 return;
6441 6442 }
6442 6443 }
6443 6444 elfInfoWdgt::changeEvent(arg__1);
6444 6445 }
6445 6446 void PythonQtShell_elfInfoWdgt::childEvent(QChildEvent* arg__1)
6446 6447 {
6447 6448 if (_wrapper) {
6448 6449 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent");
6449 6450 PyErr_Clear();
6450 6451 if (obj && !PythonQtSlotFunction_Check(obj)) {
6451 6452 static const char* argumentList[] ={"" , "QChildEvent*"};
6452 6453 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6453 6454 void* args[2] = {NULL, (void*)&arg__1};
6454 6455 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6455 6456 if (result) { Py_DECREF(result); }
6456 6457 Py_DECREF(obj);
6457 6458 return;
6458 6459 }
6459 6460 }
6460 6461 elfInfoWdgt::childEvent(arg__1);
6461 6462 }
6462 6463 void PythonQtShell_elfInfoWdgt::closeEvent(QCloseEvent* arg__1)
6463 6464 {
6464 6465 if (_wrapper) {
6465 6466 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent");
6466 6467 PyErr_Clear();
6467 6468 if (obj && !PythonQtSlotFunction_Check(obj)) {
6468 6469 static const char* argumentList[] ={"" , "QCloseEvent*"};
6469 6470 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6470 6471 void* args[2] = {NULL, (void*)&arg__1};
6471 6472 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6472 6473 if (result) { Py_DECREF(result); }
6473 6474 Py_DECREF(obj);
6474 6475 return;
6475 6476 }
6476 6477 }
6477 6478 elfInfoWdgt::closeEvent(arg__1);
6478 6479 }
6479 6480 void PythonQtShell_elfInfoWdgt::contextMenuEvent(QContextMenuEvent* arg__1)
6480 6481 {
6481 6482 if (_wrapper) {
6482 6483 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent");
6483 6484 PyErr_Clear();
6484 6485 if (obj && !PythonQtSlotFunction_Check(obj)) {
6485 6486 static const char* argumentList[] ={"" , "QContextMenuEvent*"};
6486 6487 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6487 6488 void* args[2] = {NULL, (void*)&arg__1};
6488 6489 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6489 6490 if (result) { Py_DECREF(result); }
6490 6491 Py_DECREF(obj);
6491 6492 return;
6492 6493 }
6493 6494 }
6494 6495 elfInfoWdgt::contextMenuEvent(arg__1);
6495 6496 }
6496 6497 void PythonQtShell_elfInfoWdgt::customEvent(QEvent* arg__1)
6497 6498 {
6498 6499 if (_wrapper) {
6499 6500 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent");
6500 6501 PyErr_Clear();
6501 6502 if (obj && !PythonQtSlotFunction_Check(obj)) {
6502 6503 static const char* argumentList[] ={"" , "QEvent*"};
6503 6504 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6504 6505 void* args[2] = {NULL, (void*)&arg__1};
6505 6506 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6506 6507 if (result) { Py_DECREF(result); }
6507 6508 Py_DECREF(obj);
6508 6509 return;
6509 6510 }
6510 6511 }
6511 6512 elfInfoWdgt::customEvent(arg__1);
6512 6513 }
6513 6514 int PythonQtShell_elfInfoWdgt::devType() const
6514 6515 {
6515 6516 if (_wrapper) {
6516 6517 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType");
6517 6518 PyErr_Clear();
6518 6519 if (obj && !PythonQtSlotFunction_Check(obj)) {
6519 6520 static const char* argumentList[] ={"int"};
6520 6521 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
6521 6522 int returnValue;
6522 6523 void* args[1] = {NULL};
6523 6524 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6524 6525 if (result) {
6525 6526 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6526 6527 if (args[0]!=&returnValue) {
6527 6528 if (args[0]==NULL) {
6528 6529 PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result);
6529 6530 } else {
6530 6531 returnValue = *((int*)args[0]);
6531 6532 }
6532 6533 }
6533 6534 }
6534 6535 if (result) { Py_DECREF(result); }
6535 6536 Py_DECREF(obj);
6536 6537 return returnValue;
6537 6538 }
6538 6539 }
6539 6540 return elfInfoWdgt::devType();
6540 6541 }
6541 6542 void PythonQtShell_elfInfoWdgt::dragEnterEvent(QDragEnterEvent* arg__1)
6542 6543 {
6543 6544 if (_wrapper) {
6544 6545 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent");
6545 6546 PyErr_Clear();
6546 6547 if (obj && !PythonQtSlotFunction_Check(obj)) {
6547 6548 static const char* argumentList[] ={"" , "QDragEnterEvent*"};
6548 6549 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6549 6550 void* args[2] = {NULL, (void*)&arg__1};
6550 6551 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6551 6552 if (result) { Py_DECREF(result); }
6552 6553 Py_DECREF(obj);
6553 6554 return;
6554 6555 }
6555 6556 }
6556 6557 elfInfoWdgt::dragEnterEvent(arg__1);
6557 6558 }
6558 6559 void PythonQtShell_elfInfoWdgt::dragLeaveEvent(QDragLeaveEvent* arg__1)
6559 6560 {
6560 6561 if (_wrapper) {
6561 6562 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent");
6562 6563 PyErr_Clear();
6563 6564 if (obj && !PythonQtSlotFunction_Check(obj)) {
6564 6565 static const char* argumentList[] ={"" , "QDragLeaveEvent*"};
6565 6566 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6566 6567 void* args[2] = {NULL, (void*)&arg__1};
6567 6568 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6568 6569 if (result) { Py_DECREF(result); }
6569 6570 Py_DECREF(obj);
6570 6571 return;
6571 6572 }
6572 6573 }
6573 6574 elfInfoWdgt::dragLeaveEvent(arg__1);
6574 6575 }
6575 6576 void PythonQtShell_elfInfoWdgt::dragMoveEvent(QDragMoveEvent* arg__1)
6576 6577 {
6577 6578 if (_wrapper) {
6578 6579 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent");
6579 6580 PyErr_Clear();
6580 6581 if (obj && !PythonQtSlotFunction_Check(obj)) {
6581 6582 static const char* argumentList[] ={"" , "QDragMoveEvent*"};
6582 6583 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6583 6584 void* args[2] = {NULL, (void*)&arg__1};
6584 6585 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6585 6586 if (result) { Py_DECREF(result); }
6586 6587 Py_DECREF(obj);
6587 6588 return;
6588 6589 }
6589 6590 }
6590 6591 elfInfoWdgt::dragMoveEvent(arg__1);
6591 6592 }
6592 6593 void PythonQtShell_elfInfoWdgt::dropEvent(QDropEvent* arg__1)
6593 6594 {
6594 6595 if (_wrapper) {
6595 6596 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent");
6596 6597 PyErr_Clear();
6597 6598 if (obj && !PythonQtSlotFunction_Check(obj)) {
6598 6599 static const char* argumentList[] ={"" , "QDropEvent*"};
6599 6600 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6600 6601 void* args[2] = {NULL, (void*)&arg__1};
6601 6602 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6602 6603 if (result) { Py_DECREF(result); }
6603 6604 Py_DECREF(obj);
6604 6605 return;
6605 6606 }
6606 6607 }
6607 6608 elfInfoWdgt::dropEvent(arg__1);
6608 6609 }
6609 6610 void PythonQtShell_elfInfoWdgt::enterEvent(QEvent* arg__1)
6610 6611 {
6611 6612 if (_wrapper) {
6612 6613 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent");
6613 6614 PyErr_Clear();
6614 6615 if (obj && !PythonQtSlotFunction_Check(obj)) {
6615 6616 static const char* argumentList[] ={"" , "QEvent*"};
6616 6617 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6617 6618 void* args[2] = {NULL, (void*)&arg__1};
6618 6619 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6619 6620 if (result) { Py_DECREF(result); }
6620 6621 Py_DECREF(obj);
6621 6622 return;
6622 6623 }
6623 6624 }
6624 6625 elfInfoWdgt::enterEvent(arg__1);
6625 6626 }
6626 6627 bool PythonQtShell_elfInfoWdgt::event(QEvent* arg__1)
6627 6628 {
6628 6629 if (_wrapper) {
6629 6630 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event");
6630 6631 PyErr_Clear();
6631 6632 if (obj && !PythonQtSlotFunction_Check(obj)) {
6632 6633 static const char* argumentList[] ={"bool" , "QEvent*"};
6633 6634 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6634 6635 bool returnValue;
6635 6636 void* args[2] = {NULL, (void*)&arg__1};
6636 6637 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6637 6638 if (result) {
6638 6639 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6639 6640 if (args[0]!=&returnValue) {
6640 6641 if (args[0]==NULL) {
6641 6642 PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result);
6642 6643 } else {
6643 6644 returnValue = *((bool*)args[0]);
6644 6645 }
6645 6646 }
6646 6647 }
6647 6648 if (result) { Py_DECREF(result); }
6648 6649 Py_DECREF(obj);
6649 6650 return returnValue;
6650 6651 }
6651 6652 }
6652 6653 return elfInfoWdgt::event(arg__1);
6653 6654 }
6654 6655 bool PythonQtShell_elfInfoWdgt::eventFilter(QObject* arg__1, QEvent* arg__2)
6655 6656 {
6656 6657 if (_wrapper) {
6657 6658 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter");
6658 6659 PyErr_Clear();
6659 6660 if (obj && !PythonQtSlotFunction_Check(obj)) {
6660 6661 static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"};
6661 6662 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
6662 6663 bool returnValue;
6663 6664 void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2};
6664 6665 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6665 6666 if (result) {
6666 6667 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6667 6668 if (args[0]!=&returnValue) {
6668 6669 if (args[0]==NULL) {
6669 6670 PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result);
6670 6671 } else {
6671 6672 returnValue = *((bool*)args[0]);
6672 6673 }
6673 6674 }
6674 6675 }
6675 6676 if (result) { Py_DECREF(result); }
6676 6677 Py_DECREF(obj);
6677 6678 return returnValue;
6678 6679 }
6679 6680 }
6680 6681 return elfInfoWdgt::eventFilter(arg__1, arg__2);
6681 6682 }
6682 6683 void PythonQtShell_elfInfoWdgt::focusInEvent(QFocusEvent* arg__1)
6683 6684 {
6684 6685 if (_wrapper) {
6685 6686 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent");
6686 6687 PyErr_Clear();
6687 6688 if (obj && !PythonQtSlotFunction_Check(obj)) {
6688 6689 static const char* argumentList[] ={"" , "QFocusEvent*"};
6689 6690 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6690 6691 void* args[2] = {NULL, (void*)&arg__1};
6691 6692 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6692 6693 if (result) { Py_DECREF(result); }
6693 6694 Py_DECREF(obj);
6694 6695 return;
6695 6696 }
6696 6697 }
6697 6698 elfInfoWdgt::focusInEvent(arg__1);
6698 6699 }
6699 6700 bool PythonQtShell_elfInfoWdgt::focusNextPrevChild(bool next)
6700 6701 {
6701 6702 if (_wrapper) {
6702 6703 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild");
6703 6704 PyErr_Clear();
6704 6705 if (obj && !PythonQtSlotFunction_Check(obj)) {
6705 6706 static const char* argumentList[] ={"bool" , "bool"};
6706 6707 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6707 6708 bool returnValue;
6708 6709 void* args[2] = {NULL, (void*)&next};
6709 6710 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6710 6711 if (result) {
6711 6712 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6712 6713 if (args[0]!=&returnValue) {
6713 6714 if (args[0]==NULL) {
6714 6715 PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result);
6715 6716 } else {
6716 6717 returnValue = *((bool*)args[0]);
6717 6718 }
6718 6719 }
6719 6720 }
6720 6721 if (result) { Py_DECREF(result); }
6721 6722 Py_DECREF(obj);
6722 6723 return returnValue;
6723 6724 }
6724 6725 }
6725 6726 return elfInfoWdgt::focusNextPrevChild(next);
6726 6727 }
6727 6728 void PythonQtShell_elfInfoWdgt::focusOutEvent(QFocusEvent* arg__1)
6728 6729 {
6729 6730 if (_wrapper) {
6730 6731 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent");
6731 6732 PyErr_Clear();
6732 6733 if (obj && !PythonQtSlotFunction_Check(obj)) {
6733 6734 static const char* argumentList[] ={"" , "QFocusEvent*"};
6734 6735 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6735 6736 void* args[2] = {NULL, (void*)&arg__1};
6736 6737 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6737 6738 if (result) { Py_DECREF(result); }
6738 6739 Py_DECREF(obj);
6739 6740 return;
6740 6741 }
6741 6742 }
6742 6743 elfInfoWdgt::focusOutEvent(arg__1);
6743 6744 }
6744 6745 bool PythonQtShell_elfInfoWdgt::hasHeightForWidth() const
6745 6746 {
6746 6747 if (_wrapper) {
6747 6748 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasHeightForWidth");
6748 6749 PyErr_Clear();
6749 6750 if (obj && !PythonQtSlotFunction_Check(obj)) {
6750 6751 static const char* argumentList[] ={"bool"};
6751 6752 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
6752 6753 bool returnValue;
6753 6754 void* args[1] = {NULL};
6754 6755 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6755 6756 if (result) {
6756 6757 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6757 6758 if (args[0]!=&returnValue) {
6758 6759 if (args[0]==NULL) {
6759 6760 PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result);
6760 6761 } else {
6761 6762 returnValue = *((bool*)args[0]);
6762 6763 }
6763 6764 }
6764 6765 }
6765 6766 if (result) { Py_DECREF(result); }
6766 6767 Py_DECREF(obj);
6767 6768 return returnValue;
6768 6769 }
6769 6770 }
6770 6771 return elfInfoWdgt::hasHeightForWidth();
6771 6772 }
6772 6773 int PythonQtShell_elfInfoWdgt::heightForWidth(int arg__1) const
6773 6774 {
6774 6775 if (_wrapper) {
6775 6776 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth");
6776 6777 PyErr_Clear();
6777 6778 if (obj && !PythonQtSlotFunction_Check(obj)) {
6778 6779 static const char* argumentList[] ={"int" , "int"};
6779 6780 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6780 6781 int returnValue;
6781 6782 void* args[2] = {NULL, (void*)&arg__1};
6782 6783 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6783 6784 if (result) {
6784 6785 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6785 6786 if (args[0]!=&returnValue) {
6786 6787 if (args[0]==NULL) {
6787 6788 PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result);
6788 6789 } else {
6789 6790 returnValue = *((int*)args[0]);
6790 6791 }
6791 6792 }
6792 6793 }
6793 6794 if (result) { Py_DECREF(result); }
6794 6795 Py_DECREF(obj);
6795 6796 return returnValue;
6796 6797 }
6797 6798 }
6798 6799 return elfInfoWdgt::heightForWidth(arg__1);
6799 6800 }
6800 6801 void PythonQtShell_elfInfoWdgt::hideEvent(QHideEvent* arg__1)
6801 6802 {
6802 6803 if (_wrapper) {
6803 6804 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent");
6804 6805 PyErr_Clear();
6805 6806 if (obj && !PythonQtSlotFunction_Check(obj)) {
6806 6807 static const char* argumentList[] ={"" , "QHideEvent*"};
6807 6808 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6808 6809 void* args[2] = {NULL, (void*)&arg__1};
6809 6810 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6810 6811 if (result) { Py_DECREF(result); }
6811 6812 Py_DECREF(obj);
6812 6813 return;
6813 6814 }
6814 6815 }
6815 6816 elfInfoWdgt::hideEvent(arg__1);
6816 6817 }
6817 6818 void PythonQtShell_elfInfoWdgt::initPainter(QPainter* painter) const
6818 6819 {
6819 6820 if (_wrapper) {
6820 6821 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "initPainter");
6821 6822 PyErr_Clear();
6822 6823 if (obj && !PythonQtSlotFunction_Check(obj)) {
6823 6824 static const char* argumentList[] ={"" , "QPainter*"};
6824 6825 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6825 6826 void* args[2] = {NULL, (void*)&painter};
6826 6827 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6827 6828 if (result) { Py_DECREF(result); }
6828 6829 Py_DECREF(obj);
6829 6830 return;
6830 6831 }
6831 6832 }
6832 6833 elfInfoWdgt::initPainter(painter);
6833 6834 }
6834 6835 void PythonQtShell_elfInfoWdgt::inputMethodEvent(QInputMethodEvent* arg__1)
6835 6836 {
6836 6837 if (_wrapper) {
6837 6838 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent");
6838 6839 PyErr_Clear();
6839 6840 if (obj && !PythonQtSlotFunction_Check(obj)) {
6840 6841 static const char* argumentList[] ={"" , "QInputMethodEvent*"};
6841 6842 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6842 6843 void* args[2] = {NULL, (void*)&arg__1};
6843 6844 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6844 6845 if (result) { Py_DECREF(result); }
6845 6846 Py_DECREF(obj);
6846 6847 return;
6847 6848 }
6848 6849 }
6849 6850 elfInfoWdgt::inputMethodEvent(arg__1);
6850 6851 }
6851 6852 QVariant PythonQtShell_elfInfoWdgt::inputMethodQuery(Qt::InputMethodQuery arg__1) const
6852 6853 {
6853 6854 if (_wrapper) {
6854 6855 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery");
6855 6856 PyErr_Clear();
6856 6857 if (obj && !PythonQtSlotFunction_Check(obj)) {
6857 6858 static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"};
6858 6859 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6859 6860 QVariant returnValue;
6860 6861 void* args[2] = {NULL, (void*)&arg__1};
6861 6862 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6862 6863 if (result) {
6863 6864 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6864 6865 if (args[0]!=&returnValue) {
6865 6866 if (args[0]==NULL) {
6866 6867 PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result);
6867 6868 } else {
6868 6869 returnValue = *((QVariant*)args[0]);
6869 6870 }
6870 6871 }
6871 6872 }
6872 6873 if (result) { Py_DECREF(result); }
6873 6874 Py_DECREF(obj);
6874 6875 return returnValue;
6875 6876 }
6876 6877 }
6877 6878 return elfInfoWdgt::inputMethodQuery(arg__1);
6878 6879 }
6879 6880 void PythonQtShell_elfInfoWdgt::keyPressEvent(QKeyEvent* arg__1)
6880 6881 {
6881 6882 if (_wrapper) {
6882 6883 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent");
6883 6884 PyErr_Clear();
6884 6885 if (obj && !PythonQtSlotFunction_Check(obj)) {
6885 6886 static const char* argumentList[] ={"" , "QKeyEvent*"};
6886 6887 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6887 6888 void* args[2] = {NULL, (void*)&arg__1};
6888 6889 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6889 6890 if (result) { Py_DECREF(result); }
6890 6891 Py_DECREF(obj);
6891 6892 return;
6892 6893 }
6893 6894 }
6894 6895 elfInfoWdgt::keyPressEvent(arg__1);
6895 6896 }
6896 6897 void PythonQtShell_elfInfoWdgt::keyReleaseEvent(QKeyEvent* arg__1)
6897 6898 {
6898 6899 if (_wrapper) {
6899 6900 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent");
6900 6901 PyErr_Clear();
6901 6902 if (obj && !PythonQtSlotFunction_Check(obj)) {
6902 6903 static const char* argumentList[] ={"" , "QKeyEvent*"};
6903 6904 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6904 6905 void* args[2] = {NULL, (void*)&arg__1};
6905 6906 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6906 6907 if (result) { Py_DECREF(result); }
6907 6908 Py_DECREF(obj);
6908 6909 return;
6909 6910 }
6910 6911 }
6911 6912 elfInfoWdgt::keyReleaseEvent(arg__1);
6912 6913 }
6913 6914 void PythonQtShell_elfInfoWdgt::leaveEvent(QEvent* arg__1)
6914 6915 {
6915 6916 if (_wrapper) {
6916 6917 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent");
6917 6918 PyErr_Clear();
6918 6919 if (obj && !PythonQtSlotFunction_Check(obj)) {
6919 6920 static const char* argumentList[] ={"" , "QEvent*"};
6920 6921 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6921 6922 void* args[2] = {NULL, (void*)&arg__1};
6922 6923 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6923 6924 if (result) { Py_DECREF(result); }
6924 6925 Py_DECREF(obj);
6925 6926 return;
6926 6927 }
6927 6928 }
6928 6929 elfInfoWdgt::leaveEvent(arg__1);
6929 6930 }
6930 6931 int PythonQtShell_elfInfoWdgt::metric(QPaintDevice::PaintDeviceMetric arg__1) const
6931 6932 {
6932 6933 if (_wrapper) {
6933 6934 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric");
6934 6935 PyErr_Clear();
6935 6936 if (obj && !PythonQtSlotFunction_Check(obj)) {
6936 6937 static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"};
6937 6938 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6938 6939 int returnValue;
6939 6940 void* args[2] = {NULL, (void*)&arg__1};
6940 6941 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6941 6942 if (result) {
6942 6943 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6943 6944 if (args[0]!=&returnValue) {
6944 6945 if (args[0]==NULL) {
6945 6946 PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result);
6946 6947 } else {
6947 6948 returnValue = *((int*)args[0]);
6948 6949 }
6949 6950 }
6950 6951 }
6951 6952 if (result) { Py_DECREF(result); }
6952 6953 Py_DECREF(obj);
6953 6954 return returnValue;
6954 6955 }
6955 6956 }
6956 6957 return elfInfoWdgt::metric(arg__1);
6957 6958 }
6958 6959 QSize PythonQtShell_elfInfoWdgt::minimumSizeHint() const
6959 6960 {
6960 6961 if (_wrapper) {
6961 6962 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint");
6962 6963 PyErr_Clear();
6963 6964 if (obj && !PythonQtSlotFunction_Check(obj)) {
6964 6965 static const char* argumentList[] ={"QSize"};
6965 6966 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
6966 6967 QSize returnValue;
6967 6968 void* args[1] = {NULL};
6968 6969 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6969 6970 if (result) {
6970 6971 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
6971 6972 if (args[0]!=&returnValue) {
6972 6973 if (args[0]==NULL) {
6973 6974 PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result);
6974 6975 } else {
6975 6976 returnValue = *((QSize*)args[0]);
6976 6977 }
6977 6978 }
6978 6979 }
6979 6980 if (result) { Py_DECREF(result); }
6980 6981 Py_DECREF(obj);
6981 6982 return returnValue;
6982 6983 }
6983 6984 }
6984 6985 return elfInfoWdgt::minimumSizeHint();
6985 6986 }
6986 6987 void PythonQtShell_elfInfoWdgt::mouseDoubleClickEvent(QMouseEvent* arg__1)
6987 6988 {
6988 6989 if (_wrapper) {
6989 6990 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent");
6990 6991 PyErr_Clear();
6991 6992 if (obj && !PythonQtSlotFunction_Check(obj)) {
6992 6993 static const char* argumentList[] ={"" , "QMouseEvent*"};
6993 6994 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
6994 6995 void* args[2] = {NULL, (void*)&arg__1};
6995 6996 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
6996 6997 if (result) { Py_DECREF(result); }
6997 6998 Py_DECREF(obj);
6998 6999 return;
6999 7000 }
7000 7001 }
7001 7002 elfInfoWdgt::mouseDoubleClickEvent(arg__1);
7002 7003 }
7003 7004 void PythonQtShell_elfInfoWdgt::mouseMoveEvent(QMouseEvent* arg__1)
7004 7005 {
7005 7006 if (_wrapper) {
7006 7007 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent");
7007 7008 PyErr_Clear();
7008 7009 if (obj && !PythonQtSlotFunction_Check(obj)) {
7009 7010 static const char* argumentList[] ={"" , "QMouseEvent*"};
7010 7011 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7011 7012 void* args[2] = {NULL, (void*)&arg__1};
7012 7013 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7013 7014 if (result) { Py_DECREF(result); }
7014 7015 Py_DECREF(obj);
7015 7016 return;
7016 7017 }
7017 7018 }
7018 7019 elfInfoWdgt::mouseMoveEvent(arg__1);
7019 7020 }
7020 7021 void PythonQtShell_elfInfoWdgt::mousePressEvent(QMouseEvent* arg__1)
7021 7022 {
7022 7023 if (_wrapper) {
7023 7024 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent");
7024 7025 PyErr_Clear();
7025 7026 if (obj && !PythonQtSlotFunction_Check(obj)) {
7026 7027 static const char* argumentList[] ={"" , "QMouseEvent*"};
7027 7028 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7028 7029 void* args[2] = {NULL, (void*)&arg__1};
7029 7030 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7030 7031 if (result) { Py_DECREF(result); }
7031 7032 Py_DECREF(obj);
7032 7033 return;
7033 7034 }
7034 7035 }
7035 7036 elfInfoWdgt::mousePressEvent(arg__1);
7036 7037 }
7037 7038 void PythonQtShell_elfInfoWdgt::mouseReleaseEvent(QMouseEvent* arg__1)
7038 7039 {
7039 7040 if (_wrapper) {
7040 7041 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent");
7041 7042 PyErr_Clear();
7042 7043 if (obj && !PythonQtSlotFunction_Check(obj)) {
7043 7044 static const char* argumentList[] ={"" , "QMouseEvent*"};
7044 7045 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7045 7046 void* args[2] = {NULL, (void*)&arg__1};
7046 7047 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7047 7048 if (result) { Py_DECREF(result); }
7048 7049 Py_DECREF(obj);
7049 7050 return;
7050 7051 }
7051 7052 }
7052 7053 elfInfoWdgt::mouseReleaseEvent(arg__1);
7053 7054 }
7054 7055 void PythonQtShell_elfInfoWdgt::moveEvent(QMoveEvent* arg__1)
7055 7056 {
7056 7057 if (_wrapper) {
7057 7058 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent");
7058 7059 PyErr_Clear();
7059 7060 if (obj && !PythonQtSlotFunction_Check(obj)) {
7060 7061 static const char* argumentList[] ={"" , "QMoveEvent*"};
7061 7062 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7062 7063 void* args[2] = {NULL, (void*)&arg__1};
7063 7064 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7064 7065 if (result) { Py_DECREF(result); }
7065 7066 Py_DECREF(obj);
7066 7067 return;
7067 7068 }
7068 7069 }
7069 7070 elfInfoWdgt::moveEvent(arg__1);
7070 7071 }
7071 7072 bool PythonQtShell_elfInfoWdgt::nativeEvent(const QByteArray& eventType, void* message, long* result)
7072 7073 {
7073 7074 if (_wrapper) {
7074 7075 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nativeEvent");
7075 7076 PyErr_Clear();
7076 7077 if (obj && !PythonQtSlotFunction_Check(obj)) {
7077 7078 static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"};
7078 7079 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList);
7079 7080 bool returnValue;
7080 7081 void* args[4] = {NULL, (void*)&eventType, (void*)&message, (void*)&result};
7081 7082 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7082 7083 if (result) {
7083 7084 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
7084 7085 if (args[0]!=&returnValue) {
7085 7086 if (args[0]==NULL) {
7086 7087 PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result);
7087 7088 } else {
7088 7089 returnValue = *((bool*)args[0]);
7089 7090 }
7090 7091 }
7091 7092 }
7092 7093 if (result) { Py_DECREF(result); }
7093 7094 Py_DECREF(obj);
7094 7095 return returnValue;
7095 7096 }
7096 7097 }
7097 7098 return elfInfoWdgt::nativeEvent(eventType, message, result);
7098 7099 }
7099 7100 QPaintEngine* PythonQtShell_elfInfoWdgt::paintEngine() const
7100 7101 {
7101 7102 if (_wrapper) {
7102 7103 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine");
7103 7104 PyErr_Clear();
7104 7105 if (obj && !PythonQtSlotFunction_Check(obj)) {
7105 7106 static const char* argumentList[] ={"QPaintEngine*"};
7106 7107 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
7107 7108 QPaintEngine* returnValue;
7108 7109 void* args[1] = {NULL};
7109 7110 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7110 7111 if (result) {
7111 7112 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
7112 7113 if (args[0]!=&returnValue) {
7113 7114 if (args[0]==NULL) {
7114 7115 PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result);
7115 7116 } else {
7116 7117 returnValue = *((QPaintEngine**)args[0]);
7117 7118 }
7118 7119 }
7119 7120 }
7120 7121 if (result) { Py_DECREF(result); }
7121 7122 Py_DECREF(obj);
7122 7123 return returnValue;
7123 7124 }
7124 7125 }
7125 7126 return elfInfoWdgt::paintEngine();
7126 7127 }
7127 7128 void PythonQtShell_elfInfoWdgt::paintEvent(QPaintEvent* arg__1)
7128 7129 {
7129 7130 if (_wrapper) {
7130 7131 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent");
7131 7132 PyErr_Clear();
7132 7133 if (obj && !PythonQtSlotFunction_Check(obj)) {
7133 7134 static const char* argumentList[] ={"" , "QPaintEvent*"};
7134 7135 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7135 7136 void* args[2] = {NULL, (void*)&arg__1};
7136 7137 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7137 7138 if (result) { Py_DECREF(result); }
7138 7139 Py_DECREF(obj);
7139 7140 return;
7140 7141 }
7141 7142 }
7142 7143 elfInfoWdgt::paintEvent(arg__1);
7143 7144 }
7144 7145 QPaintDevice* PythonQtShell_elfInfoWdgt::redirected(QPoint* offset) const
7145 7146 {
7146 7147 if (_wrapper) {
7147 7148 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "redirected");
7148 7149 PyErr_Clear();
7149 7150 if (obj && !PythonQtSlotFunction_Check(obj)) {
7150 7151 static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"};
7151 7152 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7152 7153 QPaintDevice* returnValue;
7153 7154 void* args[2] = {NULL, (void*)&offset};
7154 7155 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7155 7156 if (result) {
7156 7157 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
7157 7158 if (args[0]!=&returnValue) {
7158 7159 if (args[0]==NULL) {
7159 7160 PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result);
7160 7161 } else {
7161 7162 returnValue = *((QPaintDevice**)args[0]);
7162 7163 }
7163 7164 }
7164 7165 }
7165 7166 if (result) { Py_DECREF(result); }
7166 7167 Py_DECREF(obj);
7167 7168 return returnValue;
7168 7169 }
7169 7170 }
7170 7171 return elfInfoWdgt::redirected(offset);
7171 7172 }
7172 7173 void PythonQtShell_elfInfoWdgt::resizeEvent(QResizeEvent* arg__1)
7173 7174 {
7174 7175 if (_wrapper) {
7175 7176 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent");
7176 7177 PyErr_Clear();
7177 7178 if (obj && !PythonQtSlotFunction_Check(obj)) {
7178 7179 static const char* argumentList[] ={"" , "QResizeEvent*"};
7179 7180 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7180 7181 void* args[2] = {NULL, (void*)&arg__1};
7181 7182 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7182 7183 if (result) { Py_DECREF(result); }
7183 7184 Py_DECREF(obj);
7184 7185 return;
7185 7186 }
7186 7187 }
7187 7188 elfInfoWdgt::resizeEvent(arg__1);
7188 7189 }
7189 7190 QPainter* PythonQtShell_elfInfoWdgt::sharedPainter() const
7190 7191 {
7191 7192 if (_wrapper) {
7192 7193 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sharedPainter");
7193 7194 PyErr_Clear();
7194 7195 if (obj && !PythonQtSlotFunction_Check(obj)) {
7195 7196 static const char* argumentList[] ={"QPainter*"};
7196 7197 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
7197 7198 QPainter* returnValue;
7198 7199 void* args[1] = {NULL};
7199 7200 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7200 7201 if (result) {
7201 7202 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
7202 7203 if (args[0]!=&returnValue) {
7203 7204 if (args[0]==NULL) {
7204 7205 PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result);
7205 7206 } else {
7206 7207 returnValue = *((QPainter**)args[0]);
7207 7208 }
7208 7209 }
7209 7210 }
7210 7211 if (result) { Py_DECREF(result); }
7211 7212 Py_DECREF(obj);
7212 7213 return returnValue;
7213 7214 }
7214 7215 }
7215 7216 return elfInfoWdgt::sharedPainter();
7216 7217 }
7217 7218 void PythonQtShell_elfInfoWdgt::showEvent(QShowEvent* arg__1)
7218 7219 {
7219 7220 if (_wrapper) {
7220 7221 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent");
7221 7222 PyErr_Clear();
7222 7223 if (obj && !PythonQtSlotFunction_Check(obj)) {
7223 7224 static const char* argumentList[] ={"" , "QShowEvent*"};
7224 7225 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7225 7226 void* args[2] = {NULL, (void*)&arg__1};
7226 7227 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7227 7228 if (result) { Py_DECREF(result); }
7228 7229 Py_DECREF(obj);
7229 7230 return;
7230 7231 }
7231 7232 }
7232 7233 elfInfoWdgt::showEvent(arg__1);
7233 7234 }
7234 7235 QSize PythonQtShell_elfInfoWdgt::sizeHint() const
7235 7236 {
7236 7237 if (_wrapper) {
7237 7238 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint");
7238 7239 PyErr_Clear();
7239 7240 if (obj && !PythonQtSlotFunction_Check(obj)) {
7240 7241 static const char* argumentList[] ={"QSize"};
7241 7242 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
7242 7243 QSize returnValue;
7243 7244 void* args[1] = {NULL};
7244 7245 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7245 7246 if (result) {
7246 7247 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
7247 7248 if (args[0]!=&returnValue) {
7248 7249 if (args[0]==NULL) {
7249 7250 PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result);
7250 7251 } else {
7251 7252 returnValue = *((QSize*)args[0]);
7252 7253 }
7253 7254 }
7254 7255 }
7255 7256 if (result) { Py_DECREF(result); }
7256 7257 Py_DECREF(obj);
7257 7258 return returnValue;
7258 7259 }
7259 7260 }
7260 7261 return elfInfoWdgt::sizeHint();
7261 7262 }
7262 7263 void PythonQtShell_elfInfoWdgt::tabletEvent(QTabletEvent* arg__1)
7263 7264 {
7264 7265 if (_wrapper) {
7265 7266 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent");
7266 7267 PyErr_Clear();
7267 7268 if (obj && !PythonQtSlotFunction_Check(obj)) {
7268 7269 static const char* argumentList[] ={"" , "QTabletEvent*"};
7269 7270 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7270 7271 void* args[2] = {NULL, (void*)&arg__1};
7271 7272 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7272 7273 if (result) { Py_DECREF(result); }
7273 7274 Py_DECREF(obj);
7274 7275 return;
7275 7276 }
7276 7277 }
7277 7278 elfInfoWdgt::tabletEvent(arg__1);
7278 7279 }
7279 7280 void PythonQtShell_elfInfoWdgt::timerEvent(QTimerEvent* arg__1)
7280 7281 {
7281 7282 if (_wrapper) {
7282 7283 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent");
7283 7284 PyErr_Clear();
7284 7285 if (obj && !PythonQtSlotFunction_Check(obj)) {
7285 7286 static const char* argumentList[] ={"" , "QTimerEvent*"};
7286 7287 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7287 7288 void* args[2] = {NULL, (void*)&arg__1};
7288 7289 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7289 7290 if (result) { Py_DECREF(result); }
7290 7291 Py_DECREF(obj);
7291 7292 return;
7292 7293 }
7293 7294 }
7294 7295 elfInfoWdgt::timerEvent(arg__1);
7295 7296 }
7296 7297 void PythonQtShell_elfInfoWdgt::wheelEvent(QWheelEvent* arg__1)
7297 7298 {
7298 7299 if (_wrapper) {
7299 7300 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent");
7300 7301 PyErr_Clear();
7301 7302 if (obj && !PythonQtSlotFunction_Check(obj)) {
7302 7303 static const char* argumentList[] ={"" , "QWheelEvent*"};
7303 7304 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7304 7305 void* args[2] = {NULL, (void*)&arg__1};
7305 7306 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7306 7307 if (result) { Py_DECREF(result); }
7307 7308 Py_DECREF(obj);
7308 7309 return;
7309 7310 }
7310 7311 }
7311 7312 elfInfoWdgt::wheelEvent(arg__1);
7312 7313 }
7313 7314 elfInfoWdgt* PythonQtWrapper_elfInfoWdgt::new_elfInfoWdgt(QWidget* parent)
7314 7315 {
7315 7316 return new PythonQtShell_elfInfoWdgt(parent); }
7316 7317
7317 7318
7318 7319
7319 7320 elfparser* PythonQtWrapper_elfparser::new_elfparser()
7320 7321 {
7321 7322 return new elfparser(); }
7322 7323
7323 7324 int PythonQtWrapper_elfparser::closeFile(elfparser* theWrappedObject)
7324 7325 {
7325 7326 return ( theWrappedObject->closeFile());
7326 7327 }
7327 7328
7328 7329 QString PythonQtWrapper_elfparser::getABI(elfparser* theWrappedObject)
7329 7330 {
7330 7331 return ( theWrappedObject->getABI());
7331 7332 }
7332 7333
7333 7334 QString PythonQtWrapper_elfparser::getArchitecture(elfparser* theWrappedObject)
7334 7335 {
7335 7336 return ( theWrappedObject->getArchitecture());
7336 7337 }
7337 7338
7338 7339 QString PythonQtWrapper_elfparser::getClass(elfparser* theWrappedObject)
7339 7340 {
7340 7341 return ( theWrappedObject->getClass());
7341 7342 }
7342 7343
7343 7344 QString PythonQtWrapper_elfparser::getEndianness(elfparser* theWrappedObject)
7344 7345 {
7345 7346 return ( theWrappedObject->getEndianness());
7346 7347 }
7347 7348
7348 7349 qint64 PythonQtWrapper_elfparser::getEntryPointAddress(elfparser* theWrappedObject)
7349 7350 {
7350 7351 return ( theWrappedObject->getEntryPointAddress());
7351 7352 }
7352 7353
7353 7354 bool PythonQtWrapper_elfparser::getSectionData(elfparser* theWrappedObject, int index, char** buffer)
7354 7355 {
7355 7356 return ( theWrappedObject->getSectionData(index, buffer));
7356 7357 }
7357 7358
7358 7359 qint64 PythonQtWrapper_elfparser::getSectionDatasz(elfparser* theWrappedObject, int index)
7359 7360 {
7360 7361 return ( theWrappedObject->getSectionDatasz(index));
7361 7362 }
7362 7363
7363 7364 qint64 PythonQtWrapper_elfparser::getSectionMemsz(elfparser* theWrappedObject, int index)
7364 7365 {
7365 7366 return ( theWrappedObject->getSectionMemsz(index));
7366 7367 }
7367 7368
7368 7369 QString PythonQtWrapper_elfparser::getSectionName(elfparser* theWrappedObject, int index)
7369 7370 {
7370 7371 return ( theWrappedObject->getSectionName(index));
7371 7372 }
7372 7373
7373 7374 qint64 PythonQtWrapper_elfparser::getSectionPaddr(elfparser* theWrappedObject, int index)
7374 7375 {
7375 7376 return ( theWrappedObject->getSectionPaddr(index));
7376 7377 }
7377 7378
7378 7379 QString PythonQtWrapper_elfparser::getSectionType(elfparser* theWrappedObject, int index)
7379 7380 {
7380 7381 return ( theWrappedObject->getSectionType(index));
7381 7382 }
7382 7383
7383 7384 int PythonQtWrapper_elfparser::getSectioncount(elfparser* theWrappedObject)
7384 7385 {
7385 7386 return ( theWrappedObject->getSectioncount());
7386 7387 }
7387 7388
7388 7389 qint64 PythonQtWrapper_elfparser::getSegmentFilesz(elfparser* theWrappedObject, int index)
7389 7390 {
7390 7391 return ( theWrappedObject->getSegmentFilesz(index));
7391 7392 }
7392 7393
7393 7394 QString PythonQtWrapper_elfparser::getSegmentFlags(elfparser* theWrappedObject, int index)
7394 7395 {
7395 7396 return ( theWrappedObject->getSegmentFlags(index));
7396 7397 }
7397 7398
7398 7399 qint64 PythonQtWrapper_elfparser::getSegmentMemsz(elfparser* theWrappedObject, int index)
7399 7400 {
7400 7401 return ( theWrappedObject->getSegmentMemsz(index));
7401 7402 }
7402 7403
7403 7404 qint64 PythonQtWrapper_elfparser::getSegmentOffset(elfparser* theWrappedObject, int index)
7404 7405 {
7405 7406 return ( theWrappedObject->getSegmentOffset(index));
7406 7407 }
7407 7408
7408 7409 qint64 PythonQtWrapper_elfparser::getSegmentPaddr(elfparser* theWrappedObject, int index)
7409 7410 {
7410 7411 return ( theWrappedObject->getSegmentPaddr(index));
7411 7412 }
7412 7413
7413 7414 QString PythonQtWrapper_elfparser::getSegmentType(elfparser* theWrappedObject, int index)
7414 7415 {
7415 7416 return ( theWrappedObject->getSegmentType(index));
7416 7417 }
7417 7418
7418 7419 qint64 PythonQtWrapper_elfparser::getSegmentVaddr(elfparser* theWrappedObject, int index)
7419 7420 {
7420 7421 return ( theWrappedObject->getSegmentVaddr(index));
7421 7422 }
7422 7423
7423 7424 int PythonQtWrapper_elfparser::getSegmentcount(elfparser* theWrappedObject)
7424 7425 {
7425 7426 return ( theWrappedObject->getSegmentcount());
7426 7427 }
7427 7428
7428 7429 QString PythonQtWrapper_elfparser::getType(elfparser* theWrappedObject)
7429 7430 {
7430 7431 return ( theWrappedObject->getType());
7431 7432 }
7432 7433
7433 7434 qint64 PythonQtWrapper_elfparser::getVersion(elfparser* theWrappedObject)
7434 7435 {
7435 7436 return ( theWrappedObject->getVersion());
7436 7437 }
7437 7438
7438 7439 bool PythonQtWrapper_elfparser::static_elfparser_isElf(const QString& File)
7439 7440 {
7440 7441 return (elfparser::isElf(File));
7441 7442 }
7442 7443
7443 7444 bool PythonQtWrapper_elfparser::iself(elfparser* theWrappedObject)
7444 7445 {
7445 7446 return ( theWrappedObject->iself());
7446 7447 }
7447 7448
7448 7449 bool PythonQtWrapper_elfparser::isopened(elfparser* theWrappedObject)
7449 7450 {
7450 7451 return ( theWrappedObject->isopened());
7451 7452 }
7452 7453
7453 7454 int PythonQtWrapper_elfparser::setFilename(elfparser* theWrappedObject, const QString& name)
7454 7455 {
7455 7456 return ( theWrappedObject->setFilename(name));
7456 7457 }
7457 7458
7458 7459
7459 7460
7461 PythonQtShell_genericBinaryFileWidget::~PythonQtShell_genericBinaryFileWidget() {
7462 PythonQtPrivate* priv = PythonQt::priv();
7463 if (priv) { priv->shellClassDeleted(this); }
7464 }
7465 void PythonQtShell_genericBinaryFileWidget::actionEvent(QActionEvent* arg__1)
7466 {
7467 if (_wrapper) {
7468 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent");
7469 PyErr_Clear();
7470 if (obj && !PythonQtSlotFunction_Check(obj)) {
7471 static const char* argumentList[] ={"" , "QActionEvent*"};
7472 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7473 void* args[2] = {NULL, (void*)&arg__1};
7474 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7475 if (result) { Py_DECREF(result); }
7476 Py_DECREF(obj);
7477 return;
7478 }
7479 }
7480 genericBinaryFileWidget::actionEvent(arg__1);
7481 }
7482 void PythonQtShell_genericBinaryFileWidget::changeEvent(QEvent* arg__1)
7483 {
7484 if (_wrapper) {
7485 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent");
7486 PyErr_Clear();
7487 if (obj && !PythonQtSlotFunction_Check(obj)) {
7488 static const char* argumentList[] ={"" , "QEvent*"};
7489 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7490 void* args[2] = {NULL, (void*)&arg__1};
7491 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7492 if (result) { Py_DECREF(result); }
7493 Py_DECREF(obj);
7494 return;
7495 }
7496 }
7497 genericBinaryFileWidget::changeEvent(arg__1);
7498 }
7499 void PythonQtShell_genericBinaryFileWidget::childEvent(QChildEvent* arg__1)
7500 {
7501 if (_wrapper) {
7502 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent");
7503 PyErr_Clear();
7504 if (obj && !PythonQtSlotFunction_Check(obj)) {
7505 static const char* argumentList[] ={"" , "QChildEvent*"};
7506 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7507 void* args[2] = {NULL, (void*)&arg__1};
7508 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7509 if (result) { Py_DECREF(result); }
7510 Py_DECREF(obj);
7511 return;
7512 }
7513 }
7514 genericBinaryFileWidget::childEvent(arg__1);
7515 }
7516 void PythonQtShell_genericBinaryFileWidget::closeEvent(QCloseEvent* arg__1)
7517 {
7518 if (_wrapper) {
7519 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent");
7520 PyErr_Clear();
7521 if (obj && !PythonQtSlotFunction_Check(obj)) {
7522 static const char* argumentList[] ={"" , "QCloseEvent*"};
7523 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7524 void* args[2] = {NULL, (void*)&arg__1};
7525 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7526 if (result) { Py_DECREF(result); }
7527 Py_DECREF(obj);
7528 return;
7529 }
7530 }
7531 genericBinaryFileWidget::closeEvent(arg__1);
7532 }
7533 void PythonQtShell_genericBinaryFileWidget::contextMenuEvent(QContextMenuEvent* arg__1)
7534 {
7535 if (_wrapper) {
7536 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent");
7537 PyErr_Clear();
7538 if (obj && !PythonQtSlotFunction_Check(obj)) {
7539 static const char* argumentList[] ={"" , "QContextMenuEvent*"};
7540 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7541 void* args[2] = {NULL, (void*)&arg__1};
7542 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7543 if (result) { Py_DECREF(result); }
7544 Py_DECREF(obj);
7545 return;
7546 }
7547 }
7548 genericBinaryFileWidget::contextMenuEvent(arg__1);
7549 }
7550 void PythonQtShell_genericBinaryFileWidget::customEvent(QEvent* arg__1)
7551 {
7552 if (_wrapper) {
7553 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent");
7554 PyErr_Clear();
7555 if (obj && !PythonQtSlotFunction_Check(obj)) {
7556 static const char* argumentList[] ={"" , "QEvent*"};
7557 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7558 void* args[2] = {NULL, (void*)&arg__1};
7559 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7560 if (result) { Py_DECREF(result); }
7561 Py_DECREF(obj);
7562 return;
7563 }
7564 }
7565 genericBinaryFileWidget::customEvent(arg__1);
7566 }
7567 int PythonQtShell_genericBinaryFileWidget::devType() const
7568 {
7569 if (_wrapper) {
7570 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType");
7571 PyErr_Clear();
7572 if (obj && !PythonQtSlotFunction_Check(obj)) {
7573 static const char* argumentList[] ={"int"};
7574 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
7575 int returnValue;
7576 void* args[1] = {NULL};
7577 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7578 if (result) {
7579 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
7580 if (args[0]!=&returnValue) {
7581 if (args[0]==NULL) {
7582 PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result);
7583 } else {
7584 returnValue = *((int*)args[0]);
7585 }
7586 }
7587 }
7588 if (result) { Py_DECREF(result); }
7589 Py_DECREF(obj);
7590 return returnValue;
7591 }
7592 }
7593 return genericBinaryFileWidget::devType();
7594 }
7595 void PythonQtShell_genericBinaryFileWidget::dragEnterEvent(QDragEnterEvent* arg__1)
7596 {
7597 if (_wrapper) {
7598 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent");
7599 PyErr_Clear();
7600 if (obj && !PythonQtSlotFunction_Check(obj)) {
7601 static const char* argumentList[] ={"" , "QDragEnterEvent*"};
7602 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7603 void* args[2] = {NULL, (void*)&arg__1};
7604 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7605 if (result) { Py_DECREF(result); }
7606 Py_DECREF(obj);
7607 return;
7608 }
7609 }
7610 genericBinaryFileWidget::dragEnterEvent(arg__1);
7611 }
7612 void PythonQtShell_genericBinaryFileWidget::dragLeaveEvent(QDragLeaveEvent* arg__1)
7613 {
7614 if (_wrapper) {
7615 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent");
7616 PyErr_Clear();
7617 if (obj && !PythonQtSlotFunction_Check(obj)) {
7618 static const char* argumentList[] ={"" , "QDragLeaveEvent*"};
7619 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7620 void* args[2] = {NULL, (void*)&arg__1};
7621 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7622 if (result) { Py_DECREF(result); }
7623 Py_DECREF(obj);
7624 return;
7625 }
7626 }
7627 genericBinaryFileWidget::dragLeaveEvent(arg__1);
7628 }
7629 void PythonQtShell_genericBinaryFileWidget::dragMoveEvent(QDragMoveEvent* arg__1)
7630 {
7631 if (_wrapper) {
7632 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent");
7633 PyErr_Clear();
7634 if (obj && !PythonQtSlotFunction_Check(obj)) {
7635 static const char* argumentList[] ={"" , "QDragMoveEvent*"};
7636 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7637 void* args[2] = {NULL, (void*)&arg__1};
7638 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7639 if (result) { Py_DECREF(result); }
7640 Py_DECREF(obj);
7641 return;
7642 }
7643 }
7644 genericBinaryFileWidget::dragMoveEvent(arg__1);
7645 }
7646 void PythonQtShell_genericBinaryFileWidget::dropEvent(QDropEvent* arg__1)
7647 {
7648 if (_wrapper) {
7649 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent");
7650 PyErr_Clear();
7651 if (obj && !PythonQtSlotFunction_Check(obj)) {
7652 static const char* argumentList[] ={"" , "QDropEvent*"};
7653 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7654 void* args[2] = {NULL, (void*)&arg__1};
7655 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7656 if (result) { Py_DECREF(result); }
7657 Py_DECREF(obj);
7658 return;
7659 }
7660 }
7661 genericBinaryFileWidget::dropEvent(arg__1);
7662 }
7663 void PythonQtShell_genericBinaryFileWidget::enterEvent(QEvent* arg__1)
7664 {
7665 if (_wrapper) {
7666 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent");
7667 PyErr_Clear();
7668 if (obj && !PythonQtSlotFunction_Check(obj)) {
7669 static const char* argumentList[] ={"" , "QEvent*"};
7670 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7671 void* args[2] = {NULL, (void*)&arg__1};
7672 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7673 if (result) { Py_DECREF(result); }
7674 Py_DECREF(obj);
7675 return;
7676 }
7677 }
7678 genericBinaryFileWidget::enterEvent(arg__1);
7679 }
7680 bool PythonQtShell_genericBinaryFileWidget::event(QEvent* arg__1)
7681 {
7682 if (_wrapper) {
7683 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event");
7684 PyErr_Clear();
7685 if (obj && !PythonQtSlotFunction_Check(obj)) {
7686 static const char* argumentList[] ={"bool" , "QEvent*"};
7687 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7688 bool returnValue;
7689 void* args[2] = {NULL, (void*)&arg__1};
7690 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7691 if (result) {
7692 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
7693 if (args[0]!=&returnValue) {
7694 if (args[0]==NULL) {
7695 PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result);
7696 } else {
7697 returnValue = *((bool*)args[0]);
7698 }
7699 }
7700 }
7701 if (result) { Py_DECREF(result); }
7702 Py_DECREF(obj);
7703 return returnValue;
7704 }
7705 }
7706 return genericBinaryFileWidget::event(arg__1);
7707 }
7708 bool PythonQtShell_genericBinaryFileWidget::eventFilter(QObject* arg__1, QEvent* arg__2)
7709 {
7710 if (_wrapper) {
7711 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter");
7712 PyErr_Clear();
7713 if (obj && !PythonQtSlotFunction_Check(obj)) {
7714 static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"};
7715 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
7716 bool returnValue;
7717 void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2};
7718 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7719 if (result) {
7720 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
7721 if (args[0]!=&returnValue) {
7722 if (args[0]==NULL) {
7723 PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result);
7724 } else {
7725 returnValue = *((bool*)args[0]);
7726 }
7727 }
7728 }
7729 if (result) { Py_DECREF(result); }
7730 Py_DECREF(obj);
7731 return returnValue;
7732 }
7733 }
7734 return genericBinaryFileWidget::eventFilter(arg__1, arg__2);
7735 }
7736 void PythonQtShell_genericBinaryFileWidget::focusInEvent(QFocusEvent* arg__1)
7737 {
7738 if (_wrapper) {
7739 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent");
7740 PyErr_Clear();
7741 if (obj && !PythonQtSlotFunction_Check(obj)) {
7742 static const char* argumentList[] ={"" , "QFocusEvent*"};
7743 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7744 void* args[2] = {NULL, (void*)&arg__1};
7745 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7746 if (result) { Py_DECREF(result); }
7747 Py_DECREF(obj);
7748 return;
7749 }
7750 }
7751 genericBinaryFileWidget::focusInEvent(arg__1);
7752 }
7753 bool PythonQtShell_genericBinaryFileWidget::focusNextPrevChild(bool next)
7754 {
7755 if (_wrapper) {
7756 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild");
7757 PyErr_Clear();
7758 if (obj && !PythonQtSlotFunction_Check(obj)) {
7759 static const char* argumentList[] ={"bool" , "bool"};
7760 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7761 bool returnValue;
7762 void* args[2] = {NULL, (void*)&next};
7763 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7764 if (result) {
7765 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
7766 if (args[0]!=&returnValue) {
7767 if (args[0]==NULL) {
7768 PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result);
7769 } else {
7770 returnValue = *((bool*)args[0]);
7771 }
7772 }
7773 }
7774 if (result) { Py_DECREF(result); }
7775 Py_DECREF(obj);
7776 return returnValue;
7777 }
7778 }
7779 return genericBinaryFileWidget::focusNextPrevChild(next);
7780 }
7781 void PythonQtShell_genericBinaryFileWidget::focusOutEvent(QFocusEvent* arg__1)
7782 {
7783 if (_wrapper) {
7784 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent");
7785 PyErr_Clear();
7786 if (obj && !PythonQtSlotFunction_Check(obj)) {
7787 static const char* argumentList[] ={"" , "QFocusEvent*"};
7788 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7789 void* args[2] = {NULL, (void*)&arg__1};
7790 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7791 if (result) { Py_DECREF(result); }
7792 Py_DECREF(obj);
7793 return;
7794 }
7795 }
7796 genericBinaryFileWidget::focusOutEvent(arg__1);
7797 }
7798 bool PythonQtShell_genericBinaryFileWidget::hasHeightForWidth() const
7799 {
7800 if (_wrapper) {
7801 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hasHeightForWidth");
7802 PyErr_Clear();
7803 if (obj && !PythonQtSlotFunction_Check(obj)) {
7804 static const char* argumentList[] ={"bool"};
7805 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
7806 bool returnValue;
7807 void* args[1] = {NULL};
7808 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7809 if (result) {
7810 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
7811 if (args[0]!=&returnValue) {
7812 if (args[0]==NULL) {
7813 PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result);
7814 } else {
7815 returnValue = *((bool*)args[0]);
7816 }
7817 }
7818 }
7819 if (result) { Py_DECREF(result); }
7820 Py_DECREF(obj);
7821 return returnValue;
7822 }
7823 }
7824 return genericBinaryFileWidget::hasHeightForWidth();
7825 }
7826 int PythonQtShell_genericBinaryFileWidget::heightForWidth(int arg__1) const
7827 {
7828 if (_wrapper) {
7829 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth");
7830 PyErr_Clear();
7831 if (obj && !PythonQtSlotFunction_Check(obj)) {
7832 static const char* argumentList[] ={"int" , "int"};
7833 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7834 int returnValue;
7835 void* args[2] = {NULL, (void*)&arg__1};
7836 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7837 if (result) {
7838 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
7839 if (args[0]!=&returnValue) {
7840 if (args[0]==NULL) {
7841 PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result);
7842 } else {
7843 returnValue = *((int*)args[0]);
7844 }
7845 }
7846 }
7847 if (result) { Py_DECREF(result); }
7848 Py_DECREF(obj);
7849 return returnValue;
7850 }
7851 }
7852 return genericBinaryFileWidget::heightForWidth(arg__1);
7853 }
7854 void PythonQtShell_genericBinaryFileWidget::hideEvent(QHideEvent* arg__1)
7855 {
7856 if (_wrapper) {
7857 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent");
7858 PyErr_Clear();
7859 if (obj && !PythonQtSlotFunction_Check(obj)) {
7860 static const char* argumentList[] ={"" , "QHideEvent*"};
7861 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7862 void* args[2] = {NULL, (void*)&arg__1};
7863 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7864 if (result) { Py_DECREF(result); }
7865 Py_DECREF(obj);
7866 return;
7867 }
7868 }
7869 genericBinaryFileWidget::hideEvent(arg__1);
7870 }
7871 void PythonQtShell_genericBinaryFileWidget::initPainter(QPainter* painter) const
7872 {
7873 if (_wrapper) {
7874 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "initPainter");
7875 PyErr_Clear();
7876 if (obj && !PythonQtSlotFunction_Check(obj)) {
7877 static const char* argumentList[] ={"" , "QPainter*"};
7878 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7879 void* args[2] = {NULL, (void*)&painter};
7880 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7881 if (result) { Py_DECREF(result); }
7882 Py_DECREF(obj);
7883 return;
7884 }
7885 }
7886 genericBinaryFileWidget::initPainter(painter);
7887 }
7888 void PythonQtShell_genericBinaryFileWidget::inputMethodEvent(QInputMethodEvent* arg__1)
7889 {
7890 if (_wrapper) {
7891 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent");
7892 PyErr_Clear();
7893 if (obj && !PythonQtSlotFunction_Check(obj)) {
7894 static const char* argumentList[] ={"" , "QInputMethodEvent*"};
7895 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7896 void* args[2] = {NULL, (void*)&arg__1};
7897 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7898 if (result) { Py_DECREF(result); }
7899 Py_DECREF(obj);
7900 return;
7901 }
7902 }
7903 genericBinaryFileWidget::inputMethodEvent(arg__1);
7904 }
7905 QVariant PythonQtShell_genericBinaryFileWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const
7906 {
7907 if (_wrapper) {
7908 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery");
7909 PyErr_Clear();
7910 if (obj && !PythonQtSlotFunction_Check(obj)) {
7911 static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"};
7912 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7913 QVariant returnValue;
7914 void* args[2] = {NULL, (void*)&arg__1};
7915 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7916 if (result) {
7917 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
7918 if (args[0]!=&returnValue) {
7919 if (args[0]==NULL) {
7920 PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result);
7921 } else {
7922 returnValue = *((QVariant*)args[0]);
7923 }
7924 }
7925 }
7926 if (result) { Py_DECREF(result); }
7927 Py_DECREF(obj);
7928 return returnValue;
7929 }
7930 }
7931 return genericBinaryFileWidget::inputMethodQuery(arg__1);
7932 }
7933 void PythonQtShell_genericBinaryFileWidget::keyPressEvent(QKeyEvent* arg__1)
7934 {
7935 if (_wrapper) {
7936 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent");
7937 PyErr_Clear();
7938 if (obj && !PythonQtSlotFunction_Check(obj)) {
7939 static const char* argumentList[] ={"" , "QKeyEvent*"};
7940 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7941 void* args[2] = {NULL, (void*)&arg__1};
7942 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7943 if (result) { Py_DECREF(result); }
7944 Py_DECREF(obj);
7945 return;
7946 }
7947 }
7948 genericBinaryFileWidget::keyPressEvent(arg__1);
7949 }
7950 void PythonQtShell_genericBinaryFileWidget::keyReleaseEvent(QKeyEvent* arg__1)
7951 {
7952 if (_wrapper) {
7953 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent");
7954 PyErr_Clear();
7955 if (obj && !PythonQtSlotFunction_Check(obj)) {
7956 static const char* argumentList[] ={"" , "QKeyEvent*"};
7957 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7958 void* args[2] = {NULL, (void*)&arg__1};
7959 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7960 if (result) { Py_DECREF(result); }
7961 Py_DECREF(obj);
7962 return;
7963 }
7964 }
7965 genericBinaryFileWidget::keyReleaseEvent(arg__1);
7966 }
7967 void PythonQtShell_genericBinaryFileWidget::leaveEvent(QEvent* arg__1)
7968 {
7969 if (_wrapper) {
7970 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent");
7971 PyErr_Clear();
7972 if (obj && !PythonQtSlotFunction_Check(obj)) {
7973 static const char* argumentList[] ={"" , "QEvent*"};
7974 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7975 void* args[2] = {NULL, (void*)&arg__1};
7976 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7977 if (result) { Py_DECREF(result); }
7978 Py_DECREF(obj);
7979 return;
7980 }
7981 }
7982 genericBinaryFileWidget::leaveEvent(arg__1);
7983 }
7984 int PythonQtShell_genericBinaryFileWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const
7985 {
7986 if (_wrapper) {
7987 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric");
7988 PyErr_Clear();
7989 if (obj && !PythonQtSlotFunction_Check(obj)) {
7990 static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"};
7991 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7992 int returnValue;
7993 void* args[2] = {NULL, (void*)&arg__1};
7994 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7995 if (result) {
7996 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
7997 if (args[0]!=&returnValue) {
7998 if (args[0]==NULL) {
7999 PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result);
8000 } else {
8001 returnValue = *((int*)args[0]);
8002 }
8003 }
8004 }
8005 if (result) { Py_DECREF(result); }
8006 Py_DECREF(obj);
8007 return returnValue;
8008 }
8009 }
8010 return genericBinaryFileWidget::metric(arg__1);
8011 }
8012 QSize PythonQtShell_genericBinaryFileWidget::minimumSizeHint() const
8013 {
8014 if (_wrapper) {
8015 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getMinimumSizeHint");
8016 PyErr_Clear();
8017 if (obj && !PythonQtSlotFunction_Check(obj)) {
8018 static const char* argumentList[] ={"QSize"};
8019 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
8020 QSize returnValue;
8021 void* args[1] = {NULL};
8022 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8023 if (result) {
8024 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
8025 if (args[0]!=&returnValue) {
8026 if (args[0]==NULL) {
8027 PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result);
8028 } else {
8029 returnValue = *((QSize*)args[0]);
8030 }
8031 }
8032 }
8033 if (result) { Py_DECREF(result); }
8034 Py_DECREF(obj);
8035 return returnValue;
8036 }
8037 }
8038 return genericBinaryFileWidget::minimumSizeHint();
8039 }
8040 void PythonQtShell_genericBinaryFileWidget::mouseDoubleClickEvent(QMouseEvent* arg__1)
8041 {
8042 if (_wrapper) {
8043 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent");
8044 PyErr_Clear();
8045 if (obj && !PythonQtSlotFunction_Check(obj)) {
8046 static const char* argumentList[] ={"" , "QMouseEvent*"};
8047 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
8048 void* args[2] = {NULL, (void*)&arg__1};
8049 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8050 if (result) { Py_DECREF(result); }
8051 Py_DECREF(obj);
8052 return;
8053 }
8054 }
8055 genericBinaryFileWidget::mouseDoubleClickEvent(arg__1);
8056 }
8057 void PythonQtShell_genericBinaryFileWidget::mouseMoveEvent(QMouseEvent* arg__1)
8058 {
8059 if (_wrapper) {
8060 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent");
8061 PyErr_Clear();
8062 if (obj && !PythonQtSlotFunction_Check(obj)) {
8063 static const char* argumentList[] ={"" , "QMouseEvent*"};
8064 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
8065 void* args[2] = {NULL, (void*)&arg__1};
8066 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8067 if (result) { Py_DECREF(result); }
8068 Py_DECREF(obj);
8069 return;
8070 }
8071 }
8072 genericBinaryFileWidget::mouseMoveEvent(arg__1);
8073 }
8074 void PythonQtShell_genericBinaryFileWidget::mousePressEvent(QMouseEvent* arg__1)
8075 {
8076 if (_wrapper) {
8077 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent");
8078 PyErr_Clear();
8079 if (obj && !PythonQtSlotFunction_Check(obj)) {
8080 static const char* argumentList[] ={"" , "QMouseEvent*"};
8081 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
8082 void* args[2] = {NULL, (void*)&arg__1};
8083 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8084 if (result) { Py_DECREF(result); }
8085 Py_DECREF(obj);
8086 return;
8087 }
8088 }
8089 genericBinaryFileWidget::mousePressEvent(arg__1);
8090 }
8091 void PythonQtShell_genericBinaryFileWidget::mouseReleaseEvent(QMouseEvent* arg__1)
8092 {
8093 if (_wrapper) {
8094 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent");
8095 PyErr_Clear();
8096 if (obj && !PythonQtSlotFunction_Check(obj)) {
8097 static const char* argumentList[] ={"" , "QMouseEvent*"};
8098 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
8099 void* args[2] = {NULL, (void*)&arg__1};
8100 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8101 if (result) { Py_DECREF(result); }
8102 Py_DECREF(obj);
8103 return;
8104 }
8105 }
8106 genericBinaryFileWidget::mouseReleaseEvent(arg__1);
8107 }
8108 void PythonQtShell_genericBinaryFileWidget::moveEvent(QMoveEvent* arg__1)
8109 {
8110 if (_wrapper) {
8111 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent");
8112 PyErr_Clear();
8113 if (obj && !PythonQtSlotFunction_Check(obj)) {
8114 static const char* argumentList[] ={"" , "QMoveEvent*"};
8115 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
8116 void* args[2] = {NULL, (void*)&arg__1};
8117 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8118 if (result) { Py_DECREF(result); }
8119 Py_DECREF(obj);
8120 return;
8121 }
8122 }
8123 genericBinaryFileWidget::moveEvent(arg__1);
8124 }
8125 bool PythonQtShell_genericBinaryFileWidget::nativeEvent(const QByteArray& eventType, void* message, long* result)
8126 {
8127 if (_wrapper) {
8128 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "nativeEvent");
8129 PyErr_Clear();
8130 if (obj && !PythonQtSlotFunction_Check(obj)) {
8131 static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"};
8132 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList);
8133 bool returnValue;
8134 void* args[4] = {NULL, (void*)&eventType, (void*)&message, (void*)&result};
8135 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8136 if (result) {
8137 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
8138 if (args[0]!=&returnValue) {
8139 if (args[0]==NULL) {
8140 PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result);
8141 } else {
8142 returnValue = *((bool*)args[0]);
8143 }
8144 }
8145 }
8146 if (result) { Py_DECREF(result); }
8147 Py_DECREF(obj);
8148 return returnValue;
8149 }
8150 }
8151 return genericBinaryFileWidget::nativeEvent(eventType, message, result);
8152 }
8153 QPaintEngine* PythonQtShell_genericBinaryFileWidget::paintEngine() const
8154 {
8155 if (_wrapper) {
8156 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine");
8157 PyErr_Clear();
8158 if (obj && !PythonQtSlotFunction_Check(obj)) {
8159 static const char* argumentList[] ={"QPaintEngine*"};
8160 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
8161 QPaintEngine* returnValue;
8162 void* args[1] = {NULL};
8163 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8164 if (result) {
8165 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
8166 if (args[0]!=&returnValue) {
8167 if (args[0]==NULL) {
8168 PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result);
8169 } else {
8170 returnValue = *((QPaintEngine**)args[0]);
8171 }
8172 }
8173 }
8174 if (result) { Py_DECREF(result); }
8175 Py_DECREF(obj);
8176 return returnValue;
8177 }
8178 }
8179 return genericBinaryFileWidget::paintEngine();
8180 }
8181 void PythonQtShell_genericBinaryFileWidget::paintEvent(QPaintEvent* arg__1)
8182 {
8183 if (_wrapper) {
8184 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent");
8185 PyErr_Clear();
8186 if (obj && !PythonQtSlotFunction_Check(obj)) {
8187 static const char* argumentList[] ={"" , "QPaintEvent*"};
8188 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
8189 void* args[2] = {NULL, (void*)&arg__1};
8190 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8191 if (result) { Py_DECREF(result); }
8192 Py_DECREF(obj);
8193 return;
8194 }
8195 }
8196 genericBinaryFileWidget::paintEvent(arg__1);
8197 }
8198 QPaintDevice* PythonQtShell_genericBinaryFileWidget::redirected(QPoint* offset) const
8199 {
8200 if (_wrapper) {
8201 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "redirected");
8202 PyErr_Clear();
8203 if (obj && !PythonQtSlotFunction_Check(obj)) {
8204 static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"};
8205 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
8206 QPaintDevice* returnValue;
8207 void* args[2] = {NULL, (void*)&offset};
8208 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8209 if (result) {
8210 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
8211 if (args[0]!=&returnValue) {
8212 if (args[0]==NULL) {
8213 PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result);
8214 } else {
8215 returnValue = *((QPaintDevice**)args[0]);
8216 }
8217 }
8218 }
8219 if (result) { Py_DECREF(result); }
8220 Py_DECREF(obj);
8221 return returnValue;
8222 }
8223 }
8224 return genericBinaryFileWidget::redirected(offset);
8225 }
8226 void PythonQtShell_genericBinaryFileWidget::resizeEvent(QResizeEvent* arg__1)
8227 {
8228 if (_wrapper) {
8229 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent");
8230 PyErr_Clear();
8231 if (obj && !PythonQtSlotFunction_Check(obj)) {
8232 static const char* argumentList[] ={"" , "QResizeEvent*"};
8233 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
8234 void* args[2] = {NULL, (void*)&arg__1};
8235 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8236 if (result) { Py_DECREF(result); }
8237 Py_DECREF(obj);
8238 return;
8239 }
8240 }
8241 genericBinaryFileWidget::resizeEvent(arg__1);
8242 }
8243 QPainter* PythonQtShell_genericBinaryFileWidget::sharedPainter() const
8244 {
8245 if (_wrapper) {
8246 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "sharedPainter");
8247 PyErr_Clear();
8248 if (obj && !PythonQtSlotFunction_Check(obj)) {
8249 static const char* argumentList[] ={"QPainter*"};
8250 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
8251 QPainter* returnValue;
8252 void* args[1] = {NULL};
8253 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8254 if (result) {
8255 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
8256 if (args[0]!=&returnValue) {
8257 if (args[0]==NULL) {
8258 PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result);
8259 } else {
8260 returnValue = *((QPainter**)args[0]);
8261 }
8262 }
8263 }
8264 if (result) { Py_DECREF(result); }
8265 Py_DECREF(obj);
8266 return returnValue;
8267 }
8268 }
8269 return genericBinaryFileWidget::sharedPainter();
8270 }
8271 void PythonQtShell_genericBinaryFileWidget::showEvent(QShowEvent* arg__1)
8272 {
8273 if (_wrapper) {
8274 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent");
8275 PyErr_Clear();
8276 if (obj && !PythonQtSlotFunction_Check(obj)) {
8277 static const char* argumentList[] ={"" , "QShowEvent*"};
8278 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
8279 void* args[2] = {NULL, (void*)&arg__1};
8280 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8281 if (result) { Py_DECREF(result); }
8282 Py_DECREF(obj);
8283 return;
8284 }
8285 }
8286 genericBinaryFileWidget::showEvent(arg__1);
8287 }
8288 QSize PythonQtShell_genericBinaryFileWidget::sizeHint() const
8289 {
8290 if (_wrapper) {
8291 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getSizeHint");
8292 PyErr_Clear();
8293 if (obj && !PythonQtSlotFunction_Check(obj)) {
8294 static const char* argumentList[] ={"QSize"};
8295 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
8296 QSize returnValue;
8297 void* args[1] = {NULL};
8298 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8299 if (result) {
8300 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
8301 if (args[0]!=&returnValue) {
8302 if (args[0]==NULL) {
8303 PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result);
8304 } else {
8305 returnValue = *((QSize*)args[0]);
8306 }
8307 }
8308 }
8309 if (result) { Py_DECREF(result); }
8310 Py_DECREF(obj);
8311 return returnValue;
8312 }
8313 }
8314 return genericBinaryFileWidget::sizeHint();
8315 }
8316 void PythonQtShell_genericBinaryFileWidget::tabletEvent(QTabletEvent* arg__1)
8317 {
8318 if (_wrapper) {
8319 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent");
8320 PyErr_Clear();
8321 if (obj && !PythonQtSlotFunction_Check(obj)) {
8322 static const char* argumentList[] ={"" , "QTabletEvent*"};
8323 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
8324 void* args[2] = {NULL, (void*)&arg__1};
8325 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8326 if (result) { Py_DECREF(result); }
8327 Py_DECREF(obj);
8328 return;
8329 }
8330 }
8331 genericBinaryFileWidget::tabletEvent(arg__1);
8332 }
8333 void PythonQtShell_genericBinaryFileWidget::timerEvent(QTimerEvent* arg__1)
8334 {
8335 if (_wrapper) {
8336 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent");
8337 PyErr_Clear();
8338 if (obj && !PythonQtSlotFunction_Check(obj)) {
8339 static const char* argumentList[] ={"" , "QTimerEvent*"};
8340 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
8341 void* args[2] = {NULL, (void*)&arg__1};
8342 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8343 if (result) { Py_DECREF(result); }
8344 Py_DECREF(obj);
8345 return;
8346 }
8347 }
8348 genericBinaryFileWidget::timerEvent(arg__1);
8349 }
8350 void PythonQtShell_genericBinaryFileWidget::wheelEvent(QWheelEvent* arg__1)
8351 {
8352 if (_wrapper) {
8353 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent");
8354 PyErr_Clear();
8355 if (obj && !PythonQtSlotFunction_Check(obj)) {
8356 static const char* argumentList[] ={"" , "QWheelEvent*"};
8357 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
8358 void* args[2] = {NULL, (void*)&arg__1};
8359 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
8360 if (result) { Py_DECREF(result); }
8361 Py_DECREF(obj);
8362 return;
8363 }
8364 }
8365 genericBinaryFileWidget::wheelEvent(arg__1);
8366 }
8367 genericBinaryFileWidget* PythonQtWrapper_genericBinaryFileWidget::new_genericBinaryFileWidget(QWidget* parent)
8368 {
8369 return new PythonQtShell_genericBinaryFileWidget(parent); }
8370
8371
8372
7460 8373 PythonQtShell_srecFile::~PythonQtShell_srecFile() {
7461 8374 PythonQtPrivate* priv = PythonQt::priv();
7462 8375 if (priv) { priv->shellClassDeleted(this); }
7463 8376 }
7464 8377 int PythonQtShell_srecFile::closeFile()
7465 8378 {
7466 8379 if (_wrapper) {
7467 8380 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeFile");
7468 8381 PyErr_Clear();
7469 8382 if (obj && !PythonQtSlotFunction_Check(obj)) {
7470 8383 static const char* argumentList[] ={"int"};
7471 8384 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
7472 8385 int returnValue;
7473 8386 void* args[1] = {NULL};
7474 8387 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7475 8388 if (result) {
7476 8389 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
7477 8390 if (args[0]!=&returnValue) {
7478 8391 if (args[0]==NULL) {
7479 8392 PythonQt::priv()->handleVirtualOverloadReturnError("closeFile", methodInfo, result);
7480 8393 } else {
7481 8394 returnValue = *((int*)args[0]);
7482 8395 }
7483 8396 }
7484 8397 }
7485 8398 if (result) { Py_DECREF(result); }
7486 8399 Py_DECREF(obj);
7487 8400 return returnValue;
7488 8401 }
7489 8402 }
7490 8403 return srecFile::closeFile();
7491 8404 }
7492 8405 QList<codeFragment* > PythonQtShell_srecFile::getFragments()
7493 8406 {
7494 8407 if (_wrapper) {
7495 8408 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "getFragments");
7496 8409 PyErr_Clear();
7497 8410 if (obj && !PythonQtSlotFunction_Check(obj)) {
7498 8411 static const char* argumentList[] ={"QList<codeFragment* >"};
7499 8412 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
7500 8413 QList<codeFragment* > returnValue;
7501 8414 void* args[1] = {NULL};
7502 8415 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7503 8416 if (result) {
7504 8417 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
7505 8418 if (args[0]!=&returnValue) {
7506 8419 if (args[0]==NULL) {
7507 8420 PythonQt::priv()->handleVirtualOverloadReturnError("getFragments", methodInfo, result);
7508 8421 } else {
7509 8422 returnValue = *((QList<codeFragment* >*)args[0]);
7510 8423 }
7511 8424 }
7512 8425 }
7513 8426 if (result) { Py_DECREF(result); }
7514 8427 Py_DECREF(obj);
7515 8428 return returnValue;
7516 8429 }
7517 8430 }
7518 8431 return srecFile::getFragments();
7519 8432 }
7520 8433 bool PythonQtShell_srecFile::isopened()
7521 8434 {
7522 8435 if (_wrapper) {
7523 8436 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isopened");
7524 8437 PyErr_Clear();
7525 8438 if (obj && !PythonQtSlotFunction_Check(obj)) {
7526 8439 static const char* argumentList[] ={"bool"};
7527 8440 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
7528 8441 bool returnValue;
7529 8442 void* args[1] = {NULL};
7530 8443 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7531 8444 if (result) {
7532 8445 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
7533 8446 if (args[0]!=&returnValue) {
7534 8447 if (args[0]==NULL) {
7535 8448 PythonQt::priv()->handleVirtualOverloadReturnError("isopened", methodInfo, result);
7536 8449 } else {
7537 8450 returnValue = *((bool*)args[0]);
7538 8451 }
7539 8452 }
7540 8453 }
7541 8454 if (result) { Py_DECREF(result); }
7542 8455 Py_DECREF(obj);
7543 8456 return returnValue;
7544 8457 }
7545 8458 }
7546 8459 return srecFile::isopened();
7547 8460 }
7548 8461 bool PythonQtShell_srecFile::openFile(const QString& File)
7549 8462 {
7550 8463 if (_wrapper) {
7551 8464 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "openFile");
7552 8465 PyErr_Clear();
7553 8466 if (obj && !PythonQtSlotFunction_Check(obj)) {
7554 8467 static const char* argumentList[] ={"bool" , "const QString&"};
7555 8468 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7556 8469 bool returnValue;
7557 8470 void* args[2] = {NULL, (void*)&File};
7558 8471 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7559 8472 if (result) {
7560 8473 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
7561 8474 if (args[0]!=&returnValue) {
7562 8475 if (args[0]==NULL) {
7563 8476 PythonQt::priv()->handleVirtualOverloadReturnError("openFile", methodInfo, result);
7564 8477 } else {
7565 8478 returnValue = *((bool*)args[0]);
7566 8479 }
7567 8480 }
7568 8481 }
7569 8482 if (result) { Py_DECREF(result); }
7570 8483 Py_DECREF(obj);
7571 8484 return returnValue;
7572 8485 }
7573 8486 }
7574 8487 return srecFile::openFile(File);
7575 8488 }
7576 8489 bool PythonQtShell_srecFile::toBinary(const QString& File)
7577 8490 {
7578 8491 if (_wrapper) {
7579 8492 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "toBinary");
7580 8493 PyErr_Clear();
7581 8494 if (obj && !PythonQtSlotFunction_Check(obj)) {
7582 8495 static const char* argumentList[] ={"bool" , "const QString&"};
7583 8496 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7584 8497 bool returnValue;
7585 8498 void* args[2] = {NULL, (void*)&File};
7586 8499 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7587 8500 if (result) {
7588 8501 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
7589 8502 if (args[0]!=&returnValue) {
7590 8503 if (args[0]==NULL) {
7591 8504 PythonQt::priv()->handleVirtualOverloadReturnError("toBinary", methodInfo, result);
7592 8505 } else {
7593 8506 returnValue = *((bool*)args[0]);
7594 8507 }
7595 8508 }
7596 8509 }
7597 8510 if (result) { Py_DECREF(result); }
7598 8511 Py_DECREF(obj);
7599 8512 return returnValue;
7600 8513 }
7601 8514 }
7602 8515 return srecFile::toBinary(File);
7603 8516 }
7604 8517 bool PythonQtShell_srecFile::toSrec(const QString& File)
7605 8518 {
7606 8519 if (_wrapper) {
7607 8520 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "toSrec");
7608 8521 PyErr_Clear();
7609 8522 if (obj && !PythonQtSlotFunction_Check(obj)) {
7610 8523 static const char* argumentList[] ={"bool" , "const QString&"};
7611 8524 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7612 8525 bool returnValue;
7613 8526 void* args[2] = {NULL, (void*)&File};
7614 8527 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7615 8528 if (result) {
7616 8529 args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue);
7617 8530 if (args[0]!=&returnValue) {
7618 8531 if (args[0]==NULL) {
7619 8532 PythonQt::priv()->handleVirtualOverloadReturnError("toSrec", methodInfo, result);
7620 8533 } else {
7621 8534 returnValue = *((bool*)args[0]);
7622 8535 }
7623 8536 }
7624 8537 }
7625 8538 if (result) { Py_DECREF(result); }
7626 8539 Py_DECREF(obj);
7627 8540 return returnValue;
7628 8541 }
7629 8542 }
7630 8543 return srecFile::toSrec(File);
7631 8544 }
7632 8545 srecFile* PythonQtWrapper_srecFile::new_srecFile()
7633 8546 {
7634 8547 return new PythonQtShell_srecFile(); }
7635 8548
7636 8549 srecFile* PythonQtWrapper_srecFile::new_srecFile(const QString& File)
7637 8550 {
7638 8551 return new PythonQtShell_srecFile(File); }
7639 8552
7640 8553 srecFile* PythonQtWrapper_srecFile::new_srecFile(const QStringList& Files)
7641 8554 {
7642 8555 return new PythonQtShell_srecFile(Files); }
7643 8556
8557 bool PythonQtWrapper_srecFile::static_srecFile_checkSum(const QString& line)
8558 {
8559 return (srecFile::checkSum(line));
8560 }
8561
7644 8562 int PythonQtWrapper_srecFile::closeFile(srecFile* theWrappedObject)
7645 8563 {
7646 8564 return ( ((PythonQtPublicPromoter_srecFile*)theWrappedObject)->promoted_closeFile());
7647 8565 }
7648 8566
7649 8567 codeFragment* PythonQtWrapper_srecFile::getFragment(srecFile* theWrappedObject, int index)
7650 8568 {
7651 8569 return ( theWrappedObject->getFragment(index));
7652 8570 }
7653 8571
7654 8572 int PythonQtWrapper_srecFile::getFragmentAddress(srecFile* theWrappedObject, int index)
7655 8573 {
7656 8574 return ( theWrappedObject->getFragmentAddress(index));
7657 8575 }
7658 8576
7659 8577 bool PythonQtWrapper_srecFile::getFragmentData(srecFile* theWrappedObject, int index, char** buffer)
7660 8578 {
7661 8579 return ( theWrappedObject->getFragmentData(index, buffer));
7662 8580 }
7663 8581
7664 8582 QString PythonQtWrapper_srecFile::getFragmentHeader(srecFile* theWrappedObject, int index)
7665 8583 {
7666 8584 return ( theWrappedObject->getFragmentHeader(index));
7667 8585 }
7668 8586
7669 8587 int PythonQtWrapper_srecFile::getFragmentSize(srecFile* theWrappedObject, int index)
7670 8588 {
7671 8589 return ( theWrappedObject->getFragmentSize(index));
7672 8590 }
7673 8591
7674 8592 QList<codeFragment* > PythonQtWrapper_srecFile::getFragments(srecFile* theWrappedObject)
7675 8593 {
7676 8594 return ( ((PythonQtPublicPromoter_srecFile*)theWrappedObject)->promoted_getFragments());
7677 8595 }
7678 8596
7679 8597 int PythonQtWrapper_srecFile::getFragmentsCount(srecFile* theWrappedObject)
7680 8598 {
7681 8599 return ( theWrappedObject->getFragmentsCount());
7682 8600 }
7683 8601
7684 8602 bool PythonQtWrapper_srecFile::isSREC(srecFile* theWrappedObject)
7685 8603 {
7686 8604 return ( theWrappedObject->isSREC());
7687 8605 }
7688 8606
7689 8607 bool PythonQtWrapper_srecFile::static_srecFile_isSREC(const QString& File)
7690 8608 {
7691 8609 return (srecFile::isSREC(File));
7692 8610 }
7693 8611
7694 8612 bool PythonQtWrapper_srecFile::isopened(srecFile* theWrappedObject)
7695 8613 {
7696 8614 return ( ((PythonQtPublicPromoter_srecFile*)theWrappedObject)->promoted_isopened());
7697 8615 }
7698 8616
7699 8617 int PythonQtWrapper_srecFile::lineCount(srecFile* theWrappedObject)
7700 8618 {
7701 8619 return ( theWrappedObject->lineCount());
7702 8620 }
7703 8621
7704 8622 bool PythonQtWrapper_srecFile::mergingRecords(srecFile* theWrappedObject)
7705 8623 {
7706 8624 return ( theWrappedObject->mergingRecords());
7707 8625 }
7708 8626
7709 8627 bool PythonQtWrapper_srecFile::openFile(srecFile* theWrappedObject, const QString& File)
7710 8628 {
7711 8629 return ( ((PythonQtPublicPromoter_srecFile*)theWrappedObject)->promoted_openFile(File));
7712 8630 }
7713 8631
7714 8632 bool PythonQtWrapper_srecFile::openFiles(srecFile* theWrappedObject, const QStringList& Files)
7715 8633 {
7716 8634 return ( theWrappedObject->openFiles(Files));
7717 8635 }
7718 8636
7719 8637 void PythonQtWrapper_srecFile::setMergingRecords(srecFile* theWrappedObject, bool enabled)
7720 8638 {
7721 8639 ( theWrappedObject->setMergingRecords(enabled));
7722 8640 }
7723 8641
7724 8642 bool PythonQtWrapper_srecFile::toBinary(srecFile* theWrappedObject, const QString& File)
7725 8643 {
7726 8644 return ( ((PythonQtPublicPromoter_srecFile*)theWrappedObject)->promoted_toBinary(File));
7727 8645 }
7728 8646
7729 8647 bool PythonQtWrapper_srecFile::static_srecFile_toSrec(QList<codeFragment* > fragments, const QString& File)
7730 8648 {
7731 8649 return (srecFile::toSrec(fragments, File));
7732 8650 }
7733 8651
7734 8652 bool PythonQtWrapper_srecFile::toSrec(srecFile* theWrappedObject, const QString& File)
7735 8653 {
7736 8654 return ( ((PythonQtPublicPromoter_srecFile*)theWrappedObject)->promoted_toSrec(File));
7737 8655 }
7738 8656
7739 8657
7740 8658
7741 8659 PythonQtShell_srecFileWidget::~PythonQtShell_srecFileWidget() {
7742 8660 PythonQtPrivate* priv = PythonQt::priv();
7743 8661 if (priv) { priv->shellClassDeleted(this); }
7744 8662 }
7745 8663 void PythonQtShell_srecFileWidget::reloadFile()
7746 8664 {
7747 8665 if (_wrapper) {
7748 8666 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "reloadFile");
7749 8667 PyErr_Clear();
7750 8668 if (obj && !PythonQtSlotFunction_Check(obj)) {
7751 8669 static const char* argumentList[] ={""};
7752 8670 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
7753 8671 void* args[1] = {NULL};
7754 8672 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7755 8673 if (result) { Py_DECREF(result); }
7756 8674 Py_DECREF(obj);
7757 8675 return;
7758 8676 }
7759 8677 }
7760 8678 srecFileWidget::reloadFile();
7761 8679 }
7762 8680 void PythonQtShell_srecFileWidget::setFile(abstractBinFile* file)
7763 8681 {
7764 8682 if (_wrapper) {
7765 8683 PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setFile");
7766 8684 PyErr_Clear();
7767 8685 if (obj && !PythonQtSlotFunction_Check(obj)) {
7768 8686 static const char* argumentList[] ={"" , "abstractBinFile*"};
7769 8687 static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
7770 8688 void* args[2] = {NULL, (void*)&file};
7771 8689 PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
7772 8690 if (result) { Py_DECREF(result); }
7773 8691 Py_DECREF(obj);
7774 8692 return;
7775 8693 }
7776 8694 }
7777 8695 srecFileWidget::setFile(file);
7778 8696 }
7779 8697 srecFileWidget* PythonQtWrapper_srecFileWidget::new_srecFileWidget(QWidget* parent)
7780 8698 {
7781 8699 return new PythonQtShell_srecFileWidget(parent); }
7782 8700
7783 8701 void PythonQtWrapper_srecFileWidget::reloadFile(srecFileWidget* theWrappedObject)
7784 8702 {
7785 8703 ( ((PythonQtPublicPromoter_srecFileWidget*)theWrappedObject)->promoted_reloadFile());
7786 8704 }
7787 8705
7788 8706 void PythonQtWrapper_srecFileWidget::setFile(srecFileWidget* theWrappedObject, abstractBinFile* file)
7789 8707 {
7790 8708 ( ((PythonQtPublicPromoter_srecFileWidget*)theWrappedObject)->promoted_setFile(file));
7791 8709 }
7792 8710
7793 8711
@@ -1,1021 +1,1090
1 1 #include <PythonQt.h>
2 2 #include <QIconEngine>
3 3 #include <QObject>
4 #include <QSpinBox>
5 4 #include <QVariant>
6 #include <QWidget>
7 5 #include <SocExplorerPlot.h>
8 6 #include <abstractbinfile.h>
9 7 #include <binaryfile.h>
10 8 #include <binaryfilewidget.h>
11 9 #include <elffile.h>
12 10 #include <elffilewidget.h>
13 11 #include <elfinfowdgt.h>
14 12 #include <elfparser.h>
13 #include <genericbinaryfilewidget.h>
15 14 #include <memsizewdgt.h>
16 15 #include <qaction.h>
17 16 #include <qbitmap.h>
18 17 #include <qbytearray.h>
19 18 #include <qcolor.h>
20 19 #include <qcoreevent.h>
21 20 #include <qcursor.h>
22 21 #include <qevent.h>
23 22 #include <qfile.h>
24 23 #include <qfont.h>
25 24 #include <qgraphicseffect.h>
26 25 #include <qgraphicsproxywidget.h>
27 26 #include <qhexedit.h>
28 27 #include <qhexspinbox.h>
29 28 #include <qkeysequence.h>
30 29 #include <qlayout.h>
31 30 #include <qlineedit.h>
32 31 #include <qlist.h>
33 32 #include <qlocale.h>
34 33 #include <qmargins.h>
35 34 #include <qobject.h>
36 35 #include <qpaintdevice.h>
37 36 #include <qpaintengine.h>
38 37 #include <qpainter.h>
39 38 #include <qpalette.h>
40 39 #include <qpen.h>
41 40 #include <qpixmap.h>
42 41 #include <qpoint.h>
43 42 #include <qrect.h>
44 43 #include <qregion.h>
45 44 #include <qscrollarea.h>
46 45 #include <qscrollbar.h>
47 46 #include <qsize.h>
48 47 #include <qsizepolicy.h>
49 48 #include <qspinbox.h>
50 49 #include <qstringlist.h>
51 50 #include <qstyle.h>
52 51 #include <qstyleoption.h>
53 52 #include <qwidget.h>
54 53 #include <srecfile.h>
55 54 #include <srecfilewidget.h>
56 55 #include <tcp_terminal_client.h>
57 56 #include <xbytearray.h>
58 57
59 58
60 59
61 60 class PythonQtShell_ElfFile : public ElfFile
62 61 {
63 62 public:
64 63 PythonQtShell_ElfFile():ElfFile(),_wrapper(NULL) {};
65 64 PythonQtShell_ElfFile(const QString& File):ElfFile(File),_wrapper(NULL) {};
66 65
67 66 ~PythonQtShell_ElfFile();
68 67
69 68 virtual int closeFile();
70 69 virtual QList<codeFragment* > getFragments();
71 70 virtual bool isopened();
72 71 virtual bool openFile(const QString& File);
73 72 virtual bool toBinary(const QString& File);
74 73 virtual bool toSrec(const QString& File);
75 74
76 75 PythonQtInstanceWrapper* _wrapper;
77 76 };
78 77
79 78 class PythonQtPublicPromoter_ElfFile : public ElfFile
80 79 { public:
81 80 inline int promoted_closeFile() { return ElfFile::closeFile(); }
82 81 inline QList<codeFragment* > promoted_getFragments() { return ElfFile::getFragments(); }
83 82 inline bool promoted_isopened() { return ElfFile::isopened(); }
84 83 inline bool promoted_openFile(const QString& File) { return ElfFile::openFile(File); }
85 84 inline bool promoted_toBinary(const QString& File) { return ElfFile::toBinary(File); }
86 85 inline bool promoted_toSrec(const QString& File) { return ElfFile::toSrec(File); }
87 86 };
88 87
89 88 class PythonQtWrapper_ElfFile : public QObject
90 89 { Q_OBJECT
91 90 public:
92 91 public slots:
93 92 ElfFile* new_ElfFile();
94 93 ElfFile* new_ElfFile(const QString& File);
95 94 void delete_ElfFile(ElfFile* obj) { delete obj; }
96 95 int closeFile(ElfFile* theWrappedObject);
97 96 QString getABI(ElfFile* theWrappedObject);
98 97 QString getArchitecture(ElfFile* theWrappedObject);
99 98 QString getClass(ElfFile* theWrappedObject);
100 99 QString getEndianness(ElfFile* theWrappedObject);
101 100 qint64 getEntryPointAddress(ElfFile* theWrappedObject);
102 101 QList<codeFragment* > getFragments(ElfFile* theWrappedObject);
103 102 QList<codeFragment* > getFragments(ElfFile* theWrappedObject, QStringList fragmentList);
104 103 int getSectionCount(ElfFile* theWrappedObject);
105 104 bool getSectionData(ElfFile* theWrappedObject, int index, char** buffer);
106 105 qint64 getSectionDatasz(ElfFile* theWrappedObject, int index);
107 106 int getSectionIndex(ElfFile* theWrappedObject, QString name);
108 107 qint64 getSectionMemsz(ElfFile* theWrappedObject, int index);
109 108 QString getSectionName(ElfFile* theWrappedObject, int index);
110 109 qint64 getSectionPaddr(ElfFile* theWrappedObject, int index);
111 110 QString getSectionType(ElfFile* theWrappedObject, int index);
112 111 int getSegmentCount(ElfFile* theWrappedObject);
113 112 qint64 getSegmentFilesz(ElfFile* theWrappedObject, int index);
114 113 QString getSegmentFlags(ElfFile* theWrappedObject, int index);
115 114 qint64 getSegmentMemsz(ElfFile* theWrappedObject, int index);
116 115 qint64 getSegmentOffset(ElfFile* theWrappedObject, int index);
117 116 qint64 getSegmentPaddr(ElfFile* theWrappedObject, int index);
118 117 QString getSegmentType(ElfFile* theWrappedObject, int index);
119 118 qint64 getSegmentVaddr(ElfFile* theWrappedObject, int index);
120 119 quint64 getSymbolAddress(ElfFile* theWrappedObject, int index);
121 120 int getSymbolCount(ElfFile* theWrappedObject);
122 121 QString getSymbolLinkType(ElfFile* theWrappedObject, int index);
123 122 QString getSymbolName(ElfFile* theWrappedObject, int index);
124 123 int getSymbolSectionIndex(ElfFile* theWrappedObject, int index);
125 124 QString getSymbolSectionName(ElfFile* theWrappedObject, int index);
126 125 quint64 getSymbolSize(ElfFile* theWrappedObject, int index);
127 126 QString getSymbolType(ElfFile* theWrappedObject, int index);
128 127 QString getType(ElfFile* theWrappedObject);
129 128 qint64 getVersion(ElfFile* theWrappedObject);
130 129 bool static_ElfFile_isElf(const QString& File);
131 130 bool iself(ElfFile* theWrappedObject);
132 131 bool isopened(ElfFile* theWrappedObject);
133 132 bool openFile(ElfFile* theWrappedObject, const QString& File);
134 133 bool sectionIsNobits(ElfFile* theWrappedObject, int index);
135 134 bool toBinary(ElfFile* theWrappedObject, const QString& File);
136 135 bool toSrec(ElfFile* theWrappedObject, const QString& File);
137 136 };
138 137
139 138
140 139
141 140
142 141
143 142 class PythonQtShell_MemSizeWdgt : public MemSizeWdgt
144 143 {
145 144 public:
146 145 PythonQtShell_MemSizeWdgt(QWidget* parent = 0):MemSizeWdgt(parent),_wrapper(NULL) {};
147 146 PythonQtShell_MemSizeWdgt(int defaultSize, QWidget* parent = 0):MemSizeWdgt(defaultSize, parent),_wrapper(NULL) {};
148 147
149 148 ~PythonQtShell_MemSizeWdgt();
150 149
151 150 virtual void actionEvent(QActionEvent* arg__1);
152 151 virtual void changeEvent(QEvent* arg__1);
153 152 virtual void childEvent(QChildEvent* arg__1);
154 153 virtual void closeEvent(QCloseEvent* arg__1);
155 154 virtual void contextMenuEvent(QContextMenuEvent* arg__1);
156 155 virtual void customEvent(QEvent* arg__1);
157 156 virtual int devType() const;
158 157 virtual void dragEnterEvent(QDragEnterEvent* arg__1);
159 158 virtual void dragLeaveEvent(QDragLeaveEvent* arg__1);
160 159 virtual void dragMoveEvent(QDragMoveEvent* arg__1);
161 160 virtual void dropEvent(QDropEvent* arg__1);
162 161 virtual void enterEvent(QEvent* arg__1);
163 162 virtual bool event(QEvent* arg__1);
164 163 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
165 164 virtual void focusInEvent(QFocusEvent* arg__1);
166 165 virtual bool focusNextPrevChild(bool next);
167 166 virtual void focusOutEvent(QFocusEvent* arg__1);
168 167 virtual bool hasHeightForWidth() const;
169 168 virtual int heightForWidth(int arg__1) const;
170 169 virtual void hideEvent(QHideEvent* arg__1);
171 170 virtual void initPainter(QPainter* painter) const;
172 171 virtual void inputMethodEvent(QInputMethodEvent* arg__1);
173 172 virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const;
174 173 virtual void keyPressEvent(QKeyEvent* arg__1);
175 174 virtual void keyReleaseEvent(QKeyEvent* arg__1);
176 175 virtual void leaveEvent(QEvent* arg__1);
177 176 virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
178 177 virtual QSize minimumSizeHint() const;
179 178 virtual void mouseDoubleClickEvent(QMouseEvent* arg__1);
180 179 virtual void mouseMoveEvent(QMouseEvent* arg__1);
181 180 virtual void mousePressEvent(QMouseEvent* arg__1);
182 181 virtual void mouseReleaseEvent(QMouseEvent* arg__1);
183 182 virtual void moveEvent(QMoveEvent* arg__1);
184 183 virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result);
185 184 virtual QPaintEngine* paintEngine() const;
186 185 virtual void paintEvent(QPaintEvent* arg__1);
187 186 virtual QPaintDevice* redirected(QPoint* offset) const;
188 187 virtual void resizeEvent(QResizeEvent* arg__1);
189 188 virtual QPainter* sharedPainter() const;
190 189 virtual void showEvent(QShowEvent* arg__1);
191 190 virtual QSize sizeHint() const;
192 191 virtual void tabletEvent(QTabletEvent* arg__1);
193 192 virtual void timerEvent(QTimerEvent* arg__1);
194 193 virtual void wheelEvent(QWheelEvent* arg__1);
195 194
196 195 PythonQtInstanceWrapper* _wrapper;
197 196 };
198 197
199 198 class PythonQtWrapper_MemSizeWdgt : public QObject
200 199 { Q_OBJECT
201 200 public:
202 201 public slots:
203 202 MemSizeWdgt* new_MemSizeWdgt(QWidget* parent = 0);
204 203 MemSizeWdgt* new_MemSizeWdgt(int defaultSize, QWidget* parent = 0);
205 204 void delete_MemSizeWdgt(MemSizeWdgt* obj) { delete obj; }
206 205 int getsize(MemSizeWdgt* theWrappedObject);
207 206 void setMaximum(MemSizeWdgt* theWrappedObject, unsigned int max);
208 207 void show(MemSizeWdgt* theWrappedObject);
209 208 void updateSizeValue(MemSizeWdgt* theWrappedObject);
210 209 };
211 210
212 211
213 212
214 213
215 214
216 215 class PythonQtShell_QHexEdit : public QHexEdit
217 216 {
218 217 public:
219 218 PythonQtShell_QHexEdit(QWidget* parent = 0):QHexEdit(parent),_wrapper(NULL) {};
220 219
221 220 ~PythonQtShell_QHexEdit();
222 221
223 222 virtual void actionEvent(QActionEvent* arg__1);
224 223 virtual void changeEvent(QEvent* arg__1);
225 224 virtual void childEvent(QChildEvent* arg__1);
226 225 virtual void closeEvent(QCloseEvent* arg__1);
227 226 virtual void contextMenuEvent(QContextMenuEvent* arg__1);
228 227 virtual void customEvent(QEvent* arg__1);
229 228 virtual int devType() const;
230 229 virtual void dragEnterEvent(QDragEnterEvent* arg__1);
231 230 virtual void dragLeaveEvent(QDragLeaveEvent* arg__1);
232 231 virtual void dragMoveEvent(QDragMoveEvent* arg__1);
233 232 virtual void dropEvent(QDropEvent* arg__1);
234 233 virtual void enterEvent(QEvent* arg__1);
235 234 virtual bool event(QEvent* arg__1);
236 235 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
237 236 virtual void focusInEvent(QFocusEvent* arg__1);
238 237 virtual bool focusNextPrevChild(bool next);
239 238 virtual void focusOutEvent(QFocusEvent* arg__1);
240 239 virtual bool hasHeightForWidth() const;
241 240 virtual int heightForWidth(int arg__1) const;
242 241 virtual void hideEvent(QHideEvent* arg__1);
243 242 virtual void initPainter(QPainter* painter) const;
244 243 virtual void inputMethodEvent(QInputMethodEvent* arg__1);
245 244 virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const;
246 245 virtual void keyPressEvent(QKeyEvent* arg__1);
247 246 virtual void keyReleaseEvent(QKeyEvent* arg__1);
248 247 virtual void leaveEvent(QEvent* arg__1);
249 248 virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
250 249 virtual void mouseDoubleClickEvent(QMouseEvent* arg__1);
251 250 virtual void mouseMoveEvent(QMouseEvent* arg__1);
252 251 virtual void mousePressEvent(QMouseEvent* arg__1);
253 252 virtual void mouseReleaseEvent(QMouseEvent* arg__1);
254 253 virtual void moveEvent(QMoveEvent* arg__1);
255 254 virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result);
256 255 virtual QPaintEngine* paintEngine() const;
257 256 virtual void paintEvent(QPaintEvent* arg__1);
258 257 virtual QPaintDevice* redirected(QPoint* offset) const;
259 258 virtual void resizeEvent(QResizeEvent* arg__1);
260 259 virtual void scrollContentsBy(int dx, int dy);
261 260 virtual void setupViewport(QWidget* viewport);
262 261 virtual QPainter* sharedPainter() const;
263 262 virtual void showEvent(QShowEvent* arg__1);
264 263 virtual void tabletEvent(QTabletEvent* arg__1);
265 264 virtual void timerEvent(QTimerEvent* arg__1);
266 265 virtual bool viewportEvent(QEvent* arg__1);
267 266 virtual QSize viewportSizeHint() const;
268 267 virtual void wheelEvent(QWheelEvent* arg__1);
269 268
270 269 PythonQtInstanceWrapper* _wrapper;
271 270 };
272 271
273 272 class PythonQtWrapper_QHexEdit : public QObject
274 273 { Q_OBJECT
275 274 public:
276 275 public slots:
277 276 QHexEdit* new_QHexEdit(QWidget* parent = 0);
278 277 void delete_QHexEdit(QHexEdit* obj) { delete obj; }
279 278 QColor addressAreaColor(QHexEdit* theWrappedObject);
280 279 int addressOffset(QHexEdit* theWrappedObject);
281 280 int cursorPosition(QHexEdit* theWrappedObject);
282 281 QByteArray data(QHexEdit* theWrappedObject);
283 282 const QFont* font(QHexEdit* theWrappedObject) const;
284 283 int getSelectionBegin(QHexEdit* theWrappedObject);
285 284 int getSelectionEnd(QHexEdit* theWrappedObject);
286 285 QColor highlightingColor(QHexEdit* theWrappedObject);
287 286 int indexOf(QHexEdit* theWrappedObject, const QByteArray& ba, int from = 0) const;
288 287 void insert(QHexEdit* theWrappedObject, int i, char ch);
289 288 void insert(QHexEdit* theWrappedObject, int i, const QByteArray& ba);
290 289 bool isReadOnly(QHexEdit* theWrappedObject);
291 290 int lastIndexOf(QHexEdit* theWrappedObject, const QByteArray& ba, int from = 0) const;
292 291 bool overwriteMode(QHexEdit* theWrappedObject);
293 292 void remove(QHexEdit* theWrappedObject, int pos, int len = 1);
294 293 void replace(QHexEdit* theWrappedObject, int pos, int len, const QByteArray& after);
295 294 void resetSelection(QHexEdit* theWrappedObject);
296 295 void resetSelection(QHexEdit* theWrappedObject, int pos);
297 296 QColor selectionColor(QHexEdit* theWrappedObject);
298 297 QString selectionToReadableString(QHexEdit* theWrappedObject);
299 298 void setAddressAreaColor(QHexEdit* theWrappedObject, const QColor& color);
300 299 void setAddressOffset(QHexEdit* theWrappedObject, int offset);
301 300 void setCursorPosition(QHexEdit* theWrappedObject, int cusorPos);
302 301 void setData(QHexEdit* theWrappedObject, const QByteArray& data);
303 302 void setFont(QHexEdit* theWrappedObject, const QFont& arg__1);
304 303 void setHighlightingColor(QHexEdit* theWrappedObject, const QColor& color);
305 304 void setOverwriteMode(QHexEdit* theWrappedObject, bool arg__1);
306 305 void setReadOnly(QHexEdit* theWrappedObject, bool arg__1);
307 306 void setSelection(QHexEdit* theWrappedObject, int pos);
308 307 void setSelectionColor(QHexEdit* theWrappedObject, const QColor& color);
309 308 QString toReadableString(QHexEdit* theWrappedObject);
310 309 };
311 310
312 311
313 312
314 313
315 314
316 315 class PythonQtShell_QHexSpinBox : public QHexSpinBox
317 316 {
318 317 public:
319 318 PythonQtShell_QHexSpinBox(QWidget* parent = 0):QHexSpinBox(parent),_wrapper(NULL) {};
320 319
321 320 ~PythonQtShell_QHexSpinBox();
322 321
323 322 virtual void actionEvent(QActionEvent* arg__1);
324 323 virtual void changeEvent(QEvent* event);
325 324 virtual void childEvent(QChildEvent* arg__1);
326 325 virtual void clear();
327 326 virtual void closeEvent(QCloseEvent* event);
328 327 virtual void contextMenuEvent(QContextMenuEvent* event);
329 328 virtual void customEvent(QEvent* arg__1);
330 329 virtual int devType() const;
331 330 virtual void dragEnterEvent(QDragEnterEvent* arg__1);
332 331 virtual void dragLeaveEvent(QDragLeaveEvent* arg__1);
333 332 virtual void dragMoveEvent(QDragMoveEvent* arg__1);
334 333 virtual void dropEvent(QDropEvent* arg__1);
335 334 virtual void enterEvent(QEvent* arg__1);
336 335 virtual bool event(QEvent* event);
337 336 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
338 337 virtual void fixup(QString& str) const;
339 338 virtual void focusInEvent(QFocusEvent* event);
340 339 virtual bool focusNextPrevChild(bool next);
341 340 virtual void focusOutEvent(QFocusEvent* event);
342 341 virtual bool hasHeightForWidth() const;
343 342 virtual int heightForWidth(int arg__1) const;
344 343 virtual void hideEvent(QHideEvent* event);
345 344 virtual void initPainter(QPainter* painter) const;
346 345 virtual void inputMethodEvent(QInputMethodEvent* arg__1);
347 346 virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const;
348 347 virtual void keyPressEvent(QKeyEvent* event);
349 348 virtual void keyReleaseEvent(QKeyEvent* event);
350 349 virtual void leaveEvent(QEvent* arg__1);
351 350 virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
352 351 virtual void mouseDoubleClickEvent(QMouseEvent* arg__1);
353 352 virtual void mouseMoveEvent(QMouseEvent* event);
354 353 virtual void mousePressEvent(QMouseEvent* event);
355 354 virtual void mouseReleaseEvent(QMouseEvent* event);
356 355 virtual void moveEvent(QMoveEvent* arg__1);
357 356 virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result);
358 357 virtual QPaintEngine* paintEngine() const;
359 358 virtual void paintEvent(QPaintEvent* event);
360 359 virtual QPaintDevice* redirected(QPoint* offset) const;
361 360 virtual void resizeEvent(QResizeEvent* event);
362 361 virtual QPainter* sharedPainter() const;
363 362 virtual void showEvent(QShowEvent* event);
364 363 virtual void stepBy(int steps);
365 364 virtual QAbstractSpinBox::StepEnabled stepEnabled() const;
366 365 virtual void tabletEvent(QTabletEvent* arg__1);
367 366 virtual QString textFromValue(int value) const;
368 367 virtual void timerEvent(QTimerEvent* event);
369 368 virtual QValidator::State validate(QString& input, int& pos) const;
370 369 virtual int valueFromText(const QString& text) const;
371 370 virtual void wheelEvent(QWheelEvent* event);
372 371
373 372 PythonQtInstanceWrapper* _wrapper;
374 373 };
375 374
376 375 class PythonQtPublicPromoter_QHexSpinBox : public QHexSpinBox
377 376 { public:
378 377 inline QString promoted_textFromValue(int value) const { return QHexSpinBox::textFromValue(value); }
379 378 inline QValidator::State promoted_validate(QString& input, int& pos) const { return QHexSpinBox::validate(input, pos); }
380 379 inline int promoted_valueFromText(const QString& text) const { return QHexSpinBox::valueFromText(text); }
381 380 };
382 381
383 382 class PythonQtWrapper_QHexSpinBox : public QObject
384 383 { Q_OBJECT
385 384 public:
386 385 public slots:
387 386 QHexSpinBox* new_QHexSpinBox(QWidget* parent = 0);
388 387 void delete_QHexSpinBox(QHexSpinBox* obj) { delete obj; }
389 388 void show(QHexSpinBox* theWrappedObject);
390 389 QString textFromValue(QHexSpinBox* theWrappedObject, int value) const;
391 390 QValidator::State validate(QHexSpinBox* theWrappedObject, QString& input, int& pos) const;
392 391 int valueFromText(QHexSpinBox* theWrappedObject, const QString& text) const;
393 392 };
394 393
395 394
396 395
397 396
398 397
399 398 class PythonQtShell_SocExplorerPlot : public SocExplorerPlot
400 399 {
401 400 public:
402 401 PythonQtShell_SocExplorerPlot(QWidget* parent = 0):SocExplorerPlot(parent),_wrapper(NULL) {};
403 402
404 403 ~PythonQtShell_SocExplorerPlot();
405 404
406 405 virtual void actionEvent(QActionEvent* arg__1);
407 406 virtual void changeEvent(QEvent* arg__1);
408 407 virtual void childEvent(QChildEvent* arg__1);
409 408 virtual void closeEvent(QCloseEvent* arg__1);
410 409 virtual void contextMenuEvent(QContextMenuEvent* arg__1);
411 410 virtual void customEvent(QEvent* arg__1);
412 411 virtual int devType() const;
413 412 virtual void dragEnterEvent(QDragEnterEvent* arg__1);
414 413 virtual void dragLeaveEvent(QDragLeaveEvent* arg__1);
415 414 virtual void dragMoveEvent(QDragMoveEvent* arg__1);
416 415 virtual void dropEvent(QDropEvent* arg__1);
417 416 virtual void enterEvent(QEvent* arg__1);
418 417 virtual bool event(QEvent* arg__1);
419 418 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
420 419 virtual void focusInEvent(QFocusEvent* arg__1);
421 420 virtual bool focusNextPrevChild(bool next);
422 421 virtual void focusOutEvent(QFocusEvent* arg__1);
423 422 virtual bool hasHeightForWidth() const;
424 423 virtual int heightForWidth(int arg__1) const;
425 424 virtual void hideEvent(QHideEvent* arg__1);
426 425 virtual void initPainter(QPainter* painter) const;
427 426 virtual void inputMethodEvent(QInputMethodEvent* arg__1);
428 427 virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const;
429 428 virtual void keyPressEvent(QKeyEvent* arg__1);
430 429 virtual void keyReleaseEvent(QKeyEvent* arg__1);
431 430 virtual void leaveEvent(QEvent* arg__1);
432 431 virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
433 432 virtual QSize minimumSizeHint() const;
434 433 virtual void mouseDoubleClickEvent(QMouseEvent* arg__1);
435 434 virtual void mouseMoveEvent(QMouseEvent* arg__1);
436 435 virtual void mousePressEvent(QMouseEvent* arg__1);
437 436 virtual void mouseReleaseEvent(QMouseEvent* arg__1);
438 437 virtual void moveEvent(QMoveEvent* arg__1);
439 438 virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result);
440 439 virtual QPaintEngine* paintEngine() const;
441 440 virtual void paintEvent(QPaintEvent* arg__1);
442 441 virtual QPaintDevice* redirected(QPoint* offset) const;
443 442 virtual void resizeEvent(QResizeEvent* arg__1);
444 443 virtual QPainter* sharedPainter() const;
445 444 virtual void showEvent(QShowEvent* arg__1);
446 445 virtual QSize sizeHint() const;
447 446 virtual void tabletEvent(QTabletEvent* arg__1);
448 447 virtual void timerEvent(QTimerEvent* arg__1);
449 448 virtual void wheelEvent(QWheelEvent* arg__1);
450 449
451 450 PythonQtInstanceWrapper* _wrapper;
452 451 };
453 452
454 453 class PythonQtPublicPromoter_SocExplorerPlot : public SocExplorerPlot
455 454 { public:
456 455 inline void promoted_keyPressEvent(QKeyEvent* arg__1) { SocExplorerPlot::keyPressEvent(arg__1); }
457 456 inline void promoted_keyReleaseEvent(QKeyEvent* arg__1) { SocExplorerPlot::keyReleaseEvent(arg__1); }
458 457 inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { SocExplorerPlot::mouseMoveEvent(arg__1); }
459 458 inline void promoted_mousePressEvent(QMouseEvent* arg__1) { SocExplorerPlot::mousePressEvent(arg__1); }
460 459 inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { SocExplorerPlot::mouseReleaseEvent(arg__1); }
461 460 inline void promoted_wheelEvent(QWheelEvent* arg__1) { SocExplorerPlot::wheelEvent(arg__1); }
462 461 };
463 462
464 463 class PythonQtWrapper_SocExplorerPlot : public QObject
465 464 { Q_OBJECT
466 465 public:
467 466 public slots:
468 467 SocExplorerPlot* new_SocExplorerPlot(QWidget* parent = 0);
469 468 void delete_SocExplorerPlot(SocExplorerPlot* obj) { delete obj; }
470 469 int addGraph(SocExplorerPlot* theWrappedObject);
471 470 void addGraphData(SocExplorerPlot* theWrappedObject, int graphIndex, QList<QVariant > x, QList<QVariant > y);
472 471 void addGraphData(SocExplorerPlot* theWrappedObject, int graphIndex, QVariant x, QVariant y);
473 472 QPen getGraphPen(SocExplorerPlot* theWrappedObject, int graphIndex);
474 473 void keyPressEvent(SocExplorerPlot* theWrappedObject, QKeyEvent* arg__1);
475 474 void keyReleaseEvent(SocExplorerPlot* theWrappedObject, QKeyEvent* arg__1);
476 475 void mouseMoveEvent(SocExplorerPlot* theWrappedObject, QMouseEvent* arg__1);
477 476 void mousePressEvent(SocExplorerPlot* theWrappedObject, QMouseEvent* arg__1);
478 477 void mouseReleaseEvent(SocExplorerPlot* theWrappedObject, QMouseEvent* arg__1);
479 478 void rescaleAxis(SocExplorerPlot* theWrappedObject);
480 479 void setAdaptativeSampling(SocExplorerPlot* theWrappedObject, int graphIndex, bool enable);
481 480 void setGraphData(SocExplorerPlot* theWrappedObject, int graphIndex, QList<QVariant > x, QList<QVariant > y);
482 481 void setGraphLineStyle(SocExplorerPlot* theWrappedObject, int graphIndex, QString lineStyle);
483 482 void setGraphName(SocExplorerPlot* theWrappedObject, int graphIndex, QString name);
484 483 void setGraphPen(SocExplorerPlot* theWrappedObject, int graphIndex, QPen pen);
485 484 void setGraphScatterStyle(SocExplorerPlot* theWrappedObject, int graphIndex, QString scatterStyle);
486 485 void setLegendFont(SocExplorerPlot* theWrappedObject, QFont font);
487 486 void setLegendSelectedFont(SocExplorerPlot* theWrappedObject, QFont font);
488 487 void setTitle(SocExplorerPlot* theWrappedObject, QString title);
489 488 void setXaxisLabel(SocExplorerPlot* theWrappedObject, QString label);
490 489 void setXaxisRange(SocExplorerPlot* theWrappedObject, double lower, double upper);
491 490 void setYaxisLabel(SocExplorerPlot* theWrappedObject, QString label);
492 491 void setYaxisRange(SocExplorerPlot* theWrappedObject, double lower, double upper);
493 492 void show(SocExplorerPlot* theWrappedObject);
494 493 void wheelEvent(SocExplorerPlot* theWrappedObject, QWheelEvent* arg__1);
495 494 };
496 495
497 496
498 497
499 498
500 499
501 500 class PythonQtShell_TCP_Terminal_Client : public TCP_Terminal_Client
502 501 {
503 502 public:
504 503 PythonQtShell_TCP_Terminal_Client(QObject* parent = 0):TCP_Terminal_Client(parent),_wrapper(NULL) {};
505 504
506 505 ~PythonQtShell_TCP_Terminal_Client();
507 506
508 507 virtual void childEvent(QChildEvent* arg__1);
509 508 virtual void customEvent(QEvent* arg__1);
510 509 virtual bool event(QEvent* arg__1);
511 510 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
512 511 virtual void timerEvent(QTimerEvent* arg__1);
513 512
514 513 PythonQtInstanceWrapper* _wrapper;
515 514 };
516 515
517 516 class PythonQtWrapper_TCP_Terminal_Client : public QObject
518 517 { Q_OBJECT
519 518 public:
520 519 public slots:
521 520 TCP_Terminal_Client* new_TCP_Terminal_Client(QObject* parent = 0);
522 521 void delete_TCP_Terminal_Client(TCP_Terminal_Client* obj) { delete obj; }
523 522 void connectToServer(TCP_Terminal_Client* theWrappedObject);
524 523 void connectToServer(TCP_Terminal_Client* theWrappedObject, const QString& IP, int port);
525 524 bool isConnected(TCP_Terminal_Client* theWrappedObject);
526 525 void sendText(TCP_Terminal_Client* theWrappedObject, const QString& text);
527 526 void startServer(TCP_Terminal_Client* theWrappedObject);
528 527 void startServer(TCP_Terminal_Client* theWrappedObject, int port);
529 528 };
530 529
531 530
532 531
533 532
534 533
535 534 class PythonQtWrapper_XByteArray : public QObject
536 535 { Q_OBJECT
537 536 public:
538 537 public slots:
539 538 XByteArray* new_XByteArray();
540 539 void delete_XByteArray(XByteArray* obj) { delete obj; }
541 540 int addressOffset(XByteArray* theWrappedObject);
542 541 int addressWidth(XByteArray* theWrappedObject);
543 542 QChar asciiChar(XByteArray* theWrappedObject, int index);
544 543 QByteArray* data(XByteArray* theWrappedObject);
545 544 bool dataChanged(XByteArray* theWrappedObject, int i);
546 545 QByteArray dataChanged(XByteArray* theWrappedObject, int i, int len);
547 546 QByteArray* insert(XByteArray* theWrappedObject, int i, char ch);
548 547 QByteArray* insert(XByteArray* theWrappedObject, int i, const QByteArray& ba);
549 548 int realAddressNumbers(XByteArray* theWrappedObject);
550 549 QByteArray* remove(XByteArray* theWrappedObject, int pos, int len);
551 550 QByteArray* replace(XByteArray* theWrappedObject, int index, char ch);
552 551 QByteArray* replace(XByteArray* theWrappedObject, int index, const QByteArray& ba);
553 552 QByteArray* replace(XByteArray* theWrappedObject, int index, int length, const QByteArray& ba);
554 553 void setAddressOffset(XByteArray* theWrappedObject, int offset);
555 554 void setAddressWidth(XByteArray* theWrappedObject, int width);
556 555 void setData(XByteArray* theWrappedObject, QByteArray data);
557 556 void setDataChanged(XByteArray* theWrappedObject, int i, bool state);
558 557 void setDataChanged(XByteArray* theWrappedObject, int i, const QByteArray& state);
559 558 int size(XByteArray* theWrappedObject);
560 559 QString toRedableString(XByteArray* theWrappedObject, int start = 0, int end = -1);
561 560 };
562 561
563 562
564 563
565 564
566 565
567 566 class PythonQtShell_abstractBinFile : public abstractBinFile
568 567 {
569 568 public:
570 569 PythonQtShell_abstractBinFile():abstractBinFile(),_wrapper(NULL) {};
571 570
572 571 ~PythonQtShell_abstractBinFile();
573 572
574 573 virtual void childEvent(QChildEvent* arg__1);
575 574 virtual int closeFile();
576 575 virtual void customEvent(QEvent* arg__1);
577 576 virtual bool event(QEvent* arg__1);
578 577 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
579 578 virtual QList<codeFragment* > getFragments();
580 579 virtual bool isopened();
581 580 virtual bool openFile(const QString& File);
582 581 virtual void timerEvent(QTimerEvent* arg__1);
583 582 virtual bool toBinary(const QString& File);
584 583 virtual bool toSrec(const QString& File);
585 584
586 585 PythonQtInstanceWrapper* _wrapper;
587 586 };
588 587
589 588 class PythonQtWrapper_abstractBinFile : public QObject
590 589 { Q_OBJECT
591 590 public:
592 591 public slots:
593 592 abstractBinFile* new_abstractBinFile();
594 593 void delete_abstractBinFile(abstractBinFile* obj) { delete obj; }
595 594 };
596 595
597 596
598 597
599 598
600 599
601 600 class PythonQtShell_abstractBinFileWidget : public abstractBinFileWidget
602 601 {
603 602 public:
604 603 PythonQtShell_abstractBinFileWidget(QWidget* parent = 0):abstractBinFileWidget(parent),_wrapper(NULL) {};
605 604
606 605 ~PythonQtShell_abstractBinFileWidget();
607 606
608 607 virtual void actionEvent(QActionEvent* arg__1);
609 608 virtual void changeEvent(QEvent* arg__1);
610 609 virtual void childEvent(QChildEvent* arg__1);
611 610 virtual void closeEvent(QCloseEvent* arg__1);
612 611 virtual void contextMenuEvent(QContextMenuEvent* arg__1);
613 612 virtual void customEvent(QEvent* arg__1);
614 613 virtual int devType() const;
615 614 virtual void dragEnterEvent(QDragEnterEvent* arg__1);
616 615 virtual void dragLeaveEvent(QDragLeaveEvent* arg__1);
617 616 virtual void dragMoveEvent(QDragMoveEvent* arg__1);
618 617 virtual void dropEvent(QDropEvent* arg__1);
619 618 virtual void enterEvent(QEvent* arg__1);
620 619 virtual bool event(QEvent* arg__1);
621 620 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
622 621 virtual void focusInEvent(QFocusEvent* arg__1);
623 622 virtual bool focusNextPrevChild(bool next);
624 623 virtual void focusOutEvent(QFocusEvent* arg__1);
625 624 virtual bool hasHeightForWidth() const;
626 625 virtual int heightForWidth(int arg__1) const;
627 626 virtual void hideEvent(QHideEvent* arg__1);
628 627 virtual void initPainter(QPainter* painter) const;
629 628 virtual void inputMethodEvent(QInputMethodEvent* arg__1);
630 629 virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const;
631 630 virtual void keyPressEvent(QKeyEvent* arg__1);
632 631 virtual void keyReleaseEvent(QKeyEvent* arg__1);
633 632 virtual void leaveEvent(QEvent* arg__1);
634 633 virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
635 634 virtual QSize minimumSizeHint() const;
636 635 virtual void mouseDoubleClickEvent(QMouseEvent* arg__1);
637 636 virtual void mouseMoveEvent(QMouseEvent* arg__1);
638 637 virtual void mousePressEvent(QMouseEvent* arg__1);
639 638 virtual void mouseReleaseEvent(QMouseEvent* arg__1);
640 639 virtual void moveEvent(QMoveEvent* arg__1);
641 640 virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result);
642 641 virtual QPaintEngine* paintEngine() const;
643 642 virtual void paintEvent(QPaintEvent* arg__1);
644 643 virtual QPaintDevice* redirected(QPoint* offset) const;
645 644 virtual void reloadFile();
646 645 virtual void resizeEvent(QResizeEvent* arg__1);
647 646 virtual void setFile(abstractBinFile* file);
648 647 virtual QPainter* sharedPainter() const;
649 648 virtual void showEvent(QShowEvent* arg__1);
650 649 virtual QSize sizeHint() const;
651 650 virtual void tabletEvent(QTabletEvent* arg__1);
652 651 virtual void timerEvent(QTimerEvent* arg__1);
653 652 virtual void wheelEvent(QWheelEvent* arg__1);
654 653
655 654 PythonQtInstanceWrapper* _wrapper;
656 655 };
657 656
658 657 class PythonQtWrapper_abstractBinFileWidget : public QObject
659 658 { Q_OBJECT
660 659 public:
661 660 public slots:
662 661 abstractBinFileWidget* new_abstractBinFileWidget(QWidget* parent = 0);
663 662 void delete_abstractBinFileWidget(abstractBinFileWidget* obj) { delete obj; }
664 663 };
665 664
666 665
667 666
668 667
669 668
670 669 class PythonQtShell_binaryFile : public binaryFile
671 670 {
672 671 public:
673 672 PythonQtShell_binaryFile():binaryFile(),_wrapper(NULL) {};
674 673 PythonQtShell_binaryFile(const QString& File):binaryFile(File),_wrapper(NULL) {};
675 674 PythonQtShell_binaryFile(const QStringList& Files):binaryFile(Files),_wrapper(NULL) {};
676 675
677 676 ~PythonQtShell_binaryFile();
678 677
679 678 virtual int closeFile();
680 679 virtual QList<codeFragment* > getFragments();
681 680 virtual bool isopened();
682 681 virtual bool openFile(const QString& File);
683 682 virtual bool toBinary(const QString& fileName);
684 683 virtual bool toSrec(const QString& fileName);
685 684
686 685 PythonQtInstanceWrapper* _wrapper;
687 686 };
688 687
689 688 class PythonQtPublicPromoter_binaryFile : public binaryFile
690 689 { public:
691 690 inline int promoted_closeFile() { return binaryFile::closeFile(); }
692 691 inline QList<codeFragment* > promoted_getFragments() { return binaryFile::getFragments(); }
693 692 inline bool promoted_isopened() { return binaryFile::isopened(); }
694 693 inline bool promoted_openFile(const QString& File) { return binaryFile::openFile(File); }
695 694 inline bool promoted_toBinary(const QString& fileName) { return binaryFile::toBinary(fileName); }
696 695 inline bool promoted_toSrec(const QString& fileName) { return binaryFile::toSrec(fileName); }
697 696 };
698 697
699 698 class PythonQtWrapper_binaryFile : public QObject
700 699 { Q_OBJECT
701 700 public:
702 701 public slots:
703 702 binaryFile* new_binaryFile();
704 703 binaryFile* new_binaryFile(const QString& File);
705 704 binaryFile* new_binaryFile(const QStringList& Files);
706 705 void delete_binaryFile(binaryFile* obj) { delete obj; }
707 706 int closeFile(binaryFile* theWrappedObject);
708 707 codeFragment* getFragment(binaryFile* theWrappedObject, int index);
709 708 int getFragmentAddress(binaryFile* theWrappedObject, int index);
710 709 bool getFragmentData(binaryFile* theWrappedObject, int index, char** buffer);
711 710 QString getFragmentHeader(binaryFile* theWrappedObject, int index);
712 711 int getFragmentSize(binaryFile* theWrappedObject, int index);
713 712 QList<codeFragment* > getFragments(binaryFile* theWrappedObject);
714 713 int getFragmentsCount(binaryFile* theWrappedObject);
715 714 bool isopened(binaryFile* theWrappedObject);
716 715 bool openFile(binaryFile* theWrappedObject, const QString& File);
717 716 bool openFiles(binaryFile* theWrappedObject, const QStringList& Files);
718 717 bool static_binaryFile_toBinary(QList<codeFragment* > fragments, const QString& File);
719 718 bool toBinary(binaryFile* theWrappedObject, const QString& fileName);
720 719 bool toSrec(binaryFile* theWrappedObject, const QString& fileName);
721 720 };
722 721
723 722
724 723
725 724
726 725
727 726 class PythonQtShell_binaryFileWidget : public binaryFileWidget
728 727 {
729 728 public:
730 729 PythonQtShell_binaryFileWidget(QWidget* parent = 0):binaryFileWidget(parent),_wrapper(NULL) {};
731 730
732 731 ~PythonQtShell_binaryFileWidget();
733 732
734 733 virtual void reloadFile();
735 734 virtual void setFile(abstractBinFile* file);
736 735
737 736 PythonQtInstanceWrapper* _wrapper;
738 737 };
739 738
740 739 class PythonQtPublicPromoter_binaryFileWidget : public binaryFileWidget
741 740 { public:
742 741 inline void promoted_reloadFile() { binaryFileWidget::reloadFile(); }
743 742 inline void promoted_setFile(abstractBinFile* file) { binaryFileWidget::setFile(file); }
744 743 };
745 744
746 745 class PythonQtWrapper_binaryFileWidget : public QObject
747 746 { Q_OBJECT
748 747 public:
749 748 public slots:
750 749 binaryFileWidget* new_binaryFileWidget(QWidget* parent = 0);
751 750 void delete_binaryFileWidget(binaryFileWidget* obj) { delete obj; }
752 751 void reloadFile(binaryFileWidget* theWrappedObject);
753 752 void setFile(binaryFileWidget* theWrappedObject, abstractBinFile* file);
754 753 };
755 754
756 755
757 756
758 757
759 758
760 759 class PythonQtShell_codeFragment : public codeFragment
761 760 {
762 761 public:
763 762 PythonQtShell_codeFragment():codeFragment(),_wrapper(NULL) {};
764 763 PythonQtShell_codeFragment(char* data, quint64 size, quint64 address):codeFragment(data, size, address),_wrapper(NULL) {};
765 764
766 765 ~PythonQtShell_codeFragment();
767 766
768 767
769 768 PythonQtInstanceWrapper* _wrapper;
770 769 };
771 770
772 771 class PythonQtWrapper_codeFragment : public QObject
773 772 { Q_OBJECT
774 773 public:
775 774 public slots:
776 775 codeFragment* new_codeFragment();
777 776 codeFragment* new_codeFragment(char* data, quint64 size, quint64 address);
778 777 void delete_codeFragment(codeFragment* obj) { delete obj; }
779 778 void py_set_size(codeFragment* theWrappedObject, quint64 size){ theWrappedObject->size = size; }
780 779 quint64 py_get_size(codeFragment* theWrappedObject){ return theWrappedObject->size; }
780 void py_set_data(codeFragment* theWrappedObject, char* data){ theWrappedObject->data = data; }
781 char* py_get_data(codeFragment* theWrappedObject){ return theWrappedObject->data; }
781 782 void py_set_address(codeFragment* theWrappedObject, quint64 address){ theWrappedObject->address = address; }
782 783 quint64 py_get_address(codeFragment* theWrappedObject){ return theWrappedObject->address; }
783 void py_set_data(codeFragment* theWrappedObject, char* data){ theWrappedObject->data = data; }
784 char* py_get_data(codeFragment* theWrappedObject){ return theWrappedObject->data; }
785 784 void py_set_header(codeFragment* theWrappedObject, QString header){ theWrappedObject->header = header; }
786 785 QString py_get_header(codeFragment* theWrappedObject){ return theWrappedObject->header; }
787 786 };
788 787
789 788
790 789
791 790
792 791
793 792 class PythonQtShell_elfFileWidget : public elfFileWidget
794 793 {
795 794 public:
796 795 PythonQtShell_elfFileWidget(QWidget* parent = 0):elfFileWidget(parent),_wrapper(NULL) {};
797 796
798 797 ~PythonQtShell_elfFileWidget();
799 798
800 799 virtual void reloadFile();
801 800 virtual void setFile(abstractBinFile* file);
802 801
803 802 PythonQtInstanceWrapper* _wrapper;
804 803 };
805 804
806 805 class PythonQtPublicPromoter_elfFileWidget : public elfFileWidget
807 806 { public:
808 807 inline void promoted_reloadFile() { elfFileWidget::reloadFile(); }
808 inline void promoted_setFile(abstractBinFile* file) { elfFileWidget::setFile(file); }
809 809 };
810 810
811 811 class PythonQtWrapper_elfFileWidget : public QObject
812 812 { Q_OBJECT
813 813 public:
814 814 public slots:
815 815 elfFileWidget* new_elfFileWidget(QWidget* parent = 0);
816 816 void delete_elfFileWidget(elfFileWidget* obj) { delete obj; }
817 817 void reloadFile(elfFileWidget* theWrappedObject);
818 void setFile(elfFileWidget* theWrappedObject, abstractBinFile* file);
818 819 };
819 820
820 821
821 822
822 823
823 824
824 825 class PythonQtShell_elfInfoWdgt : public elfInfoWdgt
825 826 {
826 827 public:
827 828 PythonQtShell_elfInfoWdgt(QWidget* parent = 0):elfInfoWdgt(parent),_wrapper(NULL) {};
828 829
829 830 ~PythonQtShell_elfInfoWdgt();
830 831
831 832 virtual void actionEvent(QActionEvent* arg__1);
832 833 virtual void changeEvent(QEvent* arg__1);
833 834 virtual void childEvent(QChildEvent* arg__1);
834 835 virtual void closeEvent(QCloseEvent* arg__1);
835 836 virtual void contextMenuEvent(QContextMenuEvent* arg__1);
836 837 virtual void customEvent(QEvent* arg__1);
837 838 virtual int devType() const;
838 839 virtual void dragEnterEvent(QDragEnterEvent* arg__1);
839 840 virtual void dragLeaveEvent(QDragLeaveEvent* arg__1);
840 841 virtual void dragMoveEvent(QDragMoveEvent* arg__1);
841 842 virtual void dropEvent(QDropEvent* arg__1);
842 843 virtual void enterEvent(QEvent* arg__1);
843 844 virtual bool event(QEvent* arg__1);
844 845 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
845 846 virtual void focusInEvent(QFocusEvent* arg__1);
846 847 virtual bool focusNextPrevChild(bool next);
847 848 virtual void focusOutEvent(QFocusEvent* arg__1);
848 849 virtual bool hasHeightForWidth() const;
849 850 virtual int heightForWidth(int arg__1) const;
850 851 virtual void hideEvent(QHideEvent* arg__1);
851 852 virtual void initPainter(QPainter* painter) const;
852 853 virtual void inputMethodEvent(QInputMethodEvent* arg__1);
853 854 virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const;
854 855 virtual void keyPressEvent(QKeyEvent* arg__1);
855 856 virtual void keyReleaseEvent(QKeyEvent* arg__1);
856 857 virtual void leaveEvent(QEvent* arg__1);
857 858 virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
858 859 virtual QSize minimumSizeHint() const;
859 860 virtual void mouseDoubleClickEvent(QMouseEvent* arg__1);
860 861 virtual void mouseMoveEvent(QMouseEvent* arg__1);
861 862 virtual void mousePressEvent(QMouseEvent* arg__1);
862 863 virtual void mouseReleaseEvent(QMouseEvent* arg__1);
863 864 virtual void moveEvent(QMoveEvent* arg__1);
864 865 virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result);
865 866 virtual QPaintEngine* paintEngine() const;
866 867 virtual void paintEvent(QPaintEvent* arg__1);
867 868 virtual QPaintDevice* redirected(QPoint* offset) const;
868 869 virtual void resizeEvent(QResizeEvent* arg__1);
869 870 virtual QPainter* sharedPainter() const;
870 871 virtual void showEvent(QShowEvent* arg__1);
871 872 virtual QSize sizeHint() const;
872 873 virtual void tabletEvent(QTabletEvent* arg__1);
873 874 virtual void timerEvent(QTimerEvent* arg__1);
874 875 virtual void wheelEvent(QWheelEvent* arg__1);
875 876
876 877 PythonQtInstanceWrapper* _wrapper;
877 878 };
878 879
879 880 class PythonQtWrapper_elfInfoWdgt : public QObject
880 881 { Q_OBJECT
881 882 public:
882 883 public slots:
883 884 elfInfoWdgt* new_elfInfoWdgt(QWidget* parent = 0);
884 885 void delete_elfInfoWdgt(elfInfoWdgt* obj) { delete obj; }
885 886 };
886 887
887 888
888 889
889 890
890 891
891 892 class PythonQtWrapper_elfparser : public QObject
892 893 { Q_OBJECT
893 894 public:
894 895 public slots:
895 896 elfparser* new_elfparser();
896 897 void delete_elfparser(elfparser* obj) { delete obj; }
897 898 int closeFile(elfparser* theWrappedObject);
898 899 QString getABI(elfparser* theWrappedObject);
899 900 QString getArchitecture(elfparser* theWrappedObject);
900 901 QString getClass(elfparser* theWrappedObject);
901 902 QString getEndianness(elfparser* theWrappedObject);
902 903 qint64 getEntryPointAddress(elfparser* theWrappedObject);
903 904 bool getSectionData(elfparser* theWrappedObject, int index, char** buffer);
904 905 qint64 getSectionDatasz(elfparser* theWrappedObject, int index);
905 906 qint64 getSectionMemsz(elfparser* theWrappedObject, int index);
906 907 QString getSectionName(elfparser* theWrappedObject, int index);
907 908 qint64 getSectionPaddr(elfparser* theWrappedObject, int index);
908 909 QString getSectionType(elfparser* theWrappedObject, int index);
909 910 int getSectioncount(elfparser* theWrappedObject);
910 911 qint64 getSegmentFilesz(elfparser* theWrappedObject, int index);
911 912 QString getSegmentFlags(elfparser* theWrappedObject, int index);
912 913 qint64 getSegmentMemsz(elfparser* theWrappedObject, int index);
913 914 qint64 getSegmentOffset(elfparser* theWrappedObject, int index);
914 915 qint64 getSegmentPaddr(elfparser* theWrappedObject, int index);
915 916 QString getSegmentType(elfparser* theWrappedObject, int index);
916 917 qint64 getSegmentVaddr(elfparser* theWrappedObject, int index);
917 918 int getSegmentcount(elfparser* theWrappedObject);
918 919 QString getType(elfparser* theWrappedObject);
919 920 qint64 getVersion(elfparser* theWrappedObject);
920 921 bool static_elfparser_isElf(const QString& File);
921 922 bool iself(elfparser* theWrappedObject);
922 923 bool isopened(elfparser* theWrappedObject);
923 924 int setFilename(elfparser* theWrappedObject, const QString& name);
924 925 };
925 926
926 927
927 928
928 929
929 930
931 class PythonQtShell_genericBinaryFileWidget : public genericBinaryFileWidget
932 {
933 public:
934 PythonQtShell_genericBinaryFileWidget(QWidget* parent = 0):genericBinaryFileWidget(parent),_wrapper(NULL) {};
935
936 ~PythonQtShell_genericBinaryFileWidget();
937
938 virtual void actionEvent(QActionEvent* arg__1);
939 virtual void changeEvent(QEvent* arg__1);
940 virtual void childEvent(QChildEvent* arg__1);
941 virtual void closeEvent(QCloseEvent* arg__1);
942 virtual void contextMenuEvent(QContextMenuEvent* arg__1);
943 virtual void customEvent(QEvent* arg__1);
944 virtual int devType() const;
945 virtual void dragEnterEvent(QDragEnterEvent* arg__1);
946 virtual void dragLeaveEvent(QDragLeaveEvent* arg__1);
947 virtual void dragMoveEvent(QDragMoveEvent* arg__1);
948 virtual void dropEvent(QDropEvent* arg__1);
949 virtual void enterEvent(QEvent* arg__1);
950 virtual bool event(QEvent* arg__1);
951 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
952 virtual void focusInEvent(QFocusEvent* arg__1);
953 virtual bool focusNextPrevChild(bool next);
954 virtual void focusOutEvent(QFocusEvent* arg__1);
955 virtual bool hasHeightForWidth() const;
956 virtual int heightForWidth(int arg__1) const;
957 virtual void hideEvent(QHideEvent* arg__1);
958 virtual void initPainter(QPainter* painter) const;
959 virtual void inputMethodEvent(QInputMethodEvent* arg__1);
960 virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const;
961 virtual void keyPressEvent(QKeyEvent* arg__1);
962 virtual void keyReleaseEvent(QKeyEvent* arg__1);
963 virtual void leaveEvent(QEvent* arg__1);
964 virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
965 virtual QSize minimumSizeHint() const;
966 virtual void mouseDoubleClickEvent(QMouseEvent* arg__1);
967 virtual void mouseMoveEvent(QMouseEvent* arg__1);
968 virtual void mousePressEvent(QMouseEvent* arg__1);
969 virtual void mouseReleaseEvent(QMouseEvent* arg__1);
970 virtual void moveEvent(QMoveEvent* arg__1);
971 virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result);
972 virtual QPaintEngine* paintEngine() const;
973 virtual void paintEvent(QPaintEvent* arg__1);
974 virtual QPaintDevice* redirected(QPoint* offset) const;
975 virtual void resizeEvent(QResizeEvent* arg__1);
976 virtual QPainter* sharedPainter() const;
977 virtual void showEvent(QShowEvent* arg__1);
978 virtual QSize sizeHint() const;
979 virtual void tabletEvent(QTabletEvent* arg__1);
980 virtual void timerEvent(QTimerEvent* arg__1);
981 virtual void wheelEvent(QWheelEvent* arg__1);
982
983 PythonQtInstanceWrapper* _wrapper;
984 };
985
986 class PythonQtWrapper_genericBinaryFileWidget : public QObject
987 { Q_OBJECT
988 public:
989 public slots:
990 genericBinaryFileWidget* new_genericBinaryFileWidget(QWidget* parent = 0);
991 void delete_genericBinaryFileWidget(genericBinaryFileWidget* obj) { delete obj; }
992 };
993
994
995
996
997
930 998 class PythonQtShell_srecFile : public srecFile
931 999 {
932 1000 public:
933 1001 PythonQtShell_srecFile():srecFile(),_wrapper(NULL) {};
934 1002 PythonQtShell_srecFile(const QString& File):srecFile(File),_wrapper(NULL) {};
935 1003 PythonQtShell_srecFile(const QStringList& Files):srecFile(Files),_wrapper(NULL) {};
936 1004
937 1005 ~PythonQtShell_srecFile();
938 1006
939 1007 virtual int closeFile();
940 1008 virtual QList<codeFragment* > getFragments();
941 1009 virtual bool isopened();
942 1010 virtual bool openFile(const QString& File);
943 1011 virtual bool toBinary(const QString& File);
944 1012 virtual bool toSrec(const QString& File);
945 1013
946 1014 PythonQtInstanceWrapper* _wrapper;
947 1015 };
948 1016
949 1017 class PythonQtPublicPromoter_srecFile : public srecFile
950 1018 { public:
951 1019 inline int promoted_closeFile() { return srecFile::closeFile(); }
952 1020 inline QList<codeFragment* > promoted_getFragments() { return srecFile::getFragments(); }
953 1021 inline bool promoted_isopened() { return srecFile::isopened(); }
954 1022 inline bool promoted_openFile(const QString& File) { return srecFile::openFile(File); }
955 1023 inline bool promoted_toBinary(const QString& File) { return srecFile::toBinary(File); }
956 1024 inline bool promoted_toSrec(const QString& File) { return srecFile::toSrec(File); }
957 1025 };
958 1026
959 1027 class PythonQtWrapper_srecFile : public QObject
960 1028 { Q_OBJECT
961 1029 public:
962 1030 public slots:
963 1031 srecFile* new_srecFile();
964 1032 srecFile* new_srecFile(const QString& File);
965 1033 srecFile* new_srecFile(const QStringList& Files);
966 1034 void delete_srecFile(srecFile* obj) { delete obj; }
1035 bool static_srecFile_checkSum(const QString& line);
967 1036 int closeFile(srecFile* theWrappedObject);
968 1037 codeFragment* getFragment(srecFile* theWrappedObject, int index);
969 1038 int getFragmentAddress(srecFile* theWrappedObject, int index);
970 1039 bool getFragmentData(srecFile* theWrappedObject, int index, char** buffer);
971 1040 QString getFragmentHeader(srecFile* theWrappedObject, int index);
972 1041 int getFragmentSize(srecFile* theWrappedObject, int index);
973 1042 QList<codeFragment* > getFragments(srecFile* theWrappedObject);
974 1043 int getFragmentsCount(srecFile* theWrappedObject);
975 1044 bool isSREC(srecFile* theWrappedObject);
976 1045 bool static_srecFile_isSREC(const QString& File);
977 1046 bool isopened(srecFile* theWrappedObject);
978 1047 int lineCount(srecFile* theWrappedObject);
979 1048 bool mergingRecords(srecFile* theWrappedObject);
980 1049 bool openFile(srecFile* theWrappedObject, const QString& File);
981 1050 bool openFiles(srecFile* theWrappedObject, const QStringList& Files);
982 1051 void setMergingRecords(srecFile* theWrappedObject, bool enabled);
983 1052 bool toBinary(srecFile* theWrappedObject, const QString& File);
984 1053 bool static_srecFile_toSrec(QList<codeFragment* > fragments, const QString& File);
985 1054 bool toSrec(srecFile* theWrappedObject, const QString& File);
986 1055 };
987 1056
988 1057
989 1058
990 1059
991 1060
992 1061 class PythonQtShell_srecFileWidget : public srecFileWidget
993 1062 {
994 1063 public:
995 1064 PythonQtShell_srecFileWidget(QWidget* parent = 0):srecFileWidget(parent),_wrapper(NULL) {};
996 1065
997 1066 ~PythonQtShell_srecFileWidget();
998 1067
999 1068 virtual void reloadFile();
1000 1069 virtual void setFile(abstractBinFile* file);
1001 1070
1002 1071 PythonQtInstanceWrapper* _wrapper;
1003 1072 };
1004 1073
1005 1074 class PythonQtPublicPromoter_srecFileWidget : public srecFileWidget
1006 1075 { public:
1007 1076 inline void promoted_reloadFile() { srecFileWidget::reloadFile(); }
1008 1077 inline void promoted_setFile(abstractBinFile* file) { srecFileWidget::setFile(file); }
1009 1078 };
1010 1079
1011 1080 class PythonQtWrapper_srecFileWidget : public QObject
1012 1081 { Q_OBJECT
1013 1082 public:
1014 1083 public slots:
1015 1084 srecFileWidget* new_srecFileWidget(QWidget* parent = 0);
1016 1085 void delete_srecFileWidget(srecFileWidget* obj) { delete obj; }
1017 1086 void reloadFile(srecFileWidget* theWrappedObject);
1018 1087 void setFile(srecFileWidget* theWrappedObject, abstractBinFile* file);
1019 1088 };
1020 1089
1021 1090
@@ -1,30 +1,31
1 1 #include <PythonQt.h>
2 2 #include "PySocExplorer0.h"
3 3
4 4
5 5 void PythonQt_init_PySocExplorer(PyObject* module) {
6 6 PythonQt::priv()->registerClass(&ElfFile::staticMetaObject, "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_ElfFile>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_ElfFile>, module, 0);
7 7 PythonQt::self()->addParentClass("ElfFile", "abstractBinFile",PythonQtUpcastingOffset<ElfFile,abstractBinFile>());
8 8 PythonQt::priv()->registerClass(&MemSizeWdgt::staticMetaObject, "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_MemSizeWdgt>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_MemSizeWdgt>, module, 0);
9 9 PythonQt::priv()->registerClass(&QHexEdit::staticMetaObject, "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_QHexEdit>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QHexEdit>, module, 0);
10 10 PythonQt::priv()->registerClass(&QHexSpinBox::staticMetaObject, "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_QHexSpinBox>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QHexSpinBox>, module, 0);
11 11 PythonQt::priv()->registerClass(&SocExplorerPlot::staticMetaObject, "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_SocExplorerPlot>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_SocExplorerPlot>, module, 0);
12 12 PythonQt::priv()->registerClass(&TCP_Terminal_Client::staticMetaObject, "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_TCP_Terminal_Client>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_TCP_Terminal_Client>, module, 0);
13 13 PythonQt::priv()->registerCPPClass("XByteArray", "", "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_XByteArray>, NULL, module, 0);
14 14 PythonQt::priv()->registerClass(&abstractBinFile::staticMetaObject, "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_abstractBinFile>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_abstractBinFile>, module, 0);
15 15 PythonQt::priv()->registerClass(&abstractBinFileWidget::staticMetaObject, "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_abstractBinFileWidget>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_abstractBinFileWidget>, module, 0);
16 16 PythonQt::priv()->registerClass(&binaryFile::staticMetaObject, "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_binaryFile>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_binaryFile>, module, 0);
17 17 PythonQt::self()->addParentClass("binaryFile", "abstractBinFile",PythonQtUpcastingOffset<binaryFile,abstractBinFile>());
18 18 PythonQt::priv()->registerClass(&binaryFileWidget::staticMetaObject, "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_binaryFileWidget>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_binaryFileWidget>, module, 0);
19 19 PythonQt::self()->addParentClass("binaryFileWidget", "abstractBinFileWidget",PythonQtUpcastingOffset<binaryFileWidget,abstractBinFileWidget>());
20 20 PythonQt::priv()->registerCPPClass("codeFragment", "", "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_codeFragment>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_codeFragment>, module, 0);
21 21 PythonQt::priv()->registerClass(&elfFileWidget::staticMetaObject, "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_elfFileWidget>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_elfFileWidget>, module, 0);
22 22 PythonQt::self()->addParentClass("elfFileWidget", "abstractBinFileWidget",PythonQtUpcastingOffset<elfFileWidget,abstractBinFileWidget>());
23 23 PythonQt::priv()->registerClass(&elfInfoWdgt::staticMetaObject, "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_elfInfoWdgt>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_elfInfoWdgt>, module, 0);
24 24 PythonQt::priv()->registerCPPClass("elfparser", "", "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_elfparser>, NULL, module, 0);
25 PythonQt::priv()->registerClass(&genericBinaryFileWidget::staticMetaObject, "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_genericBinaryFileWidget>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_genericBinaryFileWidget>, module, 0);
25 26 PythonQt::priv()->registerClass(&srecFile::staticMetaObject, "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_srecFile>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_srecFile>, module, 0);
26 27 PythonQt::self()->addParentClass("srecFile", "abstractBinFile",PythonQtUpcastingOffset<srecFile,abstractBinFile>());
27 28 PythonQt::priv()->registerClass(&srecFileWidget::staticMetaObject, "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_srecFileWidget>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_srecFileWidget>, module, 0);
28 29 PythonQt::self()->addParentClass("srecFileWidget", "abstractBinFileWidget",PythonQtUpcastingOffset<srecFileWidget,abstractBinFileWidget>());
29 30
30 31 }
@@ -1,75 +1,34
1 1 <typesystem package="PySocExplorer" default-superclass="com.trolltech.qt.QtJambiObject">
2 2 <load-typesystem name=":/trolltech/generator/typesystem_core.txt" generate="no" />
3 3 <load-typesystem name=":/trolltech/generator/typesystem_gui.txt" generate="no" />
4 4 <load-typesystem name=":/trolltech/generator/typesystem_network.txt" generate="no" />
5 5
6
7 <object-type name="QHexSpinBox">
8 <extra-includes>
9 <include file-name="QWidget" location="global"/>
10 <include file-name="QObject" location="global"/>
11 <include file-name="QSpinBox" location="global"/>
12 </extra-includes>
13 </object-type>
6 <object-type name="QHexSpinBox"/>
14 7 <object-type name="MemSizeWdgt" />
15 8 <object-type name="QHexEdit" />
16 9 <object-type name="XByteArray" />
17 10 <object-type name="SocExplorerPlot" />
18 11 <object-type name="TCP_Terminal_Client" />
19 12 <object-type name="codeFragment" />
20 13 <object-type name="srecFile" />
21 14 <object-type name="binaryFile" />
22 15 <rejection class="Elf_Section"/>
23 16 <object-type name="elfparser" />
24 <interface-type name="abstractBinFile">
25 <extra-includes>
26 <include file-name="QWidget" location="global"/>
27 <include file-name="QObject" location="global"/>
28 </extra-includes>
29 </interface-type>
30 <object-type name="ElfFile">
31 <extra-includes>
32 <include file-name="QWidget" location="global"/>
33 <include file-name="QObject" location="global"/>
34 </extra-includes>
35 </object-type>
36 <interface-type name="abstractBinFileWidget">
37 <extra-includes>
38 <include file-name="QWidget" location="global"/>
39 <include file-name="QObject" location="global"/>
40 </extra-includes>
41 </interface-type>
42 <object-type name="elfFileWidget">
43 <extra-includes>
44 <include file-name="QWidget" location="global"/>
45 <include file-name="QObject" location="global"/>
46 </extra-includes>
47 </object-type>
48 <object-type name="srecFileWidget">
49 <extra-includes>
50 <include file-name="QWidget" location="global"/>
51 <include file-name="QObject" location="global"/>
52 </extra-includes>
53 </object-type>
54 <object-type name="binaryFileWidget">
55 <extra-includes>
56 <include file-name="QWidget" location="global"/>
57 <include file-name="QObject" location="global"/>
58 </extra-includes>
59 </object-type>
60 <object-type name="elfInfoWdgt">
61 <extra-includes>
62 <include file-name="QWidget" location="global"/>
63 <include file-name="QObject" location="global"/>
64 </extra-includes>
65 </object-type>
17 <interface-type name="abstractBinFile"/>
18 <object-type name="ElfFile"/>
19 <interface-type name="abstractBinFileWidget"/>
20 <object-type name="elfFileWidget"/>
21 <object-type name="srecFileWidget"/>
22 <object-type name="binaryFileWidget"/>
23 <object-type name="elfInfoWdgt"/>
24 <object-type name="genericBinaryFileWidget"/>
66 25
67 26 </typesystem>
68 27
69 28
70 29
71 30
72 31
73 32
74 33
75 34
@@ -1,242 +1,242
1 1 /*------------------------------------------------------------------------------
2 2 -- This file is a part of the SocExplorer Software
3 3 -- Copyright (C) 2011, Plasma Physics Laboratory - CNRS
4 4 --
5 5 -- This program is free software; you can redistribute it and/or modify
6 6 -- it under the terms of the GNU General Public License as published by
7 7 -- the Free Software Foundation; either version 2 of the License, or
8 8 -- (at your option) any later version.
9 9 --
10 10 -- This program is distributed in the hope that it will be useful,
11 11 -- but WITHOUT ANY WARRANTY; without even the implied warranty of
12 12 -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 13 -- GNU General Public License for more details.
14 14 --
15 15 -- You should have received a copy of the GNU General Public License
16 16 -- along with this program; if not, write to the Free Software
17 17 -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 18 -------------------------------------------------------------------------------*/
19 19 /*-- Author : Alexis Jeandet
20 20 -- Mail : alexis.jeandet@lpp.polytechnique.fr
21 21 ----------------------------------------------------------------------------*/
22 22 #include "mainwindow.h"
23 23 #include <QDockWidget>
24 24
25 25 SocExplorerMainWindow::SocExplorerMainWindow(QString ScriptToEval, QWidget *parent)
26 26 : QMainWindow(parent)
27 27 {
28 28 QCoreApplication::setApplicationName("SocExplorer");
29 29 QCoreApplication::setOrganizationName("LPP");
30 30 QCoreApplication::setOrganizationDomain("lpp.fr");
31 31 this->makeObjects(ScriptToEval);
32 32 this->makeLayout();
33 33 this->makeMenu();
34 34 this->makeConnections();
35 this->setWindowIcon(QIcon(tr(":/images/logolppcutted.png")));
35 this->setWindowIcon(QIcon(tr(":/images/icon.png")));
36 36 this->setAcceptDrops(true);
37 37 this->pluginManager->setRootLoadable(true);
38 38 this->PythonConsoleInst->pyConsoleRunFile(ScriptToEval);
39 39 QFile file(":/styles/SocExplorer.css");
40 40 if(file.open(QIODevice::ReadOnly | QIODevice::Text))
41 41 {
42 42 qApp->setStyleSheet(file.readAll());
43 43 file.close();
44 44 }
45 45 }
46 46
47 47
48 48 void SocExplorerMainWindow::makeObjects(QString ScriptToEval)
49 49 {
50 50 Q_UNUSED(ScriptToEval)
51 51 this->p_pluginGUIlist = new QList<QDockWidget*>();
52 52 pluginsDockContainer = new QMainWindow;
53 53 pluginsDockContainer->setWindowFlags(Qt::Widget);
54 54 pluginsDockContainer->setDockNestingEnabled(true);
55 55 this->mainWidget = new QSplitter(Qt::Vertical);
56 56 this->appTranslator = new QTranslator;
57 57 this->Quit = new QAction(tr("&Quit"),this);
58 58 this->Quit->setShortcut(tr("CTRL+Q"));
59 59 this->ManagePlugins = new QAction(tr("&Manage Plugins"),this);
60 60 this->ManagePlugins->setShortcut(tr("CTRL+P"));
61 61 this->regsManager = new QAction(tr("&Manage registers"),this);
62 62 this->exploreRegs = new QAction(tr("&Explore registers"),this);
63 63 this->help = new QAction(tr("&Help"),this);
64 64 this->help->setShortcut(tr("CTRL+H"));
65 65 this->about = new QAction(tr("&About"),this);
66 66 socexplorerproxy::setMainWindow(this);
67 67 SocExplorerEngine::setMainWindow(this);
68 68 SocExplorerEngine::xmlModel()->scanXmlFiles();
69 69 this->regExplorer = new regsExplorer();
70 70 this->regExplorer->setAllowedAreas(Qt::AllDockWidgetAreas);
71 71 this->addPluginInterface(this->regExplorer);
72 72 this->PythonConsoleInst = new PythonConsole(socexplorerproxy::self());
73 73 this->PythonConsoleInst->addObject("SocExplorerEngine",SocExplorerEngine::self());
74 74 this->pluginManager = new dockablePluginManager();
75 75 this->toolpane = new toolBar;
76 76 this->p_about = new aboutsocexplorer();
77 77
78 78 }
79 79
80 80 void SocExplorerMainWindow::makeLayout()
81 81 {
82 82 this->mainWidget->addWidget(pluginsDockContainer);
83 83 this->mainWidget->addWidget(this->PythonConsoleInst);
84 84 this->toolpane->setAllowedAreas(Qt::RightDockWidgetArea|Qt::LeftDockWidgetArea);
85 85 this->addDockWidget(Qt::LeftDockWidgetArea,this->toolpane);
86 86 this->toolpane->addTool(this->pluginManager);
87 87 this->setCentralWidget(this->mainWidget);
88 88 }
89 89
90 90
91 91 void SocExplorerMainWindow::makeConnections()
92 92 {
93 93 connect(socexplorerproxy::self(),SIGNAL(clearMenu()),this,SLOT(clearMenu()));
94 94 connect(this,SIGNAL(translateSig()),socexplorerproxy::self(),SLOT(updateText()));
95 95 connect(socexplorerproxy::self(),SIGNAL(addPluginGUI(QDockWidget*)),this,SLOT(addPluginInterface(QDockWidget*)));
96 96 connect(socexplorerproxy::self(),SIGNAL(removePluginGUI(QDockWidget*)),this,SLOT(removePluginInterface(QDockWidget*)));
97 97 connect(this->ManagePlugins,SIGNAL(triggered()),this,SLOT(launchPluginManager()));
98 98 connect(this->Quit,SIGNAL(triggered()),qApp,SLOT(quit()));
99 99 connect(this,SIGNAL(registerObject(QObject*,QString)),this->PythonConsoleInst,SLOT(registerObject(QObject*,QString)));
100 100 connect(socexplorerproxy::self(),SIGNAL(registerObject(QObject*,QString)),this,SIGNAL(registerObject(QObject*,QString)));
101 101 connect(this->pluginManager,SIGNAL(geteplugintree()),socexplorerproxy::self(),SLOT(geteplugintree()));
102 102 connect(socexplorerproxy::self(),SIGNAL(treeChanged(QList<socexplorerplugin*>)),this->pluginManager,SIGNAL(treeChanged(QList<socexplorerplugin*>)));
103 103 connect(this->pluginManager,SIGNAL(changeSysDriverInstName(QString,QString)),socexplorerproxy::self(),SLOT(changeSysDriverInstName(QString,QString)));
104 104 connect(this->pluginManager,SIGNAL(changeSysDriverInstName(QString,QString)),this->PythonConsoleInst,SLOT(changeSysDriverInstName(QString,QString)));
105 105 connect(this->pluginManager,SIGNAL(closeSysDriver(QString)),socexplorerproxy::self(),SLOT(closeSysDriver(QString)));
106 106 connect(this->pluginManager,SIGNAL(closeSysDriver(QString)),this->PythonConsoleInst,SLOT(removeDriver(QString)));
107 107 connect(this->pluginManager,SIGNAL(pluginselected(QString)),this,SLOT(pluginselected(QString)));
108 108 connect(this->about,SIGNAL(triggered()),this,SLOT(showAboutBox()));
109 109 connect(this->exploreRegs,SIGNAL(triggered()),this->regExplorer,SLOT(show()));
110 110
111 111 this->pluginManager->connect(this->pluginManager,SIGNAL(loadSysDrviver(QString)),socexplorerproxy::self(),SLOT(loadSysDriver(QString)));
112 112 this->pluginManager->connect(this->pluginManager,SIGNAL(loadSysDriverToParent(QString,QString)),socexplorerproxy::self(),SLOT(loadSysDriverToParent(QString,QString)));
113 113
114 114 }
115 115
116 116
117 117 void SocExplorerMainWindow::launchPluginManager()
118 118 {
119 119
120 120 if(this->pluginManager->isHidden())
121 121 {
122 122 this->pluginManager->setHidden(false);
123 123 }
124 124
125 125 }
126 126
127 127
128 128 void SocExplorerMainWindow::addPluginInterface(QDockWidget *plugin)
129 129 {
130 130 plugin->setAllowedAreas(Qt::AllDockWidgetAreas);
131 131 this->pluginsDockContainer->addDockWidget(Qt::TopDockWidgetArea,plugin);
132 132 if(p_pluginGUIlist->count()!=0)
133 133 this->pluginsDockContainer->tabifyDockWidget(p_pluginGUIlist->last(),plugin);
134 134 p_pluginGUIlist->append(plugin);
135 135
136 136 }
137 137
138 138 void SocExplorerMainWindow::removePluginInterface(QDockWidget *plugin)
139 139 {
140 140 p_pluginGUIlist->removeOne(plugin);
141 141 this->pluginsDockContainer->removeDockWidget(plugin);
142 142 }
143 143
144 144
145 145 void SocExplorerMainWindow::clearMenu()
146 146 {
147 147 this->menuBar()->clear();
148 148 this->makeMenu();
149 149 }
150 150
151 151
152 152 void SocExplorerMainWindow::makeMenu()
153 153 {
154 154 this->FileMenu = menuBar()->addMenu(tr("&File"));
155 155 this->PluginsMenu = menuBar()->addMenu(tr("&Plugins"));
156 156 this->ToolsMenu = menuBar()->addMenu(tr("&Tools"));
157 157 this->ToolsMenu->addAction(this->exploreRegs);
158 158 this->FileMenu->addAction(this->Quit);
159 159 socexplorerproxy::self()->makeMenu(this->PluginsMenu);
160 160 this->PluginsMenu->addAction(this->ManagePlugins);
161 161
162 162 this->helpMenu = menuBar()->addMenu(tr("Help"));
163 163 this->helpMenu->addAction(this->help);
164 164 this->helpMenu->addAction(this->about);
165 165
166 166 }
167 167
168 168
169 169 SocExplorerMainWindow::~SocExplorerMainWindow()
170 170 {
171 171 }
172 172
173 173
174 174 void SocExplorerMainWindow::setLangage(QAction *action)
175 175 {
176 176 QString local = action->data().toString();
177 177 QString qmPath = QDir(QString("translations")).absolutePath();
178 178 appTranslator->load(qmPath+"/socexplorer_"+local+".qm");
179 179 qApp->installTranslator(appTranslator);
180 180 emit this->translateSig();
181 181 }
182 182
183 183
184 184 void SocExplorerMainWindow::createLangMenu()
185 185 {
186 186 this->langMenu = menuBar()->addMenu(tr("&Langue"));
187 187 this->langActionGrp = new QActionGroup(this);
188 188 connect(this->langActionGrp,SIGNAL(triggered(QAction*)),this,SLOT(setLangage(QAction*)));
189 189 QDir* qmDir = new QDir(QString("translations"));
190 190 QStringList LangFiles = qmDir->entryList(QStringList("socexplorer_*.qm"));
191 191 for(int i=0;i<LangFiles.size();++i)
192 192 {
193 193 QString Local = LangFiles[i];
194 194 Local.remove(0,Local.indexOf('_')+1);
195 195 Local.chop(3);
196 196 QTranslator translator;
197 197 translator.load(LangFiles[i],qmDir->absolutePath());
198 198 QString langage = translator.translate("MainWindow","English");
199 199 QAction *action = new QAction(tr("&%1 %2").arg(i+1).arg(langage),this);
200 200 action->setCheckable(true);
201 201 action->setData(Local);
202 202 langMenu->addAction(action);
203 203 langActionGrp->addAction(action);
204 204 if(langage==tr("English"))
205 205 action->setChecked(true);
206 206 }
207 207 }
208 208
209 209
210 210 void SocExplorerMainWindow::updateText()
211 211 {
212 212 emit this->translateSig();
213 213 }
214 214
215 215
216 216
217 217 void SocExplorerMainWindow::showAboutBox()
218 218 {
219 219 p_about->show();
220 220 }
221 221
222 222 void SocExplorerMainWindow::pluginselected(const QString &instanceName)
223 223 {
224 224 socexplorerplugin* drv=socexplorerproxy::self()->getSysDriver(instanceName);
225 225 if(drv)
226 226 drv->raise();
227 227 }
228 228
229 229
230 230
231 231 void SocExplorerMainWindow::closeEvent(QCloseEvent *event)
232 232 {
233 233 socexplorerproxy::self()->close();
234 234 qApp->closeAllWindows();
235 235 event->accept();
236 236 }
237 237
238 238
239 239
240 240
241 241
242 242
@@ -1,136 +1,137
1 1 #-------------------------------------------------
2 2 #
3 3 # Project created by QtCreator 2011-09-19T22:52:10
4 4 #
5 5 #-------------------------------------------------
6 6 SOCEXPLORER_ROOT = $${PWD}/..
7 7 include(../build_cfg/socexplorer.pri)
8 8
9 9 TARGET = socexplorer$${DEBUG_EXT}
10 10 TEMPLATE = app
11 11 CONFIG += pythonqt
12 12
13 13
14 14 QMAKE_LFLAGS_RELEASE += --enable-auto-import -mstackrealign
15 15 QMAKE_LFLAGS_DEBUG += --enable-auto-import -mstackrealign
16 16
17 17 include ( common/pythonQtOut/generated_cpp/PySocExplorer/PySocExplorer.pri )
18 include ( SocExplorerEngine/pythonQtOut/generated_cpp/PySocExplorerEngine/PySocExplorerEngine.pri )
18 19 include ( SocExplorerEngine/plugins/socexplorerplugin.prf )
19 20
20 21 INCLUDEPATH+=$${PWD} \
21 22 $${PWD}/common \
22 23 $${PWD}/common/qhexedit \
23 24 $${PWD}/common/QCustomPlot \
24 25 $${PWD}/common/genericBinaryFiles \
25 26 $${PWD}/common/genericBinaryFiles/elf \
26 27 $${PWD}/common/genericBinaryFiles/srec \
27 28 $${PWD}/common/genericBinaryFiles/BinFile \
28 29 SocExplorerEngine/engine \
29 30 SocExplorerEngine/pluginloader \
30 31 SocExplorerEngine/pluginsInterface \
31 32 SocExplorerEngine/proxy \
32 33 SocExplorerEngine/pluginManagerWdgt \
33 34 SocExplorerEngine/plugins \
34 35 SocExplorerEngine/RegisterMVS \
35 36 SocExplorerEngine/XmlEngine \
36 37 SocExplorerEngine/SOC \
37 38 SocExplorerEngine/PeripheralWidget/src
38 39
39 40 win32:INCLUDEPATH+= \
40 41 $${PWD}/common/genericBinaryFiles/elf/libelfWin32/include \
41 42 $${PWD}/common/genericBinaryFiles/elf/libelfWin32/include/libelf \
42 43
43 44
44 45 RC_FILE = ../win32cfg/socexplorer.rc
45 46
46 47
47 48 unix:LIBS+=-L$${SOCEXPLORER_ROOT}/bin/linux -lsocexplorercommon$${DEBUG_EXT} -L$${SOCEXPLORER_ROOT}/bin/linux -lsocexplorerengine$${DEBUG_EXT}
48 49
49 50 win32-g++:LIBS += $${SOCEXPLORER_ROOT}/bin/win32/socexplorercommon$${DEBUG_EXT}.dll $${SOCEXPLORER_ROOT}/bin/win32/socexplorerengine$${DEBUG_EXT}.dll
50 51
51 52
52 53 unix{
53 54 translation.files = $${SOCEXPLORER_ROOT}/translations/socexplorer_fr.qm \
54 55 $${SOCEXPLORER_ROOT}/translations/socexplorer_en.qm
55 56 translation.path = $${SOCEXPLORER_TRANSLATION_INSTALL_PATH}
56 57 target.path = /usr/bin
57 58 INSTALLS += translation target
58 59 }
59 60
60 61 header.path = $$[QT_INSTALL_HEADERS]/SocExplorer/common
61 62 header.files = \
62 63 socexplorer.h
63 64 INSTALLS += header
64 65
65 66
66 67 SOURCES += main.cpp\
67 68 mainwindow.cpp \
68 69 PyWdgt/pythonconsole.cpp \
69 70 PyWdgt/pythonqtscriptingconsoledandd.cpp \
70 71 dockablepluginmanager.cpp \
71 72 toolbar.cpp \
72 73 toolbarcontainer.cpp \
73 74 regsExplorer/regsexplorer.cpp \
74 75 regsExplorer/regsviewer.cpp \
75 76 regsExplorer/regsexplorercfg.cpp \
76 77 aboutsocexplorer.cpp
77 78
78 79 # regWidget/xmltagtextedit.cpp \
79 80 # regWidget/xmltaglabeledit.cpp \
80 81 # regWidget/xmlelementslistwidget.cpp \
81 82 # regWidget/xmlelementslistview.cpp \
82 83 # regWidget/regpropeditor.cpp \
83 84 # regWidget/registerwdgt.cpp \
84 85 # regWidget/registereditor.cpp \
85 86 # regWidget/registercel.cpp \
86 87 # regWidget/periphpropeditor.cpp \
87 88 # regWidget/peripherialregs.cpp \
88 89 # regWidget/bitfieldpropeditor.cpp \
89 90 # regWidget/bitfield.cpp
90 91
91 92
92 93 HEADERS += mainwindow.h \
93 94 PyWdgt/pythonconsole.h \
94 95 PyWdgt/pythonqtscriptingconsoledandd.h \
95 96 dockablepluginmanager.h \
96 97 toolbar.h \
97 98 toolbarcontainer.h \
98 99 regsExplorer/regsexplorer.h \
99 100 regsExplorer/regsviewer.h \
100 101 regsExplorer/regsexplorercfg.h \
101 102 socexplorer.h \
102 103 SocExplorerEngine/plugins/socexplorerplugin.h \
103 104 aboutsocexplorer.h
104 105 # regWidget/xmltagtextedit.h \
105 106 # regWidget/xmltaglabeledit.h \
106 107 # regWidget/xmlelementslistwidget.h \
107 108 # regWidget/xmlelementslistview.h \
108 109 # regWidget/regpropeditor.h \
109 110 # regWidget/registerwdgt.h \
110 111 # regWidget/registereditor.h \
111 112 # regWidget/registercel.h \
112 113 # regWidget/periphpropeditor.h \
113 114 # regWidget/peripherialregs.h \
114 115 # regWidget/bitfieldpropeditor.h \
115 116 # regWidget/bitfield.h
116 117
117 118
118 119 include ( NicePyConsole/NicePyConsole.pri)
119 120
120 121 win32{
121 122 RESOURCES = ../ressources/SocExplorer.qrc
122 123 }
123 124
124 125 unix{
125 126 RESOURCES = ../ressources/SocExplorer.qrc
126 127 }
127 128
128 129 TRANSLATIONS = ../translations/socexplorer_fr.ts \
129 130 ../translations/socexplorer_en.ts
130 131
131 132
132 133
133 134
134 135
135 136
136 137
@@ -1,14 +1,14
1 1 [Desktop Entry]
2 2 Version=1.0
3 3 Name=SocExplorer
4 4 Type=Application
5 5 GenericName=SocExplorer
6 6
7 7 Comment=Software to monitor and explore Soc devices.
8 8
9 9 Exec=socexplorer
10 Icon=/etc/SocExplorer/logo-lpp-cutted.png
10 Icon=/usr/share/SocExplorer/Indiana_Jones_cappello.png
11 11 Terminal=false
12 12 Type=Application
13 13 Categories=Application;Programming;
14 14 Name[fr_FR]=SocExplorer
General Comments 0
You need to be logged in to leave comments. Login now