/*
 * Module code.
 *
 * Generated by SIP 4.19.3
 */

#include "sipAPIkutils.h"

#line 28 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kutils/pluginpage.sip"
#include <pluginpage.h>
#line 12 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kcomponentdata.sip"
#include <kcomponentdata.h>
#line 16 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 19 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 22 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 28 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kutils/kpluginselector.sip"
#include <kpluginselector.h>
#line 31 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 34 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kauthaction.sip"
#include <kauthaction.h>
#line 37 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kcmodule.sip"
#include <kcmodule.h>
#line 40 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 43 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kconfigdialogmanager.sip"
#include <kconfigdialogmanager.h>
#line 46 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kconfigskeleton.sip"
#include <kconfigskeleton.h>
#line 49 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 188 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 52 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 55 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 56 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kaboutdata.sip"
#include <kaboutdata.h>
#line 58 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 61 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 64 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 67 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 70 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 73 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 76 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 79 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 82 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 85 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 88 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 91 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 94 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 97 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 100 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 103 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 106 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 109 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 112 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 115 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 118 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 121 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 124 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 127 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 130 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 133 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 136 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 139 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 142 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 145 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 148 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 151 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 154 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 157 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 160 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 163 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 166 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 169 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 172 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 175 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 178 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 181 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 184 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 187 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 190 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 193 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 196 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 199 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 202 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 205 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 208 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 211 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 214 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 217 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 220 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 223 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 226 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 229 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 232 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 235 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"


