PLplot  5.10.0
sipplplot_pyqt4QtPLWidget.cpp
Go to the documentation of this file.
00001 /*
00002  * Interface wrapper code.
00003  *
00004  * Generated by SIP 4.16.4 on Wed Dec 10 03:55:21 2014
00005  */
00006 
00007 #include "sipAPIplplot_pyqt4.h"
00008 
00009 #line 44 "/usr/src/RPM/BUILD/plplot-5.10.0/bindings/qt_gui/pyqt4/plplot_pyqt4.sip"
00010 #include "qt.h"
00011 #line 12 "./sipplplot_pyqt4QtPLWidget.cpp"
00012 
00013 #line 35 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
00014 #include <qwidget.h>
00015 #line 16 "./sipplplot_pyqt4QtPLWidget.cpp"
00016 #line 533 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
00017 #include <qevent.h>
00018 #line 19 "./sipplplot_pyqt4QtPLWidget.cpp"
00019 #line 570 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
00020 #include <qevent.h>
00021 #line 22 "./sipplplot_pyqt4QtPLWidget.cpp"
00022 #line 583 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
00023 #include <qevent.h>
00024 #line 25 "./sipplplot_pyqt4QtPLWidget.cpp"
00025 #line 483 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
00026 #include <qevent.h>
00027 #line 28 "./sipplplot_pyqt4QtPLWidget.cpp"
00028 #line 261 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
00029 #include <qevent.h>
00030 #line 31 "./sipplplot_pyqt4QtPLWidget.cpp"
00031 #line 35 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
00032 #include <qnamespace.h>
00033 #line 34 "./sipplplot_pyqt4QtPLWidget.cpp"
00034 #line 39 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
00035 #include <qmargins.h>
00036 #line 37 "./sipplplot_pyqt4QtPLWidget.cpp"
00037 #line 35 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
00038 #include <qnamespace.h>
00039 #line 40 "./sipplplot_pyqt4QtPLWidget.cpp"
00040 #line 35 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
00041 #include <qnamespace.h>
00042 #line 43 "./sipplplot_pyqt4QtPLWidget.cpp"
00043 #line 39 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
00044 #include <qgraphicseffect.h>
00045 #line 46 "./sipplplot_pyqt4QtPLWidget.cpp"
00046 #line 33 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
00047 #include <qgraphicsproxywidget.h>
00048 #line 49 "./sipplplot_pyqt4QtPLWidget.cpp"
00049 #line 36 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
00050 #include <qstring.h>
00051 #line 52 "./sipplplot_pyqt4QtPLWidget.cpp"
00052 #line 35 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
00053 #include <qlocale.h>
00054 #line 55 "./sipplplot_pyqt4QtPLWidget.cpp"
00055 #line 31 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
00056 #include <qpaintdevice.h>
00057 #line 58 "./sipplplot_pyqt4QtPLWidget.cpp"
00058 #line 35 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
00059 #include <qpoint.h>
00060 #line 61 "./sipplplot_pyqt4QtPLWidget.cpp"
00061 #line 35 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
00062 #include <qregion.h>
00063 #line 64 "./sipplplot_pyqt4QtPLWidget.cpp"
00064 #line 35 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
00065 #include <qwidget.h>
00066 #line 67 "./sipplplot_pyqt4QtPLWidget.cpp"
00067 #line 35 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
00068 #include <qpainter.h>
00069 #line 70 "./sipplplot_pyqt4QtPLWidget.cpp"
00070 #line 37 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
00071 #include <qbytearray.h>
00072 #line 73 "./sipplplot_pyqt4QtPLWidget.cpp"
00073 #line 35 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
00074 #include <qsize.h>
00075 #line 76 "./sipplplot_pyqt4QtPLWidget.cpp"
00076 #line 35 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
00077 #include <qrect.h>
00078 #line 79 "./sipplplot_pyqt4QtPLWidget.cpp"
00079 #line 31 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
00080 #include <qfontinfo.h>
00081 #line 82 "./sipplplot_pyqt4QtPLWidget.cpp"
00082 #line 31 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
00083 #include <qfontmetrics.h>
00084 #line 85 "./sipplplot_pyqt4QtPLWidget.cpp"
00085 #line 35 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
00086 #include <qfont.h>
00087 #line 88 "./sipplplot_pyqt4QtPLWidget.cpp"
00088 #line 35 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
00089 #include <qnamespace.h>
00090 #line 91 "./sipplplot_pyqt4QtPLWidget.cpp"
00091 #line 35 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
00092 #include <qpalette.h>
00093 #line 94 "./sipplplot_pyqt4QtPLWidget.cpp"
00094 #line 274 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
00095 #include <qvariant.h>
00096 #line 97 "./sipplplot_pyqt4QtPLWidget.cpp"
00097 #line 656 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
00098 #include <qevent.h>
00099 #line 100 "./sipplplot_pyqt4QtPLWidget.cpp"
00100 #line 31 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
00101 #include <qcoreevent.h>
00102 #line 103 "./sipplplot_pyqt4QtPLWidget.cpp"
00103 #line 616 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
00104 #include <qevent.h>
00105 #line 106 "./sipplplot_pyqt4QtPLWidget.cpp"
00106 #line 605 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
00107 #include <qevent.h>
00108 #line 109 "./sipplplot_pyqt4QtPLWidget.cpp"
00109 #line 748 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
00110 #include <qevent.h>
00111 #line 112 "./sipplplot_pyqt4QtPLWidget.cpp"
00112 #line 801 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
00113 #include <qevent.h>
00114 #line 115 "./sipplplot_pyqt4QtPLWidget.cpp"
00115 #line 774 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
00116 #include <qevent.h>
00117 #line 118 "./sipplplot_pyqt4QtPLWidget.cpp"
00118 #line 790 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
00119 #include <qevent.h>
00120 #line 121 "./sipplplot_pyqt4QtPLWidget.cpp"
00121 #line 863 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
00122 #include <qevent.h>
00123 #line 124 "./sipplplot_pyqt4QtPLWidget.cpp"
00124 #line 412 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
00125 #include <qevent.h>
00126 #line 127 "./sipplplot_pyqt4QtPLWidget.cpp"
00127 #line 627 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
00128 #include <qevent.h>
00129 #line 130 "./sipplplot_pyqt4QtPLWidget.cpp"
00130 #line 557 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
00131 #include <qevent.h>
00132 #line 133 "./sipplplot_pyqt4QtPLWidget.cpp"
00133 #line 514 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
00134 #include <qevent.h>
00135 #line 136 "./sipplplot_pyqt4QtPLWidget.cpp"
00136 #line 356 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
00137 #include <qevent.h>
00138 #line 139 "./sipplplot_pyqt4QtPLWidget.cpp"
00139 #line 33 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
00140 #include <qinputcontext.h>
00141 #line 142 "./sipplplot_pyqt4QtPLWidget.cpp"
00142 #line 61 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
00143 #include <qpaintengine.h>
00144 #line 145 "./sipplplot_pyqt4QtPLWidget.cpp"
00145 #line 39 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
00146 #include <qx11info_x11.h>
00147 #line 148 "./sipplplot_pyqt4QtPLWidget.cpp"
00148 #line 120 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
00149 #include <qlist.h>
00150 #line 151 "./sipplplot_pyqt4QtPLWidget.cpp"
00151 #line 31 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
00152 #include <qaction.h>
00153 #line 154 "./sipplplot_pyqt4QtPLWidget.cpp"
00154 #line 31 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
00155 #include <qlayout.h>
00156 #line 157 "./sipplplot_pyqt4QtPLWidget.cpp"
00157 #line 35 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
00158 #include <qsizepolicy.h>
00159 #line 160 "./sipplplot_pyqt4QtPLWidget.cpp"
00160 #line 35 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
00161 #include <qnamespace.h>
00162 #line 163 "./sipplplot_pyqt4QtPLWidget.cpp"
00163 #line 35 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
00164 #include <qkeysequence.h>
00165 #line 166 "./sipplplot_pyqt4QtPLWidget.cpp"
00166 #line 35 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
00167 #include <qcursor.h>
00168 #line 169 "./sipplplot_pyqt4QtPLWidget.cpp"
00169 #line 35 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
00170 #include <qicon.h>
00171 #line 172 "./sipplplot_pyqt4QtPLWidget.cpp"
00172 #line 35 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
00173 #include <qbitmap.h>
00174 #line 175 "./sipplplot_pyqt4QtPLWidget.cpp"
00175 #line 35 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
00176 #include <qstyle.h>
00177 #line 178 "./sipplplot_pyqt4QtPLWidget.cpp"
00178 #line 355 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
00179 #include <qcoreevent.h>
00180 #line 181 "./sipplplot_pyqt4QtPLWidget.cpp"
00181 #line 338 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
00182 #include <qcoreevent.h>
00183 #line 184 "./sipplplot_pyqt4QtPLWidget.cpp"
00184 #line 34 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
00185 #include <qobject.h>
00186 #line 187 "./sipplplot_pyqt4QtPLWidget.cpp"
00187 #line 33 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
00188 #include <qlist.h>
00189 #line 190 "./sipplplot_pyqt4QtPLWidget.cpp"
00190 #line 120 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
00191 #include <qlist.h>
00192 #line 193 "./sipplplot_pyqt4QtPLWidget.cpp"
00193 #line 31 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
00194 #include <qthread.h>
00195 #line 196 "./sipplplot_pyqt4QtPLWidget.cpp"
00196 #line 35 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
00197 #include <qregexp.h>
00198 #line 199 "./sipplplot_pyqt4QtPLWidget.cpp"
00199 #line 31 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
00200 #include <qobjectdefs.h>
00201 #line 202 "./sipplplot_pyqt4QtPLWidget.cpp"
00202 
00203 
00204 class sipQtPLWidget : public QtPLWidget
00205 {
00206 public:
00207     sipQtPLWidget(int,int,QWidget*);
00208     virtual ~sipQtPLWidget();
00209 
00210     int qt_metacall(QMetaObject::Call,int,void **);
00211     void *qt_metacast(const char *);
00212     const QMetaObject *metaObject() const;
00213 
00214     /*
00215      * There is a public method for every protected method visible from
00216      * this class.
00217      */
00218     QObject* sipProtect_sender() const;
00219     int sipProtect_receivers(const char*) const;
00220     void sipProtectVirt_timerEvent(bool,QTimerEvent*);
00221     void sipProtectVirt_childEvent(bool,QChildEvent*);
00222     void sipProtectVirt_customEvent(bool,QEvent*);
00223     void sipProtectVirt_connectNotify(bool,const char*);
00224     void sipProtectVirt_disconnectNotify(bool,const char*);
00225     int sipProtect_senderSignalIndex() const;
00226     bool sipProtectVirt_event(bool,QEvent*);
00227     void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
00228     void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
00229     void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
00230     void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
00231     void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
00232     void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
00233     void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
00234     void sipProtectVirt_enterEvent(bool,QEvent*);
00235     void sipProtectVirt_leaveEvent(bool,QEvent*);
00236     void sipProtectVirt_moveEvent(bool,QMoveEvent*);
00237     void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
00238     void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
00239     void sipProtectVirt_actionEvent(bool,QActionEvent*);
00240     void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
00241     void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
00242     void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
00243     void sipProtectVirt_dropEvent(bool,QDropEvent*);
00244     void sipProtectVirt_showEvent(bool,QShowEvent*);
00245     void sipProtectVirt_hideEvent(bool,QHideEvent*);
00246     void sipProtectVirt_changeEvent(bool,QEvent*);
00247     int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
00248     void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
00249     void sipProtect_resetInputContext();
00250     void sipProtect_updateMicroFocus();
00251     void sipProtect_create(WId,bool,bool);
00252     void sipProtect_destroy(bool,bool);
00253     bool sipProtectVirt_focusNextPrevChild(bool,bool);
00254     bool sipProtect_focusNextChild();
00255     bool sipProtect_focusPreviousChild();
00256     void sipProtectVirt_enabledChange(bool,bool);
00257     void sipProtectVirt_paletteChange(bool,const QPalette&);
00258     void sipProtectVirt_fontChange(bool,const QFont&);
00259     void sipProtectVirt_windowActivationChange(bool,bool);
00260     void sipProtectVirt_languageChange(bool);
00261     void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
00262     void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
00263     void sipProtectVirt_closeEvent(bool,QCloseEvent*);
00264     void sipProtect_nextPage();
00265     void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
00266     void sipProtectVirt_paintEvent(bool,QPaintEvent*);
00267     void sipProtect_getPlotParameters(double&,double&,double&,double&);
00268 
00269     /*
00270      * There is a protected method for every virtual method visible from
00271      * this class.
00272      */
00273 protected:
00274     void disconnectNotify(const char*);
00275     void connectNotify(const char*);
00276     void customEvent(QEvent*);
00277     void childEvent(QChildEvent*);
00278     void timerEvent(QTimerEvent*);
00279     bool eventFilter(QObject*,QEvent*);
00280     void languageChange();
00281     void windowActivationChange(bool);
00282     void fontChange(const QFont&);
00283     void paletteChange(const QPalette&);
00284     void enabledChange(bool);
00285     bool focusNextPrevChild(bool);
00286     QVariant inputMethodQuery(Qt::InputMethodQuery) const;
00287     void inputMethodEvent(QInputMethodEvent*);
00288     int metric(QPaintDevice::PaintDeviceMetric) const;
00289     void changeEvent(QEvent*);
00290     void hideEvent(QHideEvent*);
00291     void showEvent(QShowEvent*);
00292     void dropEvent(QDropEvent*);
00293     void dragLeaveEvent(QDragLeaveEvent*);
00294     void dragMoveEvent(QDragMoveEvent*);
00295     void dragEnterEvent(QDragEnterEvent*);
00296     void actionEvent(QActionEvent*);
00297     void tabletEvent(QTabletEvent*);
00298     void contextMenuEvent(QContextMenuEvent*);
00299     void closeEvent(QCloseEvent*);
00300     void resizeEvent(QResizeEvent*);
00301     void moveEvent(QMoveEvent*);
00302     void paintEvent(QPaintEvent*);
00303     void leaveEvent(QEvent*);
00304     void enterEvent(QEvent*);
00305     void focusOutEvent(QFocusEvent*);
00306     void focusInEvent(QFocusEvent*);
00307     void keyReleaseEvent(QKeyEvent*);
00308     void keyPressEvent(QKeyEvent*);
00309     void wheelEvent(QWheelEvent*);
00310     void mouseMoveEvent(QMouseEvent*);
00311     void mouseDoubleClickEvent(QMouseEvent*);
00312     void mouseReleaseEvent(QMouseEvent*);
00313     void mousePressEvent(QMouseEvent*);
00314     bool event(QEvent*);
00315     QPaintEngine* paintEngine() const;
00316     int heightForWidth(int) const;
00317     QSize minimumSizeHint() const;
00318     QSize sizeHint() const;
00319     void setVisible(bool);
00320     int devType() const;
00321 
00322 public:
00323     sipSimpleWrapper *sipPySelf;
00324 
00325 private:
00326     sipQtPLWidget(const sipQtPLWidget &);
00327     sipQtPLWidget &operator = (const sipQtPLWidget &);
00328 
00329     char sipPyMethods[47];
00330 };
00331 
00332 sipQtPLWidget::sipQtPLWidget(int a0,int a1,QWidget*a2): QtPLWidget(a0,a1,a2), sipPySelf(0)
00333 {
00334     memset(sipPyMethods, 0, sizeof (sipPyMethods));
00335 }
00336 
00337 sipQtPLWidget::~sipQtPLWidget()
00338 {
00339     sipCommonDtor(sipPySelf);
00340 }
00341 
00342 const QMetaObject *sipQtPLWidget::metaObject() const
00343 {
00344     return sip_plplot_pyqt4_qt_metaobject(sipPySelf,sipType_QtPLWidget);
00345 }
00346 
00347 int sipQtPLWidget::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
00348 {
00349     _id = QtPLWidget::qt_metacall(_c,_id,_a);
00350 
00351     if (_id >= 0)
00352         _id = sip_plplot_pyqt4_qt_metacall(sipPySelf,sipType_QtPLWidget,_c,_id,_a);
00353 
00354     return _id;
00355 }
00356 
00357 void *sipQtPLWidget::qt_metacast(const char *_clname)
00358 {
00359     return (sip_plplot_pyqt4_qt_metacast(sipPySelf, sipType_QtPLWidget, _clname)) ? this : QtPLWidget::qt_metacast(_clname);
00360 }
00361 
00362 void sipQtPLWidget::disconnectNotify(const char*a0)
00363 {
00364     sip_gilstate_t sipGILState;
00365     PyObject *sipMeth;
00366 
00367     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);
00368 
00369     if (!sipMeth)
00370     {
00371         QtPLWidget::disconnectNotify(a0);
00372         return;
00373     }
00374 
00375     typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);
00376 
00377     ((sipVH_QtCore_24)(sipModuleAPI_plplot_pyqt4_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
00378 }
00379 
00380 void sipQtPLWidget::connectNotify(const char*a0)
00381 {
00382     sip_gilstate_t sipGILState;
00383     PyObject *sipMeth;
00384 
00385     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);
00386 
00387     if (!sipMeth)
00388     {
00389         QtPLWidget::connectNotify(a0);
00390         return;
00391     }
00392 
00393     typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);
00394 
00395     ((sipVH_QtCore_24)(sipModuleAPI_plplot_pyqt4_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
00396 }
00397 
00398 void sipQtPLWidget::customEvent(QEvent*a0)
00399 {
00400     sip_gilstate_t sipGILState;
00401     PyObject *sipMeth;
00402 
00403     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);
00404 
00405     if (!sipMeth)
00406     {
00407         QtPLWidget::customEvent(a0);
00408         return;
00409     }
00410 
00411     typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
00412 
00413     ((sipVH_QtCore_17)(sipModuleAPI_plplot_pyqt4_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
00414 }
00415 
00416 void sipQtPLWidget::childEvent(QChildEvent*a0)
00417 {
00418     sip_gilstate_t sipGILState;
00419     PyObject *sipMeth;
00420 
00421     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);
00422 
00423     if (!sipMeth)
00424     {
00425         QtPLWidget::childEvent(a0);
00426         return;
00427     }
00428 
00429     typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);
00430 
00431     ((sipVH_QtCore_25)(sipModuleAPI_plplot_pyqt4_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
00432 }
00433 
00434 void sipQtPLWidget::timerEvent(QTimerEvent*a0)
00435 {
00436     sip_gilstate_t sipGILState;
00437     PyObject *sipMeth;
00438 
00439     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);
00440 
00441     if (!sipMeth)
00442     {
00443         QtPLWidget::timerEvent(a0);
00444         return;
00445     }
00446 
00447     typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);
00448 
00449     ((sipVH_QtCore_9)(sipModuleAPI_plplot_pyqt4_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
00450 }
00451 
00452 bool sipQtPLWidget::eventFilter(QObject*a0,QEvent*a1)
00453 {
00454     sip_gilstate_t sipGILState;
00455     PyObject *sipMeth;
00456 
00457     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);
00458 
00459     if (!sipMeth)
00460         return QtPLWidget::eventFilter(a0,a1);
00461 
00462     typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);
00463 
00464     return ((sipVH_QtCore_18)(sipModuleAPI_plplot_pyqt4_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
00465 }
00466 
00467 void sipQtPLWidget::languageChange()
00468 {
00469     sip_gilstate_t sipGILState;
00470     PyObject *sipMeth;
00471 
00472     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_languageChange);
00473 
00474     if (!sipMeth)
00475     {
00476         QtPLWidget::languageChange();
00477         return;
00478     }
00479 
00480     typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
00481 
00482     ((sipVH_QtCore_11)(sipModuleAPI_plplot_pyqt4_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
00483 }
00484 
00485 void sipQtPLWidget::windowActivationChange(bool a0)
00486 {
00487     sip_gilstate_t sipGILState;
00488     PyObject *sipMeth;
00489 
00490     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_windowActivationChange);
00491 
00492     if (!sipMeth)
00493     {
00494         QtPLWidget::windowActivationChange(a0);
00495         return;
00496     }
00497 
00498     typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);
00499 
00500     ((sipVH_QtGui_6)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
00501 }
00502 
00503 void sipQtPLWidget::fontChange(const QFont& a0)
00504 {
00505     sip_gilstate_t sipGILState;
00506     PyObject *sipMeth;
00507 
00508     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_fontChange);
00509 
00510     if (!sipMeth)
00511     {
00512         QtPLWidget::fontChange(a0);
00513         return;
00514     }
00515 
00516     typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);
00517 
00518     ((sipVH_QtGui_9)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
00519 }
00520 
00521 void sipQtPLWidget::paletteChange(const QPalette& a0)
00522 {
00523     sip_gilstate_t sipGILState;
00524     PyObject *sipMeth;
00525 
00526     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_paletteChange);
00527 
00528     if (!sipMeth)
00529     {
00530         QtPLWidget::paletteChange(a0);
00531         return;
00532     }
00533 
00534     typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);
00535 
00536     ((sipVH_QtGui_10)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
00537 }
00538 
00539 void sipQtPLWidget::enabledChange(bool a0)
00540 {
00541     sip_gilstate_t sipGILState;
00542     PyObject *sipMeth;
00543 
00544     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_enabledChange);
00545 
00546     if (!sipMeth)
00547     {
00548         QtPLWidget::enabledChange(a0);
00549         return;
00550     }
00551 
00552     typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);
00553 
00554     ((sipVH_QtGui_6)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
00555 }
00556 
00557 bool sipQtPLWidget::focusNextPrevChild(bool a0)
00558 {
00559     sip_gilstate_t sipGILState;
00560     PyObject *sipMeth;
00561 
00562     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_focusNextPrevChild);
00563 
00564     if (!sipMeth)
00565         return QtPLWidget::focusNextPrevChild(a0);
00566 
00567     typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);
00568 
00569     return ((sipVH_QtGui_11)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
00570 }
00571 
00572 QVariant sipQtPLWidget::inputMethodQuery(Qt::InputMethodQuery a0) const
00573 {
00574     sip_gilstate_t sipGILState;
00575     PyObject *sipMeth;
00576 
00577     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_inputMethodQuery);
00578 
00579     if (!sipMeth)
00580         return QtPLWidget::inputMethodQuery(a0);
00581 
00582     typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);
00583 
00584     return ((sipVH_QtGui_12)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
00585 }
00586 
00587 void sipQtPLWidget::inputMethodEvent(QInputMethodEvent*a0)
00588 {
00589     sip_gilstate_t sipGILState;
00590     PyObject *sipMeth;
00591 
00592     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_inputMethodEvent);
00593 
00594     if (!sipMeth)
00595     {
00596         QtPLWidget::inputMethodEvent(a0);
00597         return;
00598     }
00599 
00600     typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);
00601 
00602     ((sipVH_QtGui_13)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
00603 }
00604 
00605 int sipQtPLWidget::metric(QPaintDevice::PaintDeviceMetric a0) const
00606 {
00607     sip_gilstate_t sipGILState;
00608     PyObject *sipMeth;
00609 
00610     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_metric);
00611 
00612     if (!sipMeth)
00613         return QtPLWidget::metric(a0);
00614 
00615     typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);
00616 
00617     return ((sipVH_QtGui_14)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
00618 }
00619 
00620 void sipQtPLWidget::changeEvent(QEvent*a0)
00621 {
00622     sip_gilstate_t sipGILState;
00623     PyObject *sipMeth;
00624 
00625     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_changeEvent);
00626 
00627     if (!sipMeth)
00628     {
00629         QtPLWidget::changeEvent(a0);
00630         return;
00631     }
00632 
00633     typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
00634 
00635     ((sipVH_QtCore_17)(sipModuleAPI_plplot_pyqt4_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
00636 }
00637 
00638 void sipQtPLWidget::hideEvent(QHideEvent*a0)
00639 {
00640     sip_gilstate_t sipGILState;
00641     PyObject *sipMeth;
00642 
00643     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_hideEvent);
00644 
00645     if (!sipMeth)
00646     {
00647         QtPLWidget::hideEvent(a0);
00648         return;
00649     }
00650 
00651     typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);
00652 
00653     ((sipVH_QtGui_0)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
00654 }
00655 
00656 void sipQtPLWidget::showEvent(QShowEvent*a0)
00657 {
00658     sip_gilstate_t sipGILState;
00659     PyObject *sipMeth;
00660 
00661     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_showEvent);
00662 
00663     if (!sipMeth)
00664     {
00665         QtPLWidget::showEvent(a0);
00666         return;
00667     }
00668 
00669     typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);
00670 
00671     ((sipVH_QtGui_1)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
00672 }
00673 
00674 void sipQtPLWidget::dropEvent(QDropEvent*a0)
00675 {
00676     sip_gilstate_t sipGILState;
00677     PyObject *sipMeth;
00678 
00679     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dropEvent);
00680 
00681     if (!sipMeth)
00682     {
00683         QtPLWidget::dropEvent(a0);
00684         return;
00685     }
00686 
00687     typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);
00688 
00689     ((sipVH_QtGui_15)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
00690 }
00691 
00692 void sipQtPLWidget::dragLeaveEvent(QDragLeaveEvent*a0)
00693 {
00694     sip_gilstate_t sipGILState;
00695     PyObject *sipMeth;
00696 
00697     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragLeaveEvent);
00698 
00699     if (!sipMeth)
00700     {
00701         QtPLWidget::dragLeaveEvent(a0);
00702         return;
00703     }
00704 
00705     typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);
00706 
00707     ((sipVH_QtGui_16)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
00708 }
00709 
00710 void sipQtPLWidget::dragMoveEvent(QDragMoveEvent*a0)
00711 {
00712     sip_gilstate_t sipGILState;
00713     PyObject *sipMeth;
00714 
00715     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_dragMoveEvent);
00716 
00717     if (!sipMeth)
00718     {
00719         QtPLWidget::dragMoveEvent(a0);
00720         return;
00721     }
00722 
00723     typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);
00724 
00725     ((sipVH_QtGui_17)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
00726 }
00727 
00728 void sipQtPLWidget::dragEnterEvent(QDragEnterEvent*a0)
00729 {
00730     sip_gilstate_t sipGILState;
00731     PyObject *sipMeth;
00732 
00733     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_dragEnterEvent);
00734 
00735     if (!sipMeth)
00736     {
00737         QtPLWidget::dragEnterEvent(a0);
00738         return;
00739     }
00740 
00741     typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);
00742 
00743     ((sipVH_QtGui_18)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
00744 }
00745 
00746 void sipQtPLWidget::actionEvent(QActionEvent*a0)
00747 {
00748     sip_gilstate_t sipGILState;
00749     PyObject *sipMeth;
00750 
00751     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_actionEvent);
00752 
00753     if (!sipMeth)
00754     {
00755         QtPLWidget::actionEvent(a0);
00756         return;
00757     }
00758 
00759     typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);
00760 
00761     ((sipVH_QtGui_19)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
00762 }
00763 
00764 void sipQtPLWidget::tabletEvent(QTabletEvent*a0)
00765 {
00766     sip_gilstate_t sipGILState;
00767     PyObject *sipMeth;
00768 
00769     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_tabletEvent);
00770 
00771     if (!sipMeth)
00772     {
00773         QtPLWidget::tabletEvent(a0);
00774         return;
00775     }
00776 
00777     typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);
00778 
00779     ((sipVH_QtGui_20)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
00780 }
00781 
00782 void sipQtPLWidget::contextMenuEvent(QContextMenuEvent*a0)
00783 {
00784     sip_gilstate_t sipGILState;
00785     PyObject *sipMeth;
00786 
00787     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_contextMenuEvent);
00788 
00789     if (!sipMeth)
00790     {
00791         QtPLWidget::contextMenuEvent(a0);
00792         return;
00793     }
00794 
00795     typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);
00796 
00797     ((sipVH_QtGui_21)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
00798 }
00799 
00800 void sipQtPLWidget::closeEvent(QCloseEvent*a0)
00801 {
00802     sip_gilstate_t sipGILState;
00803     PyObject *sipMeth;
00804 
00805     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_closeEvent);
00806 
00807     if (!sipMeth)
00808     {
00809         QtPLWidget::closeEvent(a0);
00810         return;
00811     }
00812 
00813     typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);
00814 
00815     ((sipVH_QtGui_22)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
00816 }
00817 
00818 void sipQtPLWidget::resizeEvent(QResizeEvent*a0)
00819 {
00820     sip_gilstate_t sipGILState;
00821     PyObject *sipMeth;
00822 
00823     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_resizeEvent);
00824 
00825     if (!sipMeth)
00826     {
00827         QtPLWidget::resizeEvent(a0);
00828         return;
00829     }
00830 
00831     typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);
00832 
00833     ((sipVH_QtGui_2)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
00834 }
00835 
00836 void sipQtPLWidget::moveEvent(QMoveEvent*a0)
00837 {
00838     sip_gilstate_t sipGILState;
00839     PyObject *sipMeth;
00840 
00841     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_moveEvent);
00842 
00843     if (!sipMeth)
00844     {
00845         QtPLWidget::moveEvent(a0);
00846         return;
00847     }
00848 
00849     typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);
00850 
00851     ((sipVH_QtGui_23)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
00852 }
00853 
00854 void sipQtPLWidget::paintEvent(QPaintEvent*a0)
00855 {
00856     sip_gilstate_t sipGILState;
00857     PyObject *sipMeth;
00858 
00859     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_paintEvent);
00860 
00861     if (!sipMeth)
00862     {
00863         QtPLWidget::paintEvent(a0);
00864         return;
00865     }
00866 
00867     typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);
00868 
00869     ((sipVH_QtGui_3)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
00870 }
00871 
00872 void sipQtPLWidget::leaveEvent(QEvent*a0)
00873 {
00874     sip_gilstate_t sipGILState;
00875     PyObject *sipMeth;
00876 
00877     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_leaveEvent);
00878 
00879     if (!sipMeth)
00880     {
00881         QtPLWidget::leaveEvent(a0);
00882         return;
00883     }
00884 
00885     typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
00886 
00887     ((sipVH_QtCore_17)(sipModuleAPI_plplot_pyqt4_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
00888 }
00889 
00890 void sipQtPLWidget::enterEvent(QEvent*a0)
00891 {
00892     sip_gilstate_t sipGILState;
00893     PyObject *sipMeth;
00894 
00895     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_enterEvent);
00896 
00897     if (!sipMeth)
00898     {
00899         QtPLWidget::enterEvent(a0);
00900         return;
00901     }
00902 
00903     typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
00904 
00905     ((sipVH_QtCore_17)(sipModuleAPI_plplot_pyqt4_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
00906 }
00907 
00908 void sipQtPLWidget::focusOutEvent(QFocusEvent*a0)
00909 {
00910     sip_gilstate_t sipGILState;
00911     PyObject *sipMeth;
00912 
00913     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_focusOutEvent);
00914 
00915     if (!sipMeth)
00916     {
00917         QtPLWidget::focusOutEvent(a0);
00918         return;
00919     }
00920 
00921     typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);
00922 
00923     ((sipVH_QtGui_24)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
00924 }
00925 
00926 void sipQtPLWidget::focusInEvent(QFocusEvent*a0)
00927 {
00928     sip_gilstate_t sipGILState;
00929     PyObject *sipMeth;
00930 
00931     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_focusInEvent);
00932 
00933     if (!sipMeth)
00934     {
00935         QtPLWidget::focusInEvent(a0);
00936         return;
00937     }
00938 
00939     typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);
00940 
00941     ((sipVH_QtGui_24)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
00942 }
00943 
00944 void sipQtPLWidget::keyReleaseEvent(QKeyEvent*a0)
00945 {
00946     sip_gilstate_t sipGILState;
00947     PyObject *sipMeth;
00948 
00949     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_keyReleaseEvent);
00950 
00951     if (!sipMeth)
00952     {
00953         QtPLWidget::keyReleaseEvent(a0);
00954         return;
00955     }
00956 
00957     typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);
00958 
00959     ((sipVH_QtGui_25)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
00960 }
00961 
00962 void sipQtPLWidget::keyPressEvent(QKeyEvent*a0)
00963 {
00964     sip_gilstate_t sipGILState;
00965     PyObject *sipMeth;
00966 
00967     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_keyPressEvent);
00968 
00969     if (!sipMeth)
00970     {
00971         QtPLWidget::keyPressEvent(a0);
00972         return;
00973     }
00974 
00975     typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);
00976 
00977     ((sipVH_QtGui_25)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
00978 }
00979 
00980 void sipQtPLWidget::wheelEvent(QWheelEvent*a0)
00981 {
00982     sip_gilstate_t sipGILState;
00983     PyObject *sipMeth;
00984 
00985     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_wheelEvent);
00986 
00987     if (!sipMeth)
00988     {
00989         QtPLWidget::wheelEvent(a0);
00990         return;
00991     }
00992 
00993     typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);
00994 
00995     ((sipVH_QtGui_5)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
00996 }
00997 
00998 void sipQtPLWidget::mouseMoveEvent(QMouseEvent*a0)
00999 {
01000     sip_gilstate_t sipGILState;
01001     PyObject *sipMeth;
01002 
01003     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mouseMoveEvent);
01004 
01005     if (!sipMeth)
01006     {
01007         QtPLWidget::mouseMoveEvent(a0);
01008         return;
01009     }
01010 
01011     typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);
01012 
01013     ((sipVH_QtGui_26)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
01014 }
01015 
01016 void sipQtPLWidget::mouseDoubleClickEvent(QMouseEvent*a0)
01017 {
01018     sip_gilstate_t sipGILState;
01019     PyObject *sipMeth;
01020 
01021     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_mouseDoubleClickEvent);
01022 
01023     if (!sipMeth)
01024     {
01025         QtPLWidget::mouseDoubleClickEvent(a0);
01026         return;
01027     }
01028 
01029     typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);
01030 
01031     ((sipVH_QtGui_26)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
01032 }
01033 
01034 void sipQtPLWidget::mouseReleaseEvent(QMouseEvent*a0)
01035 {
01036     sip_gilstate_t sipGILState;
01037     PyObject *sipMeth;
01038 
01039     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_mouseReleaseEvent);
01040 
01041     if (!sipMeth)
01042     {
01043         QtPLWidget::mouseReleaseEvent(a0);
01044         return;
01045     }
01046 
01047     typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);
01048 
01049     ((sipVH_QtGui_26)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
01050 }
01051 
01052 void sipQtPLWidget::mousePressEvent(QMouseEvent*a0)
01053 {
01054     sip_gilstate_t sipGILState;
01055     PyObject *sipMeth;
01056 
01057     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_mousePressEvent);
01058 
01059     if (!sipMeth)
01060     {
01061         QtPLWidget::mousePressEvent(a0);
01062         return;
01063     }
01064 
01065     typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);
01066 
01067     ((sipVH_QtGui_26)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
01068 }
01069 
01070 bool sipQtPLWidget::event(QEvent*a0)
01071 {
01072     sip_gilstate_t sipGILState;
01073     PyObject *sipMeth;
01074 
01075     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_event);
01076 
01077     if (!sipMeth)
01078         return QtPLWidget::event(a0);
01079 
01080     typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);
01081 
01082     return ((sipVH_QtCore_5)(sipModuleAPI_plplot_pyqt4_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
01083 }
01084 
01085 QPaintEngine* sipQtPLWidget::paintEngine() const
01086 {
01087     sip_gilstate_t sipGILState;
01088     PyObject *sipMeth;
01089 
01090     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_paintEngine);
01091 
01092     if (!sipMeth)
01093         return QtPLWidget::paintEngine();
01094 
01095     typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
01096 
01097     return ((sipVH_QtGui_27)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
01098 }
01099 
01100 int sipQtPLWidget::heightForWidth(int a0) const
01101 {
01102     sip_gilstate_t sipGILState;
01103     PyObject *sipMeth;
01104 
01105     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_heightForWidth);
01106 
01107     if (!sipMeth)
01108         return QtPLWidget::heightForWidth(a0);
01109 
01110     typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);
01111 
01112     return ((sipVH_QtGui_28)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
01113 }
01114 
01115 QSize sipQtPLWidget::minimumSizeHint() const
01116 {
01117     sip_gilstate_t sipGILState;
01118     PyObject *sipMeth;
01119 
01120     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[43]),sipPySelf,NULL,sipName_minimumSizeHint);
01121 
01122     if (!sipMeth)
01123         return QtPLWidget::minimumSizeHint();
01124 
01125     typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
01126 
01127     return ((sipVH_QtGui_4)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
01128 }
01129 
01130 QSize sipQtPLWidget::sizeHint() const
01131 {
01132     sip_gilstate_t sipGILState;
01133     PyObject *sipMeth;
01134 
01135     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_sizeHint);
01136 
01137     if (!sipMeth)
01138         return QtPLWidget::sizeHint();
01139 
01140     typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
01141 
01142     return ((sipVH_QtGui_4)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
01143 }
01144 
01145 void sipQtPLWidget::setVisible(bool a0)
01146 {
01147     sip_gilstate_t sipGILState;
01148     PyObject *sipMeth;
01149 
01150     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_setVisible);
01151 
01152     if (!sipMeth)
01153     {
01154         QtPLWidget::setVisible(a0);
01155         return;
01156     }
01157 
01158     typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);
01159 
01160     ((sipVH_QtGui_6)(sipModuleAPI_plplot_pyqt4_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
01161 }
01162 
01163 int sipQtPLWidget::devType() const
01164 {
01165     sip_gilstate_t sipGILState;
01166     PyObject *sipMeth;
01167 
01168     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_devType);
01169 
01170     if (!sipMeth)
01171         return QtPLWidget::devType();
01172 
01173     typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
01174 
01175     return ((sipVH_QtCore_6)(sipModuleAPI_plplot_pyqt4_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
01176 }
01177 
01178 QObject* sipQtPLWidget::sipProtect_sender() const
01179 {
01180     return QObject::sender();
01181 }
01182 
01183 int sipQtPLWidget::sipProtect_receivers(const char*a0) const
01184 {
01185     return QObject::receivers(a0);
01186 }
01187 
01188 void sipQtPLWidget::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
01189 {
01190     (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
01191 }
01192 
01193 void sipQtPLWidget::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
01194 {
01195     (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
01196 }
01197 
01198 void sipQtPLWidget::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
01199 {
01200     (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
01201 }
01202 
01203 void sipQtPLWidget::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char*a0)
01204 {
01205     (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
01206 }
01207 
01208 void sipQtPLWidget::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char*a0)
01209 {
01210     (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
01211 }
01212 
01213 int sipQtPLWidget::sipProtect_senderSignalIndex() const
01214 {
01215     return QObject::senderSignalIndex();
01216 }
01217 
01218 bool sipQtPLWidget::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
01219 {
01220     return (sipSelfWasArg ? QWidget::event(a0) : event(a0));
01221 }
01222 
01223 void sipQtPLWidget::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
01224 {
01225     (sipSelfWasArg ? QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
01226 }
01227 
01228 void sipQtPLWidget::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
01229 {
01230     (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
01231 }
01232 
01233 void sipQtPLWidget::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
01234 {
01235     (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
01236 }
01237 
01238 void sipQtPLWidget::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
01239 {
01240     (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
01241 }
01242 
01243 void sipQtPLWidget::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
01244 {
01245     (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
01246 }
01247 
01248 void sipQtPLWidget::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
01249 {
01250     (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
01251 }
01252 
01253 void sipQtPLWidget::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
01254 {
01255     (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
01256 }
01257 
01258 void sipQtPLWidget::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
01259 {
01260     (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
01261 }
01262 
01263 void sipQtPLWidget::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
01264 {
01265     (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
01266 }
01267 
01268 void sipQtPLWidget::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
01269 {
01270     (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
01271 }
01272 
01273 void sipQtPLWidget::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
01274 {
01275     (sipSelfWasArg ? QWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
01276 }
01277 
01278 void sipQtPLWidget::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
01279 {
01280     (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
01281 }
01282 
01283 void sipQtPLWidget::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
01284 {
01285     (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
01286 }
01287 
01288 void sipQtPLWidget::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
01289 {
01290     (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
01291 }
01292 
01293 void sipQtPLWidget::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
01294 {
01295     (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
01296 }
01297 
01298 void sipQtPLWidget::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
01299 {
01300     (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
01301 }
01302 
01303 void sipQtPLWidget::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
01304 {
01305     (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
01306 }
01307 
01308 void sipQtPLWidget::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
01309 {
01310     (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
01311 }
01312 
01313 void sipQtPLWidget::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
01314 {
01315     (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
01316 }
01317 
01318 void sipQtPLWidget::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
01319 {
01320     (sipSelfWasArg ? QWidget::changeEvent(a0) : changeEvent(a0));
01321 }
01322 
01323 int sipQtPLWidget::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
01324 {
01325     return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
01326 }
01327 
01328 void sipQtPLWidget::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
01329 {
01330     (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
01331 }
01332 
01333 void sipQtPLWidget::sipProtect_resetInputContext()
01334 {
01335     QWidget::resetInputContext();
01336 }
01337 
01338 void sipQtPLWidget::sipProtect_updateMicroFocus()
01339 {
01340     QWidget::updateMicroFocus();
01341 }
01342 
01343 void sipQtPLWidget::sipProtect_create(WId a0,bool a1,bool a2)
01344 {
01345     QWidget::create(a0,a1,a2);
01346 }
01347 
01348 void sipQtPLWidget::sipProtect_destroy(bool a0,bool a1)
01349 {
01350     QWidget::destroy(a0,a1);
01351 }
01352 
01353 bool sipQtPLWidget::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
01354 {
01355     return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
01356 }
01357 
01358 bool sipQtPLWidget::sipProtect_focusNextChild()
01359 {
01360     return QWidget::focusNextChild();
01361 }
01362 
01363 bool sipQtPLWidget::sipProtect_focusPreviousChild()
01364 {
01365     return QWidget::focusPreviousChild();
01366 }
01367 
01368 void sipQtPLWidget::sipProtectVirt_enabledChange(bool sipSelfWasArg,bool a0)
01369 {
01370     (sipSelfWasArg ? QWidget::enabledChange(a0) : enabledChange(a0));
01371 }
01372 
01373 void sipQtPLWidget::sipProtectVirt_paletteChange(bool sipSelfWasArg,const QPalette& a0)
01374 {
01375     (sipSelfWasArg ? QWidget::paletteChange(a0) : paletteChange(a0));
01376 }
01377 
01378 void sipQtPLWidget::sipProtectVirt_fontChange(bool sipSelfWasArg,const QFont& a0)
01379 {
01380     (sipSelfWasArg ? QWidget::fontChange(a0) : fontChange(a0));
01381 }
01382 
01383 void sipQtPLWidget::sipProtectVirt_windowActivationChange(bool sipSelfWasArg,bool a0)
01384 {
01385     (sipSelfWasArg ? QWidget::windowActivationChange(a0) : windowActivationChange(a0));
01386 }
01387 
01388 void sipQtPLWidget::sipProtectVirt_languageChange(bool sipSelfWasArg)
01389 {
01390     (sipSelfWasArg ? QWidget::languageChange() : languageChange());
01391 }
01392 
01393 void sipQtPLWidget::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
01394 {
01395     (sipSelfWasArg ? QtPLWidget::mousePressEvent(a0) : mousePressEvent(a0));
01396 }
01397 
01398 void sipQtPLWidget::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
01399 {
01400     (sipSelfWasArg ? QtPLWidget::keyPressEvent(a0) : keyPressEvent(a0));
01401 }
01402 
01403 void sipQtPLWidget::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
01404 {
01405     (sipSelfWasArg ? QtPLWidget::closeEvent(a0) : closeEvent(a0));
01406 }
01407 
01408 void sipQtPLWidget::sipProtect_nextPage()
01409 {
01410     QtPLWidget::nextPage();
01411 }
01412 
01413 void sipQtPLWidget::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
01414 {
01415     (sipSelfWasArg ? QtPLWidget::resizeEvent(a0) : resizeEvent(a0));
01416 }
01417 
01418 void sipQtPLWidget::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
01419 {
01420     (sipSelfWasArg ? QtPLWidget::paintEvent(a0) : paintEvent(a0));
01421 }
01422 
01423 void sipQtPLWidget::sipProtect_getPlotParameters(double& a0,double& a1,double& a2,double& a3)
01424 {
01425     QtPLWidget::getPlotParameters(a0,a1,a2,a3);
01426 }
01427 
01428 
01429 extern "C" {static PyObject *meth_QtPLWidget_sender(PyObject *, PyObject *, PyObject *);}
01430 static PyObject *meth_QtPLWidget_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
01431 {
01432     PyObject *sipParseErr = NULL;
01433 
01434     {
01435         const sipQtPLWidget *sipCpp;
01436 
01437         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QtPLWidget, &sipCpp))
01438         {
01439             QObject*sipRes = 0;
01440 
01441 #line 643 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
01442         typedef QObject *(*helper_func)(QObject *);
01443         
01444         static helper_func helper = 0;
01445         
01446         if (!helper)
01447             helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
01448         
01449         // sender() must be called without the GIL to avoid possible deadlocks between
01450         // the GIL and Qt's internal thread data mutex.
01451         
01452         Py_BEGIN_ALLOW_THREADS
01453         
01454         #if defined(SIP_PROTECTED_IS_PUBLIC)
01455         sipRes = sipCpp->sender();
01456         #else
01457         sipRes = sipCpp->sipProtect_sender();
01458         #endif
01459         
01460         Py_END_ALLOW_THREADS
01461         
01462         if (helper)
01463             sipRes = helper(sipRes);
01464 #line 1465 "./sipplplot_pyqt4QtPLWidget.cpp"
01465 
01466             return sipConvertFromType(sipRes,sipType_QObject,NULL);
01467         }
01468     }
01469 
01470     /* Raise an exception if the arguments couldn't be parsed. */
01471     sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_sender, NULL);
01472 
01473     return NULL;
01474 }
01475 
01476 
01477 extern "C" {static PyObject *meth_QtPLWidget_receivers(PyObject *, PyObject *, PyObject *);}
01478 static PyObject *meth_QtPLWidget_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
01479 {
01480     PyObject *sipParseErr = NULL;
01481 
01482     {
01483         char* a0;
01484         const sipQtPLWidget *sipCpp;
01485 
01486         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QtPLWidget, &sipCpp, &a0))
01487         {
01488             int sipRes = 0;
01489 
01490 #line 669 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
01491         // We need to take into account any proxies for Python signals. Import the
01492         // helper if it hasn't already been done.
01493         typedef int (*helper_func)(QObject *, const char *, int);
01494         
01495         static helper_func helper = 0;
01496         
01497         if (!helper)
01498             helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
01499         
01500         // PyQt5: Get rid of the const casts.
01501         if (helper)
01502         #if defined(SIP_PROTECTED_IS_PUBLIC)
01503             sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
01504         #else
01505             sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
01506         #endif
01507 #line 1508 "./sipplplot_pyqt4QtPLWidget.cpp"
01508 
01509             return SIPLong_FromLong(sipRes);
01510         }
01511     }
01512 
01513     /* Raise an exception if the arguments couldn't be parsed. */
01514     sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_receivers, NULL);
01515 
01516     return NULL;
01517 }
01518 
01519 
01520 extern "C" {static PyObject *meth_QtPLWidget_timerEvent(PyObject *, PyObject *, PyObject *);}
01521 static PyObject *meth_QtPLWidget_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
01522 {
01523     PyObject *sipParseErr = NULL;
01524     bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
01525 
01526     {
01527         QTimerEvent* a0;
01528         sipQtPLWidget *sipCpp;
01529 
01530         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QTimerEvent, &a0))
01531         {
01532             Py_BEGIN_ALLOW_THREADS
01533             sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
01534             Py_END_ALLOW_THREADS
01535 
01536             Py_INCREF(Py_None);
01537             return Py_None;
01538         }
01539     }
01540 
01541     /* Raise an exception if the arguments couldn't be parsed. */
01542     sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_timerEvent, NULL);
01543 
01544     return NULL;
01545 }
01546 
01547 
01548 extern "C" {static PyObject *meth_QtPLWidget_childEvent(PyObject *, PyObject *, PyObject *);}
01549 static PyObject *meth_QtPLWidget_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
01550 {
01551     PyObject *sipParseErr = NULL;
01552     bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
01553 
01554     {
01555         QChildEvent* a0;
01556         sipQtPLWidget *sipCpp;
01557 
01558         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QChildEvent, &a0))
01559         {
01560             Py_BEGIN_ALLOW_THREADS
01561             sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
01562             Py_END_ALLOW_THREADS
01563 
01564             Py_INCREF(Py_None);
01565             return Py_None;
01566         }
01567     }
01568 
01569     /* Raise an exception if the arguments couldn't be parsed. */
01570     sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_childEvent, NULL);
01571 
01572     return NULL;
01573 }
01574 
01575 
01576 extern "C" {static PyObject *meth_QtPLWidget_customEvent(PyObject *, PyObject *, PyObject *);}
01577 static PyObject *meth_QtPLWidget_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
01578 {
01579     PyObject *sipParseErr = NULL;
01580     bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
01581 
01582     {
01583         QEvent* a0;
01584         sipQtPLWidget *sipCpp;
01585 
01586         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QEvent, &a0))
01587         {
01588             Py_BEGIN_ALLOW_THREADS
01589             sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
01590             Py_END_ALLOW_THREADS
01591 
01592             Py_INCREF(Py_None);
01593             return Py_None;
01594         }
01595     }
01596 
01597     /* Raise an exception if the arguments couldn't be parsed. */
01598     sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_customEvent, NULL);
01599 
01600     return NULL;
01601 }
01602 
01603 
01604 extern "C" {static PyObject *meth_QtPLWidget_connectNotify(PyObject *, PyObject *, PyObject *);}
01605 static PyObject *meth_QtPLWidget_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
01606 {
01607     PyObject *sipParseErr = NULL;
01608     bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
01609 
01610     {
01611         char* a0;
01612         sipQtPLWidget *sipCpp;
01613 
01614         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QtPLWidget, &sipCpp, &a0))
01615         {
01616             Py_BEGIN_ALLOW_THREADS
01617             sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
01618             Py_END_ALLOW_THREADS
01619 
01620             Py_INCREF(Py_None);
01621             return Py_None;
01622         }
01623     }
01624 
01625     /* Raise an exception if the arguments couldn't be parsed. */
01626     sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_connectNotify, NULL);
01627 
01628     return NULL;
01629 }
01630 
01631 
01632 extern "C" {static PyObject *meth_QtPLWidget_disconnectNotify(PyObject *, PyObject *, PyObject *);}
01633 static PyObject *meth_QtPLWidget_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
01634 {
01635     PyObject *sipParseErr = NULL;
01636     bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
01637 
01638     {
01639         char* a0;
01640         sipQtPLWidget *sipCpp;
01641 
01642         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QtPLWidget, &sipCpp, &a0))
01643         {
01644             Py_BEGIN_ALLOW_THREADS
01645             sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
01646             Py_END_ALLOW_THREADS
01647 
01648             Py_INCREF(Py_None);
01649             return Py_None;
01650         }
01651     }
01652 
01653     /* Raise an exception if the arguments couldn't be parsed. */
01654     sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_disconnectNotify, NULL);
01655 
01656     return NULL;
01657 }
01658 
01659 
01660 extern "C" {static PyObject *meth_QtPLWidget_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
01661 static PyObject *meth_QtPLWidget_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
01662 {
01663     PyObject *sipParseErr = NULL;
01664 
01665     {
01666         const sipQtPLWidget *sipCpp;
01667 
01668         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QtPLWidget, &sipCpp))
01669         {
01670             int sipRes;
01671 
01672             Py_BEGIN_ALLOW_THREADS
01673             sipRes = sipCpp->sipProtect_senderSignalIndex();
01674             Py_END_ALLOW_THREADS
01675 
01676             return SIPLong_FromLong(sipRes);
01677         }
01678     }
01679 
01680     /* Raise an exception if the arguments couldn't be parsed. */
01681     sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_senderSignalIndex, NULL);
01682 
01683     return NULL;
01684 }
01685 
01686 
01687 extern "C" {static PyObject *meth_QtPLWidget_event(PyObject *, PyObject *, PyObject *);}
01688 static PyObject *meth_QtPLWidget_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
01689 {
01690     PyObject *sipParseErr = NULL;
01691     bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
01692 
01693     {
01694         QEvent* a0;
01695         sipQtPLWidget *sipCpp;
01696 
01697         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QEvent, &a0))
01698         {
01699             bool sipRes;
01700 
01701             Py_BEGIN_ALLOW_THREADS
01702             sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);
01703             Py_END_ALLOW_THREADS
01704 
01705             return PyBool_FromLong(sipRes);
01706         }
01707     }
01708 
01709     /* Raise an exception if the arguments couldn't be parsed. */
01710     sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_event, NULL);
01711 
01712     return NULL;
01713 }
01714 
01715 
01716 extern "C" {static PyObject *meth_QtPLWidget_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
01717 static PyObject *meth_QtPLWidget_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
01718 {
01719     PyObject *sipParseErr = NULL;
01720     bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
01721 
01722     {
01723         QMouseEvent* a0;
01724         sipQtPLWidget *sipCpp;
01725 
01726         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QMouseEvent, &a0))
01727         {
01728             Py_BEGIN_ALLOW_THREADS
01729             sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);
01730             Py_END_ALLOW_THREADS
01731 
01732             Py_INCREF(Py_None);
01733             return Py_None;
01734         }
01735     }
01736 
01737     /* Raise an exception if the arguments couldn't be parsed. */
01738     sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_mouseReleaseEvent, NULL);
01739 
01740     return NULL;
01741 }
01742 
01743 
01744 extern "C" {static PyObject *meth_QtPLWidget_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
01745 static PyObject *meth_QtPLWidget_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
01746 {
01747     PyObject *sipParseErr = NULL;
01748     bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
01749 
01750     {
01751         QMouseEvent* a0;
01752         sipQtPLWidget *sipCpp;
01753 
01754         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QMouseEvent, &a0))
01755         {
01756             Py_BEGIN_ALLOW_THREADS
01757             sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);
01758             Py_END_ALLOW_THREADS
01759 
01760             Py_INCREF(Py_None);
01761             return Py_None;
01762         }
01763     }
01764 
01765     /* Raise an exception if the arguments couldn't be parsed. */
01766     sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_mouseDoubleClickEvent, NULL);
01767 
01768     return NULL;
01769 }
01770 
01771 
01772 extern "C" {static PyObject *meth_QtPLWidget_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
01773 static PyObject *meth_QtPLWidget_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
01774 {
01775     PyObject *sipParseErr = NULL;
01776     bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
01777 
01778     {
01779         QMouseEvent* a0;
01780         sipQtPLWidget *sipCpp;
01781 
01782         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QMouseEvent, &a0))
01783         {
01784             Py_BEGIN_ALLOW_THREADS
01785             sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);
01786             Py_END_ALLOW_THREADS
01787 
01788             Py_INCREF(Py_None);
01789             return Py_None;
01790         }
01791     }
01792 
01793     /* Raise an exception if the arguments couldn't be parsed. */
01794     sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_mouseMoveEvent, NULL);
01795 
01796     return NULL;
01797 }
01798 
01799 
01800 extern "C" {static PyObject *meth_QtPLWidget_wheelEvent(PyObject *, PyObject *, PyObject *);}
01801 static PyObject *meth_QtPLWidget_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
01802 {
01803     PyObject *sipParseErr = NULL;
01804     bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
01805 
01806     {
01807         QWheelEvent* a0;
01808         sipQtPLWidget *sipCpp;
01809 
01810         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QWheelEvent, &a0))
01811         {
01812             Py_BEGIN_ALLOW_THREADS
01813             sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);
01814             Py_END_ALLOW_THREADS
01815 
01816             Py_INCREF(Py_None);
01817             return Py_None;
01818         }
01819     }
01820 
01821     /* Raise an exception if the arguments couldn't be parsed. */
01822     sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_wheelEvent, NULL);
01823 
01824     return NULL;
01825 }
01826 
01827 
01828 extern "C" {static PyObject *meth_QtPLWidget_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
01829 static PyObject *meth_QtPLWidget_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
01830 {
01831     PyObject *sipParseErr = NULL;
01832     bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
01833 
01834     {
01835         QKeyEvent* a0;
01836         sipQtPLWidget *sipCpp;
01837 
01838         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QKeyEvent, &a0))
01839         {
01840             Py_BEGIN_ALLOW_THREADS
01841             sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);
01842             Py_END_ALLOW_THREADS
01843 
01844             Py_INCREF(Py_None);
01845             return Py_None;
01846         }
01847     }
01848 
01849     /* Raise an exception if the arguments couldn't be parsed. */
01850     sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_keyReleaseEvent, NULL);
01851 
01852     return NULL;
01853 }
01854 
01855 
01856 extern "C" {static PyObject *meth_QtPLWidget_focusInEvent(PyObject *, PyObject *, PyObject *);}
01857 static PyObject *meth_QtPLWidget_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
01858 {
01859     PyObject *sipParseErr = NULL;
01860     bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
01861 
01862     {
01863         QFocusEvent* a0;
01864         sipQtPLWidget *sipCpp;
01865 
01866         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QFocusEvent, &a0))
01867         {
01868             Py_BEGIN_ALLOW_THREADS
01869             sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);
01870             Py_END_ALLOW_THREADS
01871 
01872             Py_INCREF(Py_None);
01873             return Py_None;
01874         }
01875     }
01876 
01877     /* Raise an exception if the arguments couldn't be parsed. */
01878     sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_focusInEvent, NULL);
01879 
01880     return NULL;
01881 }
01882 
01883 
01884 extern "C" {static PyObject *meth_QtPLWidget_focusOutEvent(PyObject *, PyObject *, PyObject *);}
01885 static PyObject *meth_QtPLWidget_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
01886 {
01887     PyObject *sipParseErr = NULL;
01888     bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
01889 
01890     {
01891         QFocusEvent* a0;
01892         sipQtPLWidget *sipCpp;
01893 
01894         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QFocusEvent, &a0))
01895         {
01896             Py_BEGIN_ALLOW_THREADS
01897             sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);
01898             Py_END_ALLOW_THREADS
01899 
01900             Py_INCREF(Py_None);
01901             return Py_None;
01902         }
01903     }
01904 
01905     /* Raise an exception if the arguments couldn't be parsed. */
01906     sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_focusOutEvent, NULL);
01907 
01908     return NULL;
01909 }
01910 
01911 
01912 extern "C" {static PyObject *meth_QtPLWidget_enterEvent(PyObject *, PyObject *, PyObject *);}
01913 static PyObject *meth_QtPLWidget_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
01914 {
01915     PyObject *sipParseErr = NULL;
01916     bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
01917 
01918     {
01919         QEvent* a0;
01920         sipQtPLWidget *sipCpp;
01921 
01922         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QEvent, &a0))
01923         {
01924             Py_BEGIN_ALLOW_THREADS
01925             sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);
01926             Py_END_ALLOW_THREADS
01927 
01928             Py_INCREF(Py_None);
01929             return Py_None;
01930         }
01931     }
01932 
01933     /* Raise an exception if the arguments couldn't be parsed. */
01934     sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_enterEvent, NULL);
01935 
01936     return NULL;
01937 }
01938 
01939 
01940 extern "C" {static PyObject *meth_QtPLWidget_leaveEvent(PyObject *, PyObject *, PyObject *);}
01941 static PyObject *meth_QtPLWidget_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
01942 {
01943     PyObject *sipParseErr = NULL;
01944     bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
01945 
01946     {
01947         QEvent* a0;
01948         sipQtPLWidget *sipCpp;
01949 
01950         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QEvent, &a0))
01951         {
01952             Py_BEGIN_ALLOW_THREADS
01953             sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);
01954             Py_END_ALLOW_THREADS
01955 
01956             Py_INCREF(Py_None);
01957             return Py_None;
01958         }
01959     }
01960 
01961     /* Raise an exception if the arguments couldn't be parsed. */
01962     sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_leaveEvent, NULL);
01963 
01964     return NULL;
01965 }
01966 
01967 
01968 extern "C" {static PyObject *meth_QtPLWidget_moveEvent(PyObject *, PyObject *, PyObject *);}
01969 static PyObject *meth_QtPLWidget_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
01970 {
01971     PyObject *sipParseErr = NULL;
01972     bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
01973 
01974     {
01975         QMoveEvent* a0;
01976         sipQtPLWidget *sipCpp;
01977 
01978         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QMoveEvent, &a0))
01979         {
01980             Py_BEGIN_ALLOW_THREADS
01981             sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);
01982             Py_END_ALLOW_THREADS
01983 
01984             Py_INCREF(Py_None);
01985             return Py_None;
01986         }
01987     }
01988 
01989     /* Raise an exception if the arguments couldn't be parsed. */
01990     sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_moveEvent, NULL);
01991 
01992     return NULL;
01993 }
01994 
01995 
01996 extern "C" {static PyObject *meth_QtPLWidget_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
01997 static PyObject *meth_QtPLWidget_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
01998 {
01999     PyObject *sipParseErr = NULL;
02000     bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
02001 
02002     {
02003         QContextMenuEvent* a0;
02004         sipQtPLWidget *sipCpp;
02005 
02006         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QContextMenuEvent, &a0))
02007         {
02008             Py_BEGIN_ALLOW_THREADS
02009             sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);
02010             Py_END_ALLOW_THREADS
02011 
02012             Py_INCREF(Py_None);
02013             return Py_None;
02014         }
02015     }
02016 
02017     /* Raise an exception if the arguments couldn't be parsed. */
02018     sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_contextMenuEvent, NULL);
02019 
02020     return NULL;
02021 }
02022 
02023 
02024 extern "C" {static PyObject *meth_QtPLWidget_tabletEvent(PyObject *, PyObject *, PyObject *);}
02025 static PyObject *meth_QtPLWidget_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
02026 {
02027     PyObject *sipParseErr = NULL;
02028     bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
02029 
02030     {
02031         QTabletEvent* a0;
02032         sipQtPLWidget *sipCpp;
02033 
02034         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QTabletEvent, &a0))
02035         {
02036             Py_BEGIN_ALLOW_THREADS
02037             sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);
02038             Py_END_ALLOW_THREADS
02039 
02040             Py_INCREF(Py_None);
02041             return Py_None;
02042         }
02043     }
02044 
02045     /* Raise an exception if the arguments couldn't be parsed. */
02046     sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_tabletEvent, NULL);
02047 
02048     return NULL;
02049 }
02050 
02051 
02052 extern "C" {static PyObject *meth_QtPLWidget_actionEvent(PyObject *, PyObject *, PyObject *);}
02053 static PyObject *meth_QtPLWidget_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
02054 {
02055     PyObject *sipParseErr = NULL;
02056     bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
02057 
02058     {
02059         QActionEvent* a0;
02060         sipQtPLWidget *sipCpp;
02061 
02062         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QActionEvent, &a0))
02063         {
02064             Py_BEGIN_ALLOW_THREADS
02065             sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);
02066             Py_END_ALLOW_THREADS
02067 
02068             Py_INCREF(Py_None);
02069             return Py_None;
02070         }
02071     }
02072 
02073     /* Raise an exception if the arguments couldn't be parsed. */
02074     sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_actionEvent, NULL);
02075 
02076     return NULL;
02077 }
02078 
02079 
02080 extern "C" {static PyObject *meth_QtPLWidget_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
02081 static PyObject *meth_QtPLWidget_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
02082 {
02083     PyObject *sipParseErr = NULL;
02084     bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
02085 
02086     {
02087         QDragEnterEvent* a0;
02088         sipQtPLWidget *sipCpp;
02089 
02090         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QDragEnterEvent, &a0))
02091         {
02092             Py_BEGIN_ALLOW_THREADS
02093             sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);
02094             Py_END_ALLOW_THREADS
02095 
02096             Py_INCREF(Py_None);
02097             return Py_None;
02098         }
02099     }
02100 
02101     /* Raise an exception if the arguments couldn't be parsed. */
02102     sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_dragEnterEvent, NULL);
02103 
02104     return NULL;
02105 }
02106 
02107 
02108 extern "C" {static PyObject *meth_QtPLWidget_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
02109 static PyObject *meth_QtPLWidget_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
02110 {
02111     PyObject *sipParseErr = NULL;
02112     bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
02113 
02114     {
02115         QDragMoveEvent* a0;
02116         sipQtPLWidget *sipCpp;
02117 
02118         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QDragMoveEvent, &a0))
02119         {
02120             Py_BEGIN_ALLOW_THREADS
02121             sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);
02122             Py_END_ALLOW_THREADS
02123 
02124             Py_INCREF(Py_None);
02125             return Py_None;
02126         }
02127     }
02128 
02129     /* Raise an exception if the arguments couldn't be parsed. */
02130     sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_dragMoveEvent, NULL);
02131 
02132     return NULL;
02133 }
02134 
02135 
02136 extern "C" {static PyObject *meth_QtPLWidget_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
02137 static PyObject *meth_QtPLWidget_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
02138 {
02139     PyObject *sipParseErr = NULL;
02140     bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
02141 
02142     {
02143         QDragLeaveEvent* a0;
02144         sipQtPLWidget *sipCpp;
02145 
02146         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QDragLeaveEvent, &a0))
02147         {
02148             Py_BEGIN_ALLOW_THREADS
02149             sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);
02150             Py_END_ALLOW_THREADS
02151 
02152             Py_INCREF(Py_None);
02153             return Py_None;
02154         }
02155     }
02156 
02157     /* Raise an exception if the arguments couldn't be parsed. */
02158     sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_dragLeaveEvent, NULL);
02159 
02160     return NULL;
02161 }
02162 
02163 
02164 extern "C" {static PyObject *meth_QtPLWidget_dropEvent(PyObject *, PyObject *, PyObject *);}
02165 static PyObject *meth_QtPLWidget_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
02166 {
02167     PyObject *sipParseErr = NULL;
02168     bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
02169 
02170     {
02171         QDropEvent* a0;
02172         sipQtPLWidget *sipCpp;
02173 
02174         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QDropEvent, &a0))
02175         {
02176             Py_BEGIN_ALLOW_THREADS
02177             sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);
02178             Py_END_ALLOW_THREADS
02179 
02180             Py_INCREF(Py_None);
02181             return Py_None;
02182         }
02183     }
02184 
02185     /* Raise an exception if the arguments couldn't be parsed. */
02186     sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_dropEvent, NULL);
02187 
02188     return NULL;
02189 }
02190 
02191 
02192 extern "C" {static PyObject *meth_QtPLWidget_showEvent(PyObject *, PyObject *, PyObject *);}
02193 static PyObject *meth_QtPLWidget_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
02194 {
02195     PyObject *sipParseErr = NULL;
02196     bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
02197 
02198     {
02199         QShowEvent* a0;
02200         sipQtPLWidget *sipCpp;
02201 
02202         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QShowEvent, &a0))
02203         {
02204             Py_BEGIN_ALLOW_THREADS
02205             sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);
02206             Py_END_ALLOW_THREADS
02207 
02208             Py_INCREF(Py_None);
02209             return Py_None;
02210         }
02211     }
02212 
02213     /* Raise an exception if the arguments couldn't be parsed. */
02214     sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_showEvent, NULL);
02215 
02216     return NULL;
02217 }
02218 
02219 
02220 extern "C" {static PyObject *meth_QtPLWidget_hideEvent(PyObject *, PyObject *, PyObject *);}
02221 static PyObject *meth_QtPLWidget_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
02222 {
02223     PyObject *sipParseErr = NULL;
02224     bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
02225 
02226     {
02227         QHideEvent* a0;
02228         sipQtPLWidget *sipCpp;
02229 
02230         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QHideEvent, &a0))
02231         {
02232             Py_BEGIN_ALLOW_THREADS
02233             sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);
02234             Py_END_ALLOW_THREADS
02235 
02236             Py_INCREF(Py_None);
02237             return Py_None;
02238         }
02239     }
02240 
02241     /* Raise an exception if the arguments couldn't be parsed. */
02242     sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_hideEvent, NULL);
02243 
02244     return NULL;
02245 }
02246 
02247 
02248 extern "C" {static PyObject *meth_QtPLWidget_changeEvent(PyObject *, PyObject *, PyObject *);}
02249 static PyObject *meth_QtPLWidget_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
02250 {
02251     PyObject *sipParseErr = NULL;
02252     bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
02253 
02254     {
02255         QEvent* a0;
02256         sipQtPLWidget *sipCpp;
02257 
02258         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QEvent, &a0))
02259         {
02260             Py_BEGIN_ALLOW_THREADS
02261             sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);
02262             Py_END_ALLOW_THREADS
02263 
02264             Py_INCREF(Py_None);
02265             return Py_None;
02266         }
02267     }
02268 
02269     /* Raise an exception if the arguments couldn't be parsed. */
02270     sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_changeEvent, NULL);
02271 
02272     return NULL;
02273 }
02274 
02275 
02276 extern "C" {static PyObject *meth_QtPLWidget_metric(PyObject *, PyObject *, PyObject *);}
02277 static PyObject *meth_QtPLWidget_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
02278 {
02279     PyObject *sipParseErr = NULL;
02280     bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
02281 
02282     {
02283         QPaintDevice::PaintDeviceMetric a0;
02284         const sipQtPLWidget *sipCpp;
02285 
02286         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
02287         {
02288             int sipRes;
02289 
02290             Py_BEGIN_ALLOW_THREADS
02291             sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);
02292             Py_END_ALLOW_THREADS
02293 
02294             return SIPLong_FromLong(sipRes);
02295         }
02296     }
02297 
02298     /* Raise an exception if the arguments couldn't be parsed. */
02299     sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_metric, NULL);
02300 
02301     return NULL;
02302 }
02303 
02304 
02305 extern "C" {static PyObject *meth_QtPLWidget_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
02306 static PyObject *meth_QtPLWidget_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
02307 {
02308     PyObject *sipParseErr = NULL;
02309     bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
02310 
02311     {
02312         QInputMethodEvent* a0;
02313         sipQtPLWidget *sipCpp;
02314 
02315         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QInputMethodEvent, &a0))
02316         {
02317             Py_BEGIN_ALLOW_THREADS
02318             sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);
02319             Py_END_ALLOW_THREADS
02320 
02321             Py_INCREF(Py_None);
02322             return Py_None;
02323         }
02324     }
02325 
02326     /* Raise an exception if the arguments couldn't be parsed. */
02327     sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_inputMethodEvent, NULL);
02328 
02329     return NULL;
02330 }
02331 
02332 
02333 extern "C" {static PyObject *meth_QtPLWidget_resetInputContext(PyObject *, PyObject *, PyObject *);}
02334 static PyObject *meth_QtPLWidget_resetInputContext(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
02335 {
02336     PyObject *sipParseErr = NULL;
02337 
02338     {
02339         sipQtPLWidget *sipCpp;
02340 
02341         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QtPLWidget, &sipCpp))
02342         {
02343             Py_BEGIN_ALLOW_THREADS
02344             sipCpp->sipProtect_resetInputContext();
02345             Py_END_ALLOW_THREADS
02346 
02347             Py_INCREF(Py_None);
02348             return Py_None;
02349         }
02350     }
02351 
02352     /* Raise an exception if the arguments couldn't be parsed. */
02353     sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_resetInputContext, NULL);
02354 
02355     return NULL;
02356 }
02357 
02358 
02359 extern "C" {static PyObject *meth_QtPLWidget_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
02360 static PyObject *meth_QtPLWidget_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
02361 {
02362     PyObject *sipParseErr = NULL;
02363 
02364     {
02365         sipQtPLWidget *sipCpp;
02366 
02367         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QtPLWidget, &sipCpp))
02368         {
02369             Py_BEGIN_ALLOW_THREADS
02370             sipCpp->sipProtect_updateMicroFocus();
02371             Py_END_ALLOW_THREADS
02372 
02373             Py_INCREF(Py_None);
02374             return Py_None;
02375         }
02376     }
02377 
02378     /* Raise an exception if the arguments couldn't be parsed. */
02379     sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_updateMicroFocus, NULL);
02380 
02381     return NULL;
02382 }
02383 
02384 
02385 extern "C" {static PyObject *meth_QtPLWidget_create(PyObject *, PyObject *, PyObject *);}
02386 static PyObject *meth_QtPLWidget_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
02387 {
02388     PyObject *sipParseErr = NULL;
02389 
02390     {
02391         WId a0 = 0;
02392         bool a1 = 1;
02393         bool a2 = 1;
02394         sipQtPLWidget *sipCpp;
02395 
02396         static const char *sipKwdList[] = {
02397             sipName_window,
02398             sipName_initializeWindow,
02399             sipName_destroyOldWindow,
02400         };
02401 
02402         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|mbb", &sipSelf, sipType_QtPLWidget, &sipCpp, &a0, &a1, &a2))
02403         {
02404             Py_BEGIN_ALLOW_THREADS
02405             sipCpp->sipProtect_create(a0,a1,a2);
02406             Py_END_ALLOW_THREADS
02407 
02408             Py_INCREF(Py_None);
02409             return Py_None;
02410         }
02411     }
02412 
02413     /* Raise an exception if the arguments couldn't be parsed. */
02414     sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_create, NULL);
02415 
02416     return NULL;
02417 }
02418 
02419 
02420 extern "C" {static PyObject *meth_QtPLWidget_destroy(PyObject *, PyObject *, PyObject *);}
02421 static PyObject *meth_QtPLWidget_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
02422 {
02423     PyObject *sipParseErr = NULL;
02424 
02425     {
02426         bool a0 = 1;
02427         bool a1 = 1;
02428         sipQtPLWidget *sipCpp;
02429 
02430         static const char *sipKwdList[] = {
02431             sipName_destroyWindow,
02432             sipName_destroySubWindows,
02433         };
02434 
02435         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QtPLWidget, &sipCpp, &a0, &a1))
02436         {
02437             Py_BEGIN_ALLOW_THREADS
02438             sipCpp->sipProtect_destroy(a0,a1);
02439             Py_END_ALLOW_THREADS
02440 
02441             Py_INCREF(Py_None);
02442             return Py_None;
02443         }
02444     }
02445 
02446     /* Raise an exception if the arguments couldn't be parsed. */
02447     sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_destroy, NULL);
02448 
02449     return NULL;
02450 }
02451 
02452 
02453 extern "C" {static PyObject *meth_QtPLWidget_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
02454 static PyObject *meth_QtPLWidget_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
02455 {
02456     PyObject *sipParseErr = NULL;
02457     bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
02458 
02459     {
02460         bool a0;
02461         sipQtPLWidget *sipCpp;
02462 
02463         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QtPLWidget, &sipCpp, &a0))
02464         {
02465             bool sipRes;
02466 
02467             Py_BEGIN_ALLOW_THREADS
02468             sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);
02469             Py_END_ALLOW_THREADS
02470 
02471             return PyBool_FromLong(sipRes);
02472         }
02473     }
02474 
02475     /* Raise an exception if the arguments couldn't be parsed. */
02476     sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_focusNextPrevChild, NULL);
02477 
02478     return NULL;
02479 }
02480 
02481 
02482 extern "C" {static PyObject *meth_QtPLWidget_focusNextChild(PyObject *, PyObject *, PyObject *);}
02483 static PyObject *meth_QtPLWidget_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
02484 {
02485     PyObject *sipParseErr = NULL;
02486 
02487     {
02488         sipQtPLWidget *sipCpp;
02489 
02490         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QtPLWidget, &sipCpp))
02491         {
02492             bool sipRes;
02493 
02494             Py_BEGIN_ALLOW_THREADS
02495             sipRes = sipCpp->sipProtect_focusNextChild();
02496             Py_END_ALLOW_THREADS
02497 
02498             return PyBool_FromLong(sipRes);
02499         }
02500     }
02501 
02502     /* Raise an exception if the arguments couldn't be parsed. */
02503     sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_focusNextChild, NULL);
02504 
02505     return NULL;
02506 }
02507 
02508 
02509 extern "C" {static PyObject *meth_QtPLWidget_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
02510 static PyObject *meth_QtPLWidget_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
02511 {
02512     PyObject *sipParseErr = NULL;
02513 
02514     {
02515         sipQtPLWidget *sipCpp;
02516 
02517         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QtPLWidget, &sipCpp))
02518         {
02519             bool sipRes;
02520 
02521             Py_BEGIN_ALLOW_THREADS
02522             sipRes = sipCpp->sipProtect_focusPreviousChild();
02523             Py_END_ALLOW_THREADS
02524 
02525             return PyBool_FromLong(sipRes);
02526         }
02527     }
02528 
02529     /* Raise an exception if the arguments couldn't be parsed. */
02530     sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_focusPreviousChild, NULL);
02531 
02532     return NULL;
02533 }
02534 
02535 
02536 extern "C" {static PyObject *meth_QtPLWidget_enabledChange(PyObject *, PyObject *, PyObject *);}
02537 static PyObject *meth_QtPLWidget_enabledChange(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
02538 {
02539     PyObject *sipParseErr = NULL;
02540     bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
02541 
02542     {
02543         bool a0;
02544         sipQtPLWidget *sipCpp;
02545 
02546         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QtPLWidget, &sipCpp, &a0))
02547         {
02548             Py_BEGIN_ALLOW_THREADS
02549             sipCpp->sipProtectVirt_enabledChange(sipSelfWasArg,a0);
02550             Py_END_ALLOW_THREADS
02551 
02552             Py_INCREF(Py_None);
02553             return Py_None;
02554         }
02555     }
02556 
02557     /* Raise an exception if the arguments couldn't be parsed. */
02558     sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_enabledChange, NULL);
02559 
02560     return NULL;
02561 }
02562 
02563 
02564 extern "C" {static PyObject *meth_QtPLWidget_paletteChange(PyObject *, PyObject *, PyObject *);}
02565 static PyObject *meth_QtPLWidget_paletteChange(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
02566 {
02567     PyObject *sipParseErr = NULL;
02568     bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
02569 
02570     {
02571         const QPalette* a0;
02572         sipQtPLWidget *sipCpp;
02573 
02574         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QPalette, &a0))
02575         {
02576             Py_BEGIN_ALLOW_THREADS
02577             sipCpp->sipProtectVirt_paletteChange(sipSelfWasArg,*a0);
02578             Py_END_ALLOW_THREADS
02579 
02580             Py_INCREF(Py_None);
02581             return Py_None;
02582         }
02583     }
02584 
02585     /* Raise an exception if the arguments couldn't be parsed. */
02586     sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_paletteChange, NULL);
02587 
02588     return NULL;
02589 }
02590 
02591 
02592 extern "C" {static PyObject *meth_QtPLWidget_fontChange(PyObject *, PyObject *, PyObject *);}
02593 static PyObject *meth_QtPLWidget_fontChange(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
02594 {
02595     PyObject *sipParseErr = NULL;
02596     bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
02597 
02598     {
02599         const QFont* a0;
02600         sipQtPLWidget *sipCpp;
02601 
02602         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QFont, &a0))
02603         {
02604             Py_BEGIN_ALLOW_THREADS
02605             sipCpp->sipProtectVirt_fontChange(sipSelfWasArg,*a0);
02606             Py_END_ALLOW_THREADS
02607 
02608             Py_INCREF(Py_None);
02609             return Py_None;
02610         }
02611     }
02612 
02613     /* Raise an exception if the arguments couldn't be parsed. */
02614     sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_fontChange, NULL);
02615 
02616     return NULL;
02617 }
02618 
02619 
02620 extern "C" {static PyObject *meth_QtPLWidget_windowActivationChange(PyObject *, PyObject *, PyObject *);}
02621 static PyObject *meth_QtPLWidget_windowActivationChange(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
02622 {
02623     PyObject *sipParseErr = NULL;
02624     bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
02625 
02626     {
02627         bool a0;
02628         sipQtPLWidget *sipCpp;
02629 
02630         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QtPLWidget, &sipCpp, &a0))
02631         {
02632             Py_BEGIN_ALLOW_THREADS
02633             sipCpp->sipProtectVirt_windowActivationChange(sipSelfWasArg,a0);
02634             Py_END_ALLOW_THREADS
02635 
02636             Py_INCREF(Py_None);
02637             return Py_None;
02638         }
02639     }
02640 
02641     /* Raise an exception if the arguments couldn't be parsed. */
02642     sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_windowActivationChange, NULL);
02643 
02644     return NULL;
02645 }
02646 
02647 
02648 extern "C" {static PyObject *meth_QtPLWidget_languageChange(PyObject *, PyObject *, PyObject *);}
02649 static PyObject *meth_QtPLWidget_languageChange(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
02650 {
02651     PyObject *sipParseErr = NULL;
02652     bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
02653 
02654     {
02655         sipQtPLWidget *sipCpp;
02656 
02657         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QtPLWidget, &sipCpp))
02658         {
02659             Py_BEGIN_ALLOW_THREADS
02660             sipCpp->sipProtectVirt_languageChange(sipSelfWasArg);
02661             Py_END_ALLOW_THREADS
02662 
02663             Py_INCREF(Py_None);
02664             return Py_None;
02665         }
02666     }
02667 
02668     /* Raise an exception if the arguments couldn't be parsed. */
02669     sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_languageChange, NULL);
02670 
02671     return NULL;
02672 }
02673 
02674 
02675 extern "C" {static PyObject *meth_QtPLWidget_clearWidget(PyObject *, PyObject *);}
02676 static PyObject *meth_QtPLWidget_clearWidget(PyObject *sipSelf, PyObject *sipArgs)
02677 {
02678     PyObject *sipParseErr = NULL;
02679 
02680     {
02681         QtPLWidget *sipCpp;
02682 
02683         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QtPLWidget, &sipCpp))
02684         {
02685             Py_BEGIN_ALLOW_THREADS
02686             sipCpp->clearWidget();
02687             Py_END_ALLOW_THREADS
02688 
02689             Py_INCREF(Py_None);
02690             return Py_None;
02691         }
02692     }
02693 
02694     /* Raise an exception if the arguments couldn't be parsed. */
02695     sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_clearWidget, NULL);
02696 
02697     return NULL;
02698 }
02699 
02700 
02701 extern "C" {static PyObject *meth_QtPLWidget_mousePressEvent(PyObject *, PyObject *, PyObject *);}
02702 static PyObject *meth_QtPLWidget_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
02703 {
02704     PyObject *sipParseErr = NULL;
02705     bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
02706 
02707     {
02708         QMouseEvent* a0;
02709         sipQtPLWidget *sipCpp;
02710 
02711         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QMouseEvent, &a0))
02712         {
02713             Py_BEGIN_ALLOW_THREADS
02714             sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);
02715             Py_END_ALLOW_THREADS
02716 
02717             Py_INCREF(Py_None);
02718             return Py_None;
02719         }
02720     }
02721 
02722     /* Raise an exception if the arguments couldn't be parsed. */
02723     sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_mousePressEvent, NULL);
02724 
02725     return NULL;
02726 }
02727 
02728 
02729 extern "C" {static PyObject *meth_QtPLWidget_keyPressEvent(PyObject *, PyObject *, PyObject *);}
02730 static PyObject *meth_QtPLWidget_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
02731 {
02732     PyObject *sipParseErr = NULL;
02733     bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
02734 
02735     {
02736         QKeyEvent* a0;
02737         sipQtPLWidget *sipCpp;
02738 
02739         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QKeyEvent, &a0))
02740         {
02741             Py_BEGIN_ALLOW_THREADS
02742             sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);
02743             Py_END_ALLOW_THREADS
02744 
02745             Py_INCREF(Py_None);
02746             return Py_None;
02747         }
02748     }
02749 
02750     /* Raise an exception if the arguments couldn't be parsed. */
02751     sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_keyPressEvent, NULL);
02752 
02753     return NULL;
02754 }
02755 
02756 
02757 extern "C" {static PyObject *meth_QtPLWidget_closeEvent(PyObject *, PyObject *, PyObject *);}
02758 static PyObject *meth_QtPLWidget_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
02759 {
02760     PyObject *sipParseErr = NULL;
02761     bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
02762 
02763     {
02764         QCloseEvent* a0;
02765         sipQtPLWidget *sipCpp;
02766 
02767         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QCloseEvent, &a0))
02768         {
02769             Py_BEGIN_ALLOW_THREADS
02770             sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);
02771             Py_END_ALLOW_THREADS
02772 
02773             Py_INCREF(Py_None);
02774             return Py_None;
02775         }
02776     }
02777 
02778     /* Raise an exception if the arguments couldn't be parsed. */
02779     sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_closeEvent, NULL);
02780 
02781     return NULL;
02782 }
02783 
02784 
02785 extern "C" {static PyObject *meth_QtPLWidget_nextPage(PyObject *, PyObject *, PyObject *);}
02786 static PyObject *meth_QtPLWidget_nextPage(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
02787 {
02788     PyObject *sipParseErr = NULL;
02789 
02790     {
02791         sipQtPLWidget *sipCpp;
02792 
02793         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QtPLWidget, &sipCpp))
02794         {
02795             Py_BEGIN_ALLOW_THREADS
02796             sipCpp->sipProtect_nextPage();
02797             Py_END_ALLOW_THREADS
02798 
02799             Py_INCREF(Py_None);
02800             return Py_None;
02801         }
02802     }
02803 
02804     /* Raise an exception if the arguments couldn't be parsed. */
02805     sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_nextPage, NULL);
02806 
02807     return NULL;
02808 }
02809 
02810 
02811 extern "C" {static PyObject *meth_QtPLWidget_resizeEvent(PyObject *, PyObject *, PyObject *);}
02812 static PyObject *meth_QtPLWidget_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
02813 {
02814     PyObject *sipParseErr = NULL;
02815     bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
02816 
02817     {
02818         QResizeEvent* a0;
02819         sipQtPLWidget *sipCpp;
02820 
02821         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QResizeEvent, &a0))
02822         {
02823             Py_BEGIN_ALLOW_THREADS
02824             sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);
02825             Py_END_ALLOW_THREADS
02826 
02827             Py_INCREF(Py_None);
02828             return Py_None;
02829         }
02830     }
02831 
02832     /* Raise an exception if the arguments couldn't be parsed. */
02833     sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_resizeEvent, NULL);
02834 
02835     return NULL;
02836 }
02837 
02838 
02839 extern "C" {static PyObject *meth_QtPLWidget_paintEvent(PyObject *, PyObject *, PyObject *);}
02840 static PyObject *meth_QtPLWidget_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
02841 {
02842     PyObject *sipParseErr = NULL;
02843     bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));
02844 
02845     {
02846         QPaintEvent* a0;
02847         sipQtPLWidget *sipCpp;
02848 
02849         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QtPLWidget, &sipCpp, sipType_QPaintEvent, &a0))
02850         {
02851             Py_BEGIN_ALLOW_THREADS
02852             sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);
02853             Py_END_ALLOW_THREADS
02854 
02855             Py_INCREF(Py_None);
02856             return Py_None;
02857         }
02858     }
02859 
02860     /* Raise an exception if the arguments couldn't be parsed. */
02861     sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_paintEvent, NULL);
02862 
02863     return NULL;
02864 }
02865 
02866 
02867 extern "C" {static PyObject *meth_QtPLWidget_getPlotParameters(PyObject *, PyObject *, PyObject *);}
02868 static PyObject *meth_QtPLWidget_getPlotParameters(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
02869 {
02870     PyObject *sipParseErr = NULL;
02871 
02872     {
02873         double a0;
02874         double a1;
02875         double a2;
02876         double a3;
02877         sipQtPLWidget *sipCpp;
02878 
02879         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QtPLWidget, &sipCpp))
02880         {
02881             Py_BEGIN_ALLOW_THREADS
02882             sipCpp->sipProtect_getPlotParameters(a0,a1,a2,a3);
02883             Py_END_ALLOW_THREADS
02884 
02885             return sipBuildResult(0,"(dddd)",a0,a1,a2,a3);
02886         }
02887     }
02888 
02889     /* Raise an exception if the arguments couldn't be parsed. */
02890     sipNoMethod(sipParseErr, sipName_QtPLWidget, sipName_getPlotParameters, NULL);
02891 
02892     return NULL;
02893 }
02894 
02895 
02896 /* Cast a pointer to a type somewhere in its superclass hierarchy. */
02897 extern "C" {static void *cast_QtPLWidget(void *, const sipTypeDef *);}
02898 static void *cast_QtPLWidget(void *ptr, const sipTypeDef *targetType)
02899 {
02900     void *res;
02901 
02902     if (targetType == sipType_QtPLWidget)
02903         return ptr;
02904 
02905     if ((res = ((const sipClassTypeDef *)sipType_QWidget)->ctd_cast((QWidget *)(QtPLWidget *)ptr,targetType)) != NULL)
02906         return res;
02907 
02908     if ((res = ((const sipClassTypeDef *)sipType_QtPLDriver)->ctd_cast((QtPLDriver *)(QtPLWidget *)ptr,targetType)) != NULL)
02909         return res;
02910 
02911     return NULL;
02912 }
02913 
02914 
02915 /* Call the instance's destructor. */
02916 extern "C" {static void release_QtPLWidget(void *, int);}
02917 static void release_QtPLWidget(void *sipCppV,int)
02918 {
02919     QtPLWidget *sipCpp = reinterpret_cast<QtPLWidget *>(sipCppV);
02920 
02921     Py_BEGIN_ALLOW_THREADS
02922 
02923     if (QThread::currentThread() == sipCpp->thread())
02924         delete sipCpp;
02925     else
02926         sipCpp->deleteLater();
02927 
02928     Py_END_ALLOW_THREADS
02929 }
02930 
02931 
02932 extern "C" {static void dealloc_QtPLWidget(sipSimpleWrapper *);}
02933 static void dealloc_QtPLWidget(sipSimpleWrapper *sipSelf)
02934 {
02935     if (sipIsDerived(sipSelf))
02936         reinterpret_cast<sipQtPLWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;
02937 
02938     if (sipIsPyOwned(sipSelf))
02939     {
02940         release_QtPLWidget(sipGetAddress(sipSelf),sipSelf->flags);
02941     }
02942 }
02943 
02944 
02945 extern "C" {static void *init_type_QtPLWidget(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
02946 static void *init_type_QtPLWidget(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
02947 {
02948     sipQtPLWidget *sipCpp = 0;
02949 
02950     {
02951         int a0 = QT_DEFAULT_X;
02952         int a1 = QT_DEFAULT_Y;
02953         QWidget* a2 = 0;
02954 
02955         if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|iiJ8", &a0, &a1, sipType_QWidget, &a2))
02956         {
02957             Py_BEGIN_ALLOW_THREADS
02958             sipCpp = new sipQtPLWidget(a0,a1,a2);
02959             Py_END_ALLOW_THREADS
02960 
02961             sipCpp->sipPySelf = sipSelf;
02962 
02963             return sipCpp;
02964         }
02965     }
02966 
02967     return NULL;
02968 }
02969 
02970 
02971 /* Define this type's super-types. */
02972 static sipEncodedTypeDef supers_QtPLWidget[] = {{755, 1, 0}, {1, 255, 1}};
02973 
02974 
02975 static PyMethodDef methods_QtPLWidget[] = {
02976     {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QtPLWidget_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
02977     {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QtPLWidget_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
02978     {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QtPLWidget_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
02979     {SIP_MLNAME_CAST(sipName_clearWidget), meth_QtPLWidget_clearWidget, METH_VARARGS, NULL},
02980     {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QtPLWidget_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
02981     {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QtPLWidget_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
02982     {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QtPLWidget_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
02983     {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QtPLWidget_create, METH_VARARGS|METH_KEYWORDS, NULL},
02984     {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QtPLWidget_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
02985     {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QtPLWidget_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
02986     {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QtPLWidget_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
02987     {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QtPLWidget_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
02988     {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QtPLWidget_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
02989     {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QtPLWidget_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
02990     {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QtPLWidget_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
02991     {SIP_MLNAME_CAST(sipName_enabledChange), (PyCFunction)meth_QtPLWidget_enabledChange, METH_VARARGS|METH_KEYWORDS, NULL},
02992     {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QtPLWidget_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
02993     {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QtPLWidget_event, METH_VARARGS|METH_KEYWORDS, NULL},
02994     {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QtPLWidget_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
02995     {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QtPLWidget_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
02996     {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QtPLWidget_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
02997     {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QtPLWidget_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
02998     {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QtPLWidget_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
02999     {SIP_MLNAME_CAST(sipName_fontChange), (PyCFunction)meth_QtPLWidget_fontChange, METH_VARARGS|METH_KEYWORDS, NULL},
03000     {SIP_MLNAME_CAST(sipName_getPlotParameters), (PyCFunction)meth_QtPLWidget_getPlotParameters, METH_VARARGS|METH_KEYWORDS, NULL},
03001     {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QtPLWidget_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
03002     {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QtPLWidget_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
03003     {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QtPLWidget_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
03004     {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QtPLWidget_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
03005     {SIP_MLNAME_CAST(sipName_languageChange), (PyCFunction)meth_QtPLWidget_languageChange, METH_VARARGS|METH_KEYWORDS, NULL},
03006     {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QtPLWidget_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
03007     {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QtPLWidget_metric, METH_VARARGS|METH_KEYWORDS, NULL},
03008     {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QtPLWidget_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
03009     {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QtPLWidget_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
03010     {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QtPLWidget_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
03011     {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QtPLWidget_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
03012     {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QtPLWidget_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
03013     {SIP_MLNAME_CAST(sipName_nextPage), (PyCFunction)meth_QtPLWidget_nextPage, METH_VARARGS|METH_KEYWORDS, NULL},
03014     {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QtPLWidget_paintEvent, METH_VARARGS|METH_KEYWORDS, NULL},
03015     {SIP_MLNAME_CAST(sipName_paletteChange), (PyCFunction)meth_QtPLWidget_paletteChange, METH_VARARGS|METH_KEYWORDS, NULL},
03016     {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QtPLWidget_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
03017     {SIP_MLNAME_CAST(sipName_resetInputContext), (PyCFunction)meth_QtPLWidget_resetInputContext, METH_VARARGS|METH_KEYWORDS, NULL},
03018     {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QtPLWidget_resizeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
03019     {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QtPLWidget_sender, METH_VARARGS|METH_KEYWORDS, NULL},
03020     {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QtPLWidget_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
03021     {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QtPLWidget_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
03022     {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QtPLWidget_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
03023     {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QtPLWidget_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
03024     {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QtPLWidget_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
03025     {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QtPLWidget_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL},
03026     {SIP_MLNAME_CAST(sipName_windowActivationChange), (PyCFunction)meth_QtPLWidget_windowActivationChange, METH_VARARGS|METH_KEYWORDS, NULL}
03027 };
03028 
03029 
03030 pyqt4ClassTypeDef sipTypeDef_plplot_pyqt4_QtPLWidget = {
03031 {
03032     {
03033         -1,
03034         0,
03035         0,
03036         SIP_TYPE_SCC|SIP_TYPE_CLASS,
03037         sipNameNr_QtPLWidget,
03038         {0}
03039     },
03040     {
03041         sipNameNr_QtPLWidget,
03042         {0, 0, 1},
03043         51, methods_QtPLWidget,
03044         0, 0,
03045         0, 0,
03046         {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
03047     },
03048     0,
03049     -1,
03050     -1,
03051     supers_QtPLWidget,
03052     0,
03053     init_type_QtPLWidget,
03054     0,
03055     0,
03056 #if PY_MAJOR_VERSION >= 3
03057     0,
03058     0,
03059 #else
03060     0,
03061     0,
03062     0,
03063     0,
03064 #endif
03065     dealloc_QtPLWidget,
03066     0,
03067     0,
03068     0,
03069     release_QtPLWidget,
03070     cast_QtPLWidget,
03071     0,
03072     0,
03073     0,
03074     0,
03075     0,
03076     0
03077 },
03078     &QtPLWidget::staticMetaObject,
03079     0,
03080     0
03081 };
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines