PLplot  5.9.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
sipplplot_pyqt4QtPLWidget.cpp
Go to the documentation of this file.
1 /*
2  * Interface wrapper code.
3  *
4  * Generated by SIP 4.14.7 on Wed Aug 14 07:31:26 2013
5  */
6 
7 #include "sipAPIplplot_pyqt4.h"
8 
9 #line 44 "/builddir/build/BUILD/plplot-5.9.9-svn12479/bindings/qt_gui/pyqt4/plplot_pyqt4.sip"
10 #include "qt.h"
11 #line 12 "./sipplplot_pyqt4QtPLWidget.cpp"
12 
13 #line 35 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
14 #include <qwidget.h>
15 #line 16 "./sipplplot_pyqt4QtPLWidget.cpp"
16 #line 533 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
17 #include <qevent.h>
18 #line 19 "./sipplplot_pyqt4QtPLWidget.cpp"
19 #line 570 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
20 #include <qevent.h>
21 #line 22 "./sipplplot_pyqt4QtPLWidget.cpp"
22 #line 583 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
23 #include <qevent.h>
24 #line 25 "./sipplplot_pyqt4QtPLWidget.cpp"
25 #line 483 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
26 #include <qevent.h>
27 #line 28 "./sipplplot_pyqt4QtPLWidget.cpp"
28 #line 261 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
29 #include <qevent.h>
30 #line 31 "./sipplplot_pyqt4QtPLWidget.cpp"
31 #line 35 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
32 #include <qnamespace.h>
33 #line 34 "./sipplplot_pyqt4QtPLWidget.cpp"
34 #line 39 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
35 #include <qmargins.h>
36 #line 37 "./sipplplot_pyqt4QtPLWidget.cpp"
37 #line 35 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
38 #include <qnamespace.h>
39 #line 40 "./sipplplot_pyqt4QtPLWidget.cpp"
40 #line 35 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
41 #include <qnamespace.h>
42 #line 43 "./sipplplot_pyqt4QtPLWidget.cpp"
43 #line 39 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
44 #include <qgraphicseffect.h>
45 #line 46 "./sipplplot_pyqt4QtPLWidget.cpp"
46 #line 33 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
47 #include <qgraphicsproxywidget.h>
48 #line 49 "./sipplplot_pyqt4QtPLWidget.cpp"
49 #line 36 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
50 #include <qstring.h>
51 #line 52 "./sipplplot_pyqt4QtPLWidget.cpp"
52 #line 35 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
53 #include <qlocale.h>
54 #line 55 "./sipplplot_pyqt4QtPLWidget.cpp"
55 #line 31 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
56 #include <qpaintdevice.h>
57 #line 58 "./sipplplot_pyqt4QtPLWidget.cpp"
58 #line 35 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
59 #include <qpoint.h>
60 #line 61 "./sipplplot_pyqt4QtPLWidget.cpp"
61 #line 35 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
62 #include <qregion.h>
63 #line 64 "./sipplplot_pyqt4QtPLWidget.cpp"
64 #line 35 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
65 #include <qwidget.h>
66 #line 67 "./sipplplot_pyqt4QtPLWidget.cpp"
67 #line 35 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
68 #include <qpainter.h>
69 #line 70 "./sipplplot_pyqt4QtPLWidget.cpp"
70 #line 37 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
71 #include <qbytearray.h>
72 #line 73 "./sipplplot_pyqt4QtPLWidget.cpp"
73 #line 35 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
74 #include <qsize.h>
75 #line 76 "./sipplplot_pyqt4QtPLWidget.cpp"
76 #line 35 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
77 #include <qrect.h>
78 #line 79 "./sipplplot_pyqt4QtPLWidget.cpp"
79 #line 31 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
80 #include <qfontinfo.h>
81 #line 82 "./sipplplot_pyqt4QtPLWidget.cpp"
82 #line 31 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
83 #include <qfontmetrics.h>
84 #line 85 "./sipplplot_pyqt4QtPLWidget.cpp"
85 #line 35 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
86 #include <qfont.h>
87 #line 88 "./sipplplot_pyqt4QtPLWidget.cpp"
88 #line 35 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
89 #include <qnamespace.h>
90 #line 91 "./sipplplot_pyqt4QtPLWidget.cpp"
91 #line 35 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
92 #include <qpalette.h>
93 #line 94 "./sipplplot_pyqt4QtPLWidget.cpp"
94 #line 274 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
95 #include <qvariant.h>
96 #line 97 "./sipplplot_pyqt4QtPLWidget.cpp"
97 #line 656 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
98 #include <qevent.h>
99 #line 100 "./sipplplot_pyqt4QtPLWidget.cpp"
100 #line 31 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
101 #include <qcoreevent.h>
102 #line 103 "./sipplplot_pyqt4QtPLWidget.cpp"
103 #line 616 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
104 #include <qevent.h>
105 #line 106 "./sipplplot_pyqt4QtPLWidget.cpp"
106 #line 605 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
107 #include <qevent.h>
108 #line 109 "./sipplplot_pyqt4QtPLWidget.cpp"
109 #line 748 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
110 #include <qevent.h>
111 #line 112 "./sipplplot_pyqt4QtPLWidget.cpp"
112 #line 801 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
113 #include <qevent.h>
114 #line 115 "./sipplplot_pyqt4QtPLWidget.cpp"
115 #line 774 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
116 #include <qevent.h>
117 #line 118 "./sipplplot_pyqt4QtPLWidget.cpp"
118 #line 790 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
119 #include <qevent.h>
120 #line 121 "./sipplplot_pyqt4QtPLWidget.cpp"
121 #line 863 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
122 #include <qevent.h>
123 #line 124 "./sipplplot_pyqt4QtPLWidget.cpp"
124 #line 412 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
125 #include <qevent.h>
126 #line 127 "./sipplplot_pyqt4QtPLWidget.cpp"
127 #line 627 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
128 #include <qevent.h>
129 #line 130 "./sipplplot_pyqt4QtPLWidget.cpp"
130 #line 557 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
131 #include <qevent.h>
132 #line 133 "./sipplplot_pyqt4QtPLWidget.cpp"
133 #line 514 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
134 #include <qevent.h>
135 #line 136 "./sipplplot_pyqt4QtPLWidget.cpp"
136 #line 356 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
137 #include <qevent.h>
138 #line 139 "./sipplplot_pyqt4QtPLWidget.cpp"
139 #line 33 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
140 #include <qinputcontext.h>
141 #line 142 "./sipplplot_pyqt4QtPLWidget.cpp"
142 #line 61 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
143 #include <qpaintengine.h>
144 #line 145 "./sipplplot_pyqt4QtPLWidget.cpp"
145 #line 39 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
146 #include <qx11info_x11.h>
147 #line 148 "./sipplplot_pyqt4QtPLWidget.cpp"
148 #line 120 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
149 #include <qlist.h>
150 #line 151 "./sipplplot_pyqt4QtPLWidget.cpp"
151 #line 31 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
152 #include <qaction.h>
153 #line 154 "./sipplplot_pyqt4QtPLWidget.cpp"
154 #line 31 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
155 #include <qlayout.h>
156 #line 157 "./sipplplot_pyqt4QtPLWidget.cpp"
157 #line 35 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
158 #include <qsizepolicy.h>
159 #line 160 "./sipplplot_pyqt4QtPLWidget.cpp"
160 #line 35 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
161 #include <qnamespace.h>
162 #line 163 "./sipplplot_pyqt4QtPLWidget.cpp"
163 #line 35 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
164 #include <qkeysequence.h>
165 #line 166 "./sipplplot_pyqt4QtPLWidget.cpp"
166 #line 35 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
167 #include <qcursor.h>
168 #line 169 "./sipplplot_pyqt4QtPLWidget.cpp"
169 #line 35 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
170 #include <qicon.h>
171 #line 172 "./sipplplot_pyqt4QtPLWidget.cpp"
172 #line 35 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
173 #include <qbitmap.h>
174 #line 175 "./sipplplot_pyqt4QtPLWidget.cpp"
175 #line 35 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
176 #include <qstyle.h>
177 #line 178 "./sipplplot_pyqt4QtPLWidget.cpp"
178 #line 355 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
179 #include <qcoreevent.h>
180 #line 181 "./sipplplot_pyqt4QtPLWidget.cpp"
181 #line 338 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
182 #include <qcoreevent.h>
183 #line 184 "./sipplplot_pyqt4QtPLWidget.cpp"
184 #line 34 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
185 #include <qobject.h>
186 #line 187 "./sipplplot_pyqt4QtPLWidget.cpp"
187 #line 33 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
188 #include <qlist.h>
189 #line 190 "./sipplplot_pyqt4QtPLWidget.cpp"
190 #line 120 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
191 #include <qlist.h>
192 #line 193 "./sipplplot_pyqt4QtPLWidget.cpp"
193 #line 31 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
194 #include <qthread.h>
195 #line 196 "./sipplplot_pyqt4QtPLWidget.cpp"
196 #line 35 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
197 #include <qregexp.h>
198 #line 199 "./sipplplot_pyqt4QtPLWidget.cpp"
199 #line 31 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
200 #include <qobjectdefs.h>
201 #line 202 "./sipplplot_pyqt4QtPLWidget.cpp"
202 
203 
204 class sipQtPLWidget : public QtPLWidget
205 {
206 public:
207  sipQtPLWidget(int,int,QWidget *);
208  virtual ~sipQtPLWidget();
209 
210  int qt_metacall(QMetaObject::Call,int,void **);
211  void *qt_metacast(const char *);
212  const QMetaObject *metaObject() const;
213 
214  /*
215  * There is a public method for every protected method visible from
216  * this class.
217  */
218  QObject * sipProtect_sender() const;
219  int sipProtect_receivers(const char *) const;
220  void sipProtectVirt_timerEvent(bool,QTimerEvent *);
221  void sipProtectVirt_childEvent(bool,QChildEvent *);
222  void sipProtectVirt_customEvent(bool,QEvent *);
223  void sipProtectVirt_connectNotify(bool,const char *);
224  void sipProtectVirt_disconnectNotify(bool,const char *);
225  int sipProtect_senderSignalIndex() const;
226  bool sipProtectVirt_event(bool,QEvent *);
227  void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent *);
228  void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent *);
229  void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent *);
230  void sipProtectVirt_wheelEvent(bool,QWheelEvent *);
231  void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent *);
232  void sipProtectVirt_focusInEvent(bool,QFocusEvent *);
233  void sipProtectVirt_focusOutEvent(bool,QFocusEvent *);
234  void sipProtectVirt_enterEvent(bool,QEvent *);
235  void sipProtectVirt_leaveEvent(bool,QEvent *);
236  void sipProtectVirt_moveEvent(bool,QMoveEvent *);
237  void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent *);
238  void sipProtectVirt_tabletEvent(bool,QTabletEvent *);
239  void sipProtectVirt_actionEvent(bool,QActionEvent *);
240  void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent *);
241  void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent *);
242  void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent *);
243  void sipProtectVirt_dropEvent(bool,QDropEvent *);
244  void sipProtectVirt_showEvent(bool,QShowEvent *);
245  void sipProtectVirt_hideEvent(bool,QHideEvent *);
246  void sipProtectVirt_changeEvent(bool,QEvent *);
247  int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
248  void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent *);
251  void sipProtect_create(WId,bool,bool);
252  void sipProtect_destroy(bool,bool);
253  bool sipProtectVirt_focusNextPrevChild(bool,bool);
256  void sipProtectVirt_enabledChange(bool,bool);
257  void sipProtectVirt_paletteChange(bool,const QPalette&);
258  void sipProtectVirt_fontChange(bool,const QFont&);
261  void sipProtectVirt_mousePressEvent(bool,QMouseEvent *);
262  void sipProtectVirt_keyPressEvent(bool,QKeyEvent *);
263  void sipProtectVirt_closeEvent(bool,QCloseEvent *);
264  void sipProtect_nextPage();
265  void sipProtectVirt_resizeEvent(bool,QResizeEvent *);
266  void sipProtectVirt_paintEvent(bool,QPaintEvent *);
267  void sipProtect_getPlotParameters(double&,double&,double&,double&);
268 
269  /*
270  * There is a protected method for every virtual method visible from
271  * this class.
272  */
273 protected:
274  int devType() const;
275  void setVisible(bool);
276  QSize sizeHint() const;
277  QSize minimumSizeHint() const;
278  int heightForWidth(int) const;
279  QPaintEngine * paintEngine() const;
280  bool event(QEvent *);
281  void mousePressEvent(QMouseEvent *);
282  void mouseReleaseEvent(QMouseEvent *);
283  void mouseDoubleClickEvent(QMouseEvent *);
284  void mouseMoveEvent(QMouseEvent *);
285  void wheelEvent(QWheelEvent *);
286  void keyPressEvent(QKeyEvent *);
287  void keyReleaseEvent(QKeyEvent *);
288  void focusInEvent(QFocusEvent *);
289  void focusOutEvent(QFocusEvent *);
290  void enterEvent(QEvent *);
291  void leaveEvent(QEvent *);
292  void paintEvent(QPaintEvent *);
293  void moveEvent(QMoveEvent *);
294  void resizeEvent(QResizeEvent *);
295  void closeEvent(QCloseEvent *);
296  void contextMenuEvent(QContextMenuEvent *);
297  void tabletEvent(QTabletEvent *);
298  void actionEvent(QActionEvent *);
299  void dragEnterEvent(QDragEnterEvent *);
300  void dragMoveEvent(QDragMoveEvent *);
301  void dragLeaveEvent(QDragLeaveEvent *);
302  void dropEvent(QDropEvent *);
303  void showEvent(QShowEvent *);
304  void hideEvent(QHideEvent *);
305  void changeEvent(QEvent *);
306  int metric(QPaintDevice::PaintDeviceMetric) const;
307  void inputMethodEvent(QInputMethodEvent *);
308  QVariant inputMethodQuery(Qt::InputMethodQuery) const;
309  bool focusNextPrevChild(bool);
310  void enabledChange(bool);
311  void paletteChange(const QPalette&);
312  void fontChange(const QFont&);
313  void windowActivationChange(bool);
314  void languageChange();
315  bool eventFilter(QObject *,QEvent *);
316  void timerEvent(QTimerEvent *);
317  void childEvent(QChildEvent *);
318  void customEvent(QEvent *);
319  void connectNotify(const char *);
320  void disconnectNotify(const char *);
321 
322 public:
323  sipSimpleWrapper *sipPySelf;
324 
325 private:
326  sipQtPLWidget(const sipQtPLWidget &);
328 
329  char sipPyMethods[47];
330 };
331 
332 sipQtPLWidget::sipQtPLWidget(int a0,int a1,QWidget *a2): QtPLWidget(a0,a1,a2), sipPySelf(0)
333 {
334  memset(sipPyMethods, 0, sizeof (sipPyMethods));
335 }
336 
338 {
340 }
341 
342 const QMetaObject *sipQtPLWidget::metaObject() const
343 {
345 }
346 
347 int sipQtPLWidget::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
348 {
349  _id = QtPLWidget::qt_metacall(_c,_id,_a);
350 
351  if (_id >= 0)
353 
354  return _id;
355 }
356 
357 void *sipQtPLWidget::qt_metacast(const char *_clname)
358 {
359  return (sip_plplot_pyqt4_qt_metacast && sip_plplot_pyqt4_qt_metacast(sipPySelf,sipType_QtPLWidget,_clname)) ? this : QtPLWidget::qt_metacast(_clname);
360 }
361 
363 {
364  sip_gilstate_t sipGILState;
365  PyObject *sipMeth;
366 
367  sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_devType);
368 
369  if (!sipMeth)
370  return QWidget::devType();
371 
372  typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
373 
374  return ((sipVH_QtCore_6)(sipModuleAPI_plplot_pyqt4_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
375 }
376 
378 {
379  sip_gilstate_t sipGILState;
380  PyObject *sipMeth;
381 
382  sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_setVisible);
383 
384  if (!sipMeth)
385  {
386  QWidget::setVisible(a0);
387  return;
388  }
389 
390  typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);
391 
392  ((sipVH_QtGui_6)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
393 }
394 
396 {
397  sip_gilstate_t sipGILState;
398  PyObject *sipMeth;
399 
400  sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_sizeHint);
401 
402  if (!sipMeth)
403  return QWidget::sizeHint();
404 
405  typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
406 
407  return ((sipVH_QtGui_4)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
408 }
409 
411 {
412  sip_gilstate_t sipGILState;
413  PyObject *sipMeth;
414 
415  sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_minimumSizeHint);
416 
417  if (!sipMeth)
418  return QWidget::minimumSizeHint();
419 
420  typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
421 
422  return ((sipVH_QtGui_4)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
423 }
424 
426 {
427  sip_gilstate_t sipGILState;
428  PyObject *sipMeth;
429 
430  sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_heightForWidth);
431 
432  if (!sipMeth)
433  return QWidget::heightForWidth(a0);
434 
435  typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);
436 
437  return ((sipVH_QtGui_28)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
438 }
439 
440 QPaintEngine * sipQtPLWidget::paintEngine() const
441 {
442  sip_gilstate_t sipGILState;
443  PyObject *sipMeth;
444 
445  sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_paintEngine);
446 
447  if (!sipMeth)
448  return QWidget::paintEngine();
449 
450  typedef QPaintEngine * (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
451 
452  return ((sipVH_QtGui_27)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
453 }
454 
455 bool sipQtPLWidget::event(QEvent *a0)
456 {
457  sip_gilstate_t sipGILState;
458  PyObject *sipMeth;
459 
460  sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);
461 
462  if (!sipMeth)
463  return QWidget::event(a0);
464 
465  typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent *);
466 
467  return ((sipVH_QtCore_5)(sipModuleAPI_plplot_pyqt4_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
468 }
469 
470 void sipQtPLWidget::mousePressEvent(QMouseEvent *a0)
471 {
472  sip_gilstate_t sipGILState;
473  PyObject *sipMeth;
474 
475  sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_mousePressEvent);
476 
477  if (!sipMeth)
478  {
479  QtPLWidget::mousePressEvent(a0);
480  return;
481  }
482 
483  typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent *);
484 
485  ((sipVH_QtGui_26)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
486 }
487 
488 void sipQtPLWidget::mouseReleaseEvent(QMouseEvent *a0)
489 {
490  sip_gilstate_t sipGILState;
491  PyObject *sipMeth;
492 
493  sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_mouseReleaseEvent);
494 
495  if (!sipMeth)
496  {
497  QWidget::mouseReleaseEvent(a0);
498  return;
499  }
500 
501  typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent *);
502 
503  ((sipVH_QtGui_26)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
504 }
505 
507 {
508  sip_gilstate_t sipGILState;
509  PyObject *sipMeth;
510 
511  sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_mouseDoubleClickEvent);
512 
513  if (!sipMeth)
514  {
515  QWidget::mouseDoubleClickEvent(a0);
516  return;
517  }
518 
519  typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent *);
520 
521  ((sipVH_QtGui_26)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
522 }
523 
524 void sipQtPLWidget::mouseMoveEvent(QMouseEvent *a0)
525 {
526  sip_gilstate_t sipGILState;
527  PyObject *sipMeth;
528 
529  sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_mouseMoveEvent);
530 
531  if (!sipMeth)
532  {
533  QWidget::mouseMoveEvent(a0);
534  return;
535  }
536 
537  typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent *);
538 
539  ((sipVH_QtGui_26)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
540 }
541 
542 void sipQtPLWidget::wheelEvent(QWheelEvent *a0)
543 {
544  sip_gilstate_t sipGILState;
545  PyObject *sipMeth;
546 
547  sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_wheelEvent);
548 
549  if (!sipMeth)
550  {
551  QWidget::wheelEvent(a0);
552  return;
553  }
554 
555  typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent *);
556 
557  ((sipVH_QtGui_5)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
558 }
559 
560 void sipQtPLWidget::keyPressEvent(QKeyEvent *a0)
561 {
562  sip_gilstate_t sipGILState;
563  PyObject *sipMeth;
564 
565  sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_keyPressEvent);
566 
567  if (!sipMeth)
568  {
569  QtPLWidget::keyPressEvent(a0);
570  return;
571  }
572 
573  typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent *);
574 
575  ((sipVH_QtGui_25)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
576 }
577 
579 {
580  sip_gilstate_t sipGILState;
581  PyObject *sipMeth;
582 
583  sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_keyReleaseEvent);
584 
585  if (!sipMeth)
586  {
587  QWidget::keyReleaseEvent(a0);
588  return;
589  }
590 
591  typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent *);
592 
593  ((sipVH_QtGui_25)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
594 }
595 
596 void sipQtPLWidget::focusInEvent(QFocusEvent *a0)
597 {
598  sip_gilstate_t sipGILState;
599  PyObject *sipMeth;
600 
601  sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_focusInEvent);
602 
603  if (!sipMeth)
604  {
605  QWidget::focusInEvent(a0);
606  return;
607  }
608 
609  typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent *);
610 
611  ((sipVH_QtGui_24)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
612 }
613 
614 void sipQtPLWidget::focusOutEvent(QFocusEvent *a0)
615 {
616  sip_gilstate_t sipGILState;
617  PyObject *sipMeth;
618 
619  sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_focusOutEvent);
620 
621  if (!sipMeth)
622  {
623  QWidget::focusOutEvent(a0);
624  return;
625  }
626 
627  typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent *);
628 
629  ((sipVH_QtGui_24)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
630 }
631 
633 {
634  sip_gilstate_t sipGILState;
635  PyObject *sipMeth;
636 
637  sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_enterEvent);
638 
639  if (!sipMeth)
640  {
641  QWidget::enterEvent(a0);
642  return;
643  }
644 
645  typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent *);
646 
647  ((sipVH_QtCore_17)(sipModuleAPI_plplot_pyqt4_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
648 }
649 
651 {
652  sip_gilstate_t sipGILState;
653  PyObject *sipMeth;
654 
655  sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_leaveEvent);
656 
657  if (!sipMeth)
658  {
659  QWidget::leaveEvent(a0);
660  return;
661  }
662 
663  typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent *);
664 
665  ((sipVH_QtCore_17)(sipModuleAPI_plplot_pyqt4_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
666 }
667 
668 void sipQtPLWidget::paintEvent(QPaintEvent *a0)
669 {
670  sip_gilstate_t sipGILState;
671  PyObject *sipMeth;
672 
673  sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_paintEvent);
674 
675  if (!sipMeth)
676  {
677  QtPLWidget::paintEvent(a0);
678  return;
679  }
680 
681  typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent *);
682 
683  ((sipVH_QtGui_3)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
684 }
685 
686 void sipQtPLWidget::moveEvent(QMoveEvent *a0)
687 {
688  sip_gilstate_t sipGILState;
689  PyObject *sipMeth;
690 
691  sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_moveEvent);
692 
693  if (!sipMeth)
694  {
695  QWidget::moveEvent(a0);
696  return;
697  }
698 
699  typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent *);
700 
701  ((sipVH_QtGui_23)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
702 }
703 
704 void sipQtPLWidget::resizeEvent(QResizeEvent *a0)
705 {
706  sip_gilstate_t sipGILState;
707  PyObject *sipMeth;
708 
709  sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_resizeEvent);
710 
711  if (!sipMeth)
712  {
713  QtPLWidget::resizeEvent(a0);
714  return;
715  }
716 
717  typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent *);
718 
719  ((sipVH_QtGui_2)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
720 }
721 
722 void sipQtPLWidget::closeEvent(QCloseEvent *a0)
723 {
724  sip_gilstate_t sipGILState;
725  PyObject *sipMeth;
726 
727  sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_closeEvent);
728 
729  if (!sipMeth)
730  {
731  QtPLWidget::closeEvent(a0);
732  return;
733  }
734 
735  typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent *);
736 
737  ((sipVH_QtGui_22)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
738 }
739 
740 void sipQtPLWidget::contextMenuEvent(QContextMenuEvent *a0)
741 {
742  sip_gilstate_t sipGILState;
743  PyObject *sipMeth;
744 
745  sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_contextMenuEvent);
746 
747  if (!sipMeth)
748  {
749  QWidget::contextMenuEvent(a0);
750  return;
751  }
752 
753  typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent *);
754 
755  ((sipVH_QtGui_21)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
756 }
757 
758 void sipQtPLWidget::tabletEvent(QTabletEvent *a0)
759 {
760  sip_gilstate_t sipGILState;
761  PyObject *sipMeth;
762 
763  sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_tabletEvent);
764 
765  if (!sipMeth)
766  {
767  QWidget::tabletEvent(a0);
768  return;
769  }
770 
771  typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent *);
772 
773  ((sipVH_QtGui_20)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
774 }
775 
776 void sipQtPLWidget::actionEvent(QActionEvent *a0)
777 {
778  sip_gilstate_t sipGILState;
779  PyObject *sipMeth;
780 
781  sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_actionEvent);
782 
783  if (!sipMeth)
784  {
785  QWidget::actionEvent(a0);
786  return;
787  }
788 
789  typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent *);
790 
791  ((sipVH_QtGui_19)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
792 }
793 
794 void sipQtPLWidget::dragEnterEvent(QDragEnterEvent *a0)
795 {
796  sip_gilstate_t sipGILState;
797  PyObject *sipMeth;
798 
799  sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_dragEnterEvent);
800 
801  if (!sipMeth)
802  {
803  QWidget::dragEnterEvent(a0);
804  return;
805  }
806 
807  typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent *);
808 
809  ((sipVH_QtGui_18)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
810 }
811 
812 void sipQtPLWidget::dragMoveEvent(QDragMoveEvent *a0)
813 {
814  sip_gilstate_t sipGILState;
815  PyObject *sipMeth;
816 
817  sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_dragMoveEvent);
818 
819  if (!sipMeth)
820  {
821  QWidget::dragMoveEvent(a0);
822  return;
823  }
824 
825  typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent *);
826 
827  ((sipVH_QtGui_17)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
828 }
829 
830 void sipQtPLWidget::dragLeaveEvent(QDragLeaveEvent *a0)
831 {
832  sip_gilstate_t sipGILState;
833  PyObject *sipMeth;
834 
835  sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_dragLeaveEvent);
836 
837  if (!sipMeth)
838  {
839  QWidget::dragLeaveEvent(a0);
840  return;
841  }
842 
843  typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent *);
844 
845  ((sipVH_QtGui_16)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
846 }
847 
848 void sipQtPLWidget::dropEvent(QDropEvent *a0)
849 {
850  sip_gilstate_t sipGILState;
851  PyObject *sipMeth;
852 
853  sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_dropEvent);
854 
855  if (!sipMeth)
856  {
857  QWidget::dropEvent(a0);
858  return;
859  }
860 
861  typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent *);
862 
863  ((sipVH_QtGui_15)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
864 }
865 
866 void sipQtPLWidget::showEvent(QShowEvent *a0)
867 {
868  sip_gilstate_t sipGILState;
869  PyObject *sipMeth;
870 
871  sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_showEvent);
872 
873  if (!sipMeth)
874  {
875  QWidget::showEvent(a0);
876  return;
877  }
878 
879  typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent *);
880 
881  ((sipVH_QtGui_1)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
882 }
883 
884 void sipQtPLWidget::hideEvent(QHideEvent *a0)
885 {
886  sip_gilstate_t sipGILState;
887  PyObject *sipMeth;
888 
889  sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_hideEvent);
890 
891  if (!sipMeth)
892  {
893  QWidget::hideEvent(a0);
894  return;
895  }
896 
897  typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent *);
898 
899  ((sipVH_QtGui_0)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
900 }
901 
903 {
904  sip_gilstate_t sipGILState;
905  PyObject *sipMeth;
906 
907  sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_changeEvent);
908 
909  if (!sipMeth)
910  {
911  QWidget::changeEvent(a0);
912  return;
913  }
914 
915  typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent *);
916 
917  ((sipVH_QtCore_17)(sipModuleAPI_plplot_pyqt4_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
918 }
919 
920 int sipQtPLWidget::metric(QPaintDevice::PaintDeviceMetric a0) const
921 {
922  sip_gilstate_t sipGILState;
923  PyObject *sipMeth;
924 
925  sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[32]),sipPySelf,NULL,sipName_metric);
926 
927  if (!sipMeth)
928  return QWidget::metric(a0);
929 
930  typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);
931 
932  return ((sipVH_QtGui_14)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
933 }
934 
935 void sipQtPLWidget::inputMethodEvent(QInputMethodEvent *a0)
936 {
937  sip_gilstate_t sipGILState;
938  PyObject *sipMeth;
939 
940  sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_inputMethodEvent);
941 
942  if (!sipMeth)
943  {
944  QWidget::inputMethodEvent(a0);
945  return;
946  }
947 
948  typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent *);
949 
950  ((sipVH_QtGui_13)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
951 }
952 
953 QVariant sipQtPLWidget::inputMethodQuery(Qt::InputMethodQuery a0) const
954 {
955  sip_gilstate_t sipGILState;
956  PyObject *sipMeth;
957 
958  sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_inputMethodQuery);
959 
960  if (!sipMeth)
961  return QWidget::inputMethodQuery(a0);
962 
963  typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);
964 
965  return ((sipVH_QtGui_12)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
966 }
967 
969 {
970  sip_gilstate_t sipGILState;
971  PyObject *sipMeth;
972 
973  sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_focusNextPrevChild);
974 
975  if (!sipMeth)
976  return QWidget::focusNextPrevChild(a0);
977 
978  typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);
979 
980  return ((sipVH_QtGui_11)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
981 }
982 
984 {
985  sip_gilstate_t sipGILState;
986  PyObject *sipMeth;
987 
988  sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_enabledChange);
989 
990  if (!sipMeth)
991  {
992  QWidget::enabledChange(a0);
993  return;
994  }
995 
996  typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);
997 
998  ((sipVH_QtGui_6)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
999 }
1000 
1001 void sipQtPLWidget::paletteChange(const QPalette& a0)
1002 {
1003  sip_gilstate_t sipGILState;
1004  PyObject *sipMeth;
1005 
1006  sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_paletteChange);
1007 
1008  if (!sipMeth)
1009  {
1010  QWidget::paletteChange(a0);
1011  return;
1012  }
1013 
1014  typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);
1015 
1016  ((sipVH_QtGui_10)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
1017 }
1018 
1019 void sipQtPLWidget::fontChange(const QFont& a0)
1020 {
1021  sip_gilstate_t sipGILState;
1022  PyObject *sipMeth;
1023 
1024  sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_fontChange);
1025 
1026  if (!sipMeth)
1027  {
1028  QWidget::fontChange(a0);
1029  return;
1030  }
1031 
1032  typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);
1033 
1034  ((sipVH_QtGui_9)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
1035 }
1036 
1038 {
1039  sip_gilstate_t sipGILState;
1040  PyObject *sipMeth;
1041 
1042  sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_windowActivationChange);
1043 
1044  if (!sipMeth)
1045  {
1046  QWidget::windowActivationChange(a0);
1047  return;
1048  }
1049 
1050  typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);
1051 
1052  ((sipVH_QtGui_6)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
1053 }
1054 
1056 {
1057  sip_gilstate_t sipGILState;
1058  PyObject *sipMeth;
1059 
1060  sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_languageChange);
1061 
1062  if (!sipMeth)
1063  {
1064  QWidget::languageChange();
1065  return;
1066  }
1067 
1068  typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1069 
1070  ((sipVH_QtCore_11)(sipModuleAPI_plplot_pyqt4_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
1071 }
1072 
1073 bool sipQtPLWidget::eventFilter(QObject *a0,QEvent *a1)
1074 {
1075  sip_gilstate_t sipGILState;
1076  PyObject *sipMeth;
1077 
1078  sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_eventFilter);
1079 
1080  if (!sipMeth)
1081  return QObject::eventFilter(a0,a1);
1082 
1083  typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject *,QEvent *);
1084 
1085  return ((sipVH_QtCore_18)(sipModuleAPI_plplot_pyqt4_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
1086 }
1087 
1088 void sipQtPLWidget::timerEvent(QTimerEvent *a0)
1089 {
1090  sip_gilstate_t sipGILState;
1091  PyObject *sipMeth;
1092 
1093  sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_timerEvent);
1094 
1095  if (!sipMeth)
1096  {
1097  QObject::timerEvent(a0);
1098  return;
1099  }
1100 
1101  typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent *);
1102 
1103  ((sipVH_QtCore_9)(sipModuleAPI_plplot_pyqt4_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
1104 }
1105 
1106 void sipQtPLWidget::childEvent(QChildEvent *a0)
1107 {
1108  sip_gilstate_t sipGILState;
1109  PyObject *sipMeth;
1110 
1111  sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_childEvent);
1112 
1113  if (!sipMeth)
1114  {
1115  QObject::childEvent(a0);
1116  return;
1117  }
1118 
1119  typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent *);
1120 
1121  ((sipVH_QtCore_25)(sipModuleAPI_plplot_pyqt4_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
1122 }
1123 
1125 {
1126  sip_gilstate_t sipGILState;
1127  PyObject *sipMeth;
1128 
1129  sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_customEvent);
1130 
1131  if (!sipMeth)
1132  {
1133  QObject::customEvent(a0);
1134  return;
1135  }
1136 
1137  typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent *);
1138 
1139  ((sipVH_QtCore_17)(sipModuleAPI_plplot_pyqt4_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
1140 }
1141 
1142 void sipQtPLWidget::connectNotify(const char *a0)
1143 {
1144  sip_gilstate_t sipGILState;
1145  PyObject *sipMeth;
1146 
1147  sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_connectNotify);
1148 
1149  if (!sipMeth)
1150  {
1151  QObject::connectNotify(a0);
1152  return;
1153  }
1154 
1155  typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char *);
1156 
1157  ((sipVH_QtCore_24)(sipModuleAPI_plplot_pyqt4_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
1158 }
1159 
1161 {
1162  sip_gilstate_t sipGILState;
1163  PyObject *sipMeth;
1164 
1165  sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_disconnectNotify);
1166 
1167  if (!sipMeth)
1168  {
1169  QObject::disconnectNotify(a0);
1170  return;
1171  }
1172 
1173  typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char *);
1174 
1175  ((sipVH_QtCore_24)(sipModuleAPI_plplot_pyqt4_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
1176 }
1177 
1179 {
1180  return QObject::sender();
1181 }
1182 
1183 int sipQtPLWidget::sipProtect_receivers(const char *a0) const
1184 {
1185  return QObject::receivers(a0);
1186 }
1187 
1188 void sipQtPLWidget::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
1189 {
1190  (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
1191 }
1192 
1193 void sipQtPLWidget::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
1194 {
1195  (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
1196 }
1197 
1198 void sipQtPLWidget::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
1199 {
1200  (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
1201 }
1202 
1203 void sipQtPLWidget::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
1204 {
1205  (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
1206 }
1207 
1208 void sipQtPLWidget::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
1209 {
1210  (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
1211 }
1212 
1214 {
1215  return QObject::senderSignalIndex();
1216 }
1217 
1218 bool sipQtPLWidget::sipProtectVirt_event(bool sipSelfWasArg,QEvent *a0)
1219 {
1220  return (sipSelfWasArg ? QWidget::event(a0) : event(a0));
1221 }
1222 
1223 void sipQtPLWidget::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent *a0)
1224 {
1225  (sipSelfWasArg ? QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
1226 }
1227 
1228 void sipQtPLWidget::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent *a0)
1229 {
1230  (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
1231 }
1232 
1233 void sipQtPLWidget::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent *a0)
1234 {
1235  (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
1236 }
1237 
1238 void sipQtPLWidget::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent *a0)
1239 {
1240  (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
1241 }
1242 
1243 void sipQtPLWidget::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent *a0)
1244 {
1245  (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
1246 }
1247 
1248 void sipQtPLWidget::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent *a0)
1249 {
1250  (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
1251 }
1252 
1253 void sipQtPLWidget::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent *a0)
1254 {
1255  (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
1256 }
1257 
1258 void sipQtPLWidget::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent *a0)
1259 {
1260  (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
1261 }
1262 
1263 void sipQtPLWidget::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent *a0)
1264 {
1265  (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
1266 }
1267 
1268 void sipQtPLWidget::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent *a0)
1269 {
1270  (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
1271 }
1272 
1273 void sipQtPLWidget::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent *a0)
1274 {
1275  (sipSelfWasArg ? QWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
1276 }
1277 
1278 void sipQtPLWidget::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent *a0)
1279 {
1280  (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
1281 }
1282 
1283 void sipQtPLWidget::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent *a0)
1284 {
1285  (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
1286 }
1287 
1288 void sipQtPLWidget::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent *a0)
1289 {
1290  (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
1291 }
1292 
1293 void sipQtPLWidget::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent *a0)
1294 {
1295  (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
1296 }
1297 
1298 void sipQtPLWidget::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent *a0)
1299 {
1300  (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
1301 }
1302 
1303 void sipQtPLWidget::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent *a0)
1304 {
1305  (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
1306 }
1307 
1308 void sipQtPLWidget::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent *a0)
1309 {
1310  (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
1311 }
1312 
1313 void sipQtPLWidget::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent *a0)
1314 {
1315  (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
1316 }
1317 
1318 void sipQtPLWidget::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent *a0)
1319 {
1320  (sipSelfWasArg ? QWidget::changeEvent(a0) : changeEvent(a0));
1321 }
1322 
1323 int sipQtPLWidget::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
1324 {
1325  return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
1326 }
1327 
1328 void sipQtPLWidget::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent *a0)
1329 {
1330  (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
1331 }
1332 
1334 {
1335  QWidget::resetInputContext();
1336 }
1337 
1339 {
1340  QWidget::updateMicroFocus();
1341 }
1342 
1343 void sipQtPLWidget::sipProtect_create(WId a0,bool a1,bool a2)
1344 {
1345  QWidget::create(a0,a1,a2);
1346 }
1347 
1349 {
1350  QWidget::destroy(a0,a1);
1351 }
1352 
1354 {
1355  return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
1356 }
1357 
1359 {
1360  return QWidget::focusNextChild();
1361 }
1362 
1364 {
1365  return QWidget::focusPreviousChild();
1366 }
1367 
1368 void sipQtPLWidget::sipProtectVirt_enabledChange(bool sipSelfWasArg,bool a0)
1369 {
1370  (sipSelfWasArg ? QWidget::enabledChange(a0) : enabledChange(a0));
1371 }
1372 
1373 void sipQtPLWidget::sipProtectVirt_paletteChange(bool sipSelfWasArg,const QPalette& a0)
1374 {
1375  (sipSelfWasArg ? QWidget::paletteChange(a0) : paletteChange(a0));
1376 }
1377 
1378 void sipQtPLWidget::sipProtectVirt_fontChange(bool sipSelfWasArg,const QFont& a0)
1379 {
1380  (sipSelfWasArg ? QWidget::fontChange(a0) : fontChange(a0));
1381 }
1382 
1384 {
1385  (sipSelfWasArg ? QWidget::windowActivationChange(a0) : windowActivationChange(a0));
1386 }
1387 
1389 {
1390  (sipSelfWasArg ? QWidget::languageChange() : languageChange());
1391 }
1392 
1393 void sipQtPLWidget::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent *a0)
1394 {
1395  (sipSelfWasArg ? QtPLWidget::mousePressEvent(a0) : mousePressEvent(a0));
1396 }
1397 
1398 void sipQtPLWidget::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent *a0)
1399 {
1400  (sipSelfWasArg ? QtPLWidget::keyPressEvent(a0) : keyPressEvent(a0));
1401 }
1402 
1403 void sipQtPLWidget::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent *a0)
1404 {
1405  (sipSelfWasArg ? QtPLWidget::closeEvent(a0) : closeEvent(a0));
1406 }
1407 
1409 {
1410  QtPLWidget::nextPage();
1411 }
1412 
1413 void sipQtPLWidget::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent *a0)
1414 {
1415  (sipSelfWasArg ? QtPLWidget::resizeEvent(a0) : resizeEvent(a0));
1416 }
1417 
1418 void sipQtPLWidget::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent *a0)
1419 {
1420  (sipSelfWasArg ? QtPLWidget::paintEvent(a0) : paintEvent(a0));
1421 }
1422 
1423 void sipQtPLWidget::sipProtect_getPlotParameters(double& a0,double& a1,double& a2,double& a3)
1424 {
1425  QtPLWidget::getPlotParameters(a0,a1,a2,a3);
1426 }
1427 
1428 
1429 extern "C" {static PyObject *meth_QtPLWidget_sender(PyObject *, PyObject *, PyObject *);}
1430 static PyObject *meth_QtPLWidget_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1431 {
1432  PyObject *sipParseErr = NULL;
1433 
1434  {
1435  const sipQtPLWidget *sipCpp;
1436 
1437  if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QtPLWidget, &sipCpp))
1438  {
1439  QObject *sipRes = 0;
1440 
1441 #line 658 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
1442  typedef QObject *(*helper_func)(QObject *);
1443 
1444  static helper_func helper = 0;
1445 
1446  if (!helper)
1447  helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
1448 
1449  // sender() must be called without the GIL to avoid possible deadlocks between
1450  // the GIL ad Qt's internal thread data mutex.
1451 
1452  Py_BEGIN_ALLOW_THREADS
1453 
1454  #if defined(SIP_PROTECTED_IS_PUBLIC)
1455  sipRes = sipCpp->sender();
1456  #else
1457  sipRes = sipCpp->sipProtect_sender();
1458  #endif
1459 
1460  Py_END_ALLOW_THREADS
1461 
1462  if (helper)
1463  sipRes = helper(sipRes);
1464 #line 1465 "./sipplplot_pyqt4QtPLWidget.cpp"
1465 
1466  return sipConvertFromType(sipRes,sipType_QObject,NULL);
1467  }
1468  }
1469 
1470  /* Raise an exception if the arguments couldn't be parsed. */
1471  sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_sender, NULL);
1472 
1473  return NULL;
1474 }
1475 
1476 
1477 extern "C" {static PyObject *meth_QtPLWidget_receivers(PyObject *, PyObject *, PyObject *);}
1478 static PyObject *meth_QtPLWidget_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1479 {
1480  PyObject *sipParseErr = NULL;
1481 
1482  {
1483  char * a0;
1484  const sipQtPLWidget *sipCpp;
1485 
1486  if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QtPLWidget, &sipCpp, &a0))
1487  {
1488  int sipRes = 0;
1489 
1490 #line 684 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
1491  // We need to take into account any proxies for Python signals. Import the
1492  // helper if it hasn't already been done.
1493  typedef int (*helper_func)(QObject *, const char *, int);
1494 
1495  static helper_func helper = 0;
1496 
1497  if (!helper)
1498  helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
1499 
1500  // PyQt5: Get rid of the const casts.
1501  if (helper)
1502  #if defined(SIP_PROTECTED_IS_PUBLIC)
1503  sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
1504  #else
1505  sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
1506  #endif
1507 #line 1508 "./sipplplot_pyqt4QtPLWidget.cpp"
1508 
1509  return SIPLong_FromLong(sipRes);
1510  }
1511  }
1512 
1513  /* Raise an exception if the arguments couldn't be parsed. */
1514  sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_receivers, NULL);
1515 
1516  return NULL;
1517 }
1518 
1519 
1520 extern "C" {static PyObject *meth_QtPLWidget_timerEvent(PyObject *, PyObject *, PyObject *);}
1521 static PyObject *meth_QtPLWidget_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1522 {
1523  PyObject *sipParseErr = NULL;
1524  bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
1525 
1526  {
1527  QTimerEvent * a0;
1528  sipQtPLWidget *sipCpp;
1529 
1530  if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QTimerEvent, &a0))
1531  {
1532  Py_BEGIN_ALLOW_THREADS
1533  sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
1534  Py_END_ALLOW_THREADS
1535 
1536  Py_INCREF(Py_None);
1537  return Py_None;
1538  }
1539  }
1540 
1541  /* Raise an exception if the arguments couldn't be parsed. */
1542  sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_timerEvent, NULL);
1543 
1544  return NULL;
1545 }
1546 
1547 
1548 extern "C" {static PyObject *meth_QtPLWidget_childEvent(PyObject *, PyObject *, PyObject *);}
1549 static PyObject *meth_QtPLWidget_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1550 {
1551  PyObject *sipParseErr = NULL;
1552  bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
1553 
1554  {
1555  QChildEvent * a0;
1556  sipQtPLWidget *sipCpp;
1557 
1558  if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QChildEvent, &a0))
1559  {
1560  Py_BEGIN_ALLOW_THREADS
1561  sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
1562  Py_END_ALLOW_THREADS
1563 
1564  Py_INCREF(Py_None);
1565  return Py_None;
1566  }
1567  }
1568 
1569  /* Raise an exception if the arguments couldn't be parsed. */
1570  sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_childEvent, NULL);
1571 
1572  return NULL;
1573 }
1574 
1575 
1576 extern "C" {static PyObject *meth_QtPLWidget_customEvent(PyObject *, PyObject *, PyObject *);}
1577 static PyObject *meth_QtPLWidget_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1578 {
1579  PyObject *sipParseErr = NULL;
1580  bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
1581 
1582  {
1583  QEvent * a0;
1584  sipQtPLWidget *sipCpp;
1585 
1586  if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QEvent, &a0))
1587  {
1588  Py_BEGIN_ALLOW_THREADS
1589  sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
1590  Py_END_ALLOW_THREADS
1591 
1592  Py_INCREF(Py_None);
1593  return Py_None;
1594  }
1595  }
1596 
1597  /* Raise an exception if the arguments couldn't be parsed. */
1598  sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_customEvent, NULL);
1599 
1600  return NULL;
1601 }
1602 
1603 
1604 extern "C" {static PyObject *meth_QtPLWidget_connectNotify(PyObject *, PyObject *, PyObject *);}
1605 static PyObject *meth_QtPLWidget_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1606 {
1607  PyObject *sipParseErr = NULL;
1608  bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
1609 
1610  {
1611  char * a0;
1612  sipQtPLWidget *sipCpp;
1613 
1614  if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QtPLWidget, &sipCpp, &a0))
1615  {
1616  Py_BEGIN_ALLOW_THREADS
1617  sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
1618  Py_END_ALLOW_THREADS
1619 
1620  Py_INCREF(Py_None);
1621  return Py_None;
1622  }
1623  }
1624 
1625  /* Raise an exception if the arguments couldn't be parsed. */
1627 
1628  return NULL;
1629 }
1630 
1631 
1632 extern "C" {static PyObject *meth_QtPLWidget_disconnectNotify(PyObject *, PyObject *, PyObject *);}
1633 static PyObject *meth_QtPLWidget_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1634 {
1635  PyObject *sipParseErr = NULL;
1636  bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
1637 
1638  {
1639  char * a0;
1640  sipQtPLWidget *sipCpp;
1641 
1642  if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QtPLWidget, &sipCpp, &a0))
1643  {
1644  Py_BEGIN_ALLOW_THREADS
1645  sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
1646  Py_END_ALLOW_THREADS
1647 
1648  Py_INCREF(Py_None);
1649  return Py_None;
1650  }
1651  }
1652 
1653  /* Raise an exception if the arguments couldn't be parsed. */
1655 
1656  return NULL;
1657 }
1658 
1659 
1660 extern "C" {static PyObject *meth_QtPLWidget_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
1661 static PyObject *meth_QtPLWidget_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1662 {
1663  PyObject *sipParseErr = NULL;
1664 
1665  {
1666  const sipQtPLWidget *sipCpp;
1667 
1668  if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QtPLWidget, &sipCpp))
1669  {
1670  int sipRes;
1671 
1672  Py_BEGIN_ALLOW_THREADS
1673  sipRes = sipCpp->sipProtect_senderSignalIndex();
1674  Py_END_ALLOW_THREADS
1675 
1676  return SIPLong_FromLong(sipRes);
1677  }
1678  }
1679 
1680  /* Raise an exception if the arguments couldn't be parsed. */
1682 
1683  return NULL;
1684 }
1685 
1686 
1687 extern "C" {static PyObject *meth_QtPLWidget_event(PyObject *, PyObject *, PyObject *);}
1688 static PyObject *meth_QtPLWidget_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1689 {
1690  PyObject *sipParseErr = NULL;
1691  bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
1692 
1693  {
1694  QEvent * a0;
1695  sipQtPLWidget *sipCpp;
1696 
1697  if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QEvent, &a0))
1698  {
1699  bool sipRes;
1700 
1701  Py_BEGIN_ALLOW_THREADS
1702  sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);
1703  Py_END_ALLOW_THREADS
1704 
1705  return PyBool_FromLong(sipRes);
1706  }
1707  }
1708 
1709  /* Raise an exception if the arguments couldn't be parsed. */
1710  sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_event, NULL);
1711 
1712  return NULL;
1713 }
1714 
1715 
1716 extern "C" {static PyObject *meth_QtPLWidget_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
1717 static PyObject *meth_QtPLWidget_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1718 {
1719  PyObject *sipParseErr = NULL;
1720  bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
1721 
1722  {
1723  QMouseEvent * a0;
1724  sipQtPLWidget *sipCpp;
1725 
1726  if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QMouseEvent, &a0))
1727  {
1728  Py_BEGIN_ALLOW_THREADS
1729  sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);
1730  Py_END_ALLOW_THREADS
1731 
1732  Py_INCREF(Py_None);
1733  return Py_None;
1734  }
1735  }
1736 
1737  /* Raise an exception if the arguments couldn't be parsed. */
1739 
1740  return NULL;
1741 }
1742 
1743 
1744 extern "C" {static PyObject *meth_QtPLWidget_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
1745 static PyObject *meth_QtPLWidget_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1746 {
1747  PyObject *sipParseErr = NULL;
1748  bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
1749 
1750  {
1751  QMouseEvent * a0;
1752  sipQtPLWidget *sipCpp;
1753 
1754  if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QMouseEvent, &a0))
1755  {
1756  Py_BEGIN_ALLOW_THREADS
1757  sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);
1758  Py_END_ALLOW_THREADS
1759 
1760  Py_INCREF(Py_None);
1761  return Py_None;
1762  }
1763  }
1764 
1765  /* Raise an exception if the arguments couldn't be parsed. */
1767 
1768  return NULL;
1769 }
1770 
1771 
1772 extern "C" {static PyObject *meth_QtPLWidget_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
1773 static PyObject *meth_QtPLWidget_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1774 {
1775  PyObject *sipParseErr = NULL;
1776  bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
1777 
1778  {
1779  QMouseEvent * a0;
1780  sipQtPLWidget *sipCpp;
1781 
1782  if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QMouseEvent, &a0))
1783  {
1784  Py_BEGIN_ALLOW_THREADS
1785  sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);
1786  Py_END_ALLOW_THREADS
1787 
1788  Py_INCREF(Py_None);
1789  return Py_None;
1790  }
1791  }
1792 
1793  /* Raise an exception if the arguments couldn't be parsed. */
1795 
1796  return NULL;
1797 }
1798 
1799 
1800 extern "C" {static PyObject *meth_QtPLWidget_wheelEvent(PyObject *, PyObject *, PyObject *);}
1801 static PyObject *meth_QtPLWidget_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1802 {
1803  PyObject *sipParseErr = NULL;
1804  bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
1805 
1806  {
1807  QWheelEvent * a0;
1808  sipQtPLWidget *sipCpp;
1809 
1810  if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QWheelEvent, &a0))
1811  {
1812  Py_BEGIN_ALLOW_THREADS
1813  sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);
1814  Py_END_ALLOW_THREADS
1815 
1816  Py_INCREF(Py_None);
1817  return Py_None;
1818  }
1819  }
1820 
1821  /* Raise an exception if the arguments couldn't be parsed. */
1822  sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_wheelEvent, NULL);
1823 
1824  return NULL;
1825 }
1826 
1827 
1828 extern "C" {static PyObject *meth_QtPLWidget_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
1829 static PyObject *meth_QtPLWidget_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1830 {
1831  PyObject *sipParseErr = NULL;
1832  bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
1833 
1834  {
1835  QKeyEvent * a0;
1836  sipQtPLWidget *sipCpp;
1837 
1838  if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QKeyEvent, &a0))
1839  {
1840  Py_BEGIN_ALLOW_THREADS
1841  sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);
1842  Py_END_ALLOW_THREADS
1843 
1844  Py_INCREF(Py_None);
1845  return Py_None;
1846  }
1847  }
1848 
1849  /* Raise an exception if the arguments couldn't be parsed. */
1851 
1852  return NULL;
1853 }
1854 
1855 
1856 extern "C" {static PyObject *meth_QtPLWidget_focusInEvent(PyObject *, PyObject *, PyObject *);}
1857 static PyObject *meth_QtPLWidget_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1858 {
1859  PyObject *sipParseErr = NULL;
1860  bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
1861 
1862  {
1863  QFocusEvent * a0;
1864  sipQtPLWidget *sipCpp;
1865 
1866  if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QFocusEvent, &a0))
1867  {
1868  Py_BEGIN_ALLOW_THREADS
1869  sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);
1870  Py_END_ALLOW_THREADS
1871 
1872  Py_INCREF(Py_None);
1873  return Py_None;
1874  }
1875  }
1876 
1877  /* Raise an exception if the arguments couldn't be parsed. */
1879 
1880  return NULL;
1881 }
1882 
1883 
1884 extern "C" {static PyObject *meth_QtPLWidget_focusOutEvent(PyObject *, PyObject *, PyObject *);}
1885 static PyObject *meth_QtPLWidget_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1886 {
1887  PyObject *sipParseErr = NULL;
1888  bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
1889 
1890  {
1891  QFocusEvent * a0;
1892  sipQtPLWidget *sipCpp;
1893 
1894  if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QFocusEvent, &a0))
1895  {
1896  Py_BEGIN_ALLOW_THREADS
1897  sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);
1898  Py_END_ALLOW_THREADS
1899 
1900  Py_INCREF(Py_None);
1901  return Py_None;
1902  }
1903  }
1904 
1905  /* Raise an exception if the arguments couldn't be parsed. */
1907 
1908  return NULL;
1909 }
1910 
1911 
1912 extern "C" {static PyObject *meth_QtPLWidget_enterEvent(PyObject *, PyObject *, PyObject *);}
1913 static PyObject *meth_QtPLWidget_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1914 {
1915  PyObject *sipParseErr = NULL;
1916  bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
1917 
1918  {
1919  QEvent * a0;
1920  sipQtPLWidget *sipCpp;
1921 
1922  if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QEvent, &a0))
1923  {
1924  Py_BEGIN_ALLOW_THREADS
1925  sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);
1926  Py_END_ALLOW_THREADS
1927 
1928  Py_INCREF(Py_None);
1929  return Py_None;
1930  }
1931  }
1932 
1933  /* Raise an exception if the arguments couldn't be parsed. */
1934  sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_enterEvent, NULL);
1935 
1936  return NULL;
1937 }
1938 
1939 
1940 extern "C" {static PyObject *meth_QtPLWidget_leaveEvent(PyObject *, PyObject *, PyObject *);}
1941 static PyObject *meth_QtPLWidget_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1942 {
1943  PyObject *sipParseErr = NULL;
1944  bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
1945 
1946  {
1947  QEvent * a0;
1948  sipQtPLWidget *sipCpp;
1949 
1950  if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QEvent, &a0))
1951  {
1952  Py_BEGIN_ALLOW_THREADS
1953  sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);
1954  Py_END_ALLOW_THREADS
1955 
1956  Py_INCREF(Py_None);
1957  return Py_None;
1958  }
1959  }
1960 
1961  /* Raise an exception if the arguments couldn't be parsed. */
1962  sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_leaveEvent, NULL);
1963 
1964  return NULL;
1965 }
1966 
1967 
1968 extern "C" {static PyObject *meth_QtPLWidget_moveEvent(PyObject *, PyObject *, PyObject *);}
1969 static PyObject *meth_QtPLWidget_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1970 {
1971  PyObject *sipParseErr = NULL;
1972  bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
1973 
1974  {
1975  QMoveEvent * a0;
1976  sipQtPLWidget *sipCpp;
1977 
1978  if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QMoveEvent, &a0))
1979  {
1980  Py_BEGIN_ALLOW_THREADS
1981  sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);
1982  Py_END_ALLOW_THREADS
1983 
1984  Py_INCREF(Py_None);
1985  return Py_None;
1986  }
1987  }
1988 
1989  /* Raise an exception if the arguments couldn't be parsed. */
1990  sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_moveEvent, NULL);
1991 
1992  return NULL;
1993 }
1994 
1995 
1996 extern "C" {static PyObject *meth_QtPLWidget_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
1997 static PyObject *meth_QtPLWidget_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1998 {
1999  PyObject *sipParseErr = NULL;
2000  bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
2001 
2002  {
2003  QContextMenuEvent * a0;
2004  sipQtPLWidget *sipCpp;
2005 
2006  if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QContextMenuEvent, &a0))
2007  {
2008  Py_BEGIN_ALLOW_THREADS
2009  sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);
2010  Py_END_ALLOW_THREADS
2011 
2012  Py_INCREF(Py_None);
2013  return Py_None;
2014  }
2015  }
2016 
2017  /* Raise an exception if the arguments couldn't be parsed. */
2019 
2020  return NULL;
2021 }
2022 
2023 
2024 extern "C" {static PyObject *meth_QtPLWidget_tabletEvent(PyObject *, PyObject *, PyObject *);}
2025 static PyObject *meth_QtPLWidget_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2026 {
2027  PyObject *sipParseErr = NULL;
2028  bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
2029 
2030  {
2031  QTabletEvent * a0;
2032  sipQtPLWidget *sipCpp;
2033 
2034  if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QTabletEvent, &a0))
2035  {
2036  Py_BEGIN_ALLOW_THREADS
2037  sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);
2038  Py_END_ALLOW_THREADS
2039 
2040  Py_INCREF(Py_None);
2041  return Py_None;
2042  }
2043  }
2044 
2045  /* Raise an exception if the arguments couldn't be parsed. */
2046  sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_tabletEvent, NULL);
2047 
2048  return NULL;
2049 }
2050 
2051 
2052 extern "C" {static PyObject *meth_QtPLWidget_actionEvent(PyObject *, PyObject *, PyObject *);}
2053 static PyObject *meth_QtPLWidget_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2054 {
2055  PyObject *sipParseErr = NULL;
2056  bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
2057 
2058  {
2059  QActionEvent * a0;
2060  sipQtPLWidget *sipCpp;
2061 
2062  if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QActionEvent, &a0))
2063  {
2064  Py_BEGIN_ALLOW_THREADS
2065  sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);
2066  Py_END_ALLOW_THREADS
2067 
2068  Py_INCREF(Py_None);
2069  return Py_None;
2070  }
2071  }
2072 
2073  /* Raise an exception if the arguments couldn't be parsed. */
2074  sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_actionEvent, NULL);
2075 
2076  return NULL;
2077 }
2078 
2079 
2080 extern "C" {static PyObject *meth_QtPLWidget_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
2081 static PyObject *meth_QtPLWidget_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2082 {
2083  PyObject *sipParseErr = NULL;
2084  bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
2085 
2086  {
2087  QDragEnterEvent * a0;
2088  sipQtPLWidget *sipCpp;
2089 
2090  if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QDragEnterEvent, &a0))
2091  {
2092  Py_BEGIN_ALLOW_THREADS
2093  sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);
2094  Py_END_ALLOW_THREADS
2095 
2096  Py_INCREF(Py_None);
2097  return Py_None;
2098  }
2099  }
2100 
2101  /* Raise an exception if the arguments couldn't be parsed. */
2103 
2104  return NULL;
2105 }
2106 
2107 
2108 extern "C" {static PyObject *meth_QtPLWidget_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
2109 static PyObject *meth_QtPLWidget_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2110 {
2111  PyObject *sipParseErr = NULL;
2112  bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
2113 
2114  {
2115  QDragMoveEvent * a0;
2116  sipQtPLWidget *sipCpp;
2117 
2118  if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QDragMoveEvent, &a0))
2119  {
2120  Py_BEGIN_ALLOW_THREADS
2121  sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);
2122  Py_END_ALLOW_THREADS
2123 
2124  Py_INCREF(Py_None);
2125  return Py_None;
2126  }
2127  }
2128 
2129  /* Raise an exception if the arguments couldn't be parsed. */
2131 
2132  return NULL;
2133 }
2134 
2135 
2136 extern "C" {static PyObject *meth_QtPLWidget_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
2137 static PyObject *meth_QtPLWidget_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2138 {
2139  PyObject *sipParseErr = NULL;
2140  bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
2141 
2142  {
2143  QDragLeaveEvent * a0;
2144  sipQtPLWidget *sipCpp;
2145 
2146  if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QDragLeaveEvent, &a0))
2147  {
2148  Py_BEGIN_ALLOW_THREADS
2149  sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);
2150  Py_END_ALLOW_THREADS
2151 
2152  Py_INCREF(Py_None);
2153  return Py_None;
2154  }
2155  }
2156 
2157  /* Raise an exception if the arguments couldn't be parsed. */
2159 
2160  return NULL;
2161 }
2162 
2163 
2164 extern "C" {static PyObject *meth_QtPLWidget_dropEvent(PyObject *, PyObject *, PyObject *);}
2165 static PyObject *meth_QtPLWidget_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2166 {
2167  PyObject *sipParseErr = NULL;
2168  bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
2169 
2170  {
2171  QDropEvent * a0;
2172  sipQtPLWidget *sipCpp;
2173 
2174  if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QDropEvent, &a0))
2175  {
2176  Py_BEGIN_ALLOW_THREADS
2177  sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);
2178  Py_END_ALLOW_THREADS
2179 
2180  Py_INCREF(Py_None);
2181  return Py_None;
2182  }
2183  }
2184 
2185  /* Raise an exception if the arguments couldn't be parsed. */
2186  sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_dropEvent, NULL);
2187 
2188  return NULL;
2189 }
2190 
2191 
2192 extern "C" {static PyObject *meth_QtPLWidget_showEvent(PyObject *, PyObject *, PyObject *);}
2193 static PyObject *meth_QtPLWidget_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2194 {
2195  PyObject *sipParseErr = NULL;
2196  bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
2197 
2198  {
2199  QShowEvent * a0;
2200  sipQtPLWidget *sipCpp;
2201 
2202  if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QShowEvent, &a0))
2203  {
2204  Py_BEGIN_ALLOW_THREADS
2205  sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);
2206  Py_END_ALLOW_THREADS
2207 
2208  Py_INCREF(Py_None);
2209  return Py_None;
2210  }
2211  }
2212 
2213  /* Raise an exception if the arguments couldn't be parsed. */
2214  sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_showEvent, NULL);
2215 
2216  return NULL;
2217 }
2218 
2219 
2220 extern "C" {static PyObject *meth_QtPLWidget_hideEvent(PyObject *, PyObject *, PyObject *);}
2221 static PyObject *meth_QtPLWidget_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2222 {
2223  PyObject *sipParseErr = NULL;
2224  bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
2225 
2226  {
2227  QHideEvent * a0;
2228  sipQtPLWidget *sipCpp;
2229 
2230  if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QHideEvent, &a0))
2231  {
2232  Py_BEGIN_ALLOW_THREADS
2233  sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);
2234  Py_END_ALLOW_THREADS
2235 
2236  Py_INCREF(Py_None);
2237  return Py_None;
2238  }
2239  }
2240 
2241  /* Raise an exception if the arguments couldn't be parsed. */
2242  sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_hideEvent, NULL);
2243 
2244  return NULL;
2245 }
2246 
2247 
2248 extern "C" {static PyObject *meth_QtPLWidget_changeEvent(PyObject *, PyObject *, PyObject *);}
2249 static PyObject *meth_QtPLWidget_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2250 {
2251  PyObject *sipParseErr = NULL;
2252  bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
2253 
2254  {
2255  QEvent * a0;
2256  sipQtPLWidget *sipCpp;
2257 
2258  if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QEvent, &a0))
2259  {
2260  Py_BEGIN_ALLOW_THREADS
2261  sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);
2262  Py_END_ALLOW_THREADS
2263 
2264  Py_INCREF(Py_None);
2265  return Py_None;
2266  }
2267  }
2268 
2269  /* Raise an exception if the arguments couldn't be parsed. */
2270  sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_changeEvent, NULL);
2271 
2272  return NULL;
2273 }
2274 
2275 
2276 extern "C" {static PyObject *meth_QtPLWidget_metric(PyObject *, PyObject *, PyObject *);}
2277 static PyObject *meth_QtPLWidget_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2278 {
2279  PyObject *sipParseErr = NULL;
2280  bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
2281 
2282  {
2283  QPaintDevice::PaintDeviceMetric a0;
2284  const sipQtPLWidget *sipCpp;
2285 
2286  if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
2287  {
2288  int sipRes;
2289 
2290  Py_BEGIN_ALLOW_THREADS
2291  sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);
2292  Py_END_ALLOW_THREADS
2293 
2294  return SIPLong_FromLong(sipRes);
2295  }
2296  }
2297 
2298  /* Raise an exception if the arguments couldn't be parsed. */
2299  sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_metric, NULL);
2300 
2301  return NULL;
2302 }
2303 
2304 
2305 extern "C" {static PyObject *meth_QtPLWidget_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
2306 static PyObject *meth_QtPLWidget_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2307 {
2308  PyObject *sipParseErr = NULL;
2309  bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
2310 
2311  {
2312  QInputMethodEvent * a0;
2313  sipQtPLWidget *sipCpp;
2314 
2315  if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QInputMethodEvent, &a0))
2316  {
2317  Py_BEGIN_ALLOW_THREADS
2318  sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);
2319  Py_END_ALLOW_THREADS
2320 
2321  Py_INCREF(Py_None);
2322  return Py_None;
2323  }
2324  }
2325 
2326  /* Raise an exception if the arguments couldn't be parsed. */
2328 
2329  return NULL;
2330 }
2331 
2332 
2333 extern "C" {static PyObject *meth_QtPLWidget_resetInputContext(PyObject *, PyObject *, PyObject *);}
2334 static PyObject *meth_QtPLWidget_resetInputContext(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2335 {
2336  PyObject *sipParseErr = NULL;
2337 
2338  {
2339  sipQtPLWidget *sipCpp;
2340 
2341  if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QtPLWidget, &sipCpp))
2342  {
2343  Py_BEGIN_ALLOW_THREADS
2344  sipCpp->sipProtect_resetInputContext();
2345  Py_END_ALLOW_THREADS
2346 
2347  Py_INCREF(Py_None);
2348  return Py_None;
2349  }
2350  }
2351 
2352  /* Raise an exception if the arguments couldn't be parsed. */
2354 
2355  return NULL;
2356 }
2357 
2358 
2359 extern "C" {static PyObject *meth_QtPLWidget_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
2360 static PyObject *meth_QtPLWidget_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2361 {
2362  PyObject *sipParseErr = NULL;
2363 
2364  {
2365  sipQtPLWidget *sipCpp;
2366 
2367  if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QtPLWidget, &sipCpp))
2368  {
2369  Py_BEGIN_ALLOW_THREADS
2370  sipCpp->sipProtect_updateMicroFocus();
2371  Py_END_ALLOW_THREADS
2372 
2373  Py_INCREF(Py_None);
2374  return Py_None;
2375  }
2376  }
2377 
2378  /* Raise an exception if the arguments couldn't be parsed. */
2380 
2381  return NULL;
2382 }
2383 
2384 
2385 extern "C" {static PyObject *meth_QtPLWidget_create(PyObject *, PyObject *, PyObject *);}
2386 static PyObject *meth_QtPLWidget_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2387 {
2388  PyObject *sipParseErr = NULL;
2389 
2390  {
2391  WId a0 = 0;
2392  bool a1 = 1;
2393  bool a2 = 1;
2394  sipQtPLWidget *sipCpp;
2395 
2396  static const char *sipKwdList[] = {
2400  };
2401 
2402  if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|mbb", &sipSelf, sipType_QtPLWidget, &sipCpp, &a0, &a1, &a2))
2403  {
2404  Py_BEGIN_ALLOW_THREADS
2405  sipCpp->sipProtect_create(a0,a1,a2);
2406  Py_END_ALLOW_THREADS
2407 
2408  Py_INCREF(Py_None);
2409  return Py_None;
2410  }
2411  }
2412 
2413  /* Raise an exception if the arguments couldn't be parsed. */
2414  sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_create, NULL);
2415 
2416  return NULL;
2417 }
2418 
2419 
2420 extern "C" {static PyObject *meth_QtPLWidget_destroy(PyObject *, PyObject *, PyObject *);}
2421 static PyObject *meth_QtPLWidget_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2422 {
2423  PyObject *sipParseErr = NULL;
2424 
2425  {
2426  bool a0 = 1;
2427  bool a1 = 1;
2428  sipQtPLWidget *sipCpp;
2429 
2430  static const char *sipKwdList[] = {
2433  };
2434 
2435  if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QtPLWidget, &sipCpp, &a0, &a1))
2436  {
2437  Py_BEGIN_ALLOW_THREADS
2438  sipCpp->sipProtect_destroy(a0,a1);
2439  Py_END_ALLOW_THREADS
2440 
2441  Py_INCREF(Py_None);
2442  return Py_None;
2443  }
2444  }
2445 
2446  /* Raise an exception if the arguments couldn't be parsed. */
2447  sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_destroy, NULL);
2448 
2449  return NULL;
2450 }
2451 
2452 
2453 extern "C" {static PyObject *meth_QtPLWidget_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
2454 static PyObject *meth_QtPLWidget_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2455 {
2456  PyObject *sipParseErr = NULL;
2457  bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
2458 
2459  {
2460  bool a0;
2461  sipQtPLWidget *sipCpp;
2462 
2463  if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QtPLWidget, &sipCpp, &a0))
2464  {
2465  bool sipRes;
2466 
2467  Py_BEGIN_ALLOW_THREADS
2468  sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);
2469  Py_END_ALLOW_THREADS
2470 
2471  return PyBool_FromLong(sipRes);
2472  }
2473  }
2474 
2475  /* Raise an exception if the arguments couldn't be parsed. */
2477 
2478  return NULL;
2479 }
2480 
2481 
2482 extern "C" {static PyObject *meth_QtPLWidget_focusNextChild(PyObject *, PyObject *, PyObject *);}
2483 static PyObject *meth_QtPLWidget_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2484 {
2485  PyObject *sipParseErr = NULL;
2486 
2487  {
2488  sipQtPLWidget *sipCpp;
2489 
2490  if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QtPLWidget, &sipCpp))
2491  {
2492  bool sipRes;
2493 
2494  Py_BEGIN_ALLOW_THREADS
2495  sipRes = sipCpp->sipProtect_focusNextChild();
2496  Py_END_ALLOW_THREADS
2497 
2498  return PyBool_FromLong(sipRes);
2499  }
2500  }
2501 
2502  /* Raise an exception if the arguments couldn't be parsed. */
2504 
2505  return NULL;
2506 }
2507 
2508 
2509 extern "C" {static PyObject *meth_QtPLWidget_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
2510 static PyObject *meth_QtPLWidget_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2511 {
2512  PyObject *sipParseErr = NULL;
2513 
2514  {
2515  sipQtPLWidget *sipCpp;
2516 
2517  if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QtPLWidget, &sipCpp))
2518  {
2519  bool sipRes;
2520 
2521  Py_BEGIN_ALLOW_THREADS
2522  sipRes = sipCpp->sipProtect_focusPreviousChild();
2523  Py_END_ALLOW_THREADS
2524 
2525  return PyBool_FromLong(sipRes);
2526  }
2527  }
2528 
2529  /* Raise an exception if the arguments couldn't be parsed. */
2531 
2532  return NULL;
2533 }
2534 
2535 
2536 extern "C" {static PyObject *meth_QtPLWidget_enabledChange(PyObject *, PyObject *, PyObject *);}
2537 static PyObject *meth_QtPLWidget_enabledChange(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2538 {
2539  PyObject *sipParseErr = NULL;
2540  bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
2541 
2542  {
2543  bool a0;
2544  sipQtPLWidget *sipCpp;
2545 
2546  if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QtPLWidget, &sipCpp, &a0))
2547  {
2548  Py_BEGIN_ALLOW_THREADS
2549  sipCpp->sipProtectVirt_enabledChange(sipSelfWasArg,a0);
2550  Py_END_ALLOW_THREADS
2551 
2552  Py_INCREF(Py_None);
2553  return Py_None;
2554  }
2555  }
2556 
2557  /* Raise an exception if the arguments couldn't be parsed. */
2559 
2560  return NULL;
2561 }
2562 
2563 
2564 extern "C" {static PyObject *meth_QtPLWidget_paletteChange(PyObject *, PyObject *, PyObject *);}
2565 static PyObject *meth_QtPLWidget_paletteChange(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2566 {
2567  PyObject *sipParseErr = NULL;
2568  bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
2569 
2570  {
2571  const QPalette * a0;
2572  sipQtPLWidget *sipCpp;
2573 
2574  if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QPalette, &a0))
2575  {
2576  Py_BEGIN_ALLOW_THREADS
2577  sipCpp->sipProtectVirt_paletteChange(sipSelfWasArg,*a0);
2578  Py_END_ALLOW_THREADS
2579 
2580  Py_INCREF(Py_None);
2581  return Py_None;
2582  }
2583  }
2584 
2585  /* Raise an exception if the arguments couldn't be parsed. */
2587 
2588  return NULL;
2589 }
2590 
2591 
2592 extern "C" {static PyObject *meth_QtPLWidget_fontChange(PyObject *, PyObject *, PyObject *);}
2593 static PyObject *meth_QtPLWidget_fontChange(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2594 {
2595  PyObject *sipParseErr = NULL;
2596  bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
2597 
2598  {
2599  const QFont * a0;
2600  sipQtPLWidget *sipCpp;
2601 
2602  if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QFont, &a0))
2603  {
2604  Py_BEGIN_ALLOW_THREADS
2605  sipCpp->sipProtectVirt_fontChange(sipSelfWasArg,*a0);
2606  Py_END_ALLOW_THREADS
2607 
2608  Py_INCREF(Py_None);
2609  return Py_None;
2610  }
2611  }
2612 
2613  /* Raise an exception if the arguments couldn't be parsed. */
2614  sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_fontChange, NULL);
2615 
2616  return NULL;
2617 }
2618 
2619 
2620 extern "C" {static PyObject *meth_QtPLWidget_windowActivationChange(PyObject *, PyObject *, PyObject *);}
2621 static PyObject *meth_QtPLWidget_windowActivationChange(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2622 {
2623  PyObject *sipParseErr = NULL;
2624  bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
2625 
2626  {
2627  bool a0;
2628  sipQtPLWidget *sipCpp;
2629 
2630  if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QtPLWidget, &sipCpp, &a0))
2631  {
2632  Py_BEGIN_ALLOW_THREADS
2633  sipCpp->sipProtectVirt_windowActivationChange(sipSelfWasArg,a0);
2634  Py_END_ALLOW_THREADS
2635 
2636  Py_INCREF(Py_None);
2637  return Py_None;
2638  }
2639  }
2640 
2641  /* Raise an exception if the arguments couldn't be parsed. */
2643 
2644  return NULL;
2645 }
2646 
2647 
2648 extern "C" {static PyObject *meth_QtPLWidget_languageChange(PyObject *, PyObject *, PyObject *);}
2649 static PyObject *meth_QtPLWidget_languageChange(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2650 {
2651  PyObject *sipParseErr = NULL;
2652  bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
2653 
2654  {
2655  sipQtPLWidget *sipCpp;
2656 
2657  if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QtPLWidget, &sipCpp))
2658  {
2659  Py_BEGIN_ALLOW_THREADS
2660  sipCpp->sipProtectVirt_languageChange(sipSelfWasArg);
2661  Py_END_ALLOW_THREADS
2662 
2663  Py_INCREF(Py_None);
2664  return Py_None;
2665  }
2666  }
2667 
2668  /* Raise an exception if the arguments couldn't be parsed. */
2670 
2671  return NULL;
2672 }
2673 
2674 
2675 extern "C" {static PyObject *meth_QtPLWidget_clearWidget(PyObject *, PyObject *);}
2676 static PyObject *meth_QtPLWidget_clearWidget(PyObject *sipSelf, PyObject *sipArgs)
2677 {
2678  PyObject *sipParseErr = NULL;
2679 
2680  {
2681  QtPLWidget *sipCpp;
2682 
2683  if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QtPLWidget, &sipCpp))
2684  {
2685  Py_BEGIN_ALLOW_THREADS
2686  sipCpp->clearWidget();
2687  Py_END_ALLOW_THREADS
2688 
2689  Py_INCREF(Py_None);
2690  return Py_None;
2691  }
2692  }
2693 
2694  /* Raise an exception if the arguments couldn't be parsed. */
2695  sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_clearWidget, NULL);
2696 
2697  return NULL;
2698 }
2699 
2700 
2701 extern "C" {static PyObject *meth_QtPLWidget_mousePressEvent(PyObject *, PyObject *, PyObject *);}
2702 static PyObject *meth_QtPLWidget_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2703 {
2704  PyObject *sipParseErr = NULL;
2705  bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
2706 
2707  {
2708  QMouseEvent * a0;
2709  sipQtPLWidget *sipCpp;
2710 
2711  if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QMouseEvent, &a0))
2712  {
2713  Py_BEGIN_ALLOW_THREADS
2714  sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);
2715  Py_END_ALLOW_THREADS
2716 
2717  Py_INCREF(Py_None);
2718  return Py_None;
2719  }
2720  }
2721 
2722  /* Raise an exception if the arguments couldn't be parsed. */
2724 
2725  return NULL;
2726 }
2727 
2728 
2729 extern "C" {static PyObject *meth_QtPLWidget_keyPressEvent(PyObject *, PyObject *, PyObject *);}
2730 static PyObject *meth_QtPLWidget_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2731 {
2732  PyObject *sipParseErr = NULL;
2733  bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
2734 
2735  {
2736  QKeyEvent * a0;
2737  sipQtPLWidget *sipCpp;
2738 
2739  if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QKeyEvent, &a0))
2740  {
2741  Py_BEGIN_ALLOW_THREADS
2742  sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);
2743  Py_END_ALLOW_THREADS
2744 
2745  Py_INCREF(Py_None);
2746  return Py_None;
2747  }
2748  }
2749 
2750  /* Raise an exception if the arguments couldn't be parsed. */
2752 
2753  return NULL;
2754 }
2755 
2756 
2757 extern "C" {static PyObject *meth_QtPLWidget_closeEvent(PyObject *, PyObject *, PyObject *);}
2758 static PyObject *meth_QtPLWidget_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2759 {
2760  PyObject *sipParseErr = NULL;
2761  bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
2762 
2763  {
2764  QCloseEvent * a0;
2765  sipQtPLWidget *sipCpp;
2766 
2767  if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QCloseEvent, &a0))
2768  {
2769  Py_BEGIN_ALLOW_THREADS
2770  sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);
2771  Py_END_ALLOW_THREADS
2772 
2773  Py_INCREF(Py_None);
2774  return Py_None;
2775  }
2776  }
2777 
2778  /* Raise an exception if the arguments couldn't be parsed. */
2779  sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_closeEvent, NULL);
2780 
2781  return NULL;
2782 }
2783 
2784 
2785 extern "C" {static PyObject *meth_QtPLWidget_nextPage(PyObject *, PyObject *, PyObject *);}
2786 static PyObject *meth_QtPLWidget_nextPage(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2787 {
2788  PyObject *sipParseErr = NULL;
2789 
2790  {
2791  sipQtPLWidget *sipCpp;
2792 
2793  if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QtPLWidget, &sipCpp))
2794  {
2795  Py_BEGIN_ALLOW_THREADS
2796  sipCpp->sipProtect_nextPage();
2797  Py_END_ALLOW_THREADS
2798 
2799  Py_INCREF(Py_None);
2800  return Py_None;
2801  }
2802  }
2803 
2804  /* Raise an exception if the arguments couldn't be parsed. */
2805  sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_nextPage, NULL);
2806 
2807  return NULL;
2808 }
2809 
2810 
2811 extern "C" {static PyObject *meth_QtPLWidget_resizeEvent(PyObject *, PyObject *, PyObject *);}
2812 static PyObject *meth_QtPLWidget_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2813 {
2814  PyObject *sipParseErr = NULL;
2815  bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
2816 
2817  {
2818  QResizeEvent * a0;
2819  sipQtPLWidget *sipCpp;
2820 
2821  if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QResizeEvent, &a0))
2822  {
2823  Py_BEGIN_ALLOW_THREADS
2824  sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);
2825  Py_END_ALLOW_THREADS
2826 
2827  Py_INCREF(Py_None);
2828  return Py_None;
2829  }
2830  }
2831 
2832  /* Raise an exception if the arguments couldn't be parsed. */
2833  sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_resizeEvent, NULL);
2834 
2835  return NULL;
2836 }
2837 
2838 
2839 extern "C" {static PyObject *meth_QtPLWidget_paintEvent(PyObject *, PyObject *, PyObject *);}
2840 static PyObject *meth_QtPLWidget_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2841 {
2842  PyObject *sipParseErr = NULL;
2843  bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
2844 
2845  {
2846  QPaintEvent * a0;
2847  sipQtPLWidget *sipCpp;
2848 
2849  if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QPaintEvent, &a0))
2850  {
2851  Py_BEGIN_ALLOW_THREADS
2852  sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);
2853  Py_END_ALLOW_THREADS
2854 
2855  Py_INCREF(Py_None);
2856  return Py_None;
2857  }
2858  }
2859 
2860  /* Raise an exception if the arguments couldn't be parsed. */
2861  sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_paintEvent, NULL);
2862 
2863  return NULL;
2864 }
2865 
2866 
2867 extern "C" {static PyObject *meth_QtPLWidget_getPlotParameters(PyObject *, PyObject *, PyObject *);}
2868 static PyObject *meth_QtPLWidget_getPlotParameters(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2869 {
2870  PyObject *sipParseErr = NULL;
2871 
2872  {
2873  double a0;
2874  double a1;
2875  double a2;
2876  double a3;
2877  sipQtPLWidget *sipCpp;
2878 
2879  if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QtPLWidget, &sipCpp))
2880  {
2881  Py_BEGIN_ALLOW_THREADS
2882  sipCpp->sipProtect_getPlotParameters(a0,a1,a2,a3);
2883  Py_END_ALLOW_THREADS
2884 
2885  return sipBuildResult(0,"(dddd)",a0,a1,a2,a3);
2886  }
2887  }
2888 
2889  /* Raise an exception if the arguments couldn't be parsed. */
2891 
2892  return NULL;
2893 }
2894 
2895 
2896 /* Cast a pointer to a type somewhere in its superclass hierarchy. */
2897 extern "C" {static void *cast_QtPLWidget(void *, const sipTypeDef *);}
2898 static void *cast_QtPLWidget(void *ptr, const sipTypeDef *targetType)
2899 {
2900  void *res;
2901 
2902  if (targetType == sipType_QtPLWidget)
2903  return ptr;
2904 
2905  if ((res = ((const sipClassTypeDef *)sipType_QWidget)->ctd_cast((QWidget *)(QtPLWidget *)ptr,targetType)) != NULL)
2906  return res;
2907 
2908  if ((res = ((const sipClassTypeDef *)sipType_QtPLDriver)->ctd_cast((QtPLDriver *)(QtPLWidget *)ptr,targetType)) != NULL)
2909  return res;
2910 
2911  return NULL;
2912 }
2913 
2914 
2915 /* Call the instance's destructor. */
2916 extern "C" {static void release_QtPLWidget(void *, int);}
2917 static void release_QtPLWidget(void *sipCppV,int)
2918 {
2919  QtPLWidget *sipCpp = reinterpret_cast<QtPLWidget *>(sipCppV);
2920 
2921  Py_BEGIN_ALLOW_THREADS
2922 
2923  if (QThread::currentThread() == sipCpp->thread())
2924  delete sipCpp;
2925  else
2926  sipCpp->deleteLater();
2927 
2928  Py_END_ALLOW_THREADS
2929 }
2930 
2931 
2932 extern "C" {static void dealloc_QtPLWidget(sipSimpleWrapper *);}
2933 static void dealloc_QtPLWidget(sipSimpleWrapper *sipSelf)
2934 {
2935  if (sipIsDerived(sipSelf))
2936  reinterpret_cast<sipQtPLWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;
2937 
2938  if (sipIsPyOwned(sipSelf))
2939  {
2940  release_QtPLWidget(sipGetAddress(sipSelf),sipSelf->flags);
2941  }
2942 }
2943 
2944 
2945 extern "C" {static void *init_QtPLWidget(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
2946 static void *init_QtPLWidget(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
2947 {
2948  sipQtPLWidget *sipCpp = 0;
2949 
2950  {
2951  int a0 = QT_DEFAULT_X;
2952  int a1 = QT_DEFAULT_Y;
2953  QWidget * a2 = 0;
2954 
2955  if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|iiJ8", &a0, &a1, sipType_QWidget, &a2))
2956  {
2957  Py_BEGIN_ALLOW_THREADS
2958  sipCpp = new sipQtPLWidget(a0,a1,a2);
2959  Py_END_ALLOW_THREADS
2960 
2961  sipCpp->sipPySelf = sipSelf;
2962 
2963  return sipCpp;
2964  }
2965  }
2966 
2967  return NULL;
2968 }
2969 
2970 
2971 /* Define this type's super-types. */
2972 static sipEncodedTypeDef supers_QtPLWidget[] = {{755, 1, 0}, {1, 255, 1}};
2973 
2974 
2975 static PyMethodDef methods_QtPLWidget[] = {
2976  {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QtPLWidget_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
2977  {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QtPLWidget_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
2978  {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QtPLWidget_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
2979  {SIP_MLNAME_CAST(sipName_clearWidget), meth_QtPLWidget_clearWidget, METH_VARARGS, NULL},
2980  {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QtPLWidget_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
2981  {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QtPLWidget_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
2982  {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QtPLWidget_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
2983  {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QtPLWidget_create, METH_VARARGS|METH_KEYWORDS, NULL},
2984  {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QtPLWidget_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
2985  {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QtPLWidget_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
2986  {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QtPLWidget_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
2987  {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QtPLWidget_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
2988  {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QtPLWidget_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
2989  {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QtPLWidget_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
2990  {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QtPLWidget_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
2991  {SIP_MLNAME_CAST(sipName_enabledChange), (PyCFunction)meth_QtPLWidget_enabledChange, METH_VARARGS|METH_KEYWORDS, NULL},
2992  {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QtPLWidget_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
2993  {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QtPLWidget_event, METH_VARARGS|METH_KEYWORDS, NULL},
2994  {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QtPLWidget_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
2995  {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QtPLWidget_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
2996  {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QtPLWidget_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
2997  {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QtPLWidget_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
2998  {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QtPLWidget_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
2999  {SIP_MLNAME_CAST(sipName_fontChange), (PyCFunction)meth_QtPLWidget_fontChange, METH_VARARGS|METH_KEYWORDS, NULL},
3000  {SIP_MLNAME_CAST(sipName_getPlotParameters), (PyCFunction)meth_QtPLWidget_getPlotParameters, METH_VARARGS|METH_KEYWORDS, NULL},
3001  {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QtPLWidget_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
3002  {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QtPLWidget_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
3003  {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QtPLWidget_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
3004  {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QtPLWidget_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
3005  {SIP_MLNAME_CAST(sipName_languageChange), (PyCFunction)meth_QtPLWidget_languageChange, METH_VARARGS|METH_KEYWORDS, NULL},
3006  {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QtPLWidget_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
3007  {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QtPLWidget_metric, METH_VARARGS|METH_KEYWORDS, NULL},
3008  {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QtPLWidget_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
3009  {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QtPLWidget_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
3010  {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QtPLWidget_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
3011  {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QtPLWidget_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
3012  {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QtPLWidget_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
3013  {SIP_MLNAME_CAST(sipName_nextPage), (PyCFunction)meth_QtPLWidget_nextPage, METH_VARARGS|METH_KEYWORDS, NULL},
3014  {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QtPLWidget_paintEvent, METH_VARARGS|METH_KEYWORDS, NULL},
3015  {SIP_MLNAME_CAST(sipName_paletteChange), (PyCFunction)meth_QtPLWidget_paletteChange, METH_VARARGS|METH_KEYWORDS, NULL},
3016  {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QtPLWidget_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
3017  {SIP_MLNAME_CAST(sipName_resetInputContext), (PyCFunction)meth_QtPLWidget_resetInputContext, METH_VARARGS|METH_KEYWORDS, NULL},
3018  {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QtPLWidget_resizeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
3019  {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QtPLWidget_sender, METH_VARARGS|METH_KEYWORDS, NULL},
3020  {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QtPLWidget_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
3021  {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QtPLWidget_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
3022  {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QtPLWidget_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
3023  {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QtPLWidget_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
3024  {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QtPLWidget_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
3025  {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QtPLWidget_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL},
3026  {SIP_MLNAME_CAST(sipName_windowActivationChange), (PyCFunction)meth_QtPLWidget_windowActivationChange, METH_VARARGS|METH_KEYWORDS, NULL}
3027 };
3028 
3029 
3031 {
3032  {
3033  -1,
3034  0,
3035  0,
3036  SIP_TYPE_SCC|SIP_TYPE_CLASS,
3038  {0}
3039  },
3040  {
3042  {0, 0, 1},
3043  51, methods_QtPLWidget,
3044  0, 0,
3045  0, 0,
3046  {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
3047  },
3048  0,
3049  -1,
3050  -1,
3052  0,
3054  0,
3055  0,
3056 #if PY_MAJOR_VERSION >= 3
3057  0,
3058  0,
3059 #else
3060  0,
3061  0,
3062  0,
3063  0,
3064 #endif
3066  0,
3067  0,
3068  0,
3071  0,
3072  0,
3073  0,
3074  0
3075 },
3076  &QtPLWidget::staticMetaObject,
3077  0,
3078  0
3079 };