class sipKSettings_PluginPage : public  ::KSettings::PluginPage
{
public:
    sipKSettings_PluginPage(const  ::KComponentData&, ::QWidget*,const  ::QVariantList&);
    virtual ~sipKSettings_PluginPage();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const  ::QFont&);
    void paletteChange(const  ::QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    void inputMethodEvent( ::QInputMethodEvent*);
    void changeEvent( ::QEvent*);
    void hideEvent( ::QHideEvent*);
    void showEvent( ::QShowEvent*);
    void dropEvent( ::QDropEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void actionEvent( ::QActionEvent*);
    void tabletEvent( ::QTabletEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void closeEvent( ::QCloseEvent*);
    void resizeEvent( ::QResizeEvent*);
    void moveEvent( ::QMoveEvent*);
    void paintEvent( ::QPaintEvent*);
    void leaveEvent( ::QEvent*);
    void enterEvent( ::QEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void focusInEvent( ::QFocusEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void wheelEvent( ::QWheelEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mousePressEvent( ::QMouseEvent*);
    int heightForWidth(int) const;
     ::QSize minimumSizeHint() const;
     ::QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;
     ::QPaintEngine* paintEngine() const;
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);
     ::QString quickHelp() const;
    const  ::KAboutData* aboutData() const;
    void load();
    void save();
    void defaults();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKSettings_PluginPage(const sipKSettings_PluginPage &);
    sipKSettings_PluginPage &operator = (const sipKSettings_PluginPage &);

    char sipPyMethods[52];
};

sipKSettings_PluginPage::sipKSettings_PluginPage(const  ::KComponentData& a0, ::QWidget*a1,const  ::QVariantList& a2):  ::KSettings::PluginPage(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKSettings_PluginPage::~sipKSettings_PluginPage()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKSettings_PluginPage::metaObject() const
{
    return sip_kutils_qt_metaobject(sipPySelf,sipType_KSettings_PluginPage);
}

int sipKSettings_PluginPage::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KSettings::PluginPage::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kutils_qt_metacall(sipPySelf,sipType_KSettings_PluginPage,_c,_id,_a);

    return _id;
}

void *sipKSettings_PluginPage::qt_metacast(const char *_clname)
{
    return (sip_kutils_qt_metacast(sipPySelf, sipType_KSettings_PluginPage, _clname)) ? this :  ::KSettings::PluginPage::qt_metacast(_clname);
}

void sipKSettings_PluginPage::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KSettings::PluginPage::languageChange();
        return;
    }

    extern void sipVH_kutils_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kutils_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKSettings_PluginPage::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KSettings::PluginPage::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kutils_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kutils_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSettings_PluginPage::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KSettings::PluginPage::fontChange(a0);
        return;
    }

    extern void sipVH_kutils_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

    sipVH_kutils_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSettings_PluginPage::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KSettings::PluginPage::paletteChange(a0);
        return;
    }

    extern void sipVH_kutils_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

    sipVH_kutils_34(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSettings_PluginPage::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KSettings::PluginPage::enabledChange(a0);
        return;
    }

    extern void sipVH_kutils_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kutils_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKSettings_PluginPage::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KSettings::PluginPage::focusNextPrevChild(a0);

    extern bool sipVH_kutils_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kutils_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QVariant sipKSettings_PluginPage::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::KSettings::PluginPage::inputMethodQuery(a0);

    extern  ::QVariant sipVH_kutils_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_kutils_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSettings_PluginPage::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KSettings::PluginPage::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kutils_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kutils_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSettings_PluginPage::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KSettings::PluginPage::changeEvent(a0);
        return;
    }

    extern void sipVH_kutils_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kutils_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSettings_PluginPage::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KSettings::PluginPage::hideEvent(a0);
        return;
    }

    extern void sipVH_kutils_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kutils_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSettings_PluginPage::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KSettings::PluginPage::showEvent(a0);
        return;
    }

    extern void sipVH_kutils_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kutils_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSettings_PluginPage::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KSettings::PluginPage::dropEvent(a0);
        return;
    }

    extern void sipVH_kutils_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kutils_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSettings_PluginPage::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KSettings::PluginPage::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kutils_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kutils_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSettings_PluginPage::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KSettings::PluginPage::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kutils_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kutils_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSettings_PluginPage::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KSettings::PluginPage::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kutils_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kutils_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSettings_PluginPage::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KSettings::PluginPage::actionEvent(a0);
        return;
    }

    extern void sipVH_kutils_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kutils_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSettings_PluginPage::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KSettings::PluginPage::tabletEvent(a0);
        return;
    }

    extern void sipVH_kutils_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kutils_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSettings_PluginPage::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KSettings::PluginPage::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kutils_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kutils_22(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSettings_PluginPage::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KSettings::PluginPage::closeEvent(a0);
        return;
    }

    extern void sipVH_kutils_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kutils_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSettings_PluginPage::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KSettings::PluginPage::resizeEvent(a0);
        return;
    }

    extern void sipVH_kutils_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kutils_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSettings_PluginPage::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KSettings::PluginPage::moveEvent(a0);
        return;
    }

    extern void sipVH_kutils_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kutils_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSettings_PluginPage::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KSettings::PluginPage::paintEvent(a0);
        return;
    }

    extern void sipVH_kutils_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kutils_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSettings_PluginPage::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KSettings::PluginPage::leaveEvent(a0);
        return;
    }

    extern void sipVH_kutils_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kutils_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSettings_PluginPage::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KSettings::PluginPage::enterEvent(a0);
        return;
    }

    extern void sipVH_kutils_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kutils_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSettings_PluginPage::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KSettings::PluginPage::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kutils_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kutils_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSettings_PluginPage::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KSettings::PluginPage::focusInEvent(a0);
        return;
    }

    extern void sipVH_kutils_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kutils_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSettings_PluginPage::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KSettings::PluginPage::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kutils_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kutils_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSettings_PluginPage::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KSettings::PluginPage::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kutils_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kutils_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSettings_PluginPage::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KSettings::PluginPage::wheelEvent(a0);
        return;
    }

    extern void sipVH_kutils_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kutils_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSettings_PluginPage::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KSettings::PluginPage::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kutils_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kutils_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSettings_PluginPage::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KSettings::PluginPage::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kutils_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kutils_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSettings_PluginPage::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KSettings::PluginPage::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kutils_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kutils_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSettings_PluginPage::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KSettings::PluginPage::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kutils_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kutils_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKSettings_PluginPage::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::KSettings::PluginPage::heightForWidth(a0);

    extern int sipVH_kutils_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kutils_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKSettings_PluginPage::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KSettings::PluginPage::minimumSizeHint();

    extern  ::QSize sipVH_kutils_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kutils_12(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKSettings_PluginPage::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KSettings::PluginPage::sizeHint();

    extern  ::QSize sipVH_kutils_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kutils_12(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKSettings_PluginPage::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KSettings::PluginPage::setVisible(a0);
        return;
    }

    extern void sipVH_kutils_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kutils_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKSettings_PluginPage::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KSettings::PluginPage::devType();

    extern int sipVH_kutils_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kutils_10(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipKSettings_PluginPage::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KSettings::PluginPage::paintEngine();

    extern  ::QPaintEngine* sipVH_kutils_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kutils_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKSettings_PluginPage::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::KSettings::PluginPage::metric(a0);

    extern int sipVH_kutils_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_kutils_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKSettings_PluginPage::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KSettings::PluginPage::event(a0);

    extern bool sipVH_kutils_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kutils_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKSettings_PluginPage::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KSettings::PluginPage::eventFilter(a0,a1);

    extern bool sipVH_kutils_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kutils_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKSettings_PluginPage::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KSettings::PluginPage::timerEvent(a0);
        return;
    }

    extern void sipVH_kutils_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kutils_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSettings_PluginPage::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KSettings::PluginPage::childEvent(a0);
        return;
    }

    extern void sipVH_kutils_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kutils_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSettings_PluginPage::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KSettings::PluginPage::customEvent(a0);
        return;
    }

    extern void sipVH_kutils_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kutils_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSettings_PluginPage::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KSettings::PluginPage::connectNotify(a0);
        return;
    }

    extern void sipVH_kutils_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kutils_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSettings_PluginPage::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KSettings::PluginPage::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kutils_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kutils_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QString sipKSettings_PluginPage::quickHelp() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,NULL,sipName_quickHelp);

    if (!sipMeth)
        return  ::KSettings::PluginPage::quickHelp();

    extern  ::QString sipVH_kutils_41(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kutils_41(sipGILState, 0, sipPySelf, sipMeth);
}

const  ::KAboutData* sipKSettings_PluginPage::aboutData() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[48]),sipPySelf,NULL,sipName_aboutData);

    if (!sipMeth)
        return  ::KSettings::PluginPage::aboutData();

    extern const  ::KAboutData* sipVH_kutils_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kutils_40(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKSettings_PluginPage::load()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_load);

    if (!sipMeth)
    {
         ::KSettings::PluginPage::load();
        return;
    }

    extern void sipVH_kutils_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kutils_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKSettings_PluginPage::save()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_save);

    if (!sipMeth)
    {
         ::KSettings::PluginPage::save();
        return;
    }

    extern void sipVH_kutils_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kutils_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKSettings_PluginPage::defaults()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_defaults);

    if (!sipMeth)
    {
         ::KSettings::PluginPage::defaults();
        return;
    }

    extern void sipVH_kutils_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kutils_0(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KSettings_PluginPage_pluginSelector(PyObject *, PyObject *);}
static PyObject *meth_KSettings_PluginPage_pluginSelector(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KSettings::PluginPage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KSettings_PluginPage, &sipCpp))
        {
             ::KPluginSelector*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->pluginSelector();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KPluginSelector,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PluginPage, sipName_pluginSelector, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSettings_PluginPage_load(PyObject *, PyObject *);}
static PyObject *meth_KSettings_PluginPage_load(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::KSettings::PluginPage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KSettings_PluginPage, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KSettings::PluginPage::load() : sipCpp->load());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PluginPage, sipName_load, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSettings_PluginPage_save(PyObject *, PyObject *);}
static PyObject *meth_KSettings_PluginPage_save(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::KSettings::PluginPage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KSettings_PluginPage, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KSettings::PluginPage::save() : sipCpp->save());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PluginPage, sipName_save, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSettings_PluginPage_defaults(PyObject *, PyObject *);}
static PyObject *meth_KSettings_PluginPage_defaults(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::KSettings::PluginPage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KSettings_PluginPage, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KSettings::PluginPage::defaults() : sipCpp->defaults());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PluginPage, sipName_defaults, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KSettings_PluginPage(void *, const sipTypeDef *);}
static void *cast_KSettings_PluginPage(void *sipCppV, const sipTypeDef *targetType)
{
     ::KSettings::PluginPage *sipCpp = reinterpret_cast< ::KSettings::PluginPage *>(sipCppV);

    if (targetType == sipType_KCModule)
        return static_cast< ::KCModule *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KSettings_PluginPage(void *, int);}
static void release_KSettings_PluginPage(void *sipCppV, int)
{
     ::KSettings::PluginPage *sipCpp = reinterpret_cast< ::KSettings::PluginPage *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KSettings_PluginPage(sipSimpleWrapper *);}
static void dealloc_KSettings_PluginPage(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKSettings_PluginPage *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KSettings_PluginPage(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KSettings_PluginPage(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KSettings_PluginPage(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKSettings_PluginPage *sipCpp = 0;

    {
        const  ::KComponentData* a0;
         ::QWidget* a1 = 0;
        const  ::QVariantList& a2def = QVariantList();
        const  ::QVariantList* a2 = &a2def;
        int a2State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9|JHJ1", sipType_KComponentData, &a0, sipType_QWidget, &a1, sipOwner, sipType_QList_0100QVariant,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKSettings_PluginPage(*a0,a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QVariantList *>(a2),sipType_QList_0100QVariant,a2State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KSettings_PluginPage[] = {{0, 6, 1}};


static PyMethodDef methods_KSettings_PluginPage[] = {
    {SIP_MLNAME_CAST(sipName_defaults), meth_KSettings_PluginPage_defaults, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_load), meth_KSettings_PluginPage_load, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pluginSelector), meth_KSettings_PluginPage_pluginSelector, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_save), meth_KSettings_PluginPage_save, METH_VARARGS, NULL}
};


static pyqt4ClassPluginDef plugin_KSettings_PluginPage = {
    & ::KSettings::PluginPage::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kutils_KSettings_PluginPage = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KSettings__PluginPage,
        {0},
        &plugin_KSettings_PluginPage
    },
    {
        sipNameNr_PluginPage,
        {18, 255, 0},
        4, methods_KSettings_PluginPage,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KSettings_PluginPage,
    0,
    init_type_KSettings_PluginPage,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KSettings_PluginPage,
    0,
    0,
    0,
    release_KSettings_PluginPage,
    cast_KSettings_PluginPage,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kutils/kprintpreview.sip"
#include <kprintpreview.h>
#line 1506 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"

#line 210 "/usr/share/sip/PyQt4/QtGui/qprinter.sip"
#include <qprinter.h>
#line 1510 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 1513 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1516 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1519 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1522 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1525 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 1528 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 1531 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 1534 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 1537 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 1540 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 1543 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kpushbutton.sip"
#include <kpushbutton.h>
#line 1546 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 32 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 1549 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 1552 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 1555 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kguiitem.sip"
#include <kguiitem.h>
#line 1558 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 1561 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1564 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 1567 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 1570 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1573 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1576 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1579 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1582 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 1585 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1588 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 1591 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 1594 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 1597 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 1600 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 1603 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 1606 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 1609 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 1612 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 1615 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 1618 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 1621 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 1624 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1627 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 1630 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 1633 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1636 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1639 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1642 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1645 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1648 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1651 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1654 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1657 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1660 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1663 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1666 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1669 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 1672 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 1675 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 1678 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1681 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 1684 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 1687 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1690 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 1693 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 1696 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 1699 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 1702 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 1705 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1708 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1711 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1714 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1717 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 1720 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 1723 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 1726 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"


class sipKPrintPreview : public  ::KPrintPreview
{
public:
    sipKPrintPreview( ::QPrinter*, ::QWidget*);
    virtual ~sipKPrintPreview();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void reject();
    void accept();
    void done(int);
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    void enabledChange(bool);
    void paletteChange(const  ::QPalette&);
    void fontChange(const  ::QFont&);
    void windowActivationChange(bool);
    void languageChange();
    void setCaption(const  ::QString&);
    void setCaption(const  ::QString&,bool);
    void setPlainCaption(const  ::QString&);
    void slotButtonClicked(int);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKPrintPreview(const sipKPrintPreview &);
    sipKPrintPreview &operator = (const sipKPrintPreview &);

    char sipPyMethods[54];
};

sipKPrintPreview::sipKPrintPreview( ::QPrinter*a0, ::QWidget*a1):  ::KPrintPreview(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKPrintPreview::~sipKPrintPreview()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKPrintPreview::metaObject() const
{
    return sip_kutils_qt_metaobject(sipPySelf,sipType_KPrintPreview);
}

int sipKPrintPreview::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KPrintPreview::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kutils_qt_metacall(sipPySelf,sipType_KPrintPreview,_c,_id,_a);

    return _id;
}

void *sipKPrintPreview::qt_metacast(const char *_clname)
{
    return (sip_kutils_qt_metacast(sipPySelf, sipType_KPrintPreview, _clname)) ? this :  ::KPrintPreview::qt_metacast(_clname);
}

void sipKPrintPreview::reject()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_reject);

    if (!sipMeth)
    {
         ::KPrintPreview::reject();
        return;
    }

    extern void sipVH_kutils_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kutils_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKPrintPreview::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_accept);

    if (!sipMeth)
    {
         ::KPrintPreview::accept();
        return;
    }

    extern void sipVH_kutils_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kutils_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKPrintPreview::done(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_done);

    if (!sipMeth)
    {
         ::KPrintPreview::done(a0);
        return;
    }

    extern void sipVH_kutils_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_kutils_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPrintPreview::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KPrintPreview::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kutils_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kutils_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPrintPreview::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KPrintPreview::connectNotify(a0);
        return;
    }

    extern void sipVH_kutils_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kutils_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPrintPreview::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KPrintPreview::customEvent(a0);
        return;
    }

    extern void sipVH_kutils_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kutils_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPrintPreview::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KPrintPreview::childEvent(a0);
        return;
    }

    extern void sipVH_kutils_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kutils_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPrintPreview::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KPrintPreview::timerEvent(a0);
        return;
    }

    extern void sipVH_kutils_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kutils_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKPrintPreview::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KPrintPreview::eventFilter(a0,a1);

    extern bool sipVH_kutils_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kutils_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKPrintPreview::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KPrintPreview::event(a0);

    extern bool sipVH_kutils_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kutils_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKPrintPreview::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::KPrintPreview::metric(a0);

    extern int sipVH_kutils_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_kutils_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipKPrintPreview::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KPrintPreview::paintEngine();

    extern  ::QPaintEngine* sipVH_kutils_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kutils_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKPrintPreview::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KPrintPreview::devType();

    extern int sipVH_kutils_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kutils_10(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKPrintPreview::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KPrintPreview::setVisible(a0);
        return;
    }

    extern void sipVH_kutils_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kutils_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKPrintPreview::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KPrintPreview::sizeHint();

    extern  ::QSize sipVH_kutils_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kutils_12(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKPrintPreview::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KPrintPreview::minimumSizeHint();

    extern  ::QSize sipVH_kutils_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kutils_12(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKPrintPreview::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::KPrintPreview::heightForWidth(a0);

    extern int sipVH_kutils_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kutils_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPrintPreview::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KPrintPreview::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kutils_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kutils_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPrintPreview::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KPrintPreview::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kutils_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kutils_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPrintPreview::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KPrintPreview::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kutils_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kutils_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPrintPreview::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KPrintPreview::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kutils_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kutils_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPrintPreview::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KPrintPreview::wheelEvent(a0);
        return;
    }

    extern void sipVH_kutils_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kutils_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPrintPreview::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KPrintPreview::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kutils_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kutils_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPrintPreview::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KPrintPreview::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kutils_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kutils_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPrintPreview::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KPrintPreview::focusInEvent(a0);
        return;
    }

    extern void sipVH_kutils_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kutils_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPrintPreview::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KPrintPreview::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kutils_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kutils_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPrintPreview::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KPrintPreview::enterEvent(a0);
        return;
    }

    extern void sipVH_kutils_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kutils_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPrintPreview::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KPrintPreview::leaveEvent(a0);
        return;
    }

    extern void sipVH_kutils_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kutils_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPrintPreview::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KPrintPreview::paintEvent(a0);
        return;
    }

    extern void sipVH_kutils_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kutils_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPrintPreview::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KPrintPreview::moveEvent(a0);
        return;
    }

    extern void sipVH_kutils_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kutils_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPrintPreview::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KPrintPreview::resizeEvent(a0);
        return;
    }

    extern void sipVH_kutils_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kutils_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPrintPreview::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KPrintPreview::closeEvent(a0);
        return;
    }

    extern void sipVH_kutils_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kutils_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPrintPreview::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KPrintPreview::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kutils_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kutils_22(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPrintPreview::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KPrintPreview::tabletEvent(a0);
        return;
    }

    extern void sipVH_kutils_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kutils_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPrintPreview::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KPrintPreview::actionEvent(a0);
        return;
    }

    extern void sipVH_kutils_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kutils_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPrintPreview::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KPrintPreview::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kutils_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kutils_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPrintPreview::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KPrintPreview::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kutils_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kutils_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPrintPreview::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KPrintPreview::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kutils_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kutils_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPrintPreview::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KPrintPreview::dropEvent(a0);
        return;
    }

    extern void sipVH_kutils_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kutils_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPrintPreview::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KPrintPreview::showEvent(a0);
        return;
    }

    extern void sipVH_kutils_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kutils_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPrintPreview::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KPrintPreview::hideEvent(a0);
        return;
    }

    extern void sipVH_kutils_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kutils_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPrintPreview::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KPrintPreview::changeEvent(a0);
        return;
    }

    extern void sipVH_kutils_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kutils_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPrintPreview::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KPrintPreview::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kutils_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kutils_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QVariant sipKPrintPreview::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[43]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::KPrintPreview::inputMethodQuery(a0);

    extern  ::QVariant sipVH_kutils_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_kutils_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKPrintPreview::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KPrintPreview::focusNextPrevChild(a0);

    extern bool sipVH_kutils_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kutils_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPrintPreview::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KPrintPreview::enabledChange(a0);
        return;
    }

    extern void sipVH_kutils_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kutils_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPrintPreview::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KPrintPreview::paletteChange(a0);
        return;
    }

    extern void sipVH_kutils_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

    sipVH_kutils_34(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPrintPreview::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KPrintPreview::fontChange(a0);
        return;
    }

    extern void sipVH_kutils_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

    sipVH_kutils_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPrintPreview::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KPrintPreview::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kutils_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kutils_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPrintPreview::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KPrintPreview::languageChange();
        return;
    }

    extern void sipVH_kutils_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kutils_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKPrintPreview::setCaption(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
         ::KPrintPreview::setCaption(a0);
        return;
    }

    extern void sipVH_kutils_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    sipVH_kutils_36(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPrintPreview::setCaption(const  ::QString& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
         ::KPrintPreview::setCaption(a0,a1);
        return;
    }

    extern void sipVH_kutils_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&,bool);

    sipVH_kutils_37(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKPrintPreview::setPlainCaption(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_setPlainCaption);

    if (!sipMeth)
    {
         ::KPrintPreview::setPlainCaption(a0);
        return;
    }

    extern void sipVH_kutils_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    sipVH_kutils_36(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPrintPreview::slotButtonClicked(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_slotButtonClicked);

    if (!sipMeth)
    {
         ::KPrintPreview::slotButtonClicked(a0);
        return;
    }

    extern void sipVH_kutils_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_kutils_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KPrintPreview_showEvent(PyObject *, PyObject *);}
static PyObject *meth_KPrintPreview_showEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QShowEvent* a0;
         ::KPrintPreview *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KPrintPreview, &sipCpp, sipType_QShowEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KPrintPreview::showEvent(a0) : sipCpp->showEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPrintPreview, sipName_showEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPrintPreview_isAvailable(PyObject *, PyObject *);}
static PyObject *meth_KPrintPreview_isAvailable(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KPrintPreview::isAvailable();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPrintPreview, sipName_isAvailable, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KPrintPreview(void *, const sipTypeDef *);}
static void *cast_KPrintPreview(void *sipCppV, const sipTypeDef *targetType)
{
     ::KPrintPreview *sipCpp = reinterpret_cast< ::KPrintPreview *>(sipCppV);

    if (targetType == sipType_KDialog)
        return static_cast< ::KDialog *>(sipCpp);

    if (targetType == sipType_QDialog)
        return static_cast< ::QDialog *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KPrintPreview(void *, int);}
static void release_KPrintPreview(void *sipCppV, int)
{
     ::KPrintPreview *sipCpp = reinterpret_cast< ::KPrintPreview *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KPrintPreview(sipSimpleWrapper *);}
static void dealloc_KPrintPreview(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKPrintPreview *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KPrintPreview(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KPrintPreview(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KPrintPreview(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKPrintPreview *sipCpp = 0;

    {
         ::QPrinter* a0;
         ::QWidget* a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8|JH", sipType_QPrinter, &a0, sipType_QWidget, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKPrintPreview(a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KPrintPreview[] = {{2, 6, 1}};


static PyMethodDef methods_KPrintPreview[] = {
    {SIP_MLNAME_CAST(sipName_isAvailable), meth_KPrintPreview_isAvailable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_KPrintPreview_showEvent, METH_VARARGS, NULL}
};


static pyqt4ClassPluginDef plugin_KPrintPreview = {
    & ::KPrintPreview::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kutils_KPrintPreview = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KPrintPreview,
        {0},
        &plugin_KPrintPreview
    },
    {
        sipNameNr_KPrintPreview,
        {0, 0, 1},
        2, methods_KPrintPreview,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KPrintPreview,
    0,
    init_type_KPrintPreview,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KPrintPreview,
    0,
    0,
    0,
    release_KPrintPreview,
    cast_KPrintPreview,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kutils/kpluginselector.sip"
#include <kpluginselector.h>
#line 2983 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 2987 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 2990 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 2993 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 340 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 2996 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/ksharedconfig.sip"
#include <ksharedconfig.h>
#line 2999 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kcomponentdata.sip"
#include <kcomponentdata.h>
#line 3002 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 3005 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kplugininfo.sip"
#include <kplugininfo.h>
#line 3008 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3011 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 3014 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3017 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3020 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 3023 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 3026 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 3029 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 3032 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 3035 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 3038 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 3041 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 3044 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 3047 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 3050 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 3053 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 3056 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 3059 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3062 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 3065 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 3068 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3071 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3074 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3077 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3080 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3083 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3086 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3089 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3092 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3095 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3098 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3101 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3104 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3107 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3110 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3113 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3116 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3119 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3122 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3125 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 3128 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 3131 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 3134 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 3137 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 3140 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 3143 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 3146 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3149 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 3152 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 3155 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 3158 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 3161 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 3164 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3167 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3170 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 3173 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 3176 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 3179 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 3182 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 3185 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 3188 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kutils/sipkutilspart1.cpp"


class sipKPluginSelector : public  ::KPluginSelector
{
public:
    sipKPluginSelector( ::QWidget*);
    virtual ~sipKPluginSelector();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    void enabledChange(bool);
    void paletteChange(const  ::QPalette&);
    void fontChange(const  ::QFont&);
    void windowActivationChange(bool);
    void languageChange();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKPluginSelector(const sipKPluginSelector &);
    sipKPluginSelector &operator = (const sipKPluginSelector &);

    char sipPyMethods[47];
};

sipKPluginSelector::sipKPluginSelector( ::QWidget*a0):  ::KPluginSelector(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKPluginSelector::~sipKPluginSelector()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKPluginSelector::metaObject() const
{
    return sip_kutils_qt_metaobject(sipPySelf,sipType_KPluginSelector);
}

int sipKPluginSelector::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KPluginSelector::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kutils_qt_metacall(sipPySelf,sipType_KPluginSelector,_c,_id,_a);

    return _id;
}

void *sipKPluginSelector::qt_metacast(const char *_clname)
{
    return (sip_kutils_qt_metacast(sipPySelf, sipType_KPluginSelector, _clname)) ? this :  ::KPluginSelector::qt_metacast(_clname);
}

void sipKPluginSelector::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KPluginSelector::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kutils_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kutils_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPluginSelector::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KPluginSelector::connectNotify(a0);
        return;
    }

    extern void sipVH_kutils_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kutils_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPluginSelector::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KPluginSelector::customEvent(a0);
        return;
    }

    extern void sipVH_kutils_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kutils_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPluginSelector::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KPluginSelector::childEvent(a0);
        return;
    }

    extern void sipVH_kutils_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kutils_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPluginSelector::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KPluginSelector::timerEvent(a0);
        return;
    }

    extern void sipVH_kutils_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kutils_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKPluginSelector::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KPluginSelector::eventFilter(a0,a1);

    extern bool sipVH_kutils_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kutils_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKPluginSelector::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KPluginSelector::event(a0);

    extern bool sipVH_kutils_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kutils_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKPluginSelector::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::KPluginSelector::metric(a0);

    extern int sipVH_kutils_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_kutils_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipKPluginSelector::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KPluginSelector::paintEngine();

    extern  ::QPaintEngine* sipVH_kutils_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kutils_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKPluginSelector::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KPluginSelector::devType();

    extern int sipVH_kutils_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kutils_10(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKPluginSelector::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KPluginSelector::setVisible(a0);
        return;
    }

    extern void sipVH_kutils_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kutils_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKPluginSelector::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KPluginSelector::sizeHint();

    extern  ::QSize sipVH_kutils_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kutils_12(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKPluginSelector::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KPluginSelector::minimumSizeHint();

    extern  ::QSize sipVH_kutils_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kutils_12(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKPluginSelector::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::KPluginSelector::heightForWidth(a0);

    extern int sipVH_kutils_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kutils_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPluginSelector::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KPluginSelector::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kutils_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kutils_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPluginSelector::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KPluginSelector::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kutils_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kutils_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPluginSelector::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KPluginSelector::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kutils_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kutils_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPluginSelector::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KPluginSelector::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kutils_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kutils_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPluginSelector::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KPluginSelector::wheelEvent(a0);
        return;
    }

    extern void sipVH_kutils_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kutils_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPluginSelector::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KPluginSelector::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kutils_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kutils_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPluginSelector::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KPluginSelector::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kutils_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kutils_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPluginSelector::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KPluginSelector::focusInEvent(a0);
        return;
    }

    extern void sipVH_kutils_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kutils_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPluginSelector::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KPluginSelector::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kutils_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kutils_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPluginSelector::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KPluginSelector::enterEvent(a0);
        return;
    }

    extern void sipVH_kutils_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kutils_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPluginSelector::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KPluginSelector::leaveEvent(a0);
        return;
    }

    extern void sipVH_kutils_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kutils_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPluginSelector::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KPluginSelector::paintEvent(a0);
        return;
    }

    extern void sipVH_kutils_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kutils_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPluginSelector::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KPluginSelector::moveEvent(a0);
        return;
    }

    extern void sipVH_kutils_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kutils_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPluginSelector::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KPluginSelector::resizeEvent(a0);
        return;
    }

    extern void sipVH_kutils_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kutils_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPluginSelector::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KPluginSelector::closeEvent(a0);
        return;
    }

    extern void sipVH_kutils_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kutils_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPluginSelector::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KPluginSelector::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kutils_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kutils_22(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPluginSelector::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KPluginSelector::tabletEvent(a0);
        return;
    }

    extern void sipVH_kutils_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kutils_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPluginSelector::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KPluginSelector::actionEvent(a0);
        return;
    }

    extern void sipVH_kutils_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kutils_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPluginSelector::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KPluginSelector::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kutils_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kutils_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPluginSelector::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KPluginSelector::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kutils_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kutils_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPluginSelector::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KPluginSelector::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kutils_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kutils_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPluginSelector::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KPluginSelector::dropEvent(a0);
        return;
    }

    extern void sipVH_kutils_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kutils_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPluginSelector::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KPluginSelector::showEvent(a0);
        return;
    }

    extern void sipVH_kutils_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kutils_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPluginSelector::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KPluginSelector::hideEvent(a0);
        return;
    }

    extern void sipVH_kutils_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kutils_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPluginSelector::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KPluginSelector::changeEvent(a0);
        return;
    }

    extern void sipVH_kutils_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kutils_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPluginSelector::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KPluginSelector::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kutils_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kutils_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QVariant sipKPluginSelector::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::KPluginSelector::inputMethodQuery(a0);

    extern  ::QVariant sipVH_kutils_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_kutils_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKPluginSelector::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KPluginSelector::focusNextPrevChild(a0);

    extern bool sipVH_kutils_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kutils_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPluginSelector::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KPluginSelector::enabledChange(a0);
        return;
    }

    extern void sipVH_kutils_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kutils_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPluginSelector::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KPluginSelector::paletteChange(a0);
        return;
    }

    extern void sipVH_kutils_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

    sipVH_kutils_34(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPluginSelector::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KPluginSelector::fontChange(a0);
        return;
    }

    extern void sipVH_kutils_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

    sipVH_kutils_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPluginSelector::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KPluginSelector::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kutils_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kutils_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPluginSelector::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KPluginSelector::languageChange();
        return;
    }

    extern void sipVH_kutils_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kutils_0(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KPluginSelector_addPlugins(PyObject *, PyObject *);}
static PyObject *meth_KPluginSelector_addPlugins(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString& a1def = QString();
        const  ::QString* a1 = &a1def;
        int a1State = 0;
        const  ::QString& a2def = QString();
        const  ::QString* a2 = &a2def;
        int a2State = 0;
         ::KSharedConfig::Ptr a3def = KSharedConfig::Ptr();
         ::KSharedConfig::Ptr* a3 = &a3def;
        int a3State = 0;
         ::KPluginSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|J1J1J1", &sipSelf, sipType_KPluginSelector, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_KSharedPtr_0100KSharedConfig,&a3, &a3State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addPlugins(*a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(a3,sipType_KSharedPtr_0100KSharedConfig,a3State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::KComponentData* a0;
        const  ::QString& a1def = QString();
        const  ::QString* a1 = &a1def;
        int a1State = 0;
        const  ::QString& a2def = QString();
        const  ::QString* a2 = &a2def;
        int a2State = 0;
        const  ::KSharedConfig::Ptr& a3def = KSharedConfig::Ptr();
        const  ::KSharedConfig::Ptr* a3 = &a3def;
        int a3State = 0;
         ::KPluginSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9|J1J1J1", &sipSelf, sipType_KPluginSelector, &sipCpp, sipType_KComponentData, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_KSharedPtr_0100KSharedConfig,&a3, &a3State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addPlugins(*a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast< ::KSharedConfig::Ptr *>(a3),sipType_KSharedPtr_0100KSharedConfig,a3State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QList< ::KPluginInfo>* a0;
        int a0State = 0;
         ::KPluginSelector::PluginLoadMethod a1 = KPluginSelector::ReadConfigFile;
        const  ::QString& a2def = QString();
        const  ::QString* a2 = &a2def;
        int a2State = 0;
        const  ::QString& a3def = QString();
        const  ::QString* a3 = &a3def;
        int a3State = 0;
        const  ::KSharedConfig::Ptr& a4def = KSharedConfig::Ptr();
        const  ::KSharedConfig::Ptr* a4 = &a4def;
        int a4State = 0;
         ::KPluginSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|EJ1J1J1", &sipSelf, sipType_KPluginSelector, &sipCpp, sipType_QList_0100KPluginInfo,&a0, &a0State, sipType_KPluginSelector_PluginLoadMethod, &a1, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_KSharedPtr_0100KSharedConfig,&a4, &a4State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addPlugins(*a0,a1,*a2,*a3,*a4);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QList< ::KPluginInfo> *>(a0),sipType_QList_0100KPluginInfo,a0State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);
            sipReleaseType(const_cast< ::KSharedConfig::Ptr *>(a4),sipType_KSharedPtr_0100KSharedConfig,a4State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPluginSelector, sipName_addPlugins, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPluginSelector_load(PyObject *, PyObject *);}
static PyObject *meth_KPluginSelector_load(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KPluginSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPluginSelector, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->load();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPluginSelector, sipName_load, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPluginSelector_save(PyObject *, PyObject *);}
static PyObject *meth_KPluginSelector_save(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KPluginSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPluginSelector, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->save();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPluginSelector, sipName_save, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPluginSelector_defaults(PyObject *, PyObject *);}
static PyObject *meth_KPluginSelector_defaults(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KPluginSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPluginSelector, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->defaults();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPluginSelector, sipName_defaults, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPluginSelector_isDefault(PyObject *, PyObject *);}
static PyObject *meth_KPluginSelector_isDefault(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KPluginSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPluginSelector, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isDefault();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPluginSelector, sipName_isDefault, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPluginSelector_updatePluginsState(PyObject *, PyObject *);}
static PyObject *meth_KPluginSelector_updatePluginsState(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KPluginSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPluginSelector, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->updatePluginsState();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPluginSelector, sipName_updatePluginsState, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KPluginSelector(void *, const sipTypeDef *);}
static void *cast_KPluginSelector(void *sipCppV, const sipTypeDef *targetType)
{
     ::KPluginSelector *sipCpp = reinterpret_cast< ::KPluginSelector *>(sipCppV);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KPluginSelector(void *, int);}
static void release_KPluginSelector(void *sipCppV, int)
{
     ::KPluginSelector *sipCpp = reinterpret_cast< ::KPluginSelector *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KPluginSelector(sipSimpleWrapper *);}
static void dealloc_KPluginSelector(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKPluginSelector *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KPluginSelector(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KPluginSelector(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KPluginSelector(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKPluginSelector *sipCpp = 0;

    {
         ::QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKPluginSelector(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KPluginSelector[] = {{25, 2, 1}};


static PyMethodDef methods_KPluginSelector[] = {
    {SIP_MLNAME_CAST(sipName_addPlugins), meth_KPluginSelector_addPlugins, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_defaults), meth_KPluginSelector_defaults, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isDefault), meth_KPluginSelector_isDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_load), meth_KPluginSelector_load, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_save), meth_KPluginSelector_save, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updatePluginsState), meth_KPluginSelector_updatePluginsState, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KPluginSelector[] = {
    {sipName_IgnoreConfigFile, static_cast<int>( ::KPluginSelector::IgnoreConfigFile), 16},
    {sipName_ReadConfigFile, static_cast<int>( ::KPluginSelector::ReadConfigFile), 16},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KPluginSelector[] = {
    {"configCommitted(QByteArray)", 0, 0, 0},
    {"changed(bool)", 0, 0, 0},
    {0, 0, 0, 0}
};


static pyqt4ClassPluginDef plugin_KPluginSelector = {
    & ::KPluginSelector::staticMetaObject,
    0,
    signals_KPluginSelector
};


sipClassTypeDef sipTypeDef_kutils_KPluginSelector = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KPluginSelector,
        {0},
        &plugin_KPluginSelector
    },
    {
        sipNameNr_KPluginSelector,
        {0, 0, 1},
        6, methods_KPluginSelector,
        2, enummembers_KPluginSelector,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KPluginSelector,
    0,
    init_type_KPluginSelector,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KPluginSelector,
    0,
    0,
    0,
    release_KPluginSelector,
    cast_KPluginSelector,
    0,
    0,
    0,
    0,
    0,
    0
};
