/*
 * Module code.
 *
 * Generated by SIP 4.8.2 on Sun Oct 11 20:13:01 2009
 */

#include "sipAPIkio.h"

#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/passworddialog.sip"
#include <passworddialog.h>
#line 12 "sipkiopart1.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 16 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 19 "sipkiopart1.cpp"
#line 137 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
#include <qmap.h>
#line 43 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 43 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 26 "sipkiopart1.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 29 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 32 "sipkiopart1.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kpassworddialog.sip"
#include <kpassworddialog.h>
#line 35 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 38 "sipkiopart1.cpp"
#line 296 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 41 "sipkiopart1.cpp"
#line 388 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 44 "sipkiopart1.cpp"
#line 424 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 47 "sipkiopart1.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 50 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 53 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 56 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qlayout.sip"
#include <qlayout.h>
#line 59 "sipkiopart1.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 62 "sipkiopart1.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kpushbutton.sip"
#include <kpushbutton.h>
#line 65 "sipkiopart1.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 68 "sipkiopart1.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 71 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qmenu.sip"
#include <qmenu.h>
#line 74 "sipkiopart1.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kguiitem.sip"
#include <kguiitem.h>
#line 77 "sipkiopart1.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 80 "sipkiopart1.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 83 "sipkiopart1.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 86 "sipkiopart1.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 89 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 92 "sipkiopart1.cpp"
#line 436 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 95 "sipkiopart1.cpp"
#line 374 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 98 "sipkiopart1.cpp"
#line 412 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 101 "sipkiopart1.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 104 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 107 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 110 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 113 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 116 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 119 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 122 "sipkiopart1.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 125 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 128 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 131 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 134 "sipkiopart1.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 137 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 140 "sipkiopart1.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 145 "sipkiopart1.cpp"
#line 508 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 148 "sipkiopart1.cpp"
#line 562 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 151 "sipkiopart1.cpp"
#line 533 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 154 "sipkiopart1.cpp"
#line 550 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 157 "sipkiopart1.cpp"
#line 618 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 160 "sipkiopart1.cpp"
#line 247 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 163 "sipkiopart1.cpp"
#line 360 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 166 "sipkiopart1.cpp"
#line 345 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 169 "sipkiopart1.cpp"
#line 325 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 172 "sipkiopart1.cpp"
#line 225 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 175 "sipkiopart1.cpp"
#line 184 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 178 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 181 "sipkiopart1.cpp"
#line 74 "/usr/local/share/py-sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 184 "sipkiopart1.cpp"
#line 47 "/usr/local/share/py-sip/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 187 "sipkiopart1.cpp"
#line 136 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#include <qlist.h>
#line 66 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qlist.h>
#line 229 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 520 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 248 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 251 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 254 "sipkiopart1.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 257 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 260 "sipkiopart1.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 265 "sipkiopart1.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 268 "sipkiopart1.cpp"
#line 99 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 271 "sipkiopart1.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 274 "sipkiopart1.cpp"
#line 165 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 277 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 280 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qdockwidget.sip"
#include <qdockwidget.h>
#line 283 "sipkiopart1.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 286 "sipkiopart1.cpp"
#line 334 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 289 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 56 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 294 "sipkiopart1.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qprinterinfo.h>
#line 297 "sipkiopart1.cpp"
#line 202 "/usr/local/share/py-sip/QtGui/qstandarditemmodel.sip"
#include <qstandarditemmodel.h>
#line 300 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 303 "sipkiopart1.cpp"
#line 66 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 306 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 114 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 311 "sipkiopart1.cpp"
#line 65 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 88 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 316 "sipkiopart1.cpp"
#line 149 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 175 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 321 "sipkiopart1.cpp"
#line 83 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 101 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 326 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 329 "sipkiopart1.cpp"
#line 75 "/usr/local/share/py-sip/QtGui/qundostack.sip"
#include <qundostack.h>
#line 332 "sipkiopart1.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 335 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qprinter.sip"
#include <qprinter.h>
#line 338 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#line 341 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 344 "sipkiopart1.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 347 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 350 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 353 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 356 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 359 "sipkiopart1.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 362 "sipkiopart1.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 365 "sipkiopart1.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 396 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 399 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 402 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 405 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 408 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 411 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 414 "sipkiopart1.cpp"


class sipKIO_PasswordDialog : public KIO::PasswordDialog
{
public:
    sipKIO_PasswordDialog(const QString&,const QString&,bool,bool,QWidget *);
    virtual ~sipKIO_PasswordDialog();

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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    bool sipProtectVirt_event(bool,QEvent *);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent *);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent *);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent *);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent *);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent *);
    void sipProtectVirt_enterEvent(bool,QEvent *);
    void sipProtectVirt_leaveEvent(bool,QEvent *);
    void sipProtectVirt_paintEvent(bool,QPaintEvent *);
    void sipProtectVirt_moveEvent(bool,QMoveEvent *);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent *);
    void sipProtectVirt_actionEvent(bool,QActionEvent *);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent *);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent *);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent *);
    void sipProtectVirt_dropEvent(bool,QDropEvent *);
    void sipProtectVirt_changeEvent(bool,QEvent *);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent *);
    void sipProtect_resetInputContext();
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    void sipProtectVirt_enabledChange(bool,bool);
    void sipProtectVirt_paletteChange(bool,const QPalette&);
    void sipProtectVirt_fontChange(bool,const QFont&);
    void sipProtectVirt_windowActivationChange(bool,bool);
    void sipProtectVirt_languageChange(bool);
    void sipProtectVirt_showEvent(bool,QShowEvent *);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent *);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent *);
    bool sipProtectVirt_eventFilter(bool,QObject *,QEvent *);
    void sipProtectVirt_hideEvent(bool,QHideEvent *);
    void sipProtectVirt_closeEvent(bool,QCloseEvent *);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent *);
    void sipProtectVirt_slotButtonClicked(bool,int);
    void sipProtect_updateGeometry();
    bool sipProtectVirt_checkPassword(bool);

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[55];
};

sipKIO_PasswordDialog::sipKIO_PasswordDialog(const QString& a0,const QString& a1,bool a2,bool a3,QWidget *a4): KIO::PasswordDialog(a0,a1,a2,a3,a4), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKIO_PasswordDialog::~sipKIO_PasswordDialog()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKIO_PasswordDialog::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KIO_PasswordDialog);
}

int sipKIO_PasswordDialog::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KIO::PasswordDialog::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KIO_PasswordDialog,_c,_id,_a);

    return _id;
}

void *sipKIO_PasswordDialog::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast && sip_kio_qt_metacast(sipPySelf,sipType_KIO_PasswordDialog,_clname)) ? this : KIO::PasswordDialog::qt_metacast(_clname);
}

bool sipKIO_PasswordDialog::checkPassword()
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_checkPassword);

    if (!meth)
        return KPasswordDialog::checkPassword();

    return ((sipVH_QtCore_1)(sipModuleAPI_kio_QtCore->em_virthandlers[1]))(sipGILState,meth);
}

QSize sipKIO_PasswordDialog::sizeHint() const
{
    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KDialog::sizeHint();

    return ((sipVH_QtGui_4)(sipModuleAPI_kio_QtGui->em_virthandlers[4]))(sipGILState,meth);
}

QSize sipKIO_PasswordDialog::minimumSizeHint() const
{
    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KDialog::minimumSizeHint();

    return ((sipVH_QtGui_4)(sipModuleAPI_kio_QtGui->em_virthandlers[4]))(sipGILState,meth);
}

void sipKIO_PasswordDialog::setCaption(const QString& a0)
{
    typedef void (*sipVH_QtCore_29)(sip_gilstate_t,PyObject *,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_setCaption);

    if (!meth)
    {
        KDialog::setCaption(a0);
        return;
    }

    ((sipVH_QtCore_29)(sipModuleAPI_kio_QtCore->em_virthandlers[29]))(sipGILState,meth,a0);
}

void sipKIO_PasswordDialog::setCaption(const QString& a0,bool a1)
{
    typedef void (*sipVH_QtXml_24)(sip_gilstate_t,PyObject *,const QString&,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_setCaption);

    if (!meth)
    {
        KDialog::setCaption(a0,a1);
        return;
    }

    ((sipVH_QtXml_24)(sipModuleAPI_kio_QtXml->em_virthandlers[24]))(sipGILState,meth,a0,a1);
}

void sipKIO_PasswordDialog::setPlainCaption(const QString& a0)
{
    typedef void (*sipVH_QtCore_29)(sip_gilstate_t,PyObject *,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_setPlainCaption);

    if (!meth)
    {
        KDialog::setPlainCaption(a0);
        return;
    }

    ((sipVH_QtCore_29)(sipModuleAPI_kio_QtCore->em_virthandlers[29]))(sipGILState,meth,a0);
}

void sipKIO_PasswordDialog::hideEvent(QHideEvent *a0)
{
    typedef void (*sipVH_QtGui_0)(sip_gilstate_t,PyObject *,QHideEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_hideEvent);

    if (!meth)
    {
        KDialog::hideEvent(a0);
        return;
    }

    ((sipVH_QtGui_0)(sipModuleAPI_kio_QtGui->em_virthandlers[0]))(sipGILState,meth,a0);
}

void sipKIO_PasswordDialog::closeEvent(QCloseEvent *a0)
{
    typedef void (*sipVH_QtGui_23)(sip_gilstate_t,PyObject *,QCloseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_closeEvent);

    if (!meth)
    {
        KDialog::closeEvent(a0);
        return;
    }

    ((sipVH_QtGui_23)(sipModuleAPI_kio_QtGui->em_virthandlers[23]))(sipGILState,meth,a0);
}

void sipKIO_PasswordDialog::keyPressEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_keyPressEvent);

    if (!meth)
    {
        KDialog::keyPressEvent(a0);
        return;
    }

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipKIO_PasswordDialog::slotButtonClicked(int a0)
{
    typedef void (*sipVH_QtNetwork_1)(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_slotButtonClicked);

    if (!meth)
    {
        KDialog::slotButtonClicked(a0);
        return;
    }

    ((sipVH_QtNetwork_1)(sipModuleAPI_kio_QtNetwork->em_virthandlers[1]))(sipGILState,meth,a0);
}

void sipKIO_PasswordDialog::setVisible(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QDialog::setVisible(a0);
        return;
    }

    ((sipVH_QtGui_7)(sipModuleAPI_kio_QtGui->em_virthandlers[7]))(sipGILState,meth,a0);
}

void sipKIO_PasswordDialog::done(int a0)
{
    typedef void (*sipVH_QtGui_6)(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_done);

    if (!meth)
    {
        QDialog::done(a0);
        return;
    }

    ((sipVH_QtGui_6)(sipModuleAPI_kio_QtGui->em_virthandlers[6]))(sipGILState,meth,a0);
}

void sipKIO_PasswordDialog::accept()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_accept);

    if (!meth)
    {
        KPasswordDialog::accept();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipKIO_PasswordDialog::reject()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_reject);

    if (!meth)
    {
        QDialog::reject();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipKIO_PasswordDialog::showEvent(QShowEvent *a0)
{
    typedef void (*sipVH_QtGui_1)(sip_gilstate_t,PyObject *,QShowEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_showEvent);

    if (!meth)
    {
        QDialog::showEvent(a0);
        return;
    }

    ((sipVH_QtGui_1)(sipModuleAPI_kio_QtGui->em_virthandlers[1]))(sipGILState,meth,a0);
}

void sipKIO_PasswordDialog::resizeEvent(QResizeEvent *a0)
{
    typedef void (*sipVH_QtGui_2)(sip_gilstate_t,PyObject *,QResizeEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_resizeEvent);

    if (!meth)
    {
        QDialog::resizeEvent(a0);
        return;
    }

    ((sipVH_QtGui_2)(sipModuleAPI_kio_QtGui->em_virthandlers[2]))(sipGILState,meth,a0);
}

void sipKIO_PasswordDialog::contextMenuEvent(QContextMenuEvent *a0)
{
    typedef void (*sipVH_QtGui_22)(sip_gilstate_t,PyObject *,QContextMenuEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!meth)
    {
        QDialog::contextMenuEvent(a0);
        return;
    }

    ((sipVH_QtGui_22)(sipModuleAPI_kio_QtGui->em_virthandlers[22]))(sipGILState,meth,a0);
}

bool sipKIO_PasswordDialog::eventFilter(QObject *a0,QEvent *a1)
{
    typedef bool (*sipVH_QtCore_21)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_eventFilter);

    if (!meth)
        return QDialog::eventFilter(a0,a1);

    return ((sipVH_QtCore_21)(sipModuleAPI_kio_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

int sipKIO_PasswordDialog::devType() const
{
    typedef int (*sipVH_QtCore_8)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::devType();

    return ((sipVH_QtCore_8)(sipModuleAPI_kio_QtCore->em_virthandlers[8]))(sipGILState,meth);
}

int sipKIO_PasswordDialog::heightForWidth(int a0) const
{
    typedef int (*sipVH_QtGui_29)(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::heightForWidth(a0);

    return ((sipVH_QtGui_29)(sipModuleAPI_kio_QtGui->em_virthandlers[29]))(sipGILState,meth,a0);
}

QPaintEngine * sipKIO_PasswordDialog::paintEngine() const
{
    typedef QPaintEngine * (*sipVH_QtGui_28)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::paintEngine();

    return ((sipVH_QtGui_28)(sipModuleAPI_kio_QtGui->em_virthandlers[28]))(sipGILState,meth);
}

bool sipKIO_PasswordDialog::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QWidget::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_kio_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

void sipKIO_PasswordDialog::mousePressEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_mousePressEvent);

    if (!meth)
    {
        QWidget::mousePressEvent(a0);
        return;
    }

    ((sipVH_QtGui_27)(sipModuleAPI_kio_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipKIO_PasswordDialog::mouseReleaseEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!meth)
    {
        QWidget::mouseReleaseEvent(a0);
        return;
    }

    ((sipVH_QtGui_27)(sipModuleAPI_kio_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipKIO_PasswordDialog::mouseDoubleClickEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!meth)
    {
        QWidget::mouseDoubleClickEvent(a0);
        return;
    }

    ((sipVH_QtGui_27)(sipModuleAPI_kio_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipKIO_PasswordDialog::mouseMoveEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!meth)
    {
        QWidget::mouseMoveEvent(a0);
        return;
    }

    ((sipVH_QtGui_27)(sipModuleAPI_kio_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipKIO_PasswordDialog::wheelEvent(QWheelEvent *a0)
{
    typedef void (*sipVH_QtGui_5)(sip_gilstate_t,PyObject *,QWheelEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_wheelEvent);

    if (!meth)
    {
        QWidget::wheelEvent(a0);
        return;
    }

    ((sipVH_QtGui_5)(sipModuleAPI_kio_QtGui->em_virthandlers[5]))(sipGILState,meth,a0);
}

void sipKIO_PasswordDialog::keyReleaseEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!meth)
    {
        QWidget::keyReleaseEvent(a0);
        return;
    }

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipKIO_PasswordDialog::focusInEvent(QFocusEvent *a0)
{
    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QFocusEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_focusInEvent);

    if (!meth)
    {
        QWidget::focusInEvent(a0);
        return;
    }

    ((sipVH_QtGui_25)(sipModuleAPI_kio_QtGui->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipKIO_PasswordDialog::focusOutEvent(QFocusEvent *a0)
{
    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QFocusEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_focusOutEvent);

    if (!meth)
    {
        QWidget::focusOutEvent(a0);
        return;
    }

    ((sipVH_QtGui_25)(sipModuleAPI_kio_QtGui->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipKIO_PasswordDialog::enterEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_enterEvent);

    if (!meth)
    {
        QWidget::enterEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKIO_PasswordDialog::leaveEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_leaveEvent);

    if (!meth)
    {
        QWidget::leaveEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKIO_PasswordDialog::paintEvent(QPaintEvent *a0)
{
    typedef void (*sipVH_QtGui_3)(sip_gilstate_t,PyObject *,QPaintEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_paintEvent);

    if (!meth)
    {
        QWidget::paintEvent(a0);
        return;
    }

    ((sipVH_QtGui_3)(sipModuleAPI_kio_QtGui->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKIO_PasswordDialog::moveEvent(QMoveEvent *a0)
{
    typedef void (*sipVH_QtGui_24)(sip_gilstate_t,PyObject *,QMoveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_moveEvent);

    if (!meth)
    {
        QWidget::moveEvent(a0);
        return;
    }

    ((sipVH_QtGui_24)(sipModuleAPI_kio_QtGui->em_virthandlers[24]))(sipGILState,meth,a0);
}

void sipKIO_PasswordDialog::tabletEvent(QTabletEvent *a0)
{
    typedef void (*sipVH_QtGui_21)(sip_gilstate_t,PyObject *,QTabletEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_tabletEvent);

    if (!meth)
    {
        QWidget::tabletEvent(a0);
        return;
    }

    ((sipVH_QtGui_21)(sipModuleAPI_kio_QtGui->em_virthandlers[21]))(sipGILState,meth,a0);
}

void sipKIO_PasswordDialog::actionEvent(QActionEvent *a0)
{
    typedef void (*sipVH_QtGui_20)(sip_gilstate_t,PyObject *,QActionEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_actionEvent);

    if (!meth)
    {
        QWidget::actionEvent(a0);
        return;
    }

    ((sipVH_QtGui_20)(sipModuleAPI_kio_QtGui->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKIO_PasswordDialog::dragEnterEvent(QDragEnterEvent *a0)
{
    typedef void (*sipVH_QtGui_19)(sip_gilstate_t,PyObject *,QDragEnterEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!meth)
    {
        QWidget::dragEnterEvent(a0);
        return;
    }

    ((sipVH_QtGui_19)(sipModuleAPI_kio_QtGui->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKIO_PasswordDialog::dragMoveEvent(QDragMoveEvent *a0)
{
    typedef void (*sipVH_QtGui_18)(sip_gilstate_t,PyObject *,QDragMoveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!meth)
    {
        QWidget::dragMoveEvent(a0);
        return;
    }

    ((sipVH_QtGui_18)(sipModuleAPI_kio_QtGui->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKIO_PasswordDialog::dragLeaveEvent(QDragLeaveEvent *a0)
{
    typedef void (*sipVH_QtGui_17)(sip_gilstate_t,PyObject *,QDragLeaveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!meth)
    {
        QWidget::dragLeaveEvent(a0);
        return;
    }

    ((sipVH_QtGui_17)(sipModuleAPI_kio_QtGui->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipKIO_PasswordDialog::dropEvent(QDropEvent *a0)
{
    typedef void (*sipVH_QtGui_16)(sip_gilstate_t,PyObject *,QDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_dropEvent);

    if (!meth)
    {
        QWidget::dropEvent(a0);
        return;
    }

    ((sipVH_QtGui_16)(sipModuleAPI_kio_QtGui->em_virthandlers[16]))(sipGILState,meth,a0);
}

void sipKIO_PasswordDialog::changeEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_changeEvent);

    if (!meth)
    {
        QWidget::changeEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

int sipKIO_PasswordDialog::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    typedef int (*sipVH_QtGui_15)(sip_gilstate_t,PyObject *,QPaintDevice::PaintDeviceMetric);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::metric(a0);

    return ((sipVH_QtGui_15)(sipModuleAPI_kio_QtGui->em_virthandlers[15]))(sipGILState,meth,a0);
}

void sipKIO_PasswordDialog::inputMethodEvent(QInputMethodEvent *a0)
{
    typedef void (*sipVH_QtGui_14)(sip_gilstate_t,PyObject *,QInputMethodEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QWidget::inputMethodEvent(a0);
        return;
    }

    ((sipVH_QtGui_14)(sipModuleAPI_kio_QtGui->em_virthandlers[14]))(sipGILState,meth,a0);
}

QVariant sipKIO_PasswordDialog::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    typedef QVariant (*sipVH_QtGui_13)(sip_gilstate_t,PyObject *,Qt::InputMethodQuery);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::inputMethodQuery(a0);

    return ((sipVH_QtGui_13)(sipModuleAPI_kio_QtGui->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipKIO_PasswordDialog::focusNextPrevChild(bool a0)
{
    typedef bool (*sipVH_QtGui_12)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::focusNextPrevChild(a0);

    return ((sipVH_QtGui_12)(sipModuleAPI_kio_QtGui->em_virthandlers[12]))(sipGILState,meth,a0);
}

void sipKIO_PasswordDialog::enabledChange(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QWidget::enabledChange(a0);
        return;
    }

    ((sipVH_QtGui_7)(sipModuleAPI_kio_QtGui->em_virthandlers[7]))(sipGILState,meth,a0);
}

void sipKIO_PasswordDialog::paletteChange(const QPalette& a0)
{
    typedef void (*sipVH_QtGui_11)(sip_gilstate_t,PyObject *,const QPalette&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QWidget::paletteChange(a0);
        return;
    }

    ((sipVH_QtGui_11)(sipModuleAPI_kio_QtGui->em_virthandlers[11]))(sipGILState,meth,a0);
}

void sipKIO_PasswordDialog::fontChange(const QFont& a0)
{
    typedef void (*sipVH_QtGui_10)(sip_gilstate_t,PyObject *,const QFont&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QWidget::fontChange(a0);
        return;
    }

    ((sipVH_QtGui_10)(sipModuleAPI_kio_QtGui->em_virthandlers[10]))(sipGILState,meth,a0);
}

void sipKIO_PasswordDialog::windowActivationChange(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QWidget::windowActivationChange(a0);
        return;
    }

    ((sipVH_QtGui_7)(sipModuleAPI_kio_QtGui->em_virthandlers[7]))(sipGILState,meth,a0);
}

void sipKIO_PasswordDialog::languageChange()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QWidget::languageChange();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipKIO_PasswordDialog::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    ((sipVH_QtCore_3)(sipModuleAPI_kio_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKIO_PasswordDialog::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    ((sipVH_QtCore_20)(sipModuleAPI_kio_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKIO_PasswordDialog::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKIO_PasswordDialog::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKIO_PasswordDialog::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

int sipKIO_PasswordDialog::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKIO_PasswordDialog::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKIO_PasswordDialog::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKIO_PasswordDialog::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKIO_PasswordDialog::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKIO_PasswordDialog::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

bool sipKIO_PasswordDialog::sipProtectVirt_event(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QWidget::event(a0) : event(a0));
}

void sipKIO_PasswordDialog::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipKIO_PasswordDialog::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipKIO_PasswordDialog::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipKIO_PasswordDialog::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipKIO_PasswordDialog::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent *a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipKIO_PasswordDialog::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipKIO_PasswordDialog::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipKIO_PasswordDialog::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipKIO_PasswordDialog::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipKIO_PasswordDialog::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipKIO_PasswordDialog::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent *a0)
{
    (sipSelfWasArg ? QWidget::paintEvent(a0) : paintEvent(a0));
}

void sipKIO_PasswordDialog::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent *a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipKIO_PasswordDialog::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent *a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipKIO_PasswordDialog::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent *a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipKIO_PasswordDialog::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipKIO_PasswordDialog::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipKIO_PasswordDialog::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipKIO_PasswordDialog::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent *a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipKIO_PasswordDialog::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QWidget::changeEvent(a0) : changeEvent(a0));
}

int sipKIO_PasswordDialog::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipKIO_PasswordDialog::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent *a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipKIO_PasswordDialog::sipProtect_resetInputContext()
{
    QWidget::resetInputContext();
}

void sipKIO_PasswordDialog::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipKIO_PasswordDialog::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipKIO_PasswordDialog::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipKIO_PasswordDialog::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipKIO_PasswordDialog::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipKIO_PasswordDialog::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

void sipKIO_PasswordDialog::sipProtectVirt_enabledChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::enabledChange(a0) : enabledChange(a0));
}

void sipKIO_PasswordDialog::sipProtectVirt_paletteChange(bool sipSelfWasArg,const QPalette& a0)
{
    (sipSelfWasArg ? QWidget::paletteChange(a0) : paletteChange(a0));
}

void sipKIO_PasswordDialog::sipProtectVirt_fontChange(bool sipSelfWasArg,const QFont& a0)
{
    (sipSelfWasArg ? QWidget::fontChange(a0) : fontChange(a0));
}

void sipKIO_PasswordDialog::sipProtectVirt_windowActivationChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::windowActivationChange(a0) : windowActivationChange(a0));
}

void sipKIO_PasswordDialog::sipProtectVirt_languageChange(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QWidget::languageChange() : languageChange());
}

void sipKIO_PasswordDialog::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent *a0)
{
    (sipSelfWasArg ? QDialog::showEvent(a0) : showEvent(a0));
}

void sipKIO_PasswordDialog::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent *a0)
{
    (sipSelfWasArg ? QDialog::resizeEvent(a0) : resizeEvent(a0));
}

void sipKIO_PasswordDialog::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent *a0)
{
    (sipSelfWasArg ? QDialog::contextMenuEvent(a0) : contextMenuEvent(a0));
}

bool sipKIO_PasswordDialog::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject *a0,QEvent *a1)
{
    return (sipSelfWasArg ? QDialog::eventFilter(a0,a1) : eventFilter(a0,a1));
}

void sipKIO_PasswordDialog::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent *a0)
{
    (sipSelfWasArg ? KDialog::hideEvent(a0) : hideEvent(a0));
}

void sipKIO_PasswordDialog::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent *a0)
{
    (sipSelfWasArg ? KDialog::closeEvent(a0) : closeEvent(a0));
}

void sipKIO_PasswordDialog::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? KDialog::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipKIO_PasswordDialog::sipProtectVirt_slotButtonClicked(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? KDialog::slotButtonClicked(a0) : slotButtonClicked(a0));
}

void sipKIO_PasswordDialog::sipProtect_updateGeometry()
{
    KDialog::updateGeometry();
}

bool sipKIO_PasswordDialog::sipProtectVirt_checkPassword(bool sipSelfWasArg)
{
    return (sipSelfWasArg ? KPasswordDialog::checkPassword() : checkPassword());
}


extern "C" {static PyObject *meth_KIO_PasswordDialog_receivers(PyObject *, PyObject *);}
static PyObject *meth_KIO_PasswordDialog_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipKIO_PasswordDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KIO_PasswordDialog,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 1816 "sipkiopart1.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PasswordDialog,sipName_receivers);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_PasswordDialog_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_PasswordDialog_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKIO_PasswordDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KIO_PasswordDialog,&sipCpp,sipType_QTimerEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PasswordDialog,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_PasswordDialog_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_PasswordDialog_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKIO_PasswordDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KIO_PasswordDialog,&sipCpp,sipType_QChildEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PasswordDialog,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_PasswordDialog_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_PasswordDialog_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKIO_PasswordDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KIO_PasswordDialog,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PasswordDialog,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_PasswordDialog_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KIO_PasswordDialog_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKIO_PasswordDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KIO_PasswordDialog,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PasswordDialog,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_PasswordDialog_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KIO_PasswordDialog_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKIO_PasswordDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KIO_PasswordDialog,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PasswordDialog,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_PasswordDialog_event(PyObject *, PyObject *);}
static PyObject *meth_KIO_PasswordDialog_event(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKIO_PasswordDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KIO_PasswordDialog,&sipCpp,sipType_QEvent,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PasswordDialog,sipName_event);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_PasswordDialog_mousePressEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_PasswordDialog_mousePressEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipKIO_PasswordDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KIO_PasswordDialog,&sipCpp,sipType_QMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PasswordDialog,sipName_mousePressEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_PasswordDialog_mouseReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_PasswordDialog_mouseReleaseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipKIO_PasswordDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KIO_PasswordDialog,&sipCpp,sipType_QMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PasswordDialog,sipName_mouseReleaseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_PasswordDialog_mouseDoubleClickEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_PasswordDialog_mouseDoubleClickEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipKIO_PasswordDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KIO_PasswordDialog,&sipCpp,sipType_QMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PasswordDialog,sipName_mouseDoubleClickEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_PasswordDialog_mouseMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_PasswordDialog_mouseMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipKIO_PasswordDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KIO_PasswordDialog,&sipCpp,sipType_QMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PasswordDialog,sipName_mouseMoveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_PasswordDialog_wheelEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_PasswordDialog_wheelEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent * a0;
        sipKIO_PasswordDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KIO_PasswordDialog,&sipCpp,sipType_QWheelEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PasswordDialog,sipName_wheelEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_PasswordDialog_keyReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_PasswordDialog_keyReleaseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipKIO_PasswordDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KIO_PasswordDialog,&sipCpp,sipType_QKeyEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PasswordDialog,sipName_keyReleaseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_PasswordDialog_focusInEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_PasswordDialog_focusInEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipKIO_PasswordDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KIO_PasswordDialog,&sipCpp,sipType_QFocusEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PasswordDialog,sipName_focusInEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_PasswordDialog_focusOutEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_PasswordDialog_focusOutEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipKIO_PasswordDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KIO_PasswordDialog,&sipCpp,sipType_QFocusEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PasswordDialog,sipName_focusOutEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_PasswordDialog_enterEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_PasswordDialog_enterEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKIO_PasswordDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KIO_PasswordDialog,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PasswordDialog,sipName_enterEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_PasswordDialog_leaveEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_PasswordDialog_leaveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKIO_PasswordDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KIO_PasswordDialog,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PasswordDialog,sipName_leaveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_PasswordDialog_paintEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_PasswordDialog_paintEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent * a0;
        sipKIO_PasswordDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KIO_PasswordDialog,&sipCpp,sipType_QPaintEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PasswordDialog,sipName_paintEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_PasswordDialog_moveEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_PasswordDialog_moveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent * a0;
        sipKIO_PasswordDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KIO_PasswordDialog,&sipCpp,sipType_QMoveEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PasswordDialog,sipName_moveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_PasswordDialog_tabletEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_PasswordDialog_tabletEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent * a0;
        sipKIO_PasswordDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KIO_PasswordDialog,&sipCpp,sipType_QTabletEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PasswordDialog,sipName_tabletEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_PasswordDialog_actionEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_PasswordDialog_actionEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent * a0;
        sipKIO_PasswordDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KIO_PasswordDialog,&sipCpp,sipType_QActionEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PasswordDialog,sipName_actionEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_PasswordDialog_dragEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_PasswordDialog_dragEnterEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent * a0;
        sipKIO_PasswordDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KIO_PasswordDialog,&sipCpp,sipType_QDragEnterEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PasswordDialog,sipName_dragEnterEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_PasswordDialog_dragMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_PasswordDialog_dragMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent * a0;
        sipKIO_PasswordDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KIO_PasswordDialog,&sipCpp,sipType_QDragMoveEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PasswordDialog,sipName_dragMoveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_PasswordDialog_dragLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_PasswordDialog_dragLeaveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent * a0;
        sipKIO_PasswordDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KIO_PasswordDialog,&sipCpp,sipType_QDragLeaveEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PasswordDialog,sipName_dragLeaveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_PasswordDialog_dropEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_PasswordDialog_dropEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent * a0;
        sipKIO_PasswordDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KIO_PasswordDialog,&sipCpp,sipType_QDropEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PasswordDialog,sipName_dropEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_PasswordDialog_changeEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_PasswordDialog_changeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKIO_PasswordDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KIO_PasswordDialog,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PasswordDialog,sipName_changeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_PasswordDialog_metric(PyObject *, PyObject *);}
static PyObject *meth_KIO_PasswordDialog_metric(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        sipKIO_PasswordDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pE",&sipSelf,sipType_KIO_PasswordDialog,&sipCpp,sipType_QPaintDevice_PaintDeviceMetric,&a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PasswordDialog,sipName_metric);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_PasswordDialog_inputMethodEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_PasswordDialog_inputMethodEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent * a0;
        sipKIO_PasswordDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KIO_PasswordDialog,&sipCpp,sipType_QInputMethodEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PasswordDialog,sipName_inputMethodEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_PasswordDialog_resetInputContext(PyObject *, PyObject *);}
static PyObject *meth_KIO_PasswordDialog_resetInputContext(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKIO_PasswordDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KIO_PasswordDialog,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_resetInputContext();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PasswordDialog,sipName_resetInputContext);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_PasswordDialog_updateMicroFocus(PyObject *, PyObject *);}
static PyObject *meth_KIO_PasswordDialog_updateMicroFocus(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKIO_PasswordDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KIO_PasswordDialog,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_updateMicroFocus();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PasswordDialog,sipName_updateMicroFocus);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_PasswordDialog_create(PyObject *, PyObject *);}
static PyObject *meth_KIO_PasswordDialog_create(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        WId a0 = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipKIO_PasswordDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p|mbb",&sipSelf,sipType_KIO_PasswordDialog,&sipCpp,&a0,&a1,&a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_create(a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PasswordDialog,sipName_create);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_PasswordDialog_destroy(PyObject *, PyObject *);}
static PyObject *meth_KIO_PasswordDialog_destroy(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipKIO_PasswordDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p|bb",&sipSelf,sipType_KIO_PasswordDialog,&sipCpp,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_destroy(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PasswordDialog,sipName_destroy);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_PasswordDialog_focusNextPrevChild(PyObject *, PyObject *);}
static PyObject *meth_KIO_PasswordDialog_focusNextPrevChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipKIO_PasswordDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KIO_PasswordDialog,&sipCpp,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PasswordDialog,sipName_focusNextPrevChild);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_PasswordDialog_focusNextChild(PyObject *, PyObject *);}
static PyObject *meth_KIO_PasswordDialog_focusNextChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKIO_PasswordDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KIO_PasswordDialog,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_focusNextChild();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PasswordDialog,sipName_focusNextChild);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_PasswordDialog_focusPreviousChild(PyObject *, PyObject *);}
static PyObject *meth_KIO_PasswordDialog_focusPreviousChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKIO_PasswordDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KIO_PasswordDialog,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_focusPreviousChild();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PasswordDialog,sipName_focusPreviousChild);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_PasswordDialog_enabledChange(PyObject *, PyObject *);}
static PyObject *meth_KIO_PasswordDialog_enabledChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipKIO_PasswordDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KIO_PasswordDialog,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_enabledChange(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PasswordDialog,sipName_enabledChange);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_PasswordDialog_paletteChange(PyObject *, PyObject *);}
static PyObject *meth_KIO_PasswordDialog_paletteChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPalette * a0;
        sipKIO_PasswordDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KIO_PasswordDialog,&sipCpp,sipType_QPalette,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paletteChange(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PasswordDialog,sipName_paletteChange);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_PasswordDialog_fontChange(PyObject *, PyObject *);}
static PyObject *meth_KIO_PasswordDialog_fontChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QFont * a0;
        sipKIO_PasswordDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KIO_PasswordDialog,&sipCpp,sipType_QFont,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_fontChange(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PasswordDialog,sipName_fontChange);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_PasswordDialog_windowActivationChange(PyObject *, PyObject *);}
static PyObject *meth_KIO_PasswordDialog_windowActivationChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipKIO_PasswordDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KIO_PasswordDialog,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_windowActivationChange(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PasswordDialog,sipName_windowActivationChange);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_PasswordDialog_languageChange(PyObject *, PyObject *);}
static PyObject *meth_KIO_PasswordDialog_languageChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipKIO_PasswordDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KIO_PasswordDialog,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_languageChange(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PasswordDialog,sipName_languageChange);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_PasswordDialog_showEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_PasswordDialog_showEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent * a0;
        sipKIO_PasswordDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KIO_PasswordDialog,&sipCpp,sipType_QShowEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KIO_PasswordDialog_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_PasswordDialog_resizeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent * a0;
        sipKIO_PasswordDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KIO_PasswordDialog,&sipCpp,sipType_QResizeEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PasswordDialog,sipName_resizeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_PasswordDialog_contextMenuEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_PasswordDialog_contextMenuEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent * a0;
        sipKIO_PasswordDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KIO_PasswordDialog,&sipCpp,sipType_QContextMenuEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PasswordDialog,sipName_contextMenuEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_PasswordDialog_eventFilter(PyObject *, PyObject *);}
static PyObject *meth_KIO_PasswordDialog_eventFilter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject * a0;
        QEvent * a1;
        sipKIO_PasswordDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8J8",&sipSelf,sipType_KIO_PasswordDialog,&sipCpp,sipType_QObject,&a0,sipType_QEvent,&a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PasswordDialog,sipName_eventFilter);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_PasswordDialog_hideEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_PasswordDialog_hideEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent * a0;
        sipKIO_PasswordDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KIO_PasswordDialog,&sipCpp,sipType_QHideEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PasswordDialog,sipName_hideEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_PasswordDialog_closeEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_PasswordDialog_closeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent * a0;
        sipKIO_PasswordDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KIO_PasswordDialog,&sipCpp,sipType_QCloseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PasswordDialog,sipName_closeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_PasswordDialog_keyPressEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_PasswordDialog_keyPressEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipKIO_PasswordDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KIO_PasswordDialog,&sipCpp,sipType_QKeyEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PasswordDialog,sipName_keyPressEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_PasswordDialog_slotButtonClicked(PyObject *, PyObject *);}
static PyObject *meth_KIO_PasswordDialog_slotButtonClicked(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipKIO_PasswordDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pi",&sipSelf,sipType_KIO_PasswordDialog,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_slotButtonClicked(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PasswordDialog,sipName_slotButtonClicked);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_PasswordDialog_updateGeometry(PyObject *, PyObject *);}
static PyObject *meth_KIO_PasswordDialog_updateGeometry(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKIO_PasswordDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KIO_PasswordDialog,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_updateGeometry();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PasswordDialog,sipName_updateGeometry);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_PasswordDialog_checkPassword(PyObject *, PyObject *);}
static PyObject *meth_KIO_PasswordDialog_checkPassword(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipKIO_PasswordDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KIO_PasswordDialog,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_checkPassword(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PasswordDialog,sipName_checkPassword);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_PasswordDialog_getNameAndPassword(PyObject *, PyObject *);}
static PyObject *meth_KIO_PasswordDialog_getNameAndPassword(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        QString * a0;
        int a0State = 0;
        QString * a1;
        int a1State = 0;
        bool a2;
        const QString& a3def = QString();
        const QString * a3 = &a3def;
        int a3State = 0;
        bool a4 = 0;
        const QString& a5def = QString();
        const QString * a5 = &a5def;
        int a5State = 0;
        const QString& a6def = QString();
        const QString * a6 = &a6def;
        int a6State = 0;
        const QString& a7def = QString();
        const QString * a7 = &a7def;
        int a7State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1J1b|J1bJ1J1J1",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,&a2,sipType_QString,&a3,&a3State,&a4,sipType_QString,&a5,&a5State,sipType_QString,&a6,&a6State,sipType_QString,&a7,&a7State))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::PasswordDialog::getNameAndPassword(*a0,*a1,&a2,*a3,a4,*a5,*a6,*a7);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_QString,a0State);
            sipReleaseType(a1,sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);
            sipReleaseType(const_cast<QString *>(a5),sipType_QString,a5State);
            sipReleaseType(const_cast<QString *>(a6),sipType_QString,a6State);
            sipReleaseType(const_cast<QString *>(a7),sipType_QString,a7State);

            return sipBuildResult(0,"(ib)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PasswordDialog,sipName_getNameAndPassword);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KIO_PasswordDialog(void *, const sipTypeDef *);}
static void *cast_KIO_PasswordDialog(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KIO_PasswordDialog)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KPasswordDialog)->ctd_cast((KPasswordDialog *)(KIO::PasswordDialog *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KIO_PasswordDialog(void *, int);}
static void release_KIO_PasswordDialog(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKIO_PasswordDialog *>(sipCppV);
    else
        delete reinterpret_cast<KIO::PasswordDialog *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KIO_PasswordDialog(sipSimpleWrapper *);}
static void dealloc_KIO_PasswordDialog(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKIO_PasswordDialog *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KIO_PasswordDialog(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KIO_PasswordDialog(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KIO_PasswordDialog(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **sipOwner, int *sipArgsParsed)
{
    sipKIO_PasswordDialog *sipCpp = 0;

    if (!sipCpp)
    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        bool a2 = 0;
        bool a3 = 1;
        QWidget * a4 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1J1|bbJH",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,&a2,&a3,sipType_QWidget,&a4,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKIO_PasswordDialog(*a0,*a1,a2,a3,a4);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KIO_PasswordDialog[] = {{194, 6, 1}};


static PyMethodDef methods_KIO_PasswordDialog[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), meth_KIO_PasswordDialog_actionEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_KIO_PasswordDialog_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_checkPassword), meth_KIO_PasswordDialog_checkPassword, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KIO_PasswordDialog_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_KIO_PasswordDialog_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KIO_PasswordDialog_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_KIO_PasswordDialog_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_create), meth_KIO_PasswordDialog_create, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KIO_PasswordDialog_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), meth_KIO_PasswordDialog_destroy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KIO_PasswordDialog_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_KIO_PasswordDialog_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_KIO_PasswordDialog_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_KIO_PasswordDialog_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_KIO_PasswordDialog_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enabledChange), meth_KIO_PasswordDialog_enabledChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), meth_KIO_PasswordDialog_enterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_KIO_PasswordDialog_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_KIO_PasswordDialog_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_KIO_PasswordDialog_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), meth_KIO_PasswordDialog_focusNextChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), meth_KIO_PasswordDialog_focusNextPrevChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_KIO_PasswordDialog_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), meth_KIO_PasswordDialog_focusPreviousChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fontChange), meth_KIO_PasswordDialog_fontChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getNameAndPassword), meth_KIO_PasswordDialog_getNameAndPassword, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_KIO_PasswordDialog_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), meth_KIO_PasswordDialog_inputMethodEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_KIO_PasswordDialog_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), meth_KIO_PasswordDialog_keyReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_languageChange), meth_KIO_PasswordDialog_languageChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), meth_KIO_PasswordDialog_leaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), meth_KIO_PasswordDialog_metric, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_KIO_PasswordDialog_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_KIO_PasswordDialog_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_KIO_PasswordDialog_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_KIO_PasswordDialog_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), meth_KIO_PasswordDialog_moveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_KIO_PasswordDialog_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paletteChange), meth_KIO_PasswordDialog_paletteChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KIO_PasswordDialog_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resetInputContext), meth_KIO_PasswordDialog_resetInputContext, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_KIO_PasswordDialog_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_KIO_PasswordDialog_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotButtonClicked), meth_KIO_PasswordDialog_slotButtonClicked, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tabletEvent), meth_KIO_PasswordDialog_tabletEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KIO_PasswordDialog_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateGeometry), meth_KIO_PasswordDialog_updateGeometry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), meth_KIO_PasswordDialog_updateMicroFocus, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_KIO_PasswordDialog_wheelEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowActivationChange), meth_KIO_PasswordDialog_windowActivationChange, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kio_KIO_PasswordDialog = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIO__PasswordDialog,
        {0}
    },
    sipNameNr_PasswordDialog,
    -1,
    -1,
    {95, 255, 0},
    supers_KIO_PasswordDialog,
    0,
    51, methods_KIO_PasswordDialog,
    0, 0,
    0, 0,
    init_KIO_PasswordDialog,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_PasswordDialog,
    release_KIO_PasswordDialog,
    cast_KIO_PasswordDialog,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KIO::PasswordDialog::staticMetaObject,
    0,
    0
};

#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/netaccess.sip"
#include <netaccess.h>
#line 3432 "sipkiopart1.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 3436 "sipkiopart1.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 3439 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 3442 "sipkiopart1.cpp"
#line 43 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 3445 "sipkiopart1.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 3448 "sipkiopart1.cpp"
#line 137 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
#include <qmap.h>
#line 43 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 43 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 3455 "sipkiopart1.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 3458 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 3461 "sipkiopart1.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/udsentry.sip"
#include <udsentry.h>
#line 3464 "sipkiopart1.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 3467 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3470 "sipkiopart1.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3473 "sipkiopart1.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3476 "sipkiopart1.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 3479 "sipkiopart1.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 3510 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 3513 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 3516 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 3519 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 3522 "sipkiopart1.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3525 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 3528 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 3531 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 3534 "sipkiopart1.cpp"


extern "C" {static PyObject *meth_KIO_NetAccess_download(PyObject *, PyObject *);}
static PyObject *meth_KIO_NetAccess_download(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;
        QString * a1;
        int a1State = 0;
        QWidget * a2;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9J1J8",sipType_KUrl,&a0,sipType_QString,&a1,&a1State,sipType_QWidget,&a2))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::NetAccess::download(*a0,*a1,a2);
            Py_END_ALLOW_THREADS

            sipReleaseType(a1,sipType_QString,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_NetAccess,sipName_download);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_NetAccess_removeTempFile(PyObject *, PyObject *);}
static PyObject *meth_KIO_NetAccess_removeTempFile(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1",sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            KIO::NetAccess::removeTempFile(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_NetAccess,sipName_removeTempFile);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_NetAccess_upload(PyObject *, PyObject *);}
static PyObject *meth_KIO_NetAccess_upload(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        const KUrl * a1;
        QWidget * a2;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1J9J8",sipType_QString,&a0,&a0State,sipType_KUrl,&a1,sipType_QWidget,&a2))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::NetAccess::upload(*a0,*a1,a2);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_NetAccess,sipName_upload);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_NetAccess_file_copy(PyObject *, PyObject *);}
static PyObject *meth_KIO_NetAccess_file_copy(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;
        const KUrl * a1;
        QWidget * a2 = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9J9|J8",sipType_KUrl,&a0,sipType_KUrl,&a1,sipType_QWidget,&a2))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::NetAccess::file_copy(*a0,*a1,a2);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_NetAccess,sipName_file_copy);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_NetAccess_copy(PyObject *, PyObject *);}
static PyObject *meth_KIO_NetAccess_copy(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;
        const KUrl * a1;
        QWidget * a2 = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9J9|J8",sipType_KUrl,&a0,sipType_KUrl,&a1,sipType_QWidget,&a2))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::NetAccess::copy(*a0,*a1,a2);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_NetAccess,sipName_copy);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_NetAccess_dircopy(PyObject *, PyObject *);}
static PyObject *meth_KIO_NetAccess_dircopy(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;
        const KUrl * a1;
        QWidget * a2;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9J9J8",sipType_KUrl,&a0,sipType_KUrl,&a1,sipType_QWidget,&a2))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::NetAccess::dircopy(*a0,*a1,a2);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const KUrl::List * a0;
        const KUrl * a1;
        QWidget * a2 = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9J9|J8",sipType_KUrl_List,&a0,sipType_KUrl,&a1,sipType_QWidget,&a2))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::NetAccess::dircopy(*a0,*a1,a2);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_NetAccess,sipName_dircopy);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_NetAccess_move(PyObject *, PyObject *);}
static PyObject *meth_KIO_NetAccess_move(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;
        const KUrl * a1;
        QWidget * a2 = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9J9|J8",sipType_KUrl,&a0,sipType_KUrl,&a1,sipType_QWidget,&a2))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::NetAccess::move(*a0,*a1,a2);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const KUrl::List * a0;
        const KUrl * a1;
        QWidget * a2 = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9J9|J8",sipType_KUrl_List,&a0,sipType_KUrl,&a1,sipType_QWidget,&a2))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::NetAccess::move(*a0,*a1,a2);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_NetAccess,sipName_move);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_NetAccess_exists(PyObject *, PyObject *);}
static PyObject *meth_KIO_NetAccess_exists(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;
        bool a1;
        QWidget * a2;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9XbJ8",sipType_KUrl,&a0,&a1,sipType_QWidget,&a2))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::NetAccess::exists(*a0,a1,a2);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const KUrl * a0;
        KIO::NetAccess::StatSide a1;
        QWidget * a2;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9EJ8",sipType_KUrl,&a0,sipType_KIO_NetAccess_StatSide,&a1,sipType_QWidget,&a2))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::NetAccess::exists(*a0,a1,a2);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_NetAccess,sipName_exists);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_NetAccess_stat(PyObject *, PyObject *);}
static PyObject *meth_KIO_NetAccess_stat(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;
        KIO::UDSEntry * a1;
        QWidget * a2;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9J9J8",sipType_KUrl,&a0,sipType_KIO_UDSEntry,&a1,sipType_QWidget,&a2))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::NetAccess::stat(*a0,*a1,a2);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_NetAccess,sipName_stat);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_NetAccess_mostLocalUrl(PyObject *, PyObject *);}
static PyObject *meth_KIO_NetAccess_mostLocalUrl(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;
        QWidget * a1;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9J8",sipType_KUrl,&a0,sipType_QWidget,&a1))
        {
            KUrl *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(KIO::NetAccess::mostLocalUrl(*a0,a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_NetAccess,sipName_mostLocalUrl);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_NetAccess_del_(PyObject *, PyObject *);}
static PyObject *meth_KIO_NetAccess_del_(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;
        QWidget * a1;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9J8",sipType_KUrl,&a0,sipType_QWidget,&a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::NetAccess::del(*a0,a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_NetAccess,sipName_del_);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_NetAccess_mkdir(PyObject *, PyObject *);}
static PyObject *meth_KIO_NetAccess_mkdir(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;
        QWidget * a1;
        int a2 = -1;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9J8|i",sipType_KUrl,&a0,sipType_QWidget,&a1,&a2))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::NetAccess::mkdir(*a0,a1,a2);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_NetAccess,sipName_mkdir);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_NetAccess_fish_execute(PyObject *, PyObject *);}
static PyObject *meth_KIO_NetAccess_fish_execute(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;
        const QString * a1;
        int a1State = 0;
        QWidget * a2;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9J1J8",sipType_KUrl,&a0,sipType_QString,&a1,&a1State,sipType_QWidget,&a2))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KIO::NetAccess::fish_execute(*a0,*a1,a2));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_NetAccess,sipName_fish_execute);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_NetAccess_synchronousRun(PyObject *, PyObject *);}
static PyObject *meth_KIO_NetAccess_synchronousRun(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KIO::Job * a0;
        QWidget * a1;
        QByteArray * a2 = 0;
        int a2State = 0;
        KUrl * a3 = 0;
        QMap<QString,QString> * a4 = 0;
        int a4State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J8J8|J0J8J0",sipType_KIO_Job,&a0,sipType_QWidget,&a1,sipType_QByteArray,&a2,&a2State,sipType_KUrl,&a3,sipType_QMap_0200QString_0200QString,&a4,&a4State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::NetAccess::synchronousRun(a0,a1,a2,a3,a4);
            Py_END_ALLOW_THREADS

            sipReleaseType(a2,sipType_QByteArray,a2State);
            sipReleaseType(a4,sipType_QMap_0200QString_0200QString,a4State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_NetAccess,sipName_synchronousRun);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_NetAccess_mimetype(PyObject *, PyObject *);}
static PyObject *meth_KIO_NetAccess_mimetype(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;
        QWidget * a1;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9J8",sipType_KUrl,&a0,sipType_QWidget,&a1))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KIO::NetAccess::mimetype(*a0,a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_NetAccess,sipName_mimetype);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_NetAccess_lastErrorString(PyObject *, PyObject *);}
static PyObject *meth_KIO_NetAccess_lastErrorString(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KIO::NetAccess::lastErrorString());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_NetAccess,sipName_lastErrorString);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_NetAccess_lastError(PyObject *, PyObject *);}
static PyObject *meth_KIO_NetAccess_lastError(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::NetAccess::lastError();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_NetAccess,sipName_lastError);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KIO_NetAccess(void *, const sipTypeDef *);}
static void *cast_KIO_NetAccess(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KIO_NetAccess)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(KIO::NetAccess *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KIO_NetAccess(void *, int);}
static void release_KIO_NetAccess(void *,int)
{
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KIO_NetAccess[] = {{111, 0, 1}};


static PyMethodDef methods_KIO_NetAccess[] = {
    {SIP_MLNAME_CAST(sipName_copy), meth_KIO_NetAccess_copy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_del_), meth_KIO_NetAccess_del_, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dircopy), meth_KIO_NetAccess_dircopy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_download), meth_KIO_NetAccess_download, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_exists), meth_KIO_NetAccess_exists, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_file_copy), meth_KIO_NetAccess_file_copy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fish_execute), meth_KIO_NetAccess_fish_execute, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_lastError), meth_KIO_NetAccess_lastError, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_lastErrorString), meth_KIO_NetAccess_lastErrorString, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mimetype), meth_KIO_NetAccess_mimetype, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mkdir), meth_KIO_NetAccess_mkdir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mostLocalUrl), meth_KIO_NetAccess_mostLocalUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_move), meth_KIO_NetAccess_move, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeTempFile), meth_KIO_NetAccess_removeTempFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_stat), meth_KIO_NetAccess_stat, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_synchronousRun), meth_KIO_NetAccess_synchronousRun, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_upload), meth_KIO_NetAccess_upload, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KIO_NetAccess[] = {
    {sipName_DestinationSide, KIO::NetAccess::DestinationSide, 132},
    {sipName_SourceSide, KIO::NetAccess::SourceSide, 132},
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KIO_NetAccess[] = {
    {"leaveModality()", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_kio_KIO_NetAccess = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIO__NetAccess,
        {0}
    },
    sipNameNr_NetAccess,
    -1,
    -1,
    {95, 255, 0},
    supers_KIO_NetAccess,
    0,
    17, methods_KIO_NetAccess,
    2, enummembers_KIO_NetAccess,
    0, 0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    release_KIO_NetAccess,
    cast_KIO_NetAccess,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KIO::NetAccess::staticMetaObject,
    0,
    pyqt4_signals_KIO_NetAccess
};

#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/metainfojob.sip"
#include <kfileitem.h>
#include <jobclasses.h>
#include <metainfojob.h>
#line 4195 "sipkiopart1.cpp"

#line 127 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfileitem.sip"
#include <kfileitem.h>
#line 4199 "sipkiopart1.cpp"
#line 37 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfilemetainfo.sip"
#include <kfilemetainfo.h>
#line 4202 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 4205 "sipkiopart1.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 4208 "sipkiopart1.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfileitem.sip"
#include <kfileitem.h>
#line 4211 "sipkiopart1.cpp"
#line 43 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 4214 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 4217 "sipkiopart1.cpp"
#line 186 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/global.sip"
#include<qmap.h>
#line 4220 "sipkiopart1.cpp"
#line 137 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
#include <qmap.h>
#line 43 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 43 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 4227 "sipkiopart1.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 4230 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 4233 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 4236 "sipkiopart1.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 4239 "sipkiopart1.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/jobuidelegate.sip"
#include <jobuidelegate.h>
#line 4242 "sipkiopart1.cpp"
#line 708 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <qlist.h>
#line 102 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservice.sip"
#include <qlist.h>
#line 81 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kmimetype.sip"
#include <qlist.h>
#line 61 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
#include <qlist.h>
#line 65 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksycocaentry.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 4295 "sipkiopart1.cpp"
#line 136 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 4298 "sipkiopart1.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kplugininfo.sip"
#include <kplugininfo.h>
#line 4301 "sipkiopart1.cpp"
#line 36 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kprotocolinfo.sip"
#include <kprotocolinfo.h>
#line 4304 "sipkiopart1.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 4307 "sipkiopart1.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 4310 "sipkiopart1.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kserviceaction.sip"
#include <kserviceaction.h>
#line 4313 "sipkiopart1.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 4316 "sipkiopart1.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 4319 "sipkiopart1.cpp"
#line 321 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 4322 "sipkiopart1.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 4325 "sipkiopart1.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kautosavefile.sip"
#include <kautosavefile.h>
#line 4328 "sipkiopart1.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kaboutdata.sip"
#include <kaboutdata.h>
#line 4331 "sipkiopart1.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/klocale.sip"
#include <klocale.h>
#line 4334 "sipkiopart1.cpp"
#line 57 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktcpsocket.sip"
#include <ktcpsocket.h>
#line 4337 "sipkiopart1.cpp"
#line 79 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktcpsocket.sip"
#include <ktcpsocket.h>
#line 4340 "sipkiopart1.cpp"
#line 83 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kuser.sip"
#include <kuser.h>
#line 4343 "sipkiopart1.cpp"
#line 34 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kuser.sip"
#include <kuser.h>
#line 4346 "sipkiopart1.cpp"
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 4361 "sipkiopart1.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/klockfile.sip"
#include <klockfile.h>
#line 4364 "sipkiopart1.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kmimetype.sip"
#include <kmimetype.h>
#line 4367 "sipkiopart1.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservice.sip"
#include <kservice.h>
#line 4370 "sipkiopart1.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicegroup.sip"
#include <kservicegroup.h>
#line 4373 "sipkiopart1.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
#include <kservicetype.h>
#line 4376 "sipkiopart1.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksharedconfig.sip"
#include <ksharedconfig.h>
#line 4379 "sipkiopart1.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksycocaentry.sip"
#include <ksycocaentry.h>
#line 4382 "sipkiopart1.cpp"
#line 642 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <qpair.h>
#line 4385 "sipkiopart1.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 4388 "sipkiopart1.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kjobuidelegate.sip"
#include <kjobuidelegate.h>
#line 4391 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4394 "sipkiopart1.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4397 "sipkiopart1.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4400 "sipkiopart1.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 4403 "sipkiopart1.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 4434 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 4437 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 4440 "sipkiopart1.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 4443 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 4446 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 4449 "sipkiopart1.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4452 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 4455 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 4458 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 4461 "sipkiopart1.cpp"


class sipKIO_MetaInfoJob : public KIO::MetaInfoJob
{
public:
    sipKIO_MetaInfoJob(const KFileItemList&,KFileMetaInfo::WhatFlags,int,int,const QStringList&,const QStringList&);
    virtual ~sipKIO_MetaInfoJob();

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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    void sipProtect_setCapabilities(KJob::Capabilities);
    void sipProtect_setError(int);
    void sipProtect_setErrorText(const QString&);
    void sipProtect_setProcessedAmount(KJob::Unit,qulonglong);
    void sipProtect_setTotalAmount(KJob::Unit,qulonglong);
    void sipProtect_setPercent(unsigned long);
    void sipProtect_emitResult();
    void sipProtect_emitPercent(qulonglong,qulonglong);
    void sipProtect_emitSpeed(unsigned long);
    bool sipProtect_hasSubjobs();
    const QList<KJob *>& sipProtect_subjobs() const;
    void sipProtect_clearSubjobs();
    void sipProtectVirt_slotInfoMessage(bool,KJob *,const QString&,const QString&);
    bool sipProtectVirt_doKill(bool);
    bool sipProtectVirt_doSuspend(bool);
    bool sipProtectVirt_doResume(bool);
    bool sipProtectVirt_addSubjob(bool,KJob *);
    bool sipProtectVirt_removeSubjob(bool,KJob *);
    void sipProtect_getMetaInfo();
    void sipProtectVirt_slotResult(bool,KJob *);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void slotResult(KJob *);
    bool doKill();
    bool doSuspend();
    bool doResume();
    bool addSubjob(KJob *);
    bool removeSubjob(KJob *);
    void slotInfoMessage(KJob *,const QString&,const QString&);
    void start();
    QString errorString() 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 *);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[16];
};

sipKIO_MetaInfoJob::sipKIO_MetaInfoJob(const KFileItemList& a0,KFileMetaInfo::WhatFlags a1,int a2,int a3,const QStringList& a4,const QStringList& a5): KIO::MetaInfoJob(a0,a1,a2,a3,a4,a5), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKIO_MetaInfoJob::~sipKIO_MetaInfoJob()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKIO_MetaInfoJob::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KIO_MetaInfoJob);
}

int sipKIO_MetaInfoJob::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KIO::MetaInfoJob::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KIO_MetaInfoJob,_c,_id,_a);

    return _id;
}

void *sipKIO_MetaInfoJob::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast && sip_kio_qt_metacast(sipPySelf,sipType_KIO_MetaInfoJob,_clname)) ? this : KIO::MetaInfoJob::qt_metacast(_clname);
}

void sipKIO_MetaInfoJob::slotResult(KJob *a0)
{
    typedef void (*sipVH_kdecore_18)(sip_gilstate_t,PyObject *,KJob *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_slotResult);

    if (!meth)
    {
        KIO::MetaInfoJob::slotResult(a0);
        return;
    }

    ((sipVH_kdecore_18)(sipModuleAPI_kio_kdecore->em_virthandlers[18]))(sipGILState,meth,a0);
}

bool sipKIO_MetaInfoJob::doKill()
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_doKill);

    if (!meth)
        return KIO::Job::doKill();

    return ((sipVH_QtCore_1)(sipModuleAPI_kio_QtCore->em_virthandlers[1]))(sipGILState,meth);
}

bool sipKIO_MetaInfoJob::doSuspend()
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_doSuspend);

    if (!meth)
        return KIO::Job::doSuspend();

    return ((sipVH_QtCore_1)(sipModuleAPI_kio_QtCore->em_virthandlers[1]))(sipGILState,meth);
}

bool sipKIO_MetaInfoJob::doResume()
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_doResume);

    if (!meth)
        return KIO::Job::doResume();

    return ((sipVH_QtCore_1)(sipModuleAPI_kio_QtCore->em_virthandlers[1]))(sipGILState,meth);
}

bool sipKIO_MetaInfoJob::addSubjob(KJob *a0)
{
    typedef bool (*sipVH_kdecore_19)(sip_gilstate_t,PyObject *,KJob *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_addSubjob);

    if (!meth)
        return KIO::Job::addSubjob(a0);

    return ((sipVH_kdecore_19)(sipModuleAPI_kio_kdecore->em_virthandlers[19]))(sipGILState,meth,a0);
}

bool sipKIO_MetaInfoJob::removeSubjob(KJob *a0)
{
    typedef bool (*sipVH_kdecore_19)(sip_gilstate_t,PyObject *,KJob *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_removeSubjob);

    if (!meth)
        return KIO::Job::removeSubjob(a0);

    return ((sipVH_kdecore_19)(sipModuleAPI_kio_kdecore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKIO_MetaInfoJob::slotInfoMessage(KJob *a0,const QString& a1,const QString& a2)
{
    typedef void (*sipVH_kdecore_14)(sip_gilstate_t,PyObject *,KJob *,const QString&,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_slotInfoMessage);

    if (!meth)
    {
        KCompositeJob::slotInfoMessage(a0,a1,a2);
        return;
    }

    ((sipVH_kdecore_14)(sipModuleAPI_kio_kdecore->em_virthandlers[14]))(sipGILState,meth,a0,a1,a2);
}

void sipKIO_MetaInfoJob::start()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_start);

    if (!meth)
    {
        KIO::Job::start();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

QString sipKIO_MetaInfoJob::errorString() const
{
    typedef QString (*sipVH_QtCore_58)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KIO::Job::errorString();

    return ((sipVH_QtCore_58)(sipModuleAPI_kio_QtCore->em_virthandlers[58]))(sipGILState,meth);
}

bool sipKIO_MetaInfoJob::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QObject::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_kio_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipKIO_MetaInfoJob::eventFilter(QObject *a0,QEvent *a1)
{
    typedef bool (*sipVH_QtCore_21)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_eventFilter);

    if (!meth)
        return QObject::eventFilter(a0,a1);

    return ((sipVH_QtCore_21)(sipModuleAPI_kio_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

void sipKIO_MetaInfoJob::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    ((sipVH_QtCore_3)(sipModuleAPI_kio_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKIO_MetaInfoJob::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    ((sipVH_QtCore_20)(sipModuleAPI_kio_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKIO_MetaInfoJob::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKIO_MetaInfoJob::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKIO_MetaInfoJob::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

int sipKIO_MetaInfoJob::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKIO_MetaInfoJob::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKIO_MetaInfoJob::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKIO_MetaInfoJob::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKIO_MetaInfoJob::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKIO_MetaInfoJob::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

void sipKIO_MetaInfoJob::sipProtect_setCapabilities(KJob::Capabilities a0)
{
    KJob::setCapabilities(a0);
}

void sipKIO_MetaInfoJob::sipProtect_setError(int a0)
{
    KJob::setError(a0);
}

void sipKIO_MetaInfoJob::sipProtect_setErrorText(const QString& a0)
{
    KJob::setErrorText(a0);
}

void sipKIO_MetaInfoJob::sipProtect_setProcessedAmount(KJob::Unit a0,qulonglong a1)
{
    KJob::setProcessedAmount(a0,a1);
}

void sipKIO_MetaInfoJob::sipProtect_setTotalAmount(KJob::Unit a0,qulonglong a1)
{
    KJob::setTotalAmount(a0,a1);
}

void sipKIO_MetaInfoJob::sipProtect_setPercent(unsigned long a0)
{
    KJob::setPercent(a0);
}

void sipKIO_MetaInfoJob::sipProtect_emitResult()
{
    KJob::emitResult();
}

void sipKIO_MetaInfoJob::sipProtect_emitPercent(qulonglong a0,qulonglong a1)
{
    KJob::emitPercent(a0,a1);
}

void sipKIO_MetaInfoJob::sipProtect_emitSpeed(unsigned long a0)
{
    KJob::emitSpeed(a0);
}

bool sipKIO_MetaInfoJob::sipProtect_hasSubjobs()
{
    return KCompositeJob::hasSubjobs();
}

const QList<KJob *>& sipKIO_MetaInfoJob::sipProtect_subjobs() const
{
    return KCompositeJob::subjobs();
}

void sipKIO_MetaInfoJob::sipProtect_clearSubjobs()
{
    KCompositeJob::clearSubjobs();
}

void sipKIO_MetaInfoJob::sipProtectVirt_slotInfoMessage(bool sipSelfWasArg,KJob *a0,const QString& a1,const QString& a2)
{
    (sipSelfWasArg ? KCompositeJob::slotInfoMessage(a0,a1,a2) : slotInfoMessage(a0,a1,a2));
}

bool sipKIO_MetaInfoJob::sipProtectVirt_doKill(bool sipSelfWasArg)
{
    return (sipSelfWasArg ? KIO::Job::doKill() : doKill());
}

bool sipKIO_MetaInfoJob::sipProtectVirt_doSuspend(bool sipSelfWasArg)
{
    return (sipSelfWasArg ? KIO::Job::doSuspend() : doSuspend());
}

bool sipKIO_MetaInfoJob::sipProtectVirt_doResume(bool sipSelfWasArg)
{
    return (sipSelfWasArg ? KIO::Job::doResume() : doResume());
}

bool sipKIO_MetaInfoJob::sipProtectVirt_addSubjob(bool sipSelfWasArg,KJob *a0)
{
    return (sipSelfWasArg ? KIO::Job::addSubjob(a0) : addSubjob(a0));
}

bool sipKIO_MetaInfoJob::sipProtectVirt_removeSubjob(bool sipSelfWasArg,KJob *a0)
{
    return (sipSelfWasArg ? KIO::Job::removeSubjob(a0) : removeSubjob(a0));
}

void sipKIO_MetaInfoJob::sipProtect_getMetaInfo()
{
    KIO::MetaInfoJob::getMetaInfo();
}

void sipKIO_MetaInfoJob::sipProtectVirt_slotResult(bool sipSelfWasArg,KJob *a0)
{
    (sipSelfWasArg ? KIO::MetaInfoJob::slotResult(a0) : slotResult(a0));
}


extern "C" {static PyObject *meth_KIO_MetaInfoJob_receivers(PyObject *, PyObject *);}
static PyObject *meth_KIO_MetaInfoJob_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipKIO_MetaInfoJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KIO_MetaInfoJob,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 4987 "sipkiopart1.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_MetaInfoJob,sipName_receivers);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_MetaInfoJob_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_MetaInfoJob_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKIO_MetaInfoJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KIO_MetaInfoJob,&sipCpp,sipType_QTimerEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_MetaInfoJob,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_MetaInfoJob_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_MetaInfoJob_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKIO_MetaInfoJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KIO_MetaInfoJob,&sipCpp,sipType_QChildEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_MetaInfoJob,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_MetaInfoJob_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_MetaInfoJob_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKIO_MetaInfoJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KIO_MetaInfoJob,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_MetaInfoJob,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_MetaInfoJob_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KIO_MetaInfoJob_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKIO_MetaInfoJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KIO_MetaInfoJob,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_MetaInfoJob,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_MetaInfoJob_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KIO_MetaInfoJob_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKIO_MetaInfoJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KIO_MetaInfoJob,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_MetaInfoJob,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_MetaInfoJob_setCapabilities(PyObject *, PyObject *);}
static PyObject *meth_KIO_MetaInfoJob_setCapabilities(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KJob::Capabilities * a0;
        int a0State = 0;
        sipKIO_MetaInfoJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&sipSelf,sipType_KIO_MetaInfoJob,&sipCpp,sipType_KJob_Capabilities,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setCapabilities(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KJob_Capabilities,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_MetaInfoJob,sipName_setCapabilities);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_MetaInfoJob_setError(PyObject *, PyObject *);}
static PyObject *meth_KIO_MetaInfoJob_setError(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        int a0;
        sipKIO_MetaInfoJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pi",&sipSelf,sipType_KIO_MetaInfoJob,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setError(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_MetaInfoJob,sipName_setError);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_MetaInfoJob_setErrorText(PyObject *, PyObject *);}
static PyObject *meth_KIO_MetaInfoJob_setErrorText(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        sipKIO_MetaInfoJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&sipSelf,sipType_KIO_MetaInfoJob,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setErrorText(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_MetaInfoJob,sipName_setErrorText);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_MetaInfoJob_setProcessedAmount(PyObject *, PyObject *);}
static PyObject *meth_KIO_MetaInfoJob_setProcessedAmount(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KJob::Unit a0;
        qulonglong a1;
        sipKIO_MetaInfoJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pEo",&sipSelf,sipType_KIO_MetaInfoJob,&sipCpp,sipType_KJob_Unit,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setProcessedAmount(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_MetaInfoJob,sipName_setProcessedAmount);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_MetaInfoJob_setTotalAmount(PyObject *, PyObject *);}
static PyObject *meth_KIO_MetaInfoJob_setTotalAmount(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KJob::Unit a0;
        qulonglong a1;
        sipKIO_MetaInfoJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pEo",&sipSelf,sipType_KIO_MetaInfoJob,&sipCpp,sipType_KJob_Unit,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setTotalAmount(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_MetaInfoJob,sipName_setTotalAmount);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_MetaInfoJob_setPercent(PyObject *, PyObject *);}
static PyObject *meth_KIO_MetaInfoJob_setPercent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        unsigned long a0;
        sipKIO_MetaInfoJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pm",&sipSelf,sipType_KIO_MetaInfoJob,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setPercent(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_MetaInfoJob,sipName_setPercent);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_MetaInfoJob_emitResult(PyObject *, PyObject *);}
static PyObject *meth_KIO_MetaInfoJob_emitResult(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKIO_MetaInfoJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KIO_MetaInfoJob,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_emitResult();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_MetaInfoJob,sipName_emitResult);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_MetaInfoJob_emitPercent(PyObject *, PyObject *);}
static PyObject *meth_KIO_MetaInfoJob_emitPercent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        qulonglong a0;
        qulonglong a1;
        sipKIO_MetaInfoJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"poo",&sipSelf,sipType_KIO_MetaInfoJob,&sipCpp,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_emitPercent(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_MetaInfoJob,sipName_emitPercent);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_MetaInfoJob_emitSpeed(PyObject *, PyObject *);}
static PyObject *meth_KIO_MetaInfoJob_emitSpeed(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        unsigned long a0;
        sipKIO_MetaInfoJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pm",&sipSelf,sipType_KIO_MetaInfoJob,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_emitSpeed(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_MetaInfoJob,sipName_emitSpeed);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_MetaInfoJob_hasSubjobs(PyObject *, PyObject *);}
static PyObject *meth_KIO_MetaInfoJob_hasSubjobs(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKIO_MetaInfoJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KIO_MetaInfoJob,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_hasSubjobs();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_MetaInfoJob,sipName_hasSubjobs);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_MetaInfoJob_subjobs(PyObject *, PyObject *);}
static PyObject *meth_KIO_MetaInfoJob_subjobs(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKIO_MetaInfoJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KIO_MetaInfoJob,&sipCpp))
        {
            QList<KJob *> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<KJob *>(sipCpp->sipProtect_subjobs());
            Py_END_ALLOW_THREADS

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_QList_0201KJob,NULL);
            delete sipRes;

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_MetaInfoJob,sipName_subjobs);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_MetaInfoJob_clearSubjobs(PyObject *, PyObject *);}
static PyObject *meth_KIO_MetaInfoJob_clearSubjobs(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKIO_MetaInfoJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KIO_MetaInfoJob,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_clearSubjobs();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_MetaInfoJob,sipName_clearSubjobs);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_MetaInfoJob_slotInfoMessage(PyObject *, PyObject *);}
static PyObject *meth_KIO_MetaInfoJob_slotInfoMessage(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KJob * a0;
        const QString * a1;
        int a1State = 0;
        const QString * a2;
        int a2State = 0;
        sipKIO_MetaInfoJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8J1J1",&sipSelf,sipType_KIO_MetaInfoJob,&sipCpp,sipType_KJob,&a0,sipType_QString,&a1,&a1State,sipType_QString,&a2,&a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_slotInfoMessage(sipSelfWasArg,a0,*a1,*a2);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_MetaInfoJob,sipName_slotInfoMessage);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_MetaInfoJob_doKill(PyObject *, PyObject *);}
static PyObject *meth_KIO_MetaInfoJob_doKill(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipKIO_MetaInfoJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KIO_MetaInfoJob,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_doKill(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_MetaInfoJob,sipName_doKill);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_MetaInfoJob_doSuspend(PyObject *, PyObject *);}
static PyObject *meth_KIO_MetaInfoJob_doSuspend(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipKIO_MetaInfoJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KIO_MetaInfoJob,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_doSuspend(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_MetaInfoJob,sipName_doSuspend);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_MetaInfoJob_doResume(PyObject *, PyObject *);}
static PyObject *meth_KIO_MetaInfoJob_doResume(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipKIO_MetaInfoJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KIO_MetaInfoJob,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_doResume(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_MetaInfoJob,sipName_doResume);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_MetaInfoJob_addSubjob(PyObject *, PyObject *);}
static PyObject *meth_KIO_MetaInfoJob_addSubjob(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KJob * a0;
        sipKIO_MetaInfoJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KIO_MetaInfoJob,&sipCpp,sipType_KJob,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_addSubjob(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_MetaInfoJob,sipName_addSubjob);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_MetaInfoJob_removeSubjob(PyObject *, PyObject *);}
static PyObject *meth_KIO_MetaInfoJob_removeSubjob(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KJob * a0;
        sipKIO_MetaInfoJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KIO_MetaInfoJob,&sipCpp,sipType_KJob,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_removeSubjob(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_MetaInfoJob,sipName_removeSubjob);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_MetaInfoJob_removeItem(PyObject *, PyObject *);}
static PyObject *meth_KIO_MetaInfoJob_removeItem(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KFileItem * a0;
        KIO::MetaInfoJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KIO_MetaInfoJob,&sipCpp,sipType_KFileItem,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeItem(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_MetaInfoJob,sipName_removeItem);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_MetaInfoJob_getMetaInfo(PyObject *, PyObject *);}
static PyObject *meth_KIO_MetaInfoJob_getMetaInfo(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKIO_MetaInfoJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KIO_MetaInfoJob,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_getMetaInfo();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_MetaInfoJob,sipName_getMetaInfo);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_MetaInfoJob_slotResult(PyObject *, PyObject *);}
static PyObject *meth_KIO_MetaInfoJob_slotResult(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KJob * a0;
        sipKIO_MetaInfoJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KIO_MetaInfoJob,&sipCpp,sipType_KJob,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_slotResult(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_MetaInfoJob,sipName_slotResult);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KIO_MetaInfoJob(void *, const sipTypeDef *);}
static void *cast_KIO_MetaInfoJob(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KIO_MetaInfoJob)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KIO_Job)->ctd_cast((KIO::Job *)(KIO::MetaInfoJob *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KIO_MetaInfoJob(void *, int);}
static void release_KIO_MetaInfoJob(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKIO_MetaInfoJob *>(sipCppV);
    else
        delete reinterpret_cast<KIO::MetaInfoJob *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KIO_MetaInfoJob(sipSimpleWrapper *);}
static void dealloc_KIO_MetaInfoJob(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKIO_MetaInfoJob *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KIO_MetaInfoJob(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KIO_MetaInfoJob(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KIO_MetaInfoJob(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipKIO_MetaInfoJob *sipCpp = 0;

    if (!sipCpp)
    {
        const KFileItemList * a0;
        KFileMetaInfo::WhatFlags a1def = KFileMetaInfo::Everything;
        KFileMetaInfo::WhatFlags * a1 = &a1def;
        int a1State = 0;
        int a2 = 3;
        int a3 = 6;
        const QStringList& a4def = QStringList();
        const QStringList * a4 = &a4def;
        int a4State = 0;
        const QStringList& a5def = QStringList();
        const QStringList * a5 = &a5def;
        int a5State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9|J1iiJ1J1",sipType_KFileItemList,&a0,sipType_KFileMetaInfo_WhatFlags,&a1,&a1State,&a2,&a3,sipType_QStringList,&a4,&a4State,sipType_QStringList,&a5,&a5State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKIO_MetaInfoJob(*a0,*a1,a2,a3,*a4,*a5);
            Py_END_ALLOW_THREADS

            sipReleaseType(a1,sipType_KFileMetaInfo_WhatFlags,a1State);
            sipReleaseType(const_cast<QStringList *>(a4),sipType_QStringList,a4State);
            sipReleaseType(const_cast<QStringList *>(a5),sipType_QStringList,a5State);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KIO_MetaInfoJob[] = {{118, 255, 1}};


static PyMethodDef methods_KIO_MetaInfoJob[] = {
    {SIP_MLNAME_CAST(sipName_addSubjob), meth_KIO_MetaInfoJob_addSubjob, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KIO_MetaInfoJob_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clearSubjobs), meth_KIO_MetaInfoJob_clearSubjobs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KIO_MetaInfoJob_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KIO_MetaInfoJob_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KIO_MetaInfoJob_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doKill), meth_KIO_MetaInfoJob_doKill, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doResume), meth_KIO_MetaInfoJob_doResume, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doSuspend), meth_KIO_MetaInfoJob_doSuspend, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_emitPercent), meth_KIO_MetaInfoJob_emitPercent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_emitResult), meth_KIO_MetaInfoJob_emitResult, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_emitSpeed), meth_KIO_MetaInfoJob_emitSpeed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getMetaInfo), meth_KIO_MetaInfoJob_getMetaInfo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasSubjobs), meth_KIO_MetaInfoJob_hasSubjobs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KIO_MetaInfoJob_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeItem), meth_KIO_MetaInfoJob_removeItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeSubjob), meth_KIO_MetaInfoJob_removeSubjob, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCapabilities), meth_KIO_MetaInfoJob_setCapabilities, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setError), meth_KIO_MetaInfoJob_setError, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setErrorText), meth_KIO_MetaInfoJob_setErrorText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPercent), meth_KIO_MetaInfoJob_setPercent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setProcessedAmount), meth_KIO_MetaInfoJob_setProcessedAmount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTotalAmount), meth_KIO_MetaInfoJob_setTotalAmount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotInfoMessage), meth_KIO_MetaInfoJob_slotInfoMessage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotResult), meth_KIO_MetaInfoJob_slotResult, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_subjobs), meth_KIO_MetaInfoJob_subjobs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KIO_MetaInfoJob_timerEvent, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KIO_MetaInfoJob[] = {
    {"failed(const KFileItem&)", 0},
    {"gotMetaInfo(const KFileItem&)", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_kio_KIO_MetaInfoJob = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIO__MetaInfoJob,
        {0}
    },
    sipNameNr_MetaInfoJob,
    -1,
    -1,
    {95, 255, 0},
    supers_KIO_MetaInfoJob,
    0,
    27, methods_KIO_MetaInfoJob,
    0, 0,
    0, 0,
    init_KIO_MetaInfoJob,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_MetaInfoJob,
    release_KIO_MetaInfoJob,
    cast_KIO_MetaInfoJob,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KIO::MetaInfoJob::staticMetaObject,
    0,
    pyqt4_signals_KIO_MetaInfoJob
};

#line 70 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kzip.sip"
#include <kzip.h>
#line 5905 "sipkiopart1.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kzip.sip"
#include <kzip.h>
#line 5909 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 5912 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 5915 "sipkiopart1.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 5918 "sipkiopart1.cpp"
#line 35 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/karchive.sip"
#include <karchive.h>
#line 5921 "sipkiopart1.cpp"
#line 321 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 5924 "sipkiopart1.cpp"


class sipKZipFileEntry : public KZipFileEntry
{
public:
    sipKZipFileEntry(KZip *,const QString&,int,int,const QString&,const QString&,const QString&,const QString&,qint64,qint64,int,qint64);
    virtual ~sipKZipFileEntry();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    KArchive * sipProtect_archive() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QByteArray data() const;
    QIODevice * createDevice() const;
    bool isFile() const;
    bool isDirectory() const;

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[4];
};

sipKZipFileEntry::sipKZipFileEntry(KZip *a0,const QString& a1,int a2,int a3,const QString& a4,const QString& a5,const QString& a6,const QString& a7,qint64 a8,qint64 a9,int a10,qint64 a11): KZipFileEntry(a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKZipFileEntry::~sipKZipFileEntry()
{
    sipCommonDtor(sipPySelf);
}

QByteArray sipKZipFileEntry::data() const
{
    typedef QByteArray (*sipVH_QtCore_10)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_data);

    if (!meth)
        return KZipFileEntry::data();

    return ((sipVH_QtCore_10)(sipModuleAPI_kio_QtCore->em_virthandlers[10]))(sipGILState,meth);
}

QIODevice * sipKZipFileEntry::createDevice() const
{
    extern QIODevice * sipVH_kio_20(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_createDevice);

    if (!meth)
        return KZipFileEntry::createDevice();

    return sipVH_kio_20(sipGILState,meth);
}

bool sipKZipFileEntry::isFile() const
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_isFile);

    if (!meth)
        return KArchiveFile::isFile();

    return ((sipVH_QtCore_1)(sipModuleAPI_kio_QtCore->em_virthandlers[1]))(sipGILState,meth);
}

bool sipKZipFileEntry::isDirectory() const
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_isDirectory);

    if (!meth)
        return KArchiveEntry::isDirectory();

    return ((sipVH_QtCore_1)(sipModuleAPI_kio_QtCore->em_virthandlers[1]))(sipGILState,meth);
}

KArchive * sipKZipFileEntry::sipProtect_archive() const
{
    return KArchiveEntry::archive();
}


extern "C" {static PyObject *meth_KZipFileEntry_archive(PyObject *, PyObject *);}
static PyObject *meth_KZipFileEntry_archive(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKZipFileEntry *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KZipFileEntry,&sipCpp))
        {
            KArchive *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_archive();
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KZipFileEntry,sipName_archive);

    return NULL;
}


extern "C" {static PyObject *meth_KZipFileEntry_encoding(PyObject *, PyObject *);}
static PyObject *meth_KZipFileEntry_encoding(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KZipFileEntry *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KZipFileEntry,&sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->encoding();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KZipFileEntry,sipName_encoding);

    return NULL;
}


extern "C" {static PyObject *meth_KZipFileEntry_compressedSize(PyObject *, PyObject *);}
static PyObject *meth_KZipFileEntry_compressedSize(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KZipFileEntry *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KZipFileEntry,&sipCpp))
        {
            qint64 sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->compressedSize();
            Py_END_ALLOW_THREADS

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KZipFileEntry,sipName_compressedSize);

    return NULL;
}


extern "C" {static PyObject *meth_KZipFileEntry_setCompressedSize(PyObject *, PyObject *);}
static PyObject *meth_KZipFileEntry_setCompressedSize(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        qint64 a0;
        KZipFileEntry *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bn",&sipSelf,sipType_KZipFileEntry,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCompressedSize(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KZipFileEntry,sipName_setCompressedSize);

    return NULL;
}


extern "C" {static PyObject *meth_KZipFileEntry_setHeaderStart(PyObject *, PyObject *);}
static PyObject *meth_KZipFileEntry_setHeaderStart(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        qint64 a0;
        KZipFileEntry *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bn",&sipSelf,sipType_KZipFileEntry,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setHeaderStart(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KZipFileEntry,sipName_setHeaderStart);

    return NULL;
}


extern "C" {static PyObject *meth_KZipFileEntry_headerStart(PyObject *, PyObject *);}
static PyObject *meth_KZipFileEntry_headerStart(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KZipFileEntry *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KZipFileEntry,&sipCpp))
        {
            qint64 sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->headerStart();
            Py_END_ALLOW_THREADS

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KZipFileEntry,sipName_headerStart);

    return NULL;
}


extern "C" {static PyObject *meth_KZipFileEntry_crc32(PyObject *, PyObject *);}
static PyObject *meth_KZipFileEntry_crc32(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KZipFileEntry *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KZipFileEntry,&sipCpp))
        {
            unsigned long sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->crc32();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KZipFileEntry,sipName_crc32);

    return NULL;
}


extern "C" {static PyObject *meth_KZipFileEntry_setCRC32(PyObject *, PyObject *);}
static PyObject *meth_KZipFileEntry_setCRC32(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        unsigned long a0;
        KZipFileEntry *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bm",&sipSelf,sipType_KZipFileEntry,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCRC32(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KZipFileEntry,sipName_setCRC32);

    return NULL;
}


extern "C" {static PyObject *meth_KZipFileEntry_path(PyObject *, PyObject *);}
static PyObject *meth_KZipFileEntry_path(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KZipFileEntry *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KZipFileEntry,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->path());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KZipFileEntry,sipName_path);

    return NULL;
}


extern "C" {static PyObject *meth_KZipFileEntry_data(PyObject *, PyObject *);}
static PyObject *meth_KZipFileEntry_data(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KZipFileEntry *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KZipFileEntry,&sipCpp))
        {
            QByteArray *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray((sipSelfWasArg ? sipCpp->KZipFileEntry::data() : sipCpp->data()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KZipFileEntry,sipName_data);

    return NULL;
}


extern "C" {static PyObject *meth_KZipFileEntry_createDevice(PyObject *, PyObject *);}
static PyObject *meth_KZipFileEntry_createDevice(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KZipFileEntry *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KZipFileEntry,&sipCpp))
        {
            QIODevice *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KZipFileEntry::createDevice() : sipCpp->createDevice());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KZipFileEntry,sipName_createDevice);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KZipFileEntry(void *, const sipTypeDef *);}
static void *cast_KZipFileEntry(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KZipFileEntry)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KArchiveFile)->ctd_cast((KArchiveFile *)(KZipFileEntry *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KZipFileEntry(void *, int);}
static void release_KZipFileEntry(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKZipFileEntry *>(sipCppV);
    else
        delete reinterpret_cast<KZipFileEntry *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KZipFileEntry(sipSimpleWrapper *);}
static void dealloc_KZipFileEntry(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKZipFileEntry *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KZipFileEntry(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KZipFileEntry(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KZipFileEntry(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipKZipFileEntry *sipCpp = 0;

    if (!sipCpp)
    {
        KZip * a0;
        const QString * a1;
        int a1State = 0;
        int a2;
        int a3;
        const QString * a4;
        int a4State = 0;
        const QString * a5;
        int a5State = 0;
        const QString * a6;
        int a6State = 0;
        const QString * a7;
        int a7State = 0;
        qint64 a8;
        qint64 a9;
        int a10;
        qint64 a11;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J8J1iiJ1J1J1J1nnin",sipType_KZip,&a0,sipType_QString,&a1,&a1State,&a2,&a3,sipType_QString,&a4,&a4State,sipType_QString,&a5,&a5State,sipType_QString,&a6,&a6State,sipType_QString,&a7,&a7State,&a8,&a9,&a10,&a11))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKZipFileEntry(a0,*a1,a2,a3,*a4,*a5,*a6,*a7,a8,a9,a10,a11);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a4),sipType_QString,a4State);
            sipReleaseType(const_cast<QString *>(a5),sipType_QString,a5State);
            sipReleaseType(const_cast<QString *>(a6),sipType_QString,a6State);
            sipReleaseType(const_cast<QString *>(a7),sipType_QString,a7State);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KZipFileEntry[] = {{9, 255, 1}};


static PyMethodDef methods_KZipFileEntry[] = {
    {SIP_MLNAME_CAST(sipName_archive), meth_KZipFileEntry_archive, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_compressedSize), meth_KZipFileEntry_compressedSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_crc32), meth_KZipFileEntry_crc32, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createDevice), meth_KZipFileEntry_createDevice, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_data), meth_KZipFileEntry_data, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_encoding), meth_KZipFileEntry_encoding, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_headerStart), meth_KZipFileEntry_headerStart, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_path), meth_KZipFileEntry_path, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCRC32), meth_KZipFileEntry_setCRC32, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCompressedSize), meth_KZipFileEntry_setCompressedSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHeaderStart), meth_KZipFileEntry_setHeaderStart, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kio_KZipFileEntry = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KZipFileEntry,
        {0}
    },
    sipNameNr_KZipFileEntry,
    -1,
    -1,
    {0, 0, 1},
    supers_KZipFileEntry,
    0,
    11, methods_KZipFileEntry,
    0, 0,
    0, 0,
    init_KZipFileEntry,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KZipFileEntry,
    release_KZipFileEntry,
    cast_KZipFileEntry,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kzip.sip"
#include <kzip.h>
#line 6490 "sipkiopart1.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 6494 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 6497 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 6500 "sipkiopart1.cpp"
#line 141 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/karchive.sip"
#include <karchive.h>
#line 6503 "sipkiopart1.cpp"


class sipKZip : public KZip
{
public:
    sipKZip(const QString&);
    sipKZip(QIODevice *);
    virtual ~sipKZip();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    KArchiveDirectory * sipProtectVirt_rootDir(bool);
    KArchiveDirectory * sipProtect_findOrCreate(const QString&);
    bool sipProtectVirt_createDevice(bool,QIODevice::OpenMode);
    void sipProtect_setDevice(QIODevice *);
    void sipProtect_setRootDir(KArchiveDirectory *);
    bool sipProtectVirt_doWriteSymLink(bool,const QString&,const QString&,const QString&,const QString&,mode_t,time_t,time_t,time_t);
    bool sipProtectVirt_doPrepareWriting(bool,const QString&,const QString&,const QString&,qint64,mode_t,time_t,time_t,time_t);
    bool sipProtectVirt_doFinishWriting(bool,qint64);
    bool sipProtectVirt_openArchive(bool,QIODevice::OpenMode);
    bool sipProtectVirt_closeArchive(bool);
    bool sipProtectVirt_doWriteDir(bool,const QString&,const QString&,const QString&,mode_t,time_t,time_t,time_t);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool writeData(const char *,qint64);
    bool doWriteSymLink(const QString&,const QString&,const QString&,const QString&,mode_t,time_t,time_t,time_t);
    bool doPrepareWriting(const QString&,const QString&,const QString&,qint64,mode_t,time_t,time_t,time_t);
    bool doFinishWriting(qint64);
    bool openArchive(QIODevice::OpenMode);
    bool closeArchive();
    bool doWriteDir(const QString&,const QString&,const QString&,mode_t,time_t,time_t,time_t);
    bool open(QIODevice::OpenMode);
    bool close();
    bool writeDir(const QString&,const QString&,const QString&,mode_t,time_t,time_t,time_t);
    bool writeSymLink(const QString&,const QString&,const QString&,const QString&,mode_t,time_t,time_t,time_t);
    bool writeFile(const QString&,const QString&,const QString&,const char *,qint64,mode_t,time_t,time_t,time_t);
    bool prepareWriting(const QString&,const QString&,const QString&,qint64,mode_t,time_t,time_t,time_t);
    bool finishWriting(qint64);
    KArchiveDirectory * rootDir();
    bool createDevice(QIODevice::OpenMode);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[16];
};

sipKZip::sipKZip(const QString& a0): KZip(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKZip::sipKZip(QIODevice *a0): KZip(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKZip::~sipKZip()
{
    sipCommonDtor(sipPySelf);
}

bool sipKZip::writeData(const char *a0,qint64 a1)
{
    extern bool sipVH_kio_24(sip_gilstate_t,PyObject *,const char *,PY_LONG_LONG);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_writeData);

    if (!meth)
        return KZip::writeData(a0,a1);

    return sipVH_kio_24(sipGILState,meth,a0,a1);
}

bool sipKZip::doWriteSymLink(const QString& a0,const QString& a1,const QString& a2,const QString& a3,mode_t a4,time_t a5,time_t a6,time_t a7)
{
    extern bool sipVH_kio_23(sip_gilstate_t,PyObject *,const QString&,const QString&,const QString&,const QString&,unsigned,long,long,long);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_doWriteSymLink);

    if (!meth)
        return KZip::doWriteSymLink(a0,a1,a2,a3,a4,a5,a6,a7);

    return sipVH_kio_23(sipGILState,meth,a0,a1,a2,a3,a4,a5,a6,a7);
}

bool sipKZip::doPrepareWriting(const QString& a0,const QString& a1,const QString& a2,qint64 a3,mode_t a4,time_t a5,time_t a6,time_t a7)
{
    extern bool sipVH_kio_22(sip_gilstate_t,PyObject *,const QString&,const QString&,const QString&,PY_LONG_LONG,unsigned,long,long,long);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_doPrepareWriting);

    if (!meth)
        return KZip::doPrepareWriting(a0,a1,a2,a3,a4,a5,a6,a7);

    return sipVH_kio_22(sipGILState,meth,a0,a1,a2,a3,a4,a5,a6,a7);
}

bool sipKZip::doFinishWriting(qint64 a0)
{
    typedef bool (*sipVH_QtCore_28)(sip_gilstate_t,PyObject *,PY_LONG_LONG);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_doFinishWriting);

    if (!meth)
        return KZip::doFinishWriting(a0);

    return ((sipVH_QtCore_28)(sipModuleAPI_kio_QtCore->em_virthandlers[28]))(sipGILState,meth,a0);
}

bool sipKZip::openArchive(QIODevice::OpenMode a0)
{
    typedef bool (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *,QIODevice::OpenMode);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_openArchive);

    if (!meth)
        return KZip::openArchive(a0);

    return ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState,meth,a0);
}

bool sipKZip::closeArchive()
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_closeArchive);

    if (!meth)
        return KZip::closeArchive();

    return ((sipVH_QtCore_1)(sipModuleAPI_kio_QtCore->em_virthandlers[1]))(sipGILState,meth);
}

bool sipKZip::doWriteDir(const QString& a0,const QString& a1,const QString& a2,mode_t a3,time_t a4,time_t a5,time_t a6)
{
    extern bool sipVH_kio_21(sip_gilstate_t,PyObject *,const QString&,const QString&,const QString&,unsigned,long,long,long);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_doWriteDir);

    if (!meth)
        return KZip::doWriteDir(a0,a1,a2,a3,a4,a5,a6);

    return sipVH_kio_21(sipGILState,meth,a0,a1,a2,a3,a4,a5,a6);
}

bool sipKZip::open(QIODevice::OpenMode a0)
{
    typedef bool (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *,QIODevice::OpenMode);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_open);

    if (!meth)
        return KArchive::open(a0);

    return ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState,meth,a0);
}

bool sipKZip::close()
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_close);

    if (!meth)
        return KArchive::close();

    return ((sipVH_QtCore_1)(sipModuleAPI_kio_QtCore->em_virthandlers[1]))(sipGILState,meth);
}

bool sipKZip::writeDir(const QString& a0,const QString& a1,const QString& a2,mode_t a3,time_t a4,time_t a5,time_t a6)
{
    extern bool sipVH_kio_21(sip_gilstate_t,PyObject *,const QString&,const QString&,const QString&,unsigned,long,long,long);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_writeDir);

    if (!meth)
        return KArchive::writeDir(a0,a1,a2,a3,a4,a5,a6);

    return sipVH_kio_21(sipGILState,meth,a0,a1,a2,a3,a4,a5,a6);
}

bool sipKZip::writeSymLink(const QString& a0,const QString& a1,const QString& a2,const QString& a3,mode_t a4,time_t a5,time_t a6,time_t a7)
{
    extern bool sipVH_kio_23(sip_gilstate_t,PyObject *,const QString&,const QString&,const QString&,const QString&,unsigned,long,long,long);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_writeSymLink);

    if (!meth)
        return KArchive::writeSymLink(a0,a1,a2,a3,a4,a5,a6,a7);

    return sipVH_kio_23(sipGILState,meth,a0,a1,a2,a3,a4,a5,a6,a7);
}

bool sipKZip::writeFile(const QString& a0,const QString& a1,const QString& a2,const char *a3,qint64 a4,mode_t a5,time_t a6,time_t a7,time_t a8)
{
    extern bool sipVH_kio_42(sip_gilstate_t,PyObject *,const QString&,const QString&,const QString&,const char *,PY_LONG_LONG,unsigned,long,long,long);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_writeFile);

    if (!meth)
        return KArchive::writeFile(a0,a1,a2,a3,a4,a5,a6,a7,a8);

    return sipVH_kio_42(sipGILState,meth,a0,a1,a2,a3,a4,a5,a6,a7,a8);
}

bool sipKZip::prepareWriting(const QString& a0,const QString& a1,const QString& a2,qint64 a3,mode_t a4,time_t a5,time_t a6,time_t a7)
{
    extern bool sipVH_kio_22(sip_gilstate_t,PyObject *,const QString&,const QString&,const QString&,PY_LONG_LONG,unsigned,long,long,long);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_prepareWriting);

    if (!meth)
        return KArchive::prepareWriting(a0,a1,a2,a3,a4,a5,a6,a7);

    return sipVH_kio_22(sipGILState,meth,a0,a1,a2,a3,a4,a5,a6,a7);
}

bool sipKZip::finishWriting(qint64 a0)
{
    typedef bool (*sipVH_QtCore_28)(sip_gilstate_t,PyObject *,PY_LONG_LONG);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_finishWriting);

    if (!meth)
        return KArchive::finishWriting(a0);

    return ((sipVH_QtCore_28)(sipModuleAPI_kio_QtCore->em_virthandlers[28]))(sipGILState,meth,a0);
}

KArchiveDirectory * sipKZip::rootDir()
{
    extern KArchiveDirectory * sipVH_kio_41(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_rootDir);

    if (!meth)
        return KArchive::rootDir();

    return sipVH_kio_41(sipGILState,meth);
}

bool sipKZip::createDevice(QIODevice::OpenMode a0)
{
    typedef bool (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *,QIODevice::OpenMode);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_createDevice);

    if (!meth)
        return KArchive::createDevice(a0);

    return ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState,meth,a0);
}

KArchiveDirectory * sipKZip::sipProtectVirt_rootDir(bool sipSelfWasArg)
{
    return (sipSelfWasArg ? KArchive::rootDir() : rootDir());
}

KArchiveDirectory * sipKZip::sipProtect_findOrCreate(const QString& a0)
{
    return KArchive::findOrCreate(a0);
}

bool sipKZip::sipProtectVirt_createDevice(bool sipSelfWasArg,QIODevice::OpenMode a0)
{
    return (sipSelfWasArg ? KArchive::createDevice(a0) : createDevice(a0));
}

void sipKZip::sipProtect_setDevice(QIODevice *a0)
{
    KArchive::setDevice(a0);
}

void sipKZip::sipProtect_setRootDir(KArchiveDirectory *a0)
{
    KArchive::setRootDir(a0);
}

bool sipKZip::sipProtectVirt_doWriteSymLink(bool sipSelfWasArg,const QString& a0,const QString& a1,const QString& a2,const QString& a3,mode_t a4,time_t a5,time_t a6,time_t a7)
{
    return (sipSelfWasArg ? KZip::doWriteSymLink(a0,a1,a2,a3,a4,a5,a6,a7) : doWriteSymLink(a0,a1,a2,a3,a4,a5,a6,a7));
}

bool sipKZip::sipProtectVirt_doPrepareWriting(bool sipSelfWasArg,const QString& a0,const QString& a1,const QString& a2,qint64 a3,mode_t a4,time_t a5,time_t a6,time_t a7)
{
    return (sipSelfWasArg ? KZip::doPrepareWriting(a0,a1,a2,a3,a4,a5,a6,a7) : doPrepareWriting(a0,a1,a2,a3,a4,a5,a6,a7));
}

bool sipKZip::sipProtectVirt_doFinishWriting(bool sipSelfWasArg,qint64 a0)
{
    return (sipSelfWasArg ? KZip::doFinishWriting(a0) : doFinishWriting(a0));
}

bool sipKZip::sipProtectVirt_openArchive(bool sipSelfWasArg,QIODevice::OpenMode a0)
{
    return (sipSelfWasArg ? KZip::openArchive(a0) : openArchive(a0));
}

bool sipKZip::sipProtectVirt_closeArchive(bool sipSelfWasArg)
{
    return (sipSelfWasArg ? KZip::closeArchive() : closeArchive());
}

bool sipKZip::sipProtectVirt_doWriteDir(bool sipSelfWasArg,const QString& a0,const QString& a1,const QString& a2,mode_t a3,time_t a4,time_t a5,time_t a6)
{
    return (sipSelfWasArg ? KZip::doWriteDir(a0,a1,a2,a3,a4,a5,a6) : doWriteDir(a0,a1,a2,a3,a4,a5,a6));
}


extern "C" {static PyObject *meth_KZip_rootDir(PyObject *, PyObject *);}
static PyObject *meth_KZip_rootDir(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipKZip *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KZip,&sipCpp))
        {
            KArchiveDirectory *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_rootDir(sipSelfWasArg);
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KZip,sipName_rootDir);

    return NULL;
}


extern "C" {static PyObject *meth_KZip_findOrCreate(PyObject *, PyObject *);}
static PyObject *meth_KZip_findOrCreate(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        sipKZip *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&sipSelf,sipType_KZip,&sipCpp,sipType_QString,&a0,&a0State))
        {
            KArchiveDirectory *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_findOrCreate(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KZip,sipName_findOrCreate);

    return NULL;
}


extern "C" {static PyObject *meth_KZip_createDevice(PyObject *, PyObject *);}
static PyObject *meth_KZip_createDevice(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QIODevice::OpenMode * a0;
        int a0State = 0;
        sipKZip *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&sipSelf,sipType_KZip,&sipCpp,sipType_QIODevice_OpenMode,&a0,&a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_createDevice(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_QIODevice_OpenMode,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KZip,sipName_createDevice);

    return NULL;
}


extern "C" {static PyObject *meth_KZip_setDevice(PyObject *, PyObject *);}
static PyObject *meth_KZip_setDevice(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        QIODevice * a0;
        sipKZip *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KZip,&sipCpp,sipType_QIODevice,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setDevice(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KZip,sipName_setDevice);

    return NULL;
}


extern "C" {static PyObject *meth_KZip_setRootDir(PyObject *, PyObject *);}
static PyObject *meth_KZip_setRootDir(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KArchiveDirectory * a0;
        sipKZip *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KZip,&sipCpp,sipType_KArchiveDirectory,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setRootDir(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KZip,sipName_setRootDir);

    return NULL;
}


extern "C" {static PyObject *meth_KZip_setExtraField(PyObject *, PyObject *);}
static PyObject *meth_KZip_setExtraField(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KZip::ExtraField a0;
        KZip *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BE",&sipSelf,sipType_KZip,&sipCpp,sipType_KZip_ExtraField,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setExtraField(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KZip,sipName_setExtraField);

    return NULL;
}


extern "C" {static PyObject *meth_KZip_extraField(PyObject *, PyObject *);}
static PyObject *meth_KZip_extraField(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KZip *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KZip,&sipCpp))
        {
            KZip::ExtraField sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->extraField();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KZip_ExtraField);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KZip,sipName_extraField);

    return NULL;
}


extern "C" {static PyObject *meth_KZip_setCompression(PyObject *, PyObject *);}
static PyObject *meth_KZip_setCompression(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KZip::Compression a0;
        KZip *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BE",&sipSelf,sipType_KZip,&sipCpp,sipType_KZip_Compression,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCompression(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KZip,sipName_setCompression);

    return NULL;
}


extern "C" {static PyObject *meth_KZip_compression(PyObject *, PyObject *);}
static PyObject *meth_KZip_compression(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KZip *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KZip,&sipCpp))
        {
            KZip::Compression sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->compression();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KZip_Compression);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KZip,sipName_compression);

    return NULL;
}


extern "C" {static PyObject *meth_KZip_writeData(PyObject *, PyObject *);}
static PyObject *meth_KZip_writeData(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const char * a0;
        PyObject *a0Keep;
        qint64 a1;
        KZip *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BAAn",&sipSelf,sipType_KZip,&sipCpp,&a0Keep,&a0,&a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KZip::writeData(a0,a1) : sipCpp->writeData(a0,a1));
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KZip,sipName_writeData);

    return NULL;
}


extern "C" {static PyObject *meth_KZip_doWriteSymLink(PyObject *, PyObject *);}
static PyObject *meth_KZip_doWriteSymLink(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        const QString * a2;
        int a2State = 0;
        const QString * a3;
        int a3State = 0;
        mode_t a4;
        time_t a5;
        time_t a6;
        time_t a7;
        sipKZip *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1J1J1J1ulll",&sipSelf,sipType_KZip,&sipCpp,sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,sipType_QString,&a2,&a2State,sipType_QString,&a3,&a3State,&a4,&a5,&a6,&a7))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_doWriteSymLink(sipSelfWasArg,*a0,*a1,*a2,*a3,a4,a5,a6,a7);
            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(const_cast<QString *>(a3),sipType_QString,a3State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KZip,sipName_doWriteSymLink);

    return NULL;
}


extern "C" {static PyObject *meth_KZip_doPrepareWriting(PyObject *, PyObject *);}
static PyObject *meth_KZip_doPrepareWriting(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        const QString * a2;
        int a2State = 0;
        qint64 a3;
        mode_t a4;
        time_t a5;
        time_t a6;
        time_t a7;
        sipKZip *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1J1J1nulll",&sipSelf,sipType_KZip,&sipCpp,sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,sipType_QString,&a2,&a2State,&a3,&a4,&a5,&a6,&a7))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_doPrepareWriting(sipSelfWasArg,*a0,*a1,*a2,a3,a4,a5,a6,a7);
            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);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KZip,sipName_doPrepareWriting);

    return NULL;
}


extern "C" {static PyObject *meth_KZip_doFinishWriting(PyObject *, PyObject *);}
static PyObject *meth_KZip_doFinishWriting(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        qint64 a0;
        sipKZip *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pn",&sipSelf,sipType_KZip,&sipCpp,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_doFinishWriting(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KZip,sipName_doFinishWriting);

    return NULL;
}


extern "C" {static PyObject *meth_KZip_openArchive(PyObject *, PyObject *);}
static PyObject *meth_KZip_openArchive(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QIODevice::OpenMode * a0;
        int a0State = 0;
        sipKZip *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&sipSelf,sipType_KZip,&sipCpp,sipType_QIODevice_OpenMode,&a0,&a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_openArchive(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_QIODevice_OpenMode,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KZip,sipName_openArchive);

    return NULL;
}


extern "C" {static PyObject *meth_KZip_closeArchive(PyObject *, PyObject *);}
static PyObject *meth_KZip_closeArchive(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipKZip *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KZip,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_closeArchive(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KZip,sipName_closeArchive);

    return NULL;
}


extern "C" {static PyObject *meth_KZip_doWriteDir(PyObject *, PyObject *);}
static PyObject *meth_KZip_doWriteDir(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        const QString * a2;
        int a2State = 0;
        mode_t a3;
        time_t a4;
        time_t a5;
        time_t a6;
        sipKZip *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1J1J1ulll",&sipSelf,sipType_KZip,&sipCpp,sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,sipType_QString,&a2,&a2State,&a3,&a4,&a5,&a6))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_doWriteDir(sipSelfWasArg,*a0,*a1,*a2,a3,a4,a5,a6);
            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);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KZip,sipName_doWriteDir);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KZip(void *, const sipTypeDef *);}
static void *cast_KZip(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KZip)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KArchive)->ctd_cast((KArchive *)(KZip *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KZip(void *, int);}
static void release_KZip(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKZip *>(sipCppV);
    else
        delete reinterpret_cast<KZip *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KZip(sipSimpleWrapper *);}
static void dealloc_KZip(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKZip *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KZip(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KZip(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KZip(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipKZip *sipCpp = 0;

    if (!sipCpp)
    {
        const QString * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1",sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKZip(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
        }
    }

    if (!sipCpp)
    {
        QIODevice * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J8",sipType_QIODevice,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKZip(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KZip[] = {{6, 255, 1}};


static PyMethodDef methods_KZip[] = {
    {SIP_MLNAME_CAST(sipName_closeArchive), meth_KZip_closeArchive, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_compression), meth_KZip_compression, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createDevice), meth_KZip_createDevice, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doFinishWriting), meth_KZip_doFinishWriting, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doPrepareWriting), meth_KZip_doPrepareWriting, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doWriteDir), meth_KZip_doWriteDir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doWriteSymLink), meth_KZip_doWriteSymLink, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_extraField), meth_KZip_extraField, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_findOrCreate), meth_KZip_findOrCreate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_openArchive), meth_KZip_openArchive, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rootDir), meth_KZip_rootDir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCompression), meth_KZip_setCompression, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDevice), meth_KZip_setDevice, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setExtraField), meth_KZip_setExtraField, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRootDir), meth_KZip_setRootDir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeData), meth_KZip_writeData, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KZip[] = {
    {sipName_DefaultExtraField, KZip::DefaultExtraField, 219},
    {sipName_DeflateCompression, KZip::DeflateCompression, 218},
    {sipName_ModificationTime, KZip::ModificationTime, 219},
    {sipName_NoCompression, KZip::NoCompression, 218},
    {sipName_NoExtraField, KZip::NoExtraField, 219},
};


pyqt4ClassTypeDef pyqt4Type_kio_KZip = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KZip,
        {0}
    },
    sipNameNr_KZip,
    -1,
    -1,
    {0, 0, 1},
    supers_KZip,
    0,
    16, methods_KZip,
    5, enummembers_KZip,
    0, 0,
    init_KZip,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KZip,
    release_KZip,
    cast_KZip,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 34 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kurlpixmapprovider.sip"
#include <kurlpixmapprovider.h>
#line 7538 "sipkiopart1.cpp"

#line 46 "/usr/local/share/py-sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 7542 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 7545 "sipkiopart1.cpp"


class sipKUrlPixmapProvider : public KUrlPixmapProvider
{
public:
    sipKUrlPixmapProvider();
    virtual ~sipKUrlPixmapProvider();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QPixmap pixmapFor(const QString&,int);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[1];
};

sipKUrlPixmapProvider::sipKUrlPixmapProvider(): KUrlPixmapProvider(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKUrlPixmapProvider::~sipKUrlPixmapProvider()
{
    sipCommonDtor(sipPySelf);
}

QPixmap sipKUrlPixmapProvider::pixmapFor(const QString& a0,int a1)
{
    typedef QPixmap (*sipVH_kdeui_52)(sip_gilstate_t,PyObject *,const QString&,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_pixmapFor);

    if (!meth)
        return KUrlPixmapProvider::pixmapFor(a0,a1);

    return ((sipVH_kdeui_52)(sipModuleAPI_kio_kdeui->em_virthandlers[52]))(sipGILState,meth,a0,a1);
}


extern "C" {static PyObject *meth_KUrlPixmapProvider_pixmapFor(PyObject *, PyObject *);}
static PyObject *meth_KUrlPixmapProvider_pixmapFor(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        int a1 = 0;
        KUrlPixmapProvider *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1|i",&sipSelf,sipType_KUrlPixmapProvider,&sipCpp,sipType_QString,&a0,&a0State,&a1))
        {
            QPixmap *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPixmap((sipSelfWasArg ? sipCpp->KUrlPixmapProvider::pixmapFor(*a0,a1) : sipCpp->pixmapFor(*a0,a1)));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QPixmap,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUrlPixmapProvider,sipName_pixmapFor);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KUrlPixmapProvider(void *, const sipTypeDef *);}
static void *cast_KUrlPixmapProvider(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KUrlPixmapProvider)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KPixmapProvider)->ctd_cast((KPixmapProvider *)(KUrlPixmapProvider *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KUrlPixmapProvider(void *, int);}
static void release_KUrlPixmapProvider(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKUrlPixmapProvider *>(sipCppV);
    else
        delete reinterpret_cast<KUrlPixmapProvider *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KUrlPixmapProvider(sipSimpleWrapper *);}
static void dealloc_KUrlPixmapProvider(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKUrlPixmapProvider *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KUrlPixmapProvider(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KUrlPixmapProvider(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KUrlPixmapProvider(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipKUrlPixmapProvider *sipCpp = 0;

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKUrlPixmapProvider();
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KUrlPixmapProvider[] = {{201, 6, 1}};


static PyMethodDef methods_KUrlPixmapProvider[] = {
    {SIP_MLNAME_CAST(sipName_pixmapFor), meth_KUrlPixmapProvider_pixmapFor, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kio_KUrlPixmapProvider = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KUrlPixmapProvider,
        {0}
    },
    sipNameNr_KUrlPixmapProvider,
    -1,
    -1,
    {0, 0, 1},
    supers_KUrlPixmapProvider,
    0,
    1, methods_KUrlPixmapProvider,
    0, 0,
    0, 0,
    init_KUrlPixmapProvider,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KUrlPixmapProvider,
    release_KUrlPixmapProvider,
    cast_KUrlPixmapProvider,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 94 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kurifilter.sip"
#include <kurifilter.h>
#line 7752 "sipkiopart1.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 7756 "sipkiopart1.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 7759 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 7762 "sipkiopart1.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kurifilter.sip"
#include <kurifilter.h>
#line 7765 "sipkiopart1.cpp"


class sipKUriFilter : public KUriFilter
{
public:
    sipKUriFilter();
    ~sipKUriFilter();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_loadPlugins();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKUriFilter(const sipKUriFilter &);
    sipKUriFilter &operator = (const sipKUriFilter &);
};

sipKUriFilter::sipKUriFilter(): KUriFilter(), sipPySelf(0)
{
}

sipKUriFilter::~sipKUriFilter()
{
    sipCommonDtor(sipPySelf);
}

void sipKUriFilter::sipProtect_loadPlugins()
{
    KUriFilter::loadPlugins();
}


extern "C" {static PyObject *meth_KUriFilter_self(PyObject *, PyObject *);}
static PyObject *meth_KUriFilter_self(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KUriFilter *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KUriFilter::self();
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUriFilter,sipName_self);

    return NULL;
}


extern "C" {static PyObject *meth_KUriFilter_filterUri(PyObject *, PyObject *);}
static PyObject *meth_KUriFilter_filterUri(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KUriFilterData * a0;
        const QStringList& a1def = QStringList();
        const QStringList * a1 = &a1def;
        int a1State = 0;
        KUriFilter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9|J1",&sipSelf,sipType_KUriFilter,&sipCpp,sipType_KUriFilterData,&a0,sipType_QStringList,&a1,&a1State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->filterUri(*a0,*a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QStringList *>(a1),sipType_QStringList,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        KUrl * a0;
        const QStringList& a1def = QStringList();
        const QStringList * a1 = &a1def;
        int a1State = 0;
        KUriFilter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9|J1",&sipSelf,sipType_KUriFilter,&sipCpp,sipType_KUrl,&a0,sipType_QStringList,&a1,&a1State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->filterUri(*a0,*a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QStringList *>(a1),sipType_QStringList,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        QString * a0;
        int a0State = 0;
        const QStringList& a1def = QStringList();
        const QStringList * a1 = &a1def;
        int a1State = 0;
        KUriFilter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1|J1",&sipSelf,sipType_KUriFilter,&sipCpp,sipType_QString,&a0,&a0State,sipType_QStringList,&a1,&a1State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->filterUri(*a0,*a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_QString,a0State);
            sipReleaseType(const_cast<QStringList *>(a1),sipType_QStringList,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUriFilter,sipName_filterUri);

    return NULL;
}


extern "C" {static PyObject *meth_KUriFilter_filteredUri(PyObject *, PyObject *);}
static PyObject *meth_KUriFilter_filteredUri(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;
        const QStringList& a1def = QStringList();
        const QStringList * a1 = &a1def;
        int a1State = 0;
        KUriFilter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9|J1",&sipSelf,sipType_KUriFilter,&sipCpp,sipType_KUrl,&a0,sipType_QStringList,&a1,&a1State))
        {
            KUrl *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(sipCpp->filteredUri(*a0,*a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QStringList *>(a1),sipType_QStringList,a1State);

            return sipConvertFromNewType(sipRes,sipType_KUrl,NULL);
        }
    }

    {
        const QString * a0;
        int a0State = 0;
        const QStringList& a1def = QStringList();
        const QStringList * a1 = &a1def;
        int a1State = 0;
        KUriFilter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1|J1",&sipSelf,sipType_KUriFilter,&sipCpp,sipType_QString,&a0,&a0State,sipType_QStringList,&a1,&a1State))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->filteredUri(*a0,*a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QStringList *>(a1),sipType_QStringList,a1State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUriFilter,sipName_filteredUri);

    return NULL;
}


extern "C" {static PyObject *meth_KUriFilter_pluginNames(PyObject *, PyObject *);}
static PyObject *meth_KUriFilter_pluginNames(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KUriFilter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KUriFilter,&sipCpp))
        {
            QStringList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->pluginNames());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUriFilter,sipName_pluginNames);

    return NULL;
}


extern "C" {static PyObject *meth_KUriFilter_loadPlugins(PyObject *, PyObject *);}
static PyObject *meth_KUriFilter_loadPlugins(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKUriFilter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KUriFilter,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_loadPlugins();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUriFilter,sipName_loadPlugins);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KUriFilter(void *, const sipTypeDef *);}
static void *cast_KUriFilter(void *ptr,const sipTypeDef *targetType)
{
    if (targetType == sipType_KUriFilter)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KUriFilter(void *, int);}
static void release_KUriFilter(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKUriFilter *>(sipCppV);
    else
        delete reinterpret_cast<KUriFilter *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KUriFilter(sipSimpleWrapper *);}
static void dealloc_KUriFilter(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKUriFilter *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KUriFilter(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KUriFilter(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KUriFilter(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipKUriFilter *sipCpp = 0;

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKUriFilter();
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


static PyMethodDef methods_KUriFilter[] = {
    {SIP_MLNAME_CAST(sipName_filterUri), meth_KUriFilter_filterUri, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_filteredUri), meth_KUriFilter_filteredUri, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_loadPlugins), meth_KUriFilter_loadPlugins, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pluginNames), meth_KUriFilter_pluginNames, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_self), meth_KUriFilter_self, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kio_KUriFilter = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KUriFilter,
        {0}
    },
    sipNameNr_KUriFilter,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {0, 0, 1},
    0,
    0,
    5, methods_KUriFilter,
    0, 0,
    0, 0,
    init_KUriFilter,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KUriFilter,
    release_KUriFilter,
    cast_KUriFilter,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 73 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kurifilter.sip"
#include <kurifilter.h>
#line 8131 "sipkiopart1.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 8135 "sipkiopart1.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 8138 "sipkiopart1.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kurifilter.sip"
#include <kurifilter.h>
#line 8141 "sipkiopart1.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 8144 "sipkiopart1.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kcmodule.sip"
#include <kcmodule.h>
#line 8147 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 8150 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8153 "sipkiopart1.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8156 "sipkiopart1.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8159 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 8162 "sipkiopart1.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 8193 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 8196 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 8199 "sipkiopart1.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 8202 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 8205 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 8208 "sipkiopart1.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8211 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 8214 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 8217 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 8220 "sipkiopart1.cpp"


class sipKUriFilterPlugin : public KUriFilterPlugin
{
public:
    sipKUriFilterPlugin(const QString&,QObject *);
    virtual ~sipKUriFilterPlugin();

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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    void sipProtect_setFilteredUri(KUriFilterData&,const KUrl&) const;
    void sipProtect_setErrorMsg(KUriFilterData&,const QString&) const;
    void sipProtect_setUriType(KUriFilterData&,KUriFilterData::UriTypes) const;
    void sipProtect_setArguments(KUriFilterData&,const QString&) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool filterUri(KUriFilterData&) const;
    KCModule * configModule(QWidget *,const char *) const;
    QString configName() 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 *);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[10];
};

sipKUriFilterPlugin::sipKUriFilterPlugin(const QString& a0,QObject *a1): KUriFilterPlugin(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKUriFilterPlugin::~sipKUriFilterPlugin()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKUriFilterPlugin::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KUriFilterPlugin);
}

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

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KUriFilterPlugin,_c,_id,_a);

    return _id;
}

void *sipKUriFilterPlugin::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast && sip_kio_qt_metacast(sipPySelf,sipType_KUriFilterPlugin,_clname)) ? this : KUriFilterPlugin::qt_metacast(_clname);
}

bool sipKUriFilterPlugin::filterUri(KUriFilterData& a0) const
{
    extern bool sipVH_kio_28(sip_gilstate_t,PyObject *,KUriFilterData&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,sipName_KUriFilterPlugin,sipName_filterUri);

    if (!meth)
        return 0;

    return sipVH_kio_28(sipGILState,meth,a0);
}

KCModule * sipKUriFilterPlugin::configModule(QWidget *a0,const char *a1) const
{
    extern KCModule * sipVH_kio_27(sip_gilstate_t,PyObject *,QWidget *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_configModule);

    if (!meth)
        return KUriFilterPlugin::configModule(a0,a1);

    return sipVH_kio_27(sipGILState,meth,a0,a1);
}

QString sipKUriFilterPlugin::configName() const
{
    typedef QString (*sipVH_QtCore_58)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_configName);

    if (!meth)
        return KUriFilterPlugin::configName();

    return ((sipVH_QtCore_58)(sipModuleAPI_kio_QtCore->em_virthandlers[58]))(sipGILState,meth);
}

bool sipKUriFilterPlugin::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QObject::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_kio_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipKUriFilterPlugin::eventFilter(QObject *a0,QEvent *a1)
{
    typedef bool (*sipVH_QtCore_21)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_eventFilter);

    if (!meth)
        return QObject::eventFilter(a0,a1);

    return ((sipVH_QtCore_21)(sipModuleAPI_kio_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

void sipKUriFilterPlugin::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    ((sipVH_QtCore_3)(sipModuleAPI_kio_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKUriFilterPlugin::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    ((sipVH_QtCore_20)(sipModuleAPI_kio_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKUriFilterPlugin::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKUriFilterPlugin::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKUriFilterPlugin::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

int sipKUriFilterPlugin::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKUriFilterPlugin::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKUriFilterPlugin::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKUriFilterPlugin::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKUriFilterPlugin::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKUriFilterPlugin::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

void sipKUriFilterPlugin::sipProtect_setFilteredUri(KUriFilterData& a0,const KUrl& a1) const
{
    KUriFilterPlugin::setFilteredUri(a0,a1);
}

void sipKUriFilterPlugin::sipProtect_setErrorMsg(KUriFilterData& a0,const QString& a1) const
{
    KUriFilterPlugin::setErrorMsg(a0,a1);
}

void sipKUriFilterPlugin::sipProtect_setUriType(KUriFilterData& a0,KUriFilterData::UriTypes a1) const
{
    KUriFilterPlugin::setUriType(a0,a1);
}

void sipKUriFilterPlugin::sipProtect_setArguments(KUriFilterData& a0,const QString& a1) const
{
    KUriFilterPlugin::setArguments(a0,a1);
}


extern "C" {static PyObject *meth_KUriFilterPlugin_receivers(PyObject *, PyObject *);}
static PyObject *meth_KUriFilterPlugin_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipKUriFilterPlugin *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KUriFilterPlugin,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 8545 "sipkiopart1.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUriFilterPlugin,sipName_receivers);

    return NULL;
}


extern "C" {static PyObject *meth_KUriFilterPlugin_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KUriFilterPlugin_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKUriFilterPlugin *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KUriFilterPlugin,&sipCpp,sipType_QTimerEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUriFilterPlugin,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KUriFilterPlugin_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KUriFilterPlugin_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKUriFilterPlugin *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KUriFilterPlugin,&sipCpp,sipType_QChildEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUriFilterPlugin,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KUriFilterPlugin_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KUriFilterPlugin_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKUriFilterPlugin *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KUriFilterPlugin,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUriFilterPlugin,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KUriFilterPlugin_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KUriFilterPlugin_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKUriFilterPlugin *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KUriFilterPlugin,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUriFilterPlugin,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KUriFilterPlugin_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KUriFilterPlugin_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKUriFilterPlugin *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KUriFilterPlugin,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUriFilterPlugin,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KUriFilterPlugin_filterUri(PyObject *, PyObject *);}
static PyObject *meth_KUriFilterPlugin_filterUri(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KUriFilterData * a0;
        KUriFilterPlugin *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KUriFilterPlugin,&sipCpp,sipType_KUriFilterData,&a0))
        {
            bool sipRes;

            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KUriFilterPlugin, sipName_filterUri);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->filterUri(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUriFilterPlugin,sipName_filterUri);

    return NULL;
}


extern "C" {static PyObject *meth_KUriFilterPlugin_configModule(PyObject *, PyObject *);}
static PyObject *meth_KUriFilterPlugin_configModule(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget * a0;
        const char * a1;
        PyObject *a1Keep;
        KUriFilterPlugin *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8AA",&sipSelf,sipType_KUriFilterPlugin,&sipCpp,sipType_QWidget,&a0,&a1Keep,&a1))
        {
            KCModule *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KUriFilterPlugin::configModule(a0,a1) : sipCpp->configModule(a0,a1));
            Py_END_ALLOW_THREADS
            Py_DECREF(a1Keep);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUriFilterPlugin,sipName_configModule);

    return NULL;
}


extern "C" {static PyObject *meth_KUriFilterPlugin_configName(PyObject *, PyObject *);}
static PyObject *meth_KUriFilterPlugin_configName(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KUriFilterPlugin *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KUriFilterPlugin,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString((sipSelfWasArg ? sipCpp->KUriFilterPlugin::configName() : sipCpp->configName()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUriFilterPlugin,sipName_configName);

    return NULL;
}


extern "C" {static PyObject *meth_KUriFilterPlugin_setFilteredUri(PyObject *, PyObject *);}
static PyObject *meth_KUriFilterPlugin_setFilteredUri(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KUriFilterData * a0;
        const KUrl * a1;
        sipKUriFilterPlugin *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9J9",&sipSelf,sipType_KUriFilterPlugin,&sipCpp,sipType_KUriFilterData,&a0,sipType_KUrl,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setFilteredUri(*a0,*a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUriFilterPlugin,sipName_setFilteredUri);

    return NULL;
}


extern "C" {static PyObject *meth_KUriFilterPlugin_setErrorMsg(PyObject *, PyObject *);}
static PyObject *meth_KUriFilterPlugin_setErrorMsg(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KUriFilterData * a0;
        const QString * a1;
        int a1State = 0;
        sipKUriFilterPlugin *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9J1",&sipSelf,sipType_KUriFilterPlugin,&sipCpp,sipType_KUriFilterData,&a0,sipType_QString,&a1,&a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setErrorMsg(*a0,*a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUriFilterPlugin,sipName_setErrorMsg);

    return NULL;
}


extern "C" {static PyObject *meth_KUriFilterPlugin_setUriType(PyObject *, PyObject *);}
static PyObject *meth_KUriFilterPlugin_setUriType(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KUriFilterData * a0;
        KUriFilterData::UriTypes a1;
        sipKUriFilterPlugin *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9E",&sipSelf,sipType_KUriFilterPlugin,&sipCpp,sipType_KUriFilterData,&a0,sipType_KUriFilterData_UriTypes,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setUriType(*a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUriFilterPlugin,sipName_setUriType);

    return NULL;
}


extern "C" {static PyObject *meth_KUriFilterPlugin_setArguments(PyObject *, PyObject *);}
static PyObject *meth_KUriFilterPlugin_setArguments(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KUriFilterData * a0;
        const QString * a1;
        int a1State = 0;
        sipKUriFilterPlugin *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9J1",&sipSelf,sipType_KUriFilterPlugin,&sipCpp,sipType_KUriFilterData,&a0,sipType_QString,&a1,&a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setArguments(*a0,*a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUriFilterPlugin,sipName_setArguments);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KUriFilterPlugin(void *, const sipTypeDef *);}
static void *cast_KUriFilterPlugin(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KUriFilterPlugin)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(KUriFilterPlugin *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KUriFilterPlugin(void *, int);}
static void release_KUriFilterPlugin(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKUriFilterPlugin *>(sipCppV);
    else
        delete reinterpret_cast<KUriFilterPlugin *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KUriFilterPlugin(sipSimpleWrapper *);}
static void dealloc_KUriFilterPlugin(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKUriFilterPlugin *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KUriFilterPlugin(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KUriFilterPlugin(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KUriFilterPlugin(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **sipOwner, int *sipArgsParsed)
{
    sipKUriFilterPlugin *sipCpp = 0;

    if (!sipCpp)
    {
        const QString * a0;
        int a0State = 0;
        QObject * a1 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1|JH",sipType_QString,&a0,&a0State,sipType_QObject,&a1,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKUriFilterPlugin(*a0,a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KUriFilterPlugin[] = {{111, 0, 1}};


static PyMethodDef methods_KUriFilterPlugin[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KUriFilterPlugin_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_configModule), meth_KUriFilterPlugin_configModule, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_configName), meth_KUriFilterPlugin_configName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KUriFilterPlugin_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KUriFilterPlugin_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KUriFilterPlugin_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_filterUri), meth_KUriFilterPlugin_filterUri, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KUriFilterPlugin_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setArguments), meth_KUriFilterPlugin_setArguments, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setErrorMsg), meth_KUriFilterPlugin_setErrorMsg, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFilteredUri), meth_KUriFilterPlugin_setFilteredUri, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUriType), meth_KUriFilterPlugin_setUriType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KUriFilterPlugin_timerEvent, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kio_KUriFilterPlugin = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KUriFilterPlugin,
        {0}
    },
    sipNameNr_KUriFilterPlugin,
    -1,
    -1,
    {0, 0, 1},
    supers_KUriFilterPlugin,
    0,
    13, methods_KUriFilterPlugin,
    0, 0,
    0, 0,
    init_KUriFilterPlugin,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KUriFilterPlugin,
    release_KUriFilterPlugin,
    cast_KUriFilterPlugin,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KUriFilterPlugin::staticMetaObject,
    0,
    0
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kurifilter.sip"
#include <kurifilter.h>
#line 9051 "sipkiopart1.cpp"

#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 9055 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 9058 "sipkiopart1.cpp"


extern "C" {static PyObject *meth_KUriFilterData_uri(PyObject *, PyObject *);}
static PyObject *meth_KUriFilterData_uri(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KUriFilterData *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KUriFilterData,&sipCpp))
        {
            KUrl *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(sipCpp->uri());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUriFilterData,sipName_uri);

    return NULL;
}


extern "C" {static PyObject *meth_KUriFilterData_errorMsg(PyObject *, PyObject *);}
static PyObject *meth_KUriFilterData_errorMsg(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KUriFilterData *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KUriFilterData,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->errorMsg());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUriFilterData,sipName_errorMsg);

    return NULL;
}


extern "C" {static PyObject *meth_KUriFilterData_uriType(PyObject *, PyObject *);}
static PyObject *meth_KUriFilterData_uriType(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KUriFilterData *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KUriFilterData,&sipCpp))
        {
            KUriFilterData::UriTypes sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->uriType();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KUriFilterData_UriTypes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUriFilterData,sipName_uriType);

    return NULL;
}


extern "C" {static PyObject *meth_KUriFilterData_setData(PyObject *, PyObject *);}
static PyObject *meth_KUriFilterData_setData(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;
        KUriFilterData *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KUriFilterData,&sipCpp,sipType_KUrl,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setData(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString * a0;
        int a0State = 0;
        KUriFilterData *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KUriFilterData,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setData(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUriFilterData,sipName_setData);

    return NULL;
}


extern "C" {static PyObject *meth_KUriFilterData_setAbsolutePath(PyObject *, PyObject *);}
static PyObject *meth_KUriFilterData_setAbsolutePath(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KUriFilterData *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KUriFilterData,&sipCpp,sipType_QString,&a0,&a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->setAbsolutePath(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUriFilterData,sipName_setAbsolutePath);

    return NULL;
}


extern "C" {static PyObject *meth_KUriFilterData_absolutePath(PyObject *, PyObject *);}
static PyObject *meth_KUriFilterData_absolutePath(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KUriFilterData *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KUriFilterData,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->absolutePath());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUriFilterData,sipName_absolutePath);

    return NULL;
}


extern "C" {static PyObject *meth_KUriFilterData_hasAbsolutePath(PyObject *, PyObject *);}
static PyObject *meth_KUriFilterData_hasAbsolutePath(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KUriFilterData *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KUriFilterData,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasAbsolutePath();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUriFilterData,sipName_hasAbsolutePath);

    return NULL;
}


extern "C" {static PyObject *meth_KUriFilterData_argsAndOptions(PyObject *, PyObject *);}
static PyObject *meth_KUriFilterData_argsAndOptions(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KUriFilterData *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KUriFilterData,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->argsAndOptions());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUriFilterData,sipName_argsAndOptions);

    return NULL;
}


extern "C" {static PyObject *meth_KUriFilterData_hasArgsAndOptions(PyObject *, PyObject *);}
static PyObject *meth_KUriFilterData_hasArgsAndOptions(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KUriFilterData *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KUriFilterData,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasArgsAndOptions();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUriFilterData,sipName_hasArgsAndOptions);

    return NULL;
}


extern "C" {static PyObject *meth_KUriFilterData_iconName(PyObject *, PyObject *);}
static PyObject *meth_KUriFilterData_iconName(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KUriFilterData *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KUriFilterData,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->iconName());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUriFilterData,sipName_iconName);

    return NULL;
}


extern "C" {static PyObject *meth_KUriFilterData_setCheckForExecutables(PyObject *, PyObject *);}
static PyObject *meth_KUriFilterData_setCheckForExecutables(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        KUriFilterData *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_KUriFilterData,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCheckForExecutables(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUriFilterData,sipName_setCheckForExecutables);

    return NULL;
}


extern "C" {static PyObject *meth_KUriFilterData_checkForExecutables(PyObject *, PyObject *);}
static PyObject *meth_KUriFilterData_checkForExecutables(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KUriFilterData *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KUriFilterData,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->checkForExecutables();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUriFilterData,sipName_checkForExecutables);

    return NULL;
}


extern "C" {static PyObject *meth_KUriFilterData_typedString(PyObject *, PyObject *);}
static PyObject *meth_KUriFilterData_typedString(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KUriFilterData *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KUriFilterData,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->typedString());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUriFilterData,sipName_typedString);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KUriFilterData(void *, const sipTypeDef *);}
static void *cast_KUriFilterData(void *ptr,const sipTypeDef *targetType)
{
    if (targetType == sipType_KUriFilterData)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KUriFilterData(void *, int);}
static void release_KUriFilterData(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KUriFilterData *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KUriFilterData(sipSimpleWrapper *);}
static void dealloc_KUriFilterData(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KUriFilterData(sipSelf->u.cppPtr,0);
    }
}


extern "C" {static void *init_KUriFilterData(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KUriFilterData(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    KUriFilterData *sipCpp = 0;

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KUriFilterData();
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const KUrl * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_KUrl,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KUriFilterData(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const QString * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1",sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KUriFilterData(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
        }
    }

    return sipCpp;
}


static PyMethodDef methods_KUriFilterData[] = {
    {SIP_MLNAME_CAST(sipName_absolutePath), meth_KUriFilterData_absolutePath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_argsAndOptions), meth_KUriFilterData_argsAndOptions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_checkForExecutables), meth_KUriFilterData_checkForExecutables, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_errorMsg), meth_KUriFilterData_errorMsg, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasAbsolutePath), meth_KUriFilterData_hasAbsolutePath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasArgsAndOptions), meth_KUriFilterData_hasArgsAndOptions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_iconName), meth_KUriFilterData_iconName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAbsolutePath), meth_KUriFilterData_setAbsolutePath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCheckForExecutables), meth_KUriFilterData_setCheckForExecutables, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setData), meth_KUriFilterData_setData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_typedString), meth_KUriFilterData_typedString, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_uri), meth_KUriFilterData_uri, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_uriType), meth_KUriFilterData_uriType, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KUriFilterData[] = {
    {sipName_Blocked, KUriFilterData::Blocked, 204},
    {sipName_Error, KUriFilterData::Error, 204},
    {sipName_Executable, KUriFilterData::Executable, 204},
    {sipName_Help, KUriFilterData::Help, 204},
    {sipName_LocalDir, KUriFilterData::LocalDir, 204},
    {sipName_LocalFile, KUriFilterData::LocalFile, 204},
    {sipName_NetProtocol, KUriFilterData::NetProtocol, 204},
    {sipName_Shell, KUriFilterData::Shell, 204},
    {sipName_Unknown, KUriFilterData::Unknown, 204},
};


pyqt4ClassTypeDef pyqt4Type_kio_KUriFilterData = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KUriFilterData,
        {0}
    },
    sipNameNr_KUriFilterData,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {0, 0, 1},
    0,
    0,
    13, methods_KUriFilterData,
    9, enummembers_KUriFilterData,
    0, 0,
    init_KUriFilterData,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KUriFilterData,
    release_KUriFilterData,
    cast_KUriFilterData,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/ktar.sip"
#include <ktar.h>
#line 9589 "sipkiopart1.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 9593 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 9596 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 9599 "sipkiopart1.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 9602 "sipkiopart1.cpp"
#line 141 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/karchive.sip"
#include <karchive.h>
#line 9605 "sipkiopart1.cpp"


class sipKTar : public KTar
{
public:
    sipKTar(const QString&,const QString&);
    sipKTar(QIODevice *);
    virtual ~sipKTar();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    KArchiveDirectory * sipProtectVirt_rootDir(bool);
    KArchiveDirectory * sipProtect_findOrCreate(const QString&);
    void sipProtect_setDevice(QIODevice *);
    void sipProtect_setRootDir(KArchiveDirectory *);
    bool sipProtectVirt_doWriteSymLink(bool,const QString&,const QString&,const QString&,const QString&,mode_t,time_t,time_t,time_t);
    bool sipProtectVirt_doWriteDir(bool,const QString&,const QString&,const QString&,mode_t,time_t,time_t,time_t);
    bool sipProtectVirt_doPrepareWriting(bool,const QString&,const QString&,const QString&,qint64,mode_t,time_t,time_t,time_t);
    bool sipProtectVirt_doFinishWriting(bool,qint64);
    bool sipProtectVirt_openArchive(bool,QIODevice::OpenMode);
    bool sipProtectVirt_closeArchive(bool);
    bool sipProtectVirt_createDevice(bool,QIODevice::OpenMode);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool doWriteSymLink(const QString&,const QString&,const QString&,const QString&,mode_t,time_t,time_t,time_t);
    bool doWriteDir(const QString&,const QString&,const QString&,mode_t,time_t,time_t,time_t);
    bool doPrepareWriting(const QString&,const QString&,const QString&,qint64,mode_t,time_t,time_t,time_t);
    bool doFinishWriting(qint64);
    bool openArchive(QIODevice::OpenMode);
    bool closeArchive();
    bool createDevice(QIODevice::OpenMode);
    bool open(QIODevice::OpenMode);
    bool close();
    bool writeDir(const QString&,const QString&,const QString&,mode_t,time_t,time_t,time_t);
    bool writeSymLink(const QString&,const QString&,const QString&,const QString&,mode_t,time_t,time_t,time_t);
    bool writeFile(const QString&,const QString&,const QString&,const char *,qint64,mode_t,time_t,time_t,time_t);
    bool prepareWriting(const QString&,const QString&,const QString&,qint64,mode_t,time_t,time_t,time_t);
    bool writeData(const char *,qint64);
    bool finishWriting(qint64);
    KArchiveDirectory * rootDir();

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[16];
};

sipKTar::sipKTar(const QString& a0,const QString& a1): KTar(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKTar::sipKTar(QIODevice *a0): KTar(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKTar::~sipKTar()
{
    sipCommonDtor(sipPySelf);
}

bool sipKTar::doWriteSymLink(const QString& a0,const QString& a1,const QString& a2,const QString& a3,mode_t a4,time_t a5,time_t a6,time_t a7)
{
    extern bool sipVH_kio_23(sip_gilstate_t,PyObject *,const QString&,const QString&,const QString&,const QString&,unsigned,long,long,long);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_doWriteSymLink);

    if (!meth)
        return KTar::doWriteSymLink(a0,a1,a2,a3,a4,a5,a6,a7);

    return sipVH_kio_23(sipGILState,meth,a0,a1,a2,a3,a4,a5,a6,a7);
}

bool sipKTar::doWriteDir(const QString& a0,const QString& a1,const QString& a2,mode_t a3,time_t a4,time_t a5,time_t a6)
{
    extern bool sipVH_kio_21(sip_gilstate_t,PyObject *,const QString&,const QString&,const QString&,unsigned,long,long,long);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_doWriteDir);

    if (!meth)
        return KTar::doWriteDir(a0,a1,a2,a3,a4,a5,a6);

    return sipVH_kio_21(sipGILState,meth,a0,a1,a2,a3,a4,a5,a6);
}

bool sipKTar::doPrepareWriting(const QString& a0,const QString& a1,const QString& a2,qint64 a3,mode_t a4,time_t a5,time_t a6,time_t a7)
{
    extern bool sipVH_kio_22(sip_gilstate_t,PyObject *,const QString&,const QString&,const QString&,PY_LONG_LONG,unsigned,long,long,long);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_doPrepareWriting);

    if (!meth)
        return KTar::doPrepareWriting(a0,a1,a2,a3,a4,a5,a6,a7);

    return sipVH_kio_22(sipGILState,meth,a0,a1,a2,a3,a4,a5,a6,a7);
}

bool sipKTar::doFinishWriting(qint64 a0)
{
    typedef bool (*sipVH_QtCore_28)(sip_gilstate_t,PyObject *,PY_LONG_LONG);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_doFinishWriting);

    if (!meth)
        return KTar::doFinishWriting(a0);

    return ((sipVH_QtCore_28)(sipModuleAPI_kio_QtCore->em_virthandlers[28]))(sipGILState,meth,a0);
}

bool sipKTar::openArchive(QIODevice::OpenMode a0)
{
    typedef bool (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *,QIODevice::OpenMode);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_openArchive);

    if (!meth)
        return KTar::openArchive(a0);

    return ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState,meth,a0);
}

bool sipKTar::closeArchive()
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_closeArchive);

    if (!meth)
        return KTar::closeArchive();

    return ((sipVH_QtCore_1)(sipModuleAPI_kio_QtCore->em_virthandlers[1]))(sipGILState,meth);
}

bool sipKTar::createDevice(QIODevice::OpenMode a0)
{
    typedef bool (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *,QIODevice::OpenMode);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_createDevice);

    if (!meth)
        return KTar::createDevice(a0);

    return ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState,meth,a0);
}

bool sipKTar::open(QIODevice::OpenMode a0)
{
    typedef bool (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *,QIODevice::OpenMode);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_open);

    if (!meth)
        return KArchive::open(a0);

    return ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState,meth,a0);
}

bool sipKTar::close()
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_close);

    if (!meth)
        return KArchive::close();

    return ((sipVH_QtCore_1)(sipModuleAPI_kio_QtCore->em_virthandlers[1]))(sipGILState,meth);
}

bool sipKTar::writeDir(const QString& a0,const QString& a1,const QString& a2,mode_t a3,time_t a4,time_t a5,time_t a6)
{
    extern bool sipVH_kio_21(sip_gilstate_t,PyObject *,const QString&,const QString&,const QString&,unsigned,long,long,long);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_writeDir);

    if (!meth)
        return KArchive::writeDir(a0,a1,a2,a3,a4,a5,a6);

    return sipVH_kio_21(sipGILState,meth,a0,a1,a2,a3,a4,a5,a6);
}

bool sipKTar::writeSymLink(const QString& a0,const QString& a1,const QString& a2,const QString& a3,mode_t a4,time_t a5,time_t a6,time_t a7)
{
    extern bool sipVH_kio_23(sip_gilstate_t,PyObject *,const QString&,const QString&,const QString&,const QString&,unsigned,long,long,long);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_writeSymLink);

    if (!meth)
        return KArchive::writeSymLink(a0,a1,a2,a3,a4,a5,a6,a7);

    return sipVH_kio_23(sipGILState,meth,a0,a1,a2,a3,a4,a5,a6,a7);
}

bool sipKTar::writeFile(const QString& a0,const QString& a1,const QString& a2,const char *a3,qint64 a4,mode_t a5,time_t a6,time_t a7,time_t a8)
{
    extern bool sipVH_kio_42(sip_gilstate_t,PyObject *,const QString&,const QString&,const QString&,const char *,PY_LONG_LONG,unsigned,long,long,long);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_writeFile);

    if (!meth)
        return KArchive::writeFile(a0,a1,a2,a3,a4,a5,a6,a7,a8);

    return sipVH_kio_42(sipGILState,meth,a0,a1,a2,a3,a4,a5,a6,a7,a8);
}

bool sipKTar::prepareWriting(const QString& a0,const QString& a1,const QString& a2,qint64 a3,mode_t a4,time_t a5,time_t a6,time_t a7)
{
    extern bool sipVH_kio_22(sip_gilstate_t,PyObject *,const QString&,const QString&,const QString&,PY_LONG_LONG,unsigned,long,long,long);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_prepareWriting);

    if (!meth)
        return KArchive::prepareWriting(a0,a1,a2,a3,a4,a5,a6,a7);

    return sipVH_kio_22(sipGILState,meth,a0,a1,a2,a3,a4,a5,a6,a7);
}

bool sipKTar::writeData(const char *a0,qint64 a1)
{
    extern bool sipVH_kio_24(sip_gilstate_t,PyObject *,const char *,PY_LONG_LONG);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_writeData);

    if (!meth)
        return KArchive::writeData(a0,a1);

    return sipVH_kio_24(sipGILState,meth,a0,a1);
}

bool sipKTar::finishWriting(qint64 a0)
{
    typedef bool (*sipVH_QtCore_28)(sip_gilstate_t,PyObject *,PY_LONG_LONG);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_finishWriting);

    if (!meth)
        return KArchive::finishWriting(a0);

    return ((sipVH_QtCore_28)(sipModuleAPI_kio_QtCore->em_virthandlers[28]))(sipGILState,meth,a0);
}

KArchiveDirectory * sipKTar::rootDir()
{
    extern KArchiveDirectory * sipVH_kio_41(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_rootDir);

    if (!meth)
        return KArchive::rootDir();

    return sipVH_kio_41(sipGILState,meth);
}

KArchiveDirectory * sipKTar::sipProtectVirt_rootDir(bool sipSelfWasArg)
{
    return (sipSelfWasArg ? KArchive::rootDir() : rootDir());
}

KArchiveDirectory * sipKTar::sipProtect_findOrCreate(const QString& a0)
{
    return KArchive::findOrCreate(a0);
}

void sipKTar::sipProtect_setDevice(QIODevice *a0)
{
    KArchive::setDevice(a0);
}

void sipKTar::sipProtect_setRootDir(KArchiveDirectory *a0)
{
    KArchive::setRootDir(a0);
}

bool sipKTar::sipProtectVirt_doWriteSymLink(bool sipSelfWasArg,const QString& a0,const QString& a1,const QString& a2,const QString& a3,mode_t a4,time_t a5,time_t a6,time_t a7)
{
    return (sipSelfWasArg ? KTar::doWriteSymLink(a0,a1,a2,a3,a4,a5,a6,a7) : doWriteSymLink(a0,a1,a2,a3,a4,a5,a6,a7));
}

bool sipKTar::sipProtectVirt_doWriteDir(bool sipSelfWasArg,const QString& a0,const QString& a1,const QString& a2,mode_t a3,time_t a4,time_t a5,time_t a6)
{
    return (sipSelfWasArg ? KTar::doWriteDir(a0,a1,a2,a3,a4,a5,a6) : doWriteDir(a0,a1,a2,a3,a4,a5,a6));
}

bool sipKTar::sipProtectVirt_doPrepareWriting(bool sipSelfWasArg,const QString& a0,const QString& a1,const QString& a2,qint64 a3,mode_t a4,time_t a5,time_t a6,time_t a7)
{
    return (sipSelfWasArg ? KTar::doPrepareWriting(a0,a1,a2,a3,a4,a5,a6,a7) : doPrepareWriting(a0,a1,a2,a3,a4,a5,a6,a7));
}

bool sipKTar::sipProtectVirt_doFinishWriting(bool sipSelfWasArg,qint64 a0)
{
    return (sipSelfWasArg ? KTar::doFinishWriting(a0) : doFinishWriting(a0));
}

bool sipKTar::sipProtectVirt_openArchive(bool sipSelfWasArg,QIODevice::OpenMode a0)
{
    return (sipSelfWasArg ? KTar::openArchive(a0) : openArchive(a0));
}

bool sipKTar::sipProtectVirt_closeArchive(bool sipSelfWasArg)
{
    return (sipSelfWasArg ? KTar::closeArchive() : closeArchive());
}

bool sipKTar::sipProtectVirt_createDevice(bool sipSelfWasArg,QIODevice::OpenMode a0)
{
    return (sipSelfWasArg ? KTar::createDevice(a0) : createDevice(a0));
}


extern "C" {static PyObject *meth_KTar_rootDir(PyObject *, PyObject *);}
static PyObject *meth_KTar_rootDir(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipKTar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KTar,&sipCpp))
        {
            KArchiveDirectory *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_rootDir(sipSelfWasArg);
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KTar,sipName_rootDir);

    return NULL;
}


extern "C" {static PyObject *meth_KTar_findOrCreate(PyObject *, PyObject *);}
static PyObject *meth_KTar_findOrCreate(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        sipKTar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&sipSelf,sipType_KTar,&sipCpp,sipType_QString,&a0,&a0State))
        {
            KArchiveDirectory *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_findOrCreate(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KTar,sipName_findOrCreate);

    return NULL;
}


extern "C" {static PyObject *meth_KTar_setDevice(PyObject *, PyObject *);}
static PyObject *meth_KTar_setDevice(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        QIODevice * a0;
        sipKTar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KTar,&sipCpp,sipType_QIODevice,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setDevice(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KTar,sipName_setDevice);

    return NULL;
}


extern "C" {static PyObject *meth_KTar_setRootDir(PyObject *, PyObject *);}
static PyObject *meth_KTar_setRootDir(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KArchiveDirectory * a0;
        sipKTar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KTar,&sipCpp,sipType_KArchiveDirectory,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setRootDir(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KTar,sipName_setRootDir);

    return NULL;
}


extern "C" {static PyObject *meth_KTar_setOrigFileName(PyObject *, PyObject *);}
static PyObject *meth_KTar_setOrigFileName(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QByteArray * a0;
        int a0State = 0;
        KTar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KTar,&sipCpp,sipType_QByteArray,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setOrigFileName(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KTar,sipName_setOrigFileName);

    return NULL;
}


extern "C" {static PyObject *meth_KTar_doWriteSymLink(PyObject *, PyObject *);}
static PyObject *meth_KTar_doWriteSymLink(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        const QString * a2;
        int a2State = 0;
        const QString * a3;
        int a3State = 0;
        mode_t a4;
        time_t a5;
        time_t a6;
        time_t a7;
        sipKTar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1J1J1J1ulll",&sipSelf,sipType_KTar,&sipCpp,sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,sipType_QString,&a2,&a2State,sipType_QString,&a3,&a3State,&a4,&a5,&a6,&a7))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_doWriteSymLink(sipSelfWasArg,*a0,*a1,*a2,*a3,a4,a5,a6,a7);
            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(const_cast<QString *>(a3),sipType_QString,a3State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KTar,sipName_doWriteSymLink);

    return NULL;
}


extern "C" {static PyObject *meth_KTar_doWriteDir(PyObject *, PyObject *);}
static PyObject *meth_KTar_doWriteDir(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        const QString * a2;
        int a2State = 0;
        mode_t a3;
        time_t a4;
        time_t a5;
        time_t a6;
        sipKTar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1J1J1ulll",&sipSelf,sipType_KTar,&sipCpp,sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,sipType_QString,&a2,&a2State,&a3,&a4,&a5,&a6))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_doWriteDir(sipSelfWasArg,*a0,*a1,*a2,a3,a4,a5,a6);
            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);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KTar,sipName_doWriteDir);

    return NULL;
}


extern "C" {static PyObject *meth_KTar_doPrepareWriting(PyObject *, PyObject *);}
static PyObject *meth_KTar_doPrepareWriting(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        const QString * a2;
        int a2State = 0;
        qint64 a3;
        mode_t a4;
        time_t a5;
        time_t a6;
        time_t a7;
        sipKTar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1J1J1nulll",&sipSelf,sipType_KTar,&sipCpp,sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,sipType_QString,&a2,&a2State,&a3,&a4,&a5,&a6,&a7))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_doPrepareWriting(sipSelfWasArg,*a0,*a1,*a2,a3,a4,a5,a6,a7);
            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);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KTar,sipName_doPrepareWriting);

    return NULL;
}


extern "C" {static PyObject *meth_KTar_doFinishWriting(PyObject *, PyObject *);}
static PyObject *meth_KTar_doFinishWriting(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        qint64 a0;
        sipKTar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pn",&sipSelf,sipType_KTar,&sipCpp,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_doFinishWriting(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KTar,sipName_doFinishWriting);

    return NULL;
}


extern "C" {static PyObject *meth_KTar_openArchive(PyObject *, PyObject *);}
static PyObject *meth_KTar_openArchive(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QIODevice::OpenMode * a0;
        int a0State = 0;
        sipKTar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&sipSelf,sipType_KTar,&sipCpp,sipType_QIODevice_OpenMode,&a0,&a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_openArchive(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_QIODevice_OpenMode,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KTar,sipName_openArchive);

    return NULL;
}


extern "C" {static PyObject *meth_KTar_closeArchive(PyObject *, PyObject *);}
static PyObject *meth_KTar_closeArchive(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipKTar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KTar,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_closeArchive(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KTar,sipName_closeArchive);

    return NULL;
}


extern "C" {static PyObject *meth_KTar_createDevice(PyObject *, PyObject *);}
static PyObject *meth_KTar_createDevice(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QIODevice::OpenMode * a0;
        int a0State = 0;
        sipKTar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&sipSelf,sipType_KTar,&sipCpp,sipType_QIODevice_OpenMode,&a0,&a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_createDevice(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_QIODevice_OpenMode,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KTar,sipName_createDevice);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KTar(void *, const sipTypeDef *);}
static void *cast_KTar(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KTar)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KArchive)->ctd_cast((KArchive *)(KTar *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KTar(void *, int);}
static void release_KTar(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKTar *>(sipCppV);
    else
        delete reinterpret_cast<KTar *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KTar(sipSimpleWrapper *);}
static void dealloc_KTar(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKTar *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KTar(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KTar(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KTar(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipKTar *sipCpp = 0;

    if (!sipCpp)
    {
        const QString * a0;
        int a0State = 0;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1|J1",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKTar(*a0,*a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
        }
    }

    if (!sipCpp)
    {
        QIODevice * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J8",sipType_QIODevice,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKTar(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KTar[] = {{6, 255, 1}};


static PyMethodDef methods_KTar[] = {
    {SIP_MLNAME_CAST(sipName_closeArchive), meth_KTar_closeArchive, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createDevice), meth_KTar_createDevice, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doFinishWriting), meth_KTar_doFinishWriting, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doPrepareWriting), meth_KTar_doPrepareWriting, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doWriteDir), meth_KTar_doWriteDir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doWriteSymLink), meth_KTar_doWriteSymLink, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_findOrCreate), meth_KTar_findOrCreate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_openArchive), meth_KTar_openArchive, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rootDir), meth_KTar_rootDir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDevice), meth_KTar_setDevice, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOrigFileName), meth_KTar_setOrigFileName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRootDir), meth_KTar_setRootDir, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kio_KTar = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KTar,
        {0}
    },
    sipNameNr_KTar,
    -1,
    -1,
    {0, 0, 1},
    supers_KTar,
    0,
    12, methods_KTar,
    0, 0,
    0, 0,
    init_KTar,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KTar,
    release_KTar,
    cast_KTar,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kstatusbarofflineindicator.sip"
#include <kstatusbarofflineindicator.h>
#line 10522 "sipkiopart1.cpp"

#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 10526 "sipkiopart1.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 10529 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 10532 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 10535 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 10538 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 10541 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 10544 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 10547 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 10550 "sipkiopart1.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 10553 "sipkiopart1.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10556 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 10559 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 10562 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 10565 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 10568 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 10571 "sipkiopart1.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10574 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 10577 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 10580 "sipkiopart1.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 10585 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10588 "sipkiopart1.cpp"
#line 424 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 10591 "sipkiopart1.cpp"
#line 412 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 10594 "sipkiopart1.cpp"
#line 508 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 10597 "sipkiopart1.cpp"
#line 562 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 10600 "sipkiopart1.cpp"
#line 533 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 10603 "sipkiopart1.cpp"
#line 550 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 10606 "sipkiopart1.cpp"
#line 618 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 10609 "sipkiopart1.cpp"
#line 247 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 10612 "sipkiopart1.cpp"
#line 436 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 10615 "sipkiopart1.cpp"
#line 388 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 10618 "sipkiopart1.cpp"
#line 374 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 10621 "sipkiopart1.cpp"
#line 360 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 10624 "sipkiopart1.cpp"
#line 345 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 10627 "sipkiopart1.cpp"
#line 325 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 10630 "sipkiopart1.cpp"
#line 296 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 10633 "sipkiopart1.cpp"
#line 225 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 10636 "sipkiopart1.cpp"
#line 184 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 10639 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 10642 "sipkiopart1.cpp"
#line 74 "/usr/local/share/py-sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 10645 "sipkiopart1.cpp"
#line 47 "/usr/local/share/py-sip/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 10648 "sipkiopart1.cpp"
#line 136 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#include <qlist.h>
#line 66 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qlist.h>
#line 229 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 520 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 10709 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 10712 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 10715 "sipkiopart1.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 10718 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 10721 "sipkiopart1.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 10726 "sipkiopart1.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 10729 "sipkiopart1.cpp"
#line 99 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 10732 "sipkiopart1.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 10735 "sipkiopart1.cpp"
#line 165 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 10738 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 10741 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qdockwidget.sip"
#include <qdockwidget.h>
#line 10744 "sipkiopart1.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 10747 "sipkiopart1.cpp"
#line 334 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 10750 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 56 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 10755 "sipkiopart1.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qprinterinfo.h>
#line 10758 "sipkiopart1.cpp"
#line 202 "/usr/local/share/py-sip/QtGui/qstandarditemmodel.sip"
#include <qstandarditemmodel.h>
#line 10761 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 10764 "sipkiopart1.cpp"
#line 66 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 10767 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 114 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 10772 "sipkiopart1.cpp"
#line 65 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 88 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 10777 "sipkiopart1.cpp"
#line 149 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 175 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 10782 "sipkiopart1.cpp"
#line 83 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 101 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 10787 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 10790 "sipkiopart1.cpp"
#line 75 "/usr/local/share/py-sip/QtGui/qundostack.sip"
#include <qundostack.h>
#line 10793 "sipkiopart1.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 10796 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qprinter.sip"
#include <qprinter.h>
#line 10799 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#line 10802 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qlayout.sip"
#include <qlayout.h>
#line 10805 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 10808 "sipkiopart1.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10811 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 10814 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 10817 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 10820 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 10823 "sipkiopart1.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10826 "sipkiopart1.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10829 "sipkiopart1.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 10832 "sipkiopart1.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 10863 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 10866 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 10869 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 10872 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 10875 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 10878 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 10881 "sipkiopart1.cpp"


class sipKStatusBarOfflineIndicator : public KStatusBarOfflineIndicator
{
public:
    sipKStatusBarOfflineIndicator(QWidget *);
    virtual ~sipKStatusBarOfflineIndicator();

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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    bool sipProtectVirt_event(bool,QEvent *);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent *);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent *);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent *);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent *);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent *);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent *);
    void sipProtectVirt_enterEvent(bool,QEvent *);
    void sipProtectVirt_leaveEvent(bool,QEvent *);
    void sipProtectVirt_paintEvent(bool,QPaintEvent *);
    void sipProtectVirt_moveEvent(bool,QMoveEvent *);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent *);
    void sipProtectVirt_closeEvent(bool,QCloseEvent *);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent *);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent *);
    void sipProtectVirt_actionEvent(bool,QActionEvent *);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent *);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent *);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent *);
    void sipProtectVirt_dropEvent(bool,QDropEvent *);
    void sipProtectVirt_showEvent(bool,QShowEvent *);
    void sipProtectVirt_hideEvent(bool,QHideEvent *);
    void sipProtectVirt_changeEvent(bool,QEvent *);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent *);
    void sipProtect_resetInputContext();
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    void sipProtectVirt_enabledChange(bool,bool);
    void sipProtectVirt_paletteChange(bool,const QPalette&);
    void sipProtectVirt_fontChange(bool,const QFont&);
    void sipProtectVirt_windowActivationChange(bool,bool);
    void sipProtectVirt_languageChange(bool);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    int devType() const;
    void setVisible(bool);
    QSize sizeHint() const;
    QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    QPaintEngine * paintEngine() const;
    bool event(QEvent *);
    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 *);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    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();
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[47];
};

sipKStatusBarOfflineIndicator::sipKStatusBarOfflineIndicator(QWidget *a0): KStatusBarOfflineIndicator(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKStatusBarOfflineIndicator::~sipKStatusBarOfflineIndicator()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKStatusBarOfflineIndicator::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KStatusBarOfflineIndicator);
}

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

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KStatusBarOfflineIndicator,_c,_id,_a);

    return _id;
}

void *sipKStatusBarOfflineIndicator::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast && sip_kio_qt_metacast(sipPySelf,sipType_KStatusBarOfflineIndicator,_clname)) ? this : KStatusBarOfflineIndicator::qt_metacast(_clname);
}

int sipKStatusBarOfflineIndicator::devType() const
{
    typedef int (*sipVH_QtCore_8)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::devType();

    return ((sipVH_QtCore_8)(sipModuleAPI_kio_QtCore->em_virthandlers[8]))(sipGILState,meth);
}

void sipKStatusBarOfflineIndicator::setVisible(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_setVisible);

    if (!meth)
    {
        QWidget::setVisible(a0);
        return;
    }

    ((sipVH_QtGui_7)(sipModuleAPI_kio_QtGui->em_virthandlers[7]))(sipGILState,meth,a0);
}

QSize sipKStatusBarOfflineIndicator::sizeHint() const
{
    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::sizeHint();

    return ((sipVH_QtGui_4)(sipModuleAPI_kio_QtGui->em_virthandlers[4]))(sipGILState,meth);
}

QSize sipKStatusBarOfflineIndicator::minimumSizeHint() const
{
    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::minimumSizeHint();

    return ((sipVH_QtGui_4)(sipModuleAPI_kio_QtGui->em_virthandlers[4]))(sipGILState,meth);
}

int sipKStatusBarOfflineIndicator::heightForWidth(int a0) const
{
    typedef int (*sipVH_QtGui_29)(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::heightForWidth(a0);

    return ((sipVH_QtGui_29)(sipModuleAPI_kio_QtGui->em_virthandlers[29]))(sipGILState,meth,a0);
}

QPaintEngine * sipKStatusBarOfflineIndicator::paintEngine() const
{
    typedef QPaintEngine * (*sipVH_QtGui_28)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::paintEngine();

    return ((sipVH_QtGui_28)(sipModuleAPI_kio_QtGui->em_virthandlers[28]))(sipGILState,meth);
}

bool sipKStatusBarOfflineIndicator::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_kio_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

void sipKStatusBarOfflineIndicator::mousePressEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_mousePressEvent);

    if (!meth)
    {
        QWidget::mousePressEvent(a0);
        return;
    }

    ((sipVH_QtGui_27)(sipModuleAPI_kio_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipKStatusBarOfflineIndicator::mouseReleaseEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!meth)
    {
        QWidget::mouseReleaseEvent(a0);
        return;
    }

    ((sipVH_QtGui_27)(sipModuleAPI_kio_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipKStatusBarOfflineIndicator::mouseDoubleClickEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!meth)
    {
        QWidget::mouseDoubleClickEvent(a0);
        return;
    }

    ((sipVH_QtGui_27)(sipModuleAPI_kio_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipKStatusBarOfflineIndicator::mouseMoveEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!meth)
    {
        QWidget::mouseMoveEvent(a0);
        return;
    }

    ((sipVH_QtGui_27)(sipModuleAPI_kio_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipKStatusBarOfflineIndicator::wheelEvent(QWheelEvent *a0)
{
    typedef void (*sipVH_QtGui_5)(sip_gilstate_t,PyObject *,QWheelEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_wheelEvent);

    if (!meth)
    {
        QWidget::wheelEvent(a0);
        return;
    }

    ((sipVH_QtGui_5)(sipModuleAPI_kio_QtGui->em_virthandlers[5]))(sipGILState,meth,a0);
}

void sipKStatusBarOfflineIndicator::keyPressEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_keyPressEvent);

    if (!meth)
    {
        QWidget::keyPressEvent(a0);
        return;
    }

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipKStatusBarOfflineIndicator::keyReleaseEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!meth)
    {
        QWidget::keyReleaseEvent(a0);
        return;
    }

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipKStatusBarOfflineIndicator::focusInEvent(QFocusEvent *a0)
{
    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QFocusEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_focusInEvent);

    if (!meth)
    {
        QWidget::focusInEvent(a0);
        return;
    }

    ((sipVH_QtGui_25)(sipModuleAPI_kio_QtGui->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipKStatusBarOfflineIndicator::focusOutEvent(QFocusEvent *a0)
{
    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QFocusEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_focusOutEvent);

    if (!meth)
    {
        QWidget::focusOutEvent(a0);
        return;
    }

    ((sipVH_QtGui_25)(sipModuleAPI_kio_QtGui->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipKStatusBarOfflineIndicator::enterEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_enterEvent);

    if (!meth)
    {
        QWidget::enterEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKStatusBarOfflineIndicator::leaveEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_leaveEvent);

    if (!meth)
    {
        QWidget::leaveEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKStatusBarOfflineIndicator::paintEvent(QPaintEvent *a0)
{
    typedef void (*sipVH_QtGui_3)(sip_gilstate_t,PyObject *,QPaintEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_paintEvent);

    if (!meth)
    {
        QWidget::paintEvent(a0);
        return;
    }

    ((sipVH_QtGui_3)(sipModuleAPI_kio_QtGui->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKStatusBarOfflineIndicator::moveEvent(QMoveEvent *a0)
{
    typedef void (*sipVH_QtGui_24)(sip_gilstate_t,PyObject *,QMoveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_moveEvent);

    if (!meth)
    {
        QWidget::moveEvent(a0);
        return;
    }

    ((sipVH_QtGui_24)(sipModuleAPI_kio_QtGui->em_virthandlers[24]))(sipGILState,meth,a0);
}

void sipKStatusBarOfflineIndicator::resizeEvent(QResizeEvent *a0)
{
    typedef void (*sipVH_QtGui_2)(sip_gilstate_t,PyObject *,QResizeEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_resizeEvent);

    if (!meth)
    {
        QWidget::resizeEvent(a0);
        return;
    }

    ((sipVH_QtGui_2)(sipModuleAPI_kio_QtGui->em_virthandlers[2]))(sipGILState,meth,a0);
}

void sipKStatusBarOfflineIndicator::closeEvent(QCloseEvent *a0)
{
    typedef void (*sipVH_QtGui_23)(sip_gilstate_t,PyObject *,QCloseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_closeEvent);

    if (!meth)
    {
        QWidget::closeEvent(a0);
        return;
    }

    ((sipVH_QtGui_23)(sipModuleAPI_kio_QtGui->em_virthandlers[23]))(sipGILState,meth,a0);
}

void sipKStatusBarOfflineIndicator::contextMenuEvent(QContextMenuEvent *a0)
{
    typedef void (*sipVH_QtGui_22)(sip_gilstate_t,PyObject *,QContextMenuEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!meth)
    {
        QWidget::contextMenuEvent(a0);
        return;
    }

    ((sipVH_QtGui_22)(sipModuleAPI_kio_QtGui->em_virthandlers[22]))(sipGILState,meth,a0);
}

void sipKStatusBarOfflineIndicator::tabletEvent(QTabletEvent *a0)
{
    typedef void (*sipVH_QtGui_21)(sip_gilstate_t,PyObject *,QTabletEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_tabletEvent);

    if (!meth)
    {
        QWidget::tabletEvent(a0);
        return;
    }

    ((sipVH_QtGui_21)(sipModuleAPI_kio_QtGui->em_virthandlers[21]))(sipGILState,meth,a0);
}

void sipKStatusBarOfflineIndicator::actionEvent(QActionEvent *a0)
{
    typedef void (*sipVH_QtGui_20)(sip_gilstate_t,PyObject *,QActionEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_actionEvent);

    if (!meth)
    {
        QWidget::actionEvent(a0);
        return;
    }

    ((sipVH_QtGui_20)(sipModuleAPI_kio_QtGui->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKStatusBarOfflineIndicator::dragEnterEvent(QDragEnterEvent *a0)
{
    typedef void (*sipVH_QtGui_19)(sip_gilstate_t,PyObject *,QDragEnterEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!meth)
    {
        QWidget::dragEnterEvent(a0);
        return;
    }

    ((sipVH_QtGui_19)(sipModuleAPI_kio_QtGui->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKStatusBarOfflineIndicator::dragMoveEvent(QDragMoveEvent *a0)
{
    typedef void (*sipVH_QtGui_18)(sip_gilstate_t,PyObject *,QDragMoveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!meth)
    {
        QWidget::dragMoveEvent(a0);
        return;
    }

    ((sipVH_QtGui_18)(sipModuleAPI_kio_QtGui->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKStatusBarOfflineIndicator::dragLeaveEvent(QDragLeaveEvent *a0)
{
    typedef void (*sipVH_QtGui_17)(sip_gilstate_t,PyObject *,QDragLeaveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!meth)
    {
        QWidget::dragLeaveEvent(a0);
        return;
    }

    ((sipVH_QtGui_17)(sipModuleAPI_kio_QtGui->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipKStatusBarOfflineIndicator::dropEvent(QDropEvent *a0)
{
    typedef void (*sipVH_QtGui_16)(sip_gilstate_t,PyObject *,QDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_dropEvent);

    if (!meth)
    {
        QWidget::dropEvent(a0);
        return;
    }

    ((sipVH_QtGui_16)(sipModuleAPI_kio_QtGui->em_virthandlers[16]))(sipGILState,meth,a0);
}

void sipKStatusBarOfflineIndicator::showEvent(QShowEvent *a0)
{
    typedef void (*sipVH_QtGui_1)(sip_gilstate_t,PyObject *,QShowEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_showEvent);

    if (!meth)
    {
        QWidget::showEvent(a0);
        return;
    }

    ((sipVH_QtGui_1)(sipModuleAPI_kio_QtGui->em_virthandlers[1]))(sipGILState,meth,a0);
}

void sipKStatusBarOfflineIndicator::hideEvent(QHideEvent *a0)
{
    typedef void (*sipVH_QtGui_0)(sip_gilstate_t,PyObject *,QHideEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_hideEvent);

    if (!meth)
    {
        QWidget::hideEvent(a0);
        return;
    }

    ((sipVH_QtGui_0)(sipModuleAPI_kio_QtGui->em_virthandlers[0]))(sipGILState,meth,a0);
}

void sipKStatusBarOfflineIndicator::changeEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_changeEvent);

    if (!meth)
    {
        QWidget::changeEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

int sipKStatusBarOfflineIndicator::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    typedef int (*sipVH_QtGui_15)(sip_gilstate_t,PyObject *,QPaintDevice::PaintDeviceMetric);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::metric(a0);

    return ((sipVH_QtGui_15)(sipModuleAPI_kio_QtGui->em_virthandlers[15]))(sipGILState,meth,a0);
}

void sipKStatusBarOfflineIndicator::inputMethodEvent(QInputMethodEvent *a0)
{
    typedef void (*sipVH_QtGui_14)(sip_gilstate_t,PyObject *,QInputMethodEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!meth)
    {
        QWidget::inputMethodEvent(a0);
        return;
    }

    ((sipVH_QtGui_14)(sipModuleAPI_kio_QtGui->em_virthandlers[14]))(sipGILState,meth,a0);
}

QVariant sipKStatusBarOfflineIndicator::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    typedef QVariant (*sipVH_QtGui_13)(sip_gilstate_t,PyObject *,Qt::InputMethodQuery);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::inputMethodQuery(a0);

    return ((sipVH_QtGui_13)(sipModuleAPI_kio_QtGui->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipKStatusBarOfflineIndicator::focusNextPrevChild(bool a0)
{
    typedef bool (*sipVH_QtGui_12)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!meth)
        return QWidget::focusNextPrevChild(a0);

    return ((sipVH_QtGui_12)(sipModuleAPI_kio_QtGui->em_virthandlers[12]))(sipGILState,meth,a0);
}

void sipKStatusBarOfflineIndicator::enabledChange(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_enabledChange);

    if (!meth)
    {
        QWidget::enabledChange(a0);
        return;
    }

    ((sipVH_QtGui_7)(sipModuleAPI_kio_QtGui->em_virthandlers[7]))(sipGILState,meth,a0);
}

void sipKStatusBarOfflineIndicator::paletteChange(const QPalette& a0)
{
    typedef void (*sipVH_QtGui_11)(sip_gilstate_t,PyObject *,const QPalette&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_paletteChange);

    if (!meth)
    {
        QWidget::paletteChange(a0);
        return;
    }

    ((sipVH_QtGui_11)(sipModuleAPI_kio_QtGui->em_virthandlers[11]))(sipGILState,meth,a0);
}

void sipKStatusBarOfflineIndicator::fontChange(const QFont& a0)
{
    typedef void (*sipVH_QtGui_10)(sip_gilstate_t,PyObject *,const QFont&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_fontChange);

    if (!meth)
    {
        QWidget::fontChange(a0);
        return;
    }

    ((sipVH_QtGui_10)(sipModuleAPI_kio_QtGui->em_virthandlers[10]))(sipGILState,meth,a0);
}

void sipKStatusBarOfflineIndicator::windowActivationChange(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_windowActivationChange);

    if (!meth)
    {
        QWidget::windowActivationChange(a0);
        return;
    }

    ((sipVH_QtGui_7)(sipModuleAPI_kio_QtGui->em_virthandlers[7]))(sipGILState,meth,a0);
}

void sipKStatusBarOfflineIndicator::languageChange()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_languageChange);

    if (!meth)
    {
        QWidget::languageChange();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

bool sipKStatusBarOfflineIndicator::eventFilter(QObject *a0,QEvent *a1)
{
    typedef bool (*sipVH_QtCore_21)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QObject::eventFilter(a0,a1);

    return ((sipVH_QtCore_21)(sipModuleAPI_kio_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

void sipKStatusBarOfflineIndicator::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    ((sipVH_QtCore_3)(sipModuleAPI_kio_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKStatusBarOfflineIndicator::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    ((sipVH_QtCore_20)(sipModuleAPI_kio_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKStatusBarOfflineIndicator::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKStatusBarOfflineIndicator::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKStatusBarOfflineIndicator::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

int sipKStatusBarOfflineIndicator::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKStatusBarOfflineIndicator::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKStatusBarOfflineIndicator::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKStatusBarOfflineIndicator::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKStatusBarOfflineIndicator::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKStatusBarOfflineIndicator::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

bool sipKStatusBarOfflineIndicator::sipProtectVirt_event(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QWidget::event(a0) : event(a0));
}

void sipKStatusBarOfflineIndicator::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipKStatusBarOfflineIndicator::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipKStatusBarOfflineIndicator::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipKStatusBarOfflineIndicator::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipKStatusBarOfflineIndicator::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent *a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipKStatusBarOfflineIndicator::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QWidget::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipKStatusBarOfflineIndicator::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipKStatusBarOfflineIndicator::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipKStatusBarOfflineIndicator::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipKStatusBarOfflineIndicator::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipKStatusBarOfflineIndicator::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipKStatusBarOfflineIndicator::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent *a0)
{
    (sipSelfWasArg ? QWidget::paintEvent(a0) : paintEvent(a0));
}

void sipKStatusBarOfflineIndicator::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent *a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipKStatusBarOfflineIndicator::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent *a0)
{
    (sipSelfWasArg ? QWidget::resizeEvent(a0) : resizeEvent(a0));
}

void sipKStatusBarOfflineIndicator::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent *a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipKStatusBarOfflineIndicator::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent *a0)
{
    (sipSelfWasArg ? QWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipKStatusBarOfflineIndicator::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent *a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipKStatusBarOfflineIndicator::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent *a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipKStatusBarOfflineIndicator::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipKStatusBarOfflineIndicator::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipKStatusBarOfflineIndicator::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipKStatusBarOfflineIndicator::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent *a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipKStatusBarOfflineIndicator::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent *a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

void sipKStatusBarOfflineIndicator::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent *a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

void sipKStatusBarOfflineIndicator::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QWidget::changeEvent(a0) : changeEvent(a0));
}

int sipKStatusBarOfflineIndicator::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipKStatusBarOfflineIndicator::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent *a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipKStatusBarOfflineIndicator::sipProtect_resetInputContext()
{
    QWidget::resetInputContext();
}

void sipKStatusBarOfflineIndicator::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipKStatusBarOfflineIndicator::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipKStatusBarOfflineIndicator::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipKStatusBarOfflineIndicator::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipKStatusBarOfflineIndicator::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipKStatusBarOfflineIndicator::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

void sipKStatusBarOfflineIndicator::sipProtectVirt_enabledChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::enabledChange(a0) : enabledChange(a0));
}

void sipKStatusBarOfflineIndicator::sipProtectVirt_paletteChange(bool sipSelfWasArg,const QPalette& a0)
{
    (sipSelfWasArg ? QWidget::paletteChange(a0) : paletteChange(a0));
}

void sipKStatusBarOfflineIndicator::sipProtectVirt_fontChange(bool sipSelfWasArg,const QFont& a0)
{
    (sipSelfWasArg ? QWidget::fontChange(a0) : fontChange(a0));
}

void sipKStatusBarOfflineIndicator::sipProtectVirt_windowActivationChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::windowActivationChange(a0) : windowActivationChange(a0));
}

void sipKStatusBarOfflineIndicator::sipProtectVirt_languageChange(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QWidget::languageChange() : languageChange());
}


extern "C" {static PyObject *meth_KStatusBarOfflineIndicator_receivers(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarOfflineIndicator_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipKStatusBarOfflineIndicator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KStatusBarOfflineIndicator,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 12110 "sipkiopart1.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KStatusBarOfflineIndicator,sipName_receivers);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarOfflineIndicator_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarOfflineIndicator_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKStatusBarOfflineIndicator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KStatusBarOfflineIndicator,&sipCpp,sipType_QTimerEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KStatusBarOfflineIndicator,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarOfflineIndicator_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarOfflineIndicator_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKStatusBarOfflineIndicator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KStatusBarOfflineIndicator,&sipCpp,sipType_QChildEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KStatusBarOfflineIndicator,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarOfflineIndicator_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarOfflineIndicator_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKStatusBarOfflineIndicator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KStatusBarOfflineIndicator,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KStatusBarOfflineIndicator,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarOfflineIndicator_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarOfflineIndicator_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKStatusBarOfflineIndicator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KStatusBarOfflineIndicator,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KStatusBarOfflineIndicator,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarOfflineIndicator_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarOfflineIndicator_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKStatusBarOfflineIndicator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KStatusBarOfflineIndicator,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KStatusBarOfflineIndicator,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarOfflineIndicator_event(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarOfflineIndicator_event(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKStatusBarOfflineIndicator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KStatusBarOfflineIndicator,&sipCpp,sipType_QEvent,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KStatusBarOfflineIndicator,sipName_event);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarOfflineIndicator_mousePressEvent(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarOfflineIndicator_mousePressEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipKStatusBarOfflineIndicator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KStatusBarOfflineIndicator,&sipCpp,sipType_QMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KStatusBarOfflineIndicator,sipName_mousePressEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarOfflineIndicator_mouseReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarOfflineIndicator_mouseReleaseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipKStatusBarOfflineIndicator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KStatusBarOfflineIndicator,&sipCpp,sipType_QMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KStatusBarOfflineIndicator,sipName_mouseReleaseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarOfflineIndicator_mouseDoubleClickEvent(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarOfflineIndicator_mouseDoubleClickEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipKStatusBarOfflineIndicator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KStatusBarOfflineIndicator,&sipCpp,sipType_QMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KStatusBarOfflineIndicator,sipName_mouseDoubleClickEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarOfflineIndicator_mouseMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarOfflineIndicator_mouseMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipKStatusBarOfflineIndicator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KStatusBarOfflineIndicator,&sipCpp,sipType_QMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KStatusBarOfflineIndicator,sipName_mouseMoveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarOfflineIndicator_wheelEvent(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarOfflineIndicator_wheelEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent * a0;
        sipKStatusBarOfflineIndicator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KStatusBarOfflineIndicator,&sipCpp,sipType_QWheelEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KStatusBarOfflineIndicator,sipName_wheelEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarOfflineIndicator_keyPressEvent(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarOfflineIndicator_keyPressEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipKStatusBarOfflineIndicator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KStatusBarOfflineIndicator,&sipCpp,sipType_QKeyEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KStatusBarOfflineIndicator,sipName_keyPressEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarOfflineIndicator_keyReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarOfflineIndicator_keyReleaseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipKStatusBarOfflineIndicator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KStatusBarOfflineIndicator,&sipCpp,sipType_QKeyEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KStatusBarOfflineIndicator,sipName_keyReleaseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarOfflineIndicator_focusInEvent(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarOfflineIndicator_focusInEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipKStatusBarOfflineIndicator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KStatusBarOfflineIndicator,&sipCpp,sipType_QFocusEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KStatusBarOfflineIndicator,sipName_focusInEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarOfflineIndicator_focusOutEvent(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarOfflineIndicator_focusOutEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipKStatusBarOfflineIndicator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KStatusBarOfflineIndicator,&sipCpp,sipType_QFocusEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KStatusBarOfflineIndicator,sipName_focusOutEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarOfflineIndicator_enterEvent(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarOfflineIndicator_enterEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKStatusBarOfflineIndicator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KStatusBarOfflineIndicator,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KStatusBarOfflineIndicator,sipName_enterEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarOfflineIndicator_leaveEvent(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarOfflineIndicator_leaveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKStatusBarOfflineIndicator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KStatusBarOfflineIndicator,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KStatusBarOfflineIndicator,sipName_leaveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarOfflineIndicator_paintEvent(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarOfflineIndicator_paintEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent * a0;
        sipKStatusBarOfflineIndicator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KStatusBarOfflineIndicator,&sipCpp,sipType_QPaintEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KStatusBarOfflineIndicator,sipName_paintEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarOfflineIndicator_moveEvent(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarOfflineIndicator_moveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent * a0;
        sipKStatusBarOfflineIndicator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KStatusBarOfflineIndicator,&sipCpp,sipType_QMoveEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KStatusBarOfflineIndicator,sipName_moveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarOfflineIndicator_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarOfflineIndicator_resizeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent * a0;
        sipKStatusBarOfflineIndicator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KStatusBarOfflineIndicator,&sipCpp,sipType_QResizeEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KStatusBarOfflineIndicator,sipName_resizeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarOfflineIndicator_closeEvent(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarOfflineIndicator_closeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent * a0;
        sipKStatusBarOfflineIndicator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KStatusBarOfflineIndicator,&sipCpp,sipType_QCloseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KStatusBarOfflineIndicator,sipName_closeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarOfflineIndicator_contextMenuEvent(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarOfflineIndicator_contextMenuEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent * a0;
        sipKStatusBarOfflineIndicator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KStatusBarOfflineIndicator,&sipCpp,sipType_QContextMenuEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KStatusBarOfflineIndicator,sipName_contextMenuEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarOfflineIndicator_tabletEvent(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarOfflineIndicator_tabletEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent * a0;
        sipKStatusBarOfflineIndicator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KStatusBarOfflineIndicator,&sipCpp,sipType_QTabletEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KStatusBarOfflineIndicator,sipName_tabletEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarOfflineIndicator_actionEvent(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarOfflineIndicator_actionEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent * a0;
        sipKStatusBarOfflineIndicator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KStatusBarOfflineIndicator,&sipCpp,sipType_QActionEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KStatusBarOfflineIndicator,sipName_actionEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarOfflineIndicator_dragEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarOfflineIndicator_dragEnterEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent * a0;
        sipKStatusBarOfflineIndicator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KStatusBarOfflineIndicator,&sipCpp,sipType_QDragEnterEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KStatusBarOfflineIndicator,sipName_dragEnterEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarOfflineIndicator_dragMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarOfflineIndicator_dragMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent * a0;
        sipKStatusBarOfflineIndicator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KStatusBarOfflineIndicator,&sipCpp,sipType_QDragMoveEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KStatusBarOfflineIndicator,sipName_dragMoveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarOfflineIndicator_dragLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarOfflineIndicator_dragLeaveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent * a0;
        sipKStatusBarOfflineIndicator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KStatusBarOfflineIndicator,&sipCpp,sipType_QDragLeaveEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KStatusBarOfflineIndicator,sipName_dragLeaveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarOfflineIndicator_dropEvent(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarOfflineIndicator_dropEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent * a0;
        sipKStatusBarOfflineIndicator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KStatusBarOfflineIndicator,&sipCpp,sipType_QDropEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KStatusBarOfflineIndicator,sipName_dropEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarOfflineIndicator_showEvent(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarOfflineIndicator_showEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent * a0;
        sipKStatusBarOfflineIndicator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KStatusBarOfflineIndicator,&sipCpp,sipType_QShowEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarOfflineIndicator_hideEvent(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarOfflineIndicator_hideEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent * a0;
        sipKStatusBarOfflineIndicator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KStatusBarOfflineIndicator,&sipCpp,sipType_QHideEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KStatusBarOfflineIndicator,sipName_hideEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarOfflineIndicator_changeEvent(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarOfflineIndicator_changeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKStatusBarOfflineIndicator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KStatusBarOfflineIndicator,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KStatusBarOfflineIndicator,sipName_changeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarOfflineIndicator_metric(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarOfflineIndicator_metric(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        sipKStatusBarOfflineIndicator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pE",&sipSelf,sipType_KStatusBarOfflineIndicator,&sipCpp,sipType_QPaintDevice_PaintDeviceMetric,&a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KStatusBarOfflineIndicator,sipName_metric);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarOfflineIndicator_inputMethodEvent(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarOfflineIndicator_inputMethodEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent * a0;
        sipKStatusBarOfflineIndicator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KStatusBarOfflineIndicator,&sipCpp,sipType_QInputMethodEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KStatusBarOfflineIndicator,sipName_inputMethodEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarOfflineIndicator_resetInputContext(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarOfflineIndicator_resetInputContext(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKStatusBarOfflineIndicator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KStatusBarOfflineIndicator,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_resetInputContext();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KStatusBarOfflineIndicator,sipName_resetInputContext);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarOfflineIndicator_updateMicroFocus(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarOfflineIndicator_updateMicroFocus(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKStatusBarOfflineIndicator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KStatusBarOfflineIndicator,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_updateMicroFocus();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KStatusBarOfflineIndicator,sipName_updateMicroFocus);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarOfflineIndicator_create(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarOfflineIndicator_create(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        WId a0 = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipKStatusBarOfflineIndicator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p|mbb",&sipSelf,sipType_KStatusBarOfflineIndicator,&sipCpp,&a0,&a1,&a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_create(a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KStatusBarOfflineIndicator,sipName_create);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarOfflineIndicator_destroy(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarOfflineIndicator_destroy(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipKStatusBarOfflineIndicator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p|bb",&sipSelf,sipType_KStatusBarOfflineIndicator,&sipCpp,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_destroy(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KStatusBarOfflineIndicator,sipName_destroy);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarOfflineIndicator_focusNextPrevChild(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarOfflineIndicator_focusNextPrevChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipKStatusBarOfflineIndicator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KStatusBarOfflineIndicator,&sipCpp,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KStatusBarOfflineIndicator,sipName_focusNextPrevChild);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarOfflineIndicator_focusNextChild(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarOfflineIndicator_focusNextChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKStatusBarOfflineIndicator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KStatusBarOfflineIndicator,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_focusNextChild();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KStatusBarOfflineIndicator,sipName_focusNextChild);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarOfflineIndicator_focusPreviousChild(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarOfflineIndicator_focusPreviousChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKStatusBarOfflineIndicator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KStatusBarOfflineIndicator,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_focusPreviousChild();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KStatusBarOfflineIndicator,sipName_focusPreviousChild);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarOfflineIndicator_enabledChange(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarOfflineIndicator_enabledChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipKStatusBarOfflineIndicator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KStatusBarOfflineIndicator,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_enabledChange(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KStatusBarOfflineIndicator,sipName_enabledChange);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarOfflineIndicator_paletteChange(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarOfflineIndicator_paletteChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPalette * a0;
        sipKStatusBarOfflineIndicator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KStatusBarOfflineIndicator,&sipCpp,sipType_QPalette,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paletteChange(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KStatusBarOfflineIndicator,sipName_paletteChange);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarOfflineIndicator_fontChange(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarOfflineIndicator_fontChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QFont * a0;
        sipKStatusBarOfflineIndicator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KStatusBarOfflineIndicator,&sipCpp,sipType_QFont,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_fontChange(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KStatusBarOfflineIndicator,sipName_fontChange);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarOfflineIndicator_windowActivationChange(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarOfflineIndicator_windowActivationChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipKStatusBarOfflineIndicator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KStatusBarOfflineIndicator,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_windowActivationChange(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KStatusBarOfflineIndicator,sipName_windowActivationChange);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarOfflineIndicator_languageChange(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarOfflineIndicator_languageChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipKStatusBarOfflineIndicator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KStatusBarOfflineIndicator,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_languageChange(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KStatusBarOfflineIndicator,sipName_languageChange);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KStatusBarOfflineIndicator(void *, const sipTypeDef *);}
static void *cast_KStatusBarOfflineIndicator(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KStatusBarOfflineIndicator)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QWidget)->ctd_cast((QWidget *)(KStatusBarOfflineIndicator *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KStatusBarOfflineIndicator(void *, int);}
static void release_KStatusBarOfflineIndicator(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKStatusBarOfflineIndicator *>(sipCppV);
    else
        delete reinterpret_cast<KStatusBarOfflineIndicator *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KStatusBarOfflineIndicator(sipSimpleWrapper *);}
static void dealloc_KStatusBarOfflineIndicator(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKStatusBarOfflineIndicator *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KStatusBarOfflineIndicator(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KStatusBarOfflineIndicator(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KStatusBarOfflineIndicator(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **sipOwner, int *sipArgsParsed)
{
    sipKStatusBarOfflineIndicator *sipCpp = 0;

    if (!sipCpp)
    {
        QWidget * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"JH",sipType_QWidget,&a0,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKStatusBarOfflineIndicator(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KStatusBarOfflineIndicator[] = {{683, 2, 1}};


static PyMethodDef methods_KStatusBarOfflineIndicator[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), meth_KStatusBarOfflineIndicator_actionEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_KStatusBarOfflineIndicator_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KStatusBarOfflineIndicator_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_KStatusBarOfflineIndicator_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KStatusBarOfflineIndicator_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_KStatusBarOfflineIndicator_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_create), meth_KStatusBarOfflineIndicator_create, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KStatusBarOfflineIndicator_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), meth_KStatusBarOfflineIndicator_destroy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KStatusBarOfflineIndicator_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_KStatusBarOfflineIndicator_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_KStatusBarOfflineIndicator_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_KStatusBarOfflineIndicator_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_KStatusBarOfflineIndicator_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enabledChange), meth_KStatusBarOfflineIndicator_enabledChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), meth_KStatusBarOfflineIndicator_enterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_KStatusBarOfflineIndicator_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_KStatusBarOfflineIndicator_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), meth_KStatusBarOfflineIndicator_focusNextChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), meth_KStatusBarOfflineIndicator_focusNextPrevChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_KStatusBarOfflineIndicator_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), meth_KStatusBarOfflineIndicator_focusPreviousChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fontChange), meth_KStatusBarOfflineIndicator_fontChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_KStatusBarOfflineIndicator_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), meth_KStatusBarOfflineIndicator_inputMethodEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_KStatusBarOfflineIndicator_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), meth_KStatusBarOfflineIndicator_keyReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_languageChange), meth_KStatusBarOfflineIndicator_languageChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), meth_KStatusBarOfflineIndicator_leaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), meth_KStatusBarOfflineIndicator_metric, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_KStatusBarOfflineIndicator_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_KStatusBarOfflineIndicator_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_KStatusBarOfflineIndicator_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_KStatusBarOfflineIndicator_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), meth_KStatusBarOfflineIndicator_moveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_KStatusBarOfflineIndicator_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paletteChange), meth_KStatusBarOfflineIndicator_paletteChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KStatusBarOfflineIndicator_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resetInputContext), meth_KStatusBarOfflineIndicator_resetInputContext, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_KStatusBarOfflineIndicator_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_KStatusBarOfflineIndicator_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tabletEvent), meth_KStatusBarOfflineIndicator_tabletEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KStatusBarOfflineIndicator_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), meth_KStatusBarOfflineIndicator_updateMicroFocus, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_KStatusBarOfflineIndicator_wheelEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowActivationChange), meth_KStatusBarOfflineIndicator_windowActivationChange, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kio_KStatusBarOfflineIndicator = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KStatusBarOfflineIndicator,
        {0}
    },
    sipNameNr_KStatusBarOfflineIndicator,
    -1,
    -1,
    {0, 0, 1},
    supers_KStatusBarOfflineIndicator,
    0,
    46, methods_KStatusBarOfflineIndicator,
    0, 0,
    0, 0,
    init_KStatusBarOfflineIndicator,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KStatusBarOfflineIndicator,
    release_KStatusBarOfflineIndicator,
    cast_KStatusBarOfflineIndicator,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KStatusBarOfflineIndicator::staticMetaObject,
    0,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kurlcompletion.sip"
#include <kurlcompletion.h>
#line 13549 "sipkiopart1.cpp"

#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13553 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 13556 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 13559 "sipkiopart1.cpp"
#line 31 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kcompletion.sip"
#include <kcompletion.h>
#line 13562 "sipkiopart1.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kglobalsettings.sip"
#include <kglobalsettings.h>
#line 13565 "sipkiopart1.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13568 "sipkiopart1.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13571 "sipkiopart1.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 13574 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 13577 "sipkiopart1.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 13608 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 13611 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 13614 "sipkiopart1.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 13617 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 13620 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 13623 "sipkiopart1.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13626 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 13629 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 13632 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 13635 "sipkiopart1.cpp"


class sipKUrlCompletion : public KUrlCompletion
{
public:
    sipKUrlCompletion();
    sipKUrlCompletion(KUrlCompletion::Mode);
    virtual ~sipKUrlCompletion();

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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    void sipProtectVirt_postProcessMatch(bool,QString *) const;
    void sipProtectVirt_postProcessMatches(bool,QStringList *) const;
    void sipProtectVirt_customEvent(bool,QEvent *);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QString makeCompletion(const QString&);
    void setDir(const QString&);
    QString dir() const;
    bool isRunning() const;
    void stop();
    KUrlCompletion::Mode mode() const;
    void setMode(KUrlCompletion::Mode);
    bool replaceEnv() const;
    void setReplaceEnv(bool);
    bool replaceHome() const;
    void setReplaceHome(bool);
    void customEvent(QEvent *);
    const QString& lastMatch() const;
    void setCompletionMode(KGlobalSettings::Completion);
    void setOrder(KCompletion::CompOrder);
    void setIgnoreCase(bool);
    void setSoundsEnabled(bool);
    void setItems(const QStringList&);
    void clear();
    void postProcessMatch(QString *) const;
    void postProcessMatches(QStringList *) const;
    bool event(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[27];
};

sipKUrlCompletion::sipKUrlCompletion(): KUrlCompletion(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKUrlCompletion::sipKUrlCompletion(KUrlCompletion::Mode a0): KUrlCompletion(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKUrlCompletion::~sipKUrlCompletion()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKUrlCompletion::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KUrlCompletion);
}

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

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KUrlCompletion,_c,_id,_a);

    return _id;
}

void *sipKUrlCompletion::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast && sip_kio_qt_metacast(sipPySelf,sipType_KUrlCompletion,_clname)) ? this : KUrlCompletion::qt_metacast(_clname);
}

QString sipKUrlCompletion::makeCompletion(const QString& a0)
{
    typedef QString (*sipVH_QtCore_0)(sip_gilstate_t,PyObject *,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_makeCompletion);

    if (!meth)
        return KUrlCompletion::makeCompletion(a0);

    return ((sipVH_QtCore_0)(sipModuleAPI_kio_QtCore->em_virthandlers[0]))(sipGILState,meth,a0);
}

void sipKUrlCompletion::setDir(const QString& a0)
{
    typedef void (*sipVH_QtCore_29)(sip_gilstate_t,PyObject *,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_setDir);

    if (!meth)
    {
        KUrlCompletion::setDir(a0);
        return;
    }

    ((sipVH_QtCore_29)(sipModuleAPI_kio_QtCore->em_virthandlers[29]))(sipGILState,meth,a0);
}

QString sipKUrlCompletion::dir() const
{
    typedef QString (*sipVH_QtCore_58)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_dir);

    if (!meth)
        return KUrlCompletion::dir();

    return ((sipVH_QtCore_58)(sipModuleAPI_kio_QtCore->em_virthandlers[58]))(sipGILState,meth);
}

bool sipKUrlCompletion::isRunning() const
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_isRunning);

    if (!meth)
        return KUrlCompletion::isRunning();

    return ((sipVH_QtCore_1)(sipModuleAPI_kio_QtCore->em_virthandlers[1]))(sipGILState,meth);
}

void sipKUrlCompletion::stop()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_stop);

    if (!meth)
    {
        KUrlCompletion::stop();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

KUrlCompletion::Mode sipKUrlCompletion::mode() const
{
    extern KUrlCompletion::Mode sipVH_kio_26(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_mode);

    if (!meth)
        return KUrlCompletion::mode();

    return sipVH_kio_26(sipGILState,meth);
}

void sipKUrlCompletion::setMode(KUrlCompletion::Mode a0)
{
    extern void sipVH_kio_25(sip_gilstate_t,PyObject *,KUrlCompletion::Mode);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_setMode);

    if (!meth)
    {
        KUrlCompletion::setMode(a0);
        return;
    }

    sipVH_kio_25(sipGILState,meth,a0);
}

bool sipKUrlCompletion::replaceEnv() const
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KUrlCompletion::replaceEnv();

    return ((sipVH_QtCore_1)(sipModuleAPI_kio_QtCore->em_virthandlers[1]))(sipGILState,meth);
}

void sipKUrlCompletion::setReplaceEnv(bool a0)
{
    typedef void (*sipVH_QtNetwork_2)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_setReplaceEnv);

    if (!meth)
    {
        KUrlCompletion::setReplaceEnv(a0);
        return;
    }

    ((sipVH_QtNetwork_2)(sipModuleAPI_kio_QtNetwork->em_virthandlers[2]))(sipGILState,meth,a0);
}

bool sipKUrlCompletion::replaceHome() const
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KUrlCompletion::replaceHome();

    return ((sipVH_QtCore_1)(sipModuleAPI_kio_QtCore->em_virthandlers[1]))(sipGILState,meth);
}

void sipKUrlCompletion::setReplaceHome(bool a0)
{
    typedef void (*sipVH_QtNetwork_2)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_setReplaceHome);

    if (!meth)
    {
        KUrlCompletion::setReplaceHome(a0);
        return;
    }

    ((sipVH_QtNetwork_2)(sipModuleAPI_kio_QtNetwork->em_virthandlers[2]))(sipGILState,meth,a0);
}

void sipKUrlCompletion::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        KUrlCompletion::customEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

const QString& sipKUrlCompletion::lastMatch() const
{
    typedef const QString& (*sipVH_kdeui_51)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KCompletion::lastMatch();

    return ((sipVH_kdeui_51)(sipModuleAPI_kio_kdeui->em_virthandlers[51]))(sipGILState,meth);
}

void sipKUrlCompletion::setCompletionMode(KGlobalSettings::Completion a0)
{
    typedef void (*sipVH_kdeui_36)(sip_gilstate_t,PyObject *,KGlobalSettings::Completion);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_setCompletionMode);

    if (!meth)
    {
        KCompletion::setCompletionMode(a0);
        return;
    }

    ((sipVH_kdeui_36)(sipModuleAPI_kio_kdeui->em_virthandlers[36]))(sipGILState,meth,a0);
}

void sipKUrlCompletion::setOrder(KCompletion::CompOrder a0)
{
    typedef void (*sipVH_kdeui_62)(sip_gilstate_t,PyObject *,KCompletion::CompOrder);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_setOrder);

    if (!meth)
    {
        KCompletion::setOrder(a0);
        return;
    }

    ((sipVH_kdeui_62)(sipModuleAPI_kio_kdeui->em_virthandlers[62]))(sipGILState,meth,a0);
}

void sipKUrlCompletion::setIgnoreCase(bool a0)
{
    typedef void (*sipVH_QtNetwork_2)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_setIgnoreCase);

    if (!meth)
    {
        KCompletion::setIgnoreCase(a0);
        return;
    }

    ((sipVH_QtNetwork_2)(sipModuleAPI_kio_QtNetwork->em_virthandlers[2]))(sipGILState,meth,a0);
}

void sipKUrlCompletion::setSoundsEnabled(bool a0)
{
    typedef void (*sipVH_QtNetwork_2)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_setSoundsEnabled);

    if (!meth)
    {
        KCompletion::setSoundsEnabled(a0);
        return;
    }

    ((sipVH_QtNetwork_2)(sipModuleAPI_kio_QtNetwork->em_virthandlers[2]))(sipGILState,meth,a0);
}

void sipKUrlCompletion::setItems(const QStringList& a0)
{
    typedef void (*sipVH_kdecore_51)(sip_gilstate_t,PyObject *,const QStringList&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_setItems);

    if (!meth)
    {
        KCompletion::setItems(a0);
        return;
    }

    ((sipVH_kdecore_51)(sipModuleAPI_kio_kdecore->em_virthandlers[51]))(sipGILState,meth,a0);
}

void sipKUrlCompletion::clear()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_clear);

    if (!meth)
    {
        KCompletion::clear();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipKUrlCompletion::postProcessMatch(QString *a0) const
{
    typedef void (*sipVH_kdeui_61)(sip_gilstate_t,PyObject *,QString *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_postProcessMatch);

    if (!meth)
    {
        KUrlCompletion::postProcessMatch(a0);
        return;
    }

    ((sipVH_kdeui_61)(sipModuleAPI_kio_kdeui->em_virthandlers[61]))(sipGILState,meth,a0);
}

void sipKUrlCompletion::postProcessMatches(QStringList *a0) const
{
    typedef void (*sipVH_kdeui_60)(sip_gilstate_t,PyObject *,QStringList *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_postProcessMatches);

    if (!meth)
    {
        KUrlCompletion::postProcessMatches(a0);
        return;
    }

    ((sipVH_kdeui_60)(sipModuleAPI_kio_kdeui->em_virthandlers[60]))(sipGILState,meth,a0);
}

bool sipKUrlCompletion::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QObject::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_kio_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipKUrlCompletion::eventFilter(QObject *a0,QEvent *a1)
{
    typedef bool (*sipVH_QtCore_21)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_eventFilter);

    if (!meth)
        return QObject::eventFilter(a0,a1);

    return ((sipVH_QtCore_21)(sipModuleAPI_kio_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

void sipKUrlCompletion::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    ((sipVH_QtCore_3)(sipModuleAPI_kio_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKUrlCompletion::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    ((sipVH_QtCore_20)(sipModuleAPI_kio_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKUrlCompletion::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKUrlCompletion::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

int sipKUrlCompletion::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKUrlCompletion::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKUrlCompletion::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKUrlCompletion::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKUrlCompletion::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

void sipKUrlCompletion::sipProtectVirt_postProcessMatch(bool sipSelfWasArg,QString *a0) const
{
    (sipSelfWasArg ? KUrlCompletion::postProcessMatch(a0) : postProcessMatch(a0));
}

void sipKUrlCompletion::sipProtectVirt_postProcessMatches(bool sipSelfWasArg,QStringList *a0) const
{
    (sipSelfWasArg ? KUrlCompletion::postProcessMatches(a0) : postProcessMatches(a0));
}

void sipKUrlCompletion::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? KUrlCompletion::customEvent(a0) : customEvent(a0));
}


extern "C" {static PyObject *meth_KUrlCompletion_receivers(PyObject *, PyObject *);}
static PyObject *meth_KUrlCompletion_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipKUrlCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KUrlCompletion,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 14265 "sipkiopart1.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUrlCompletion,sipName_receivers);

    return NULL;
}


extern "C" {static PyObject *meth_KUrlCompletion_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KUrlCompletion_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKUrlCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KUrlCompletion,&sipCpp,sipType_QTimerEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUrlCompletion,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KUrlCompletion_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KUrlCompletion_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKUrlCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KUrlCompletion,&sipCpp,sipType_QChildEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUrlCompletion,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KUrlCompletion_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KUrlCompletion_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKUrlCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KUrlCompletion,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUrlCompletion,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KUrlCompletion_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KUrlCompletion_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKUrlCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KUrlCompletion,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUrlCompletion,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KUrlCompletion_makeCompletion(PyObject *, PyObject *);}
static PyObject *meth_KUrlCompletion_makeCompletion(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        KUrlCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KUrlCompletion,&sipCpp,sipType_QString,&a0,&a0State))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString((sipSelfWasArg ? sipCpp->KUrlCompletion::makeCompletion(*a0) : sipCpp->makeCompletion(*a0)));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUrlCompletion,sipName_makeCompletion);

    return NULL;
}


extern "C" {static PyObject *meth_KUrlCompletion_setDir(PyObject *, PyObject *);}
static PyObject *meth_KUrlCompletion_setDir(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        KUrlCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KUrlCompletion,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KUrlCompletion::setDir(*a0) : sipCpp->setDir(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUrlCompletion,sipName_setDir);

    return NULL;
}


extern "C" {static PyObject *meth_KUrlCompletion_dir(PyObject *, PyObject *);}
static PyObject *meth_KUrlCompletion_dir(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KUrlCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KUrlCompletion,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString((sipSelfWasArg ? sipCpp->KUrlCompletion::dir() : sipCpp->dir()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUrlCompletion,sipName_dir);

    return NULL;
}


extern "C" {static PyObject *meth_KUrlCompletion_isRunning(PyObject *, PyObject *);}
static PyObject *meth_KUrlCompletion_isRunning(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KUrlCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KUrlCompletion,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KUrlCompletion::isRunning() : sipCpp->isRunning());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUrlCompletion,sipName_isRunning);

    return NULL;
}


extern "C" {static PyObject *meth_KUrlCompletion_stop(PyObject *, PyObject *);}
static PyObject *meth_KUrlCompletion_stop(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KUrlCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KUrlCompletion,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KUrlCompletion::stop() : sipCpp->stop());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUrlCompletion,sipName_stop);

    return NULL;
}


extern "C" {static PyObject *meth_KUrlCompletion_mode(PyObject *, PyObject *);}
static PyObject *meth_KUrlCompletion_mode(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KUrlCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KUrlCompletion,&sipCpp))
        {
            KUrlCompletion::Mode sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KUrlCompletion::mode() : sipCpp->mode());
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KUrlCompletion_Mode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUrlCompletion,sipName_mode);

    return NULL;
}


extern "C" {static PyObject *meth_KUrlCompletion_setMode(PyObject *, PyObject *);}
static PyObject *meth_KUrlCompletion_setMode(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KUrlCompletion::Mode a0;
        KUrlCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BE",&sipSelf,sipType_KUrlCompletion,&sipCpp,sipType_KUrlCompletion_Mode,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KUrlCompletion::setMode(a0) : sipCpp->setMode(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUrlCompletion,sipName_setMode);

    return NULL;
}


extern "C" {static PyObject *meth_KUrlCompletion_replaceEnv(PyObject *, PyObject *);}
static PyObject *meth_KUrlCompletion_replaceEnv(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KUrlCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KUrlCompletion,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KUrlCompletion::replaceEnv() : sipCpp->replaceEnv());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUrlCompletion,sipName_replaceEnv);

    return NULL;
}


extern "C" {static PyObject *meth_KUrlCompletion_setReplaceEnv(PyObject *, PyObject *);}
static PyObject *meth_KUrlCompletion_setReplaceEnv(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        KUrlCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_KUrlCompletion,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KUrlCompletion::setReplaceEnv(a0) : sipCpp->setReplaceEnv(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUrlCompletion,sipName_setReplaceEnv);

    return NULL;
}


extern "C" {static PyObject *meth_KUrlCompletion_replaceHome(PyObject *, PyObject *);}
static PyObject *meth_KUrlCompletion_replaceHome(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KUrlCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KUrlCompletion,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KUrlCompletion::replaceHome() : sipCpp->replaceHome());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUrlCompletion,sipName_replaceHome);

    return NULL;
}


extern "C" {static PyObject *meth_KUrlCompletion_setReplaceHome(PyObject *, PyObject *);}
static PyObject *meth_KUrlCompletion_setReplaceHome(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        KUrlCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_KUrlCompletion,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KUrlCompletion::setReplaceHome(a0) : sipCpp->setReplaceHome(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUrlCompletion,sipName_setReplaceHome);

    return NULL;
}


extern "C" {static PyObject *meth_KUrlCompletion_replacedPath(PyObject *, PyObject *);}
static PyObject *meth_KUrlCompletion_replacedPath(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KUrlCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KUrlCompletion,&sipCpp,sipType_QString,&a0,&a0State))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->replacedPath(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        const QString * a0;
        int a0State = 0;
        bool a1;
        bool a2 = 1;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1b|b",sipType_QString,&a0,&a0State,&a1,&a2))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KUrlCompletion::replacedPath(*a0,a1,a2));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUrlCompletion,sipName_replacedPath);

    return NULL;
}


extern "C" {static PyObject *meth_KUrlCompletion_postProcessMatch(PyObject *, PyObject *);}
static PyObject *meth_KUrlCompletion_postProcessMatch(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QString * a0;
        int a0State = 0;
        sipKUrlCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ0",&sipSelf,sipType_KUrlCompletion,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_postProcessMatch(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUrlCompletion,sipName_postProcessMatch);

    return NULL;
}


extern "C" {static PyObject *meth_KUrlCompletion_postProcessMatches(PyObject *, PyObject *);}
static PyObject *meth_KUrlCompletion_postProcessMatches(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QStringList * a0;
        int a0State = 0;
        sipKUrlCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ0",&sipSelf,sipType_KUrlCompletion,&sipCpp,sipType_QStringList,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_postProcessMatches(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUrlCompletion,sipName_postProcessMatches);

    return NULL;
}


extern "C" {static PyObject *meth_KUrlCompletion_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KUrlCompletion_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKUrlCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KUrlCompletion,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUrlCompletion,sipName_customEvent);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KUrlCompletion(void *, const sipTypeDef *);}
static void *cast_KUrlCompletion(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KUrlCompletion)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KCompletion)->ctd_cast((KCompletion *)(KUrlCompletion *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KUrlCompletion(void *, int);}
static void release_KUrlCompletion(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKUrlCompletion *>(sipCppV);
    else
        delete reinterpret_cast<KUrlCompletion *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KUrlCompletion(sipSimpleWrapper *);}
static void dealloc_KUrlCompletion(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKUrlCompletion *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KUrlCompletion(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KUrlCompletion(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KUrlCompletion(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipKUrlCompletion *sipCpp = 0;

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKUrlCompletion();
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        KUrlCompletion::Mode a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"E",sipType_KUrlCompletion_Mode,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKUrlCompletion(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KUrlCompletion[] = {{52, 6, 1}};


static PyMethodDef methods_KUrlCompletion[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KUrlCompletion_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KUrlCompletion_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KUrlCompletion_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dir), meth_KUrlCompletion_dir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KUrlCompletion_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isRunning), meth_KUrlCompletion_isRunning, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_makeCompletion), meth_KUrlCompletion_makeCompletion, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mode), meth_KUrlCompletion_mode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_postProcessMatch), meth_KUrlCompletion_postProcessMatch, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_postProcessMatches), meth_KUrlCompletion_postProcessMatches, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KUrlCompletion_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_replaceEnv), meth_KUrlCompletion_replaceEnv, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_replaceHome), meth_KUrlCompletion_replaceHome, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_replacedPath), meth_KUrlCompletion_replacedPath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDir), meth_KUrlCompletion_setDir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMode), meth_KUrlCompletion_setMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setReplaceEnv), meth_KUrlCompletion_setReplaceEnv, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setReplaceHome), meth_KUrlCompletion_setReplaceHome, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_stop), meth_KUrlCompletion_stop, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KUrlCompletion_timerEvent, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KUrlCompletion[] = {
    {sipName_DirCompletion, KUrlCompletion::DirCompletion, 211},
    {sipName_ExeCompletion, KUrlCompletion::ExeCompletion, 211},
    {sipName_FileCompletion, KUrlCompletion::FileCompletion, 211},
};


pyqt4ClassTypeDef pyqt4Type_kio_KUrlCompletion = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KUrlCompletion,
        {0}
    },
    sipNameNr_KUrlCompletion,
    -1,
    -1,
    {0, 0, 1},
    supers_KUrlCompletion,
    0,
    20, methods_KUrlCompletion,
    3, enummembers_KUrlCompletion,
    0, 0,
    init_KUrlCompletion,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KUrlCompletion,
    release_KUrlCompletion,
    cast_KUrlCompletion,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KUrlCompletion::staticMetaObject,
    0,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kshellcompletion.sip"
#include <kshellcompletion.h>
#line 15004 "sipkiopart1.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 15008 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 15011 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15014 "sipkiopart1.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kurlcompletion.sip"
#include <kurlcompletion.h>
#line 15017 "sipkiopart1.cpp"
#line 31 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kcompletion.sip"
#include <kcompletion.h>
#line 15020 "sipkiopart1.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kglobalsettings.sip"
#include <kglobalsettings.h>
#line 15023 "sipkiopart1.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15026 "sipkiopart1.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15029 "sipkiopart1.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 15032 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 15035 "sipkiopart1.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 15066 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 15069 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 15072 "sipkiopart1.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 15075 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 15078 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 15081 "sipkiopart1.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15084 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 15087 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 15090 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 15093 "sipkiopart1.cpp"


class sipKShellCompletion : public KShellCompletion
{
public:
    sipKShellCompletion();
    virtual ~sipKShellCompletion();

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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_postProcessMatch(bool,QString *) const;
    void sipProtectVirt_postProcessMatches(bool,QStringList *) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QString makeCompletion(const QString&);
    void setDir(const QString&);
    QString dir() const;
    bool isRunning() const;
    void stop();
    KUrlCompletion::Mode mode() const;
    void setMode(KUrlCompletion::Mode);
    bool replaceEnv() const;
    void setReplaceEnv(bool);
    bool replaceHome() const;
    void setReplaceHome(bool);
    void customEvent(QEvent *);
    const QString& lastMatch() const;
    void setCompletionMode(KGlobalSettings::Completion);
    void setOrder(KCompletion::CompOrder);
    void setIgnoreCase(bool);
    void setSoundsEnabled(bool);
    void setItems(const QStringList&);
    void clear();
    void postProcessMatch(QString *) const;
    void postProcessMatches(QStringList *) const;
    bool event(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[27];
};

sipKShellCompletion::sipKShellCompletion(): KShellCompletion(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKShellCompletion::~sipKShellCompletion()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKShellCompletion::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KShellCompletion);
}

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

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KShellCompletion,_c,_id,_a);

    return _id;
}

void *sipKShellCompletion::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast && sip_kio_qt_metacast(sipPySelf,sipType_KShellCompletion,_clname)) ? this : KShellCompletion::qt_metacast(_clname);
}

QString sipKShellCompletion::makeCompletion(const QString& a0)
{
    typedef QString (*sipVH_QtCore_0)(sip_gilstate_t,PyObject *,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_makeCompletion);

    if (!meth)
        return KShellCompletion::makeCompletion(a0);

    return ((sipVH_QtCore_0)(sipModuleAPI_kio_QtCore->em_virthandlers[0]))(sipGILState,meth,a0);
}

void sipKShellCompletion::setDir(const QString& a0)
{
    typedef void (*sipVH_QtCore_29)(sip_gilstate_t,PyObject *,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_setDir);

    if (!meth)
    {
        KUrlCompletion::setDir(a0);
        return;
    }

    ((sipVH_QtCore_29)(sipModuleAPI_kio_QtCore->em_virthandlers[29]))(sipGILState,meth,a0);
}

QString sipKShellCompletion::dir() const
{
    typedef QString (*sipVH_QtCore_58)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_dir);

    if (!meth)
        return KUrlCompletion::dir();

    return ((sipVH_QtCore_58)(sipModuleAPI_kio_QtCore->em_virthandlers[58]))(sipGILState,meth);
}

bool sipKShellCompletion::isRunning() const
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_isRunning);

    if (!meth)
        return KUrlCompletion::isRunning();

    return ((sipVH_QtCore_1)(sipModuleAPI_kio_QtCore->em_virthandlers[1]))(sipGILState,meth);
}

void sipKShellCompletion::stop()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_stop);

    if (!meth)
    {
        KUrlCompletion::stop();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

KUrlCompletion::Mode sipKShellCompletion::mode() const
{
    extern KUrlCompletion::Mode sipVH_kio_26(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_mode);

    if (!meth)
        return KUrlCompletion::mode();

    return sipVH_kio_26(sipGILState,meth);
}

void sipKShellCompletion::setMode(KUrlCompletion::Mode a0)
{
    extern void sipVH_kio_25(sip_gilstate_t,PyObject *,KUrlCompletion::Mode);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_setMode);

    if (!meth)
    {
        KUrlCompletion::setMode(a0);
        return;
    }

    sipVH_kio_25(sipGILState,meth,a0);
}

bool sipKShellCompletion::replaceEnv() const
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KUrlCompletion::replaceEnv();

    return ((sipVH_QtCore_1)(sipModuleAPI_kio_QtCore->em_virthandlers[1]))(sipGILState,meth);
}

void sipKShellCompletion::setReplaceEnv(bool a0)
{
    typedef void (*sipVH_QtNetwork_2)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_setReplaceEnv);

    if (!meth)
    {
        KUrlCompletion::setReplaceEnv(a0);
        return;
    }

    ((sipVH_QtNetwork_2)(sipModuleAPI_kio_QtNetwork->em_virthandlers[2]))(sipGILState,meth,a0);
}

bool sipKShellCompletion::replaceHome() const
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KUrlCompletion::replaceHome();

    return ((sipVH_QtCore_1)(sipModuleAPI_kio_QtCore->em_virthandlers[1]))(sipGILState,meth);
}

void sipKShellCompletion::setReplaceHome(bool a0)
{
    typedef void (*sipVH_QtNetwork_2)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_setReplaceHome);

    if (!meth)
    {
        KUrlCompletion::setReplaceHome(a0);
        return;
    }

    ((sipVH_QtNetwork_2)(sipModuleAPI_kio_QtNetwork->em_virthandlers[2]))(sipGILState,meth,a0);
}

void sipKShellCompletion::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        KUrlCompletion::customEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

const QString& sipKShellCompletion::lastMatch() const
{
    typedef const QString& (*sipVH_kdeui_51)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KCompletion::lastMatch();

    return ((sipVH_kdeui_51)(sipModuleAPI_kio_kdeui->em_virthandlers[51]))(sipGILState,meth);
}

void sipKShellCompletion::setCompletionMode(KGlobalSettings::Completion a0)
{
    typedef void (*sipVH_kdeui_36)(sip_gilstate_t,PyObject *,KGlobalSettings::Completion);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_setCompletionMode);

    if (!meth)
    {
        KCompletion::setCompletionMode(a0);
        return;
    }

    ((sipVH_kdeui_36)(sipModuleAPI_kio_kdeui->em_virthandlers[36]))(sipGILState,meth,a0);
}

void sipKShellCompletion::setOrder(KCompletion::CompOrder a0)
{
    typedef void (*sipVH_kdeui_62)(sip_gilstate_t,PyObject *,KCompletion::CompOrder);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_setOrder);

    if (!meth)
    {
        KCompletion::setOrder(a0);
        return;
    }

    ((sipVH_kdeui_62)(sipModuleAPI_kio_kdeui->em_virthandlers[62]))(sipGILState,meth,a0);
}

void sipKShellCompletion::setIgnoreCase(bool a0)
{
    typedef void (*sipVH_QtNetwork_2)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_setIgnoreCase);

    if (!meth)
    {
        KCompletion::setIgnoreCase(a0);
        return;
    }

    ((sipVH_QtNetwork_2)(sipModuleAPI_kio_QtNetwork->em_virthandlers[2]))(sipGILState,meth,a0);
}

void sipKShellCompletion::setSoundsEnabled(bool a0)
{
    typedef void (*sipVH_QtNetwork_2)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_setSoundsEnabled);

    if (!meth)
    {
        KCompletion::setSoundsEnabled(a0);
        return;
    }

    ((sipVH_QtNetwork_2)(sipModuleAPI_kio_QtNetwork->em_virthandlers[2]))(sipGILState,meth,a0);
}

void sipKShellCompletion::setItems(const QStringList& a0)
{
    typedef void (*sipVH_kdecore_51)(sip_gilstate_t,PyObject *,const QStringList&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_setItems);

    if (!meth)
    {
        KCompletion::setItems(a0);
        return;
    }

    ((sipVH_kdecore_51)(sipModuleAPI_kio_kdecore->em_virthandlers[51]))(sipGILState,meth,a0);
}

void sipKShellCompletion::clear()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_clear);

    if (!meth)
    {
        KCompletion::clear();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipKShellCompletion::postProcessMatch(QString *a0) const
{
    typedef void (*sipVH_kdeui_61)(sip_gilstate_t,PyObject *,QString *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_postProcessMatch);

    if (!meth)
    {
        KShellCompletion::postProcessMatch(a0);
        return;
    }

    ((sipVH_kdeui_61)(sipModuleAPI_kio_kdeui->em_virthandlers[61]))(sipGILState,meth,a0);
}

void sipKShellCompletion::postProcessMatches(QStringList *a0) const
{
    typedef void (*sipVH_kdeui_60)(sip_gilstate_t,PyObject *,QStringList *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_postProcessMatches);

    if (!meth)
    {
        KShellCompletion::postProcessMatches(a0);
        return;
    }

    ((sipVH_kdeui_60)(sipModuleAPI_kio_kdeui->em_virthandlers[60]))(sipGILState,meth,a0);
}

bool sipKShellCompletion::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QObject::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_kio_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipKShellCompletion::eventFilter(QObject *a0,QEvent *a1)
{
    typedef bool (*sipVH_QtCore_21)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_eventFilter);

    if (!meth)
        return QObject::eventFilter(a0,a1);

    return ((sipVH_QtCore_21)(sipModuleAPI_kio_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

void sipKShellCompletion::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    ((sipVH_QtCore_3)(sipModuleAPI_kio_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKShellCompletion::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    ((sipVH_QtCore_20)(sipModuleAPI_kio_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKShellCompletion::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKShellCompletion::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

int sipKShellCompletion::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKShellCompletion::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKShellCompletion::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKShellCompletion::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKShellCompletion::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

void sipKShellCompletion::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? KUrlCompletion::customEvent(a0) : customEvent(a0));
}

void sipKShellCompletion::sipProtectVirt_postProcessMatch(bool sipSelfWasArg,QString *a0) const
{
    (sipSelfWasArg ? KShellCompletion::postProcessMatch(a0) : postProcessMatch(a0));
}

void sipKShellCompletion::sipProtectVirt_postProcessMatches(bool sipSelfWasArg,QStringList *a0) const
{
    (sipSelfWasArg ? KShellCompletion::postProcessMatches(a0) : postProcessMatches(a0));
}


extern "C" {static PyObject *meth_KShellCompletion_receivers(PyObject *, PyObject *);}
static PyObject *meth_KShellCompletion_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipKShellCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KShellCompletion,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 15717 "sipkiopart1.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KShellCompletion,sipName_receivers);

    return NULL;
}


extern "C" {static PyObject *meth_KShellCompletion_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KShellCompletion_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKShellCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KShellCompletion,&sipCpp,sipType_QTimerEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KShellCompletion,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KShellCompletion_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KShellCompletion_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKShellCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KShellCompletion,&sipCpp,sipType_QChildEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KShellCompletion,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KShellCompletion_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KShellCompletion_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKShellCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KShellCompletion,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KShellCompletion,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KShellCompletion_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KShellCompletion_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKShellCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KShellCompletion,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KShellCompletion,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KShellCompletion_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KShellCompletion_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKShellCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KShellCompletion,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KShellCompletion,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KShellCompletion_makeCompletion(PyObject *, PyObject *);}
static PyObject *meth_KShellCompletion_makeCompletion(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        KShellCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KShellCompletion,&sipCpp,sipType_QString,&a0,&a0State))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString((sipSelfWasArg ? sipCpp->KShellCompletion::makeCompletion(*a0) : sipCpp->makeCompletion(*a0)));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KShellCompletion,sipName_makeCompletion);

    return NULL;
}


extern "C" {static PyObject *meth_KShellCompletion_postProcessMatch(PyObject *, PyObject *);}
static PyObject *meth_KShellCompletion_postProcessMatch(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QString * a0;
        int a0State = 0;
        sipKShellCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ0",&sipSelf,sipType_KShellCompletion,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_postProcessMatch(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KShellCompletion,sipName_postProcessMatch);

    return NULL;
}


extern "C" {static PyObject *meth_KShellCompletion_postProcessMatches(PyObject *, PyObject *);}
static PyObject *meth_KShellCompletion_postProcessMatches(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QStringList * a0;
        int a0State = 0;
        sipKShellCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ0",&sipSelf,sipType_KShellCompletion,&sipCpp,sipType_QStringList,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_postProcessMatches(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KShellCompletion,sipName_postProcessMatches);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KShellCompletion(void *, const sipTypeDef *);}
static void *cast_KShellCompletion(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KShellCompletion)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KUrlCompletion)->ctd_cast((KUrlCompletion *)(KShellCompletion *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KShellCompletion(void *, int);}
static void release_KShellCompletion(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKShellCompletion *>(sipCppV);
    else
        delete reinterpret_cast<KShellCompletion *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KShellCompletion(sipSimpleWrapper *);}
static void dealloc_KShellCompletion(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKShellCompletion *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KShellCompletion(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KShellCompletion(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KShellCompletion(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipKShellCompletion *sipCpp = 0;

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKShellCompletion();
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KShellCompletion[] = {{210, 255, 1}};


static PyMethodDef methods_KShellCompletion[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KShellCompletion_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KShellCompletion_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KShellCompletion_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KShellCompletion_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_makeCompletion), meth_KShellCompletion_makeCompletion, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_postProcessMatch), meth_KShellCompletion_postProcessMatch, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_postProcessMatches), meth_KShellCompletion_postProcessMatches, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KShellCompletion_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KShellCompletion_timerEvent, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kio_KShellCompletion = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KShellCompletion,
        {0}
    },
    sipNameNr_KShellCompletion,
    -1,
    -1,
    {0, 0, 1},
    supers_KShellCompletion,
    0,
    9, methods_KShellCompletion,
    0, 0,
    0, 0,
    init_KShellCompletion,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KShellCompletion,
    release_KShellCompletion,
    cast_KShellCompletion,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KShellCompletion::staticMetaObject,
    0,
    0
};

#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kscan.sip"
#include <kscan.h>
#line 16094 "sipkiopart1.cpp"

#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 16098 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 16101 "sipkiopart1.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kpagewidget.sip"
#include <kpagewidget.h>
#line 16104 "sipkiopart1.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kpagewidgetmodel.sip"
#include <kpagewidgetmodel.h>
#line 16107 "sipkiopart1.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kpagedialog.sip"
#include <kpagedialog.h>
#line 16110 "sipkiopart1.cpp"
#line 296 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 16113 "sipkiopart1.cpp"
#line 388 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 16116 "sipkiopart1.cpp"
#line 424 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 16119 "sipkiopart1.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 16122 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 16125 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 16128 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qlayout.sip"
#include <qlayout.h>
#line 16131 "sipkiopart1.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 16134 "sipkiopart1.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kpushbutton.sip"
#include <kpushbutton.h>
#line 16137 "sipkiopart1.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 16140 "sipkiopart1.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 16143 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qmenu.sip"
#include <qmenu.h>
#line 16146 "sipkiopart1.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kguiitem.sip"
#include <kguiitem.h>
#line 16149 "sipkiopart1.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 16152 "sipkiopart1.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 16155 "sipkiopart1.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 16158 "sipkiopart1.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 16161 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 16164 "sipkiopart1.cpp"
#line 436 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 16167 "sipkiopart1.cpp"
#line 374 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 16170 "sipkiopart1.cpp"
#line 412 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 16173 "sipkiopart1.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 16176 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 16179 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 16182 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 16185 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 16188 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 16191 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 16194 "sipkiopart1.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 16197 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 16200 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 16203 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 16206 "sipkiopart1.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 16209 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 16212 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 16215 "sipkiopart1.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 16220 "sipkiopart1.cpp"
#line 508 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 16223 "sipkiopart1.cpp"
#line 562 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 16226 "sipkiopart1.cpp"
#line 533 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 16229 "sipkiopart1.cpp"
#line 550 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 16232 "sipkiopart1.cpp"
#line 618 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 16235 "sipkiopart1.cpp"
#line 247 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 16238 "sipkiopart1.cpp"
#line 360 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 16241 "sipkiopart1.cpp"
#line 345 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 16244 "sipkiopart1.cpp"
#line 325 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 16247 "sipkiopart1.cpp"
#line 225 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 16250 "sipkiopart1.cpp"
#line 184 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 16253 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 16256 "sipkiopart1.cpp"
#line 74 "/usr/local/share/py-sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 16259 "sipkiopart1.cpp"
#line 47 "/usr/local/share/py-sip/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 16262 "sipkiopart1.cpp"
#line 136 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#include <qlist.h>
#line 66 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qlist.h>
#line 229 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 520 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 16323 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 16326 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 16329 "sipkiopart1.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 16332 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 16335 "sipkiopart1.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 16340 "sipkiopart1.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 16343 "sipkiopart1.cpp"
#line 99 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 16346 "sipkiopart1.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 16349 "sipkiopart1.cpp"
#line 165 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 16352 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 16355 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qdockwidget.sip"
#include <qdockwidget.h>
#line 16358 "sipkiopart1.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 16361 "sipkiopart1.cpp"
#line 334 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 16364 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 56 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 16369 "sipkiopart1.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qprinterinfo.h>
#line 16372 "sipkiopart1.cpp"
#line 202 "/usr/local/share/py-sip/QtGui/qstandarditemmodel.sip"
#include <qstandarditemmodel.h>
#line 16375 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 16378 "sipkiopart1.cpp"
#line 66 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 16381 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 114 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 16386 "sipkiopart1.cpp"
#line 65 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 88 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 16391 "sipkiopart1.cpp"
#line 149 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 175 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 16396 "sipkiopart1.cpp"
#line 83 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 101 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 16401 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 16404 "sipkiopart1.cpp"
#line 75 "/usr/local/share/py-sip/QtGui/qundostack.sip"
#include <qundostack.h>
#line 16407 "sipkiopart1.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 16410 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qprinter.sip"
#include <qprinter.h>
#line 16413 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#line 16416 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 16419 "sipkiopart1.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 16422 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 16425 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 16428 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 16431 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 16434 "sipkiopart1.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 16437 "sipkiopart1.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 16440 "sipkiopart1.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 16471 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 16474 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 16477 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 16480 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 16483 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 16486 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 16489 "sipkiopart1.cpp"


class sipKOCRDialog : public KOCRDialog
{
public:
    sipKOCRDialog(int,int,QWidget *,bool);
    virtual ~sipKOCRDialog();

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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    bool sipProtectVirt_event(bool,QEvent *);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent *);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent *);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent *);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent *);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent *);
    void sipProtectVirt_enterEvent(bool,QEvent *);
    void sipProtectVirt_leaveEvent(bool,QEvent *);
    void sipProtectVirt_paintEvent(bool,QPaintEvent *);
    void sipProtectVirt_moveEvent(bool,QMoveEvent *);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent *);
    void sipProtectVirt_actionEvent(bool,QActionEvent *);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent *);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent *);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent *);
    void sipProtectVirt_dropEvent(bool,QDropEvent *);
    void sipProtectVirt_changeEvent(bool,QEvent *);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent *);
    void sipProtect_resetInputContext();
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    void sipProtectVirt_enabledChange(bool,bool);
    void sipProtectVirt_paletteChange(bool,const QPalette&);
    void sipProtectVirt_fontChange(bool,const QFont&);
    void sipProtectVirt_windowActivationChange(bool,bool);
    void sipProtectVirt_languageChange(bool);
    void sipProtectVirt_showEvent(bool,QShowEvent *);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent *);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent *);
    bool sipProtectVirt_eventFilter(bool,QObject *,QEvent *);
    void sipProtectVirt_hideEvent(bool,QHideEvent *);
    void sipProtectVirt_closeEvent(bool,QCloseEvent *);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent *);
    void sipProtectVirt_slotButtonClicked(bool,int);
    void sipProtect_updateGeometry();
    KPageWidget * sipProtect_pageWidget();
    int sipProtect_id() const;
    int sipProtect_nextId();

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[54];
};

sipKOCRDialog::sipKOCRDialog(int a0,int a1,QWidget *a2,bool a3): KOCRDialog(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKOCRDialog::~sipKOCRDialog()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKOCRDialog::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KOCRDialog);
}

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

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KOCRDialog,_c,_id,_a);

    return _id;
}

void *sipKOCRDialog::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast && sip_kio_qt_metacast(sipPySelf,sipType_KOCRDialog,_clname)) ? this : KOCRDialog::qt_metacast(_clname);
}

QSize sipKOCRDialog::sizeHint() const
{
    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KDialog::sizeHint();

    return ((sipVH_QtGui_4)(sipModuleAPI_kio_QtGui->em_virthandlers[4]))(sipGILState,meth);
}

QSize sipKOCRDialog::minimumSizeHint() const
{
    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KDialog::minimumSizeHint();

    return ((sipVH_QtGui_4)(sipModuleAPI_kio_QtGui->em_virthandlers[4]))(sipGILState,meth);
}

void sipKOCRDialog::setCaption(const QString& a0)
{
    typedef void (*sipVH_QtCore_29)(sip_gilstate_t,PyObject *,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_setCaption);

    if (!meth)
    {
        KDialog::setCaption(a0);
        return;
    }

    ((sipVH_QtCore_29)(sipModuleAPI_kio_QtCore->em_virthandlers[29]))(sipGILState,meth,a0);
}

void sipKOCRDialog::setCaption(const QString& a0,bool a1)
{
    typedef void (*sipVH_QtXml_24)(sip_gilstate_t,PyObject *,const QString&,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_setCaption);

    if (!meth)
    {
        KDialog::setCaption(a0,a1);
        return;
    }

    ((sipVH_QtXml_24)(sipModuleAPI_kio_QtXml->em_virthandlers[24]))(sipGILState,meth,a0,a1);
}

void sipKOCRDialog::setPlainCaption(const QString& a0)
{
    typedef void (*sipVH_QtCore_29)(sip_gilstate_t,PyObject *,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_setPlainCaption);

    if (!meth)
    {
        KDialog::setPlainCaption(a0);
        return;
    }

    ((sipVH_QtCore_29)(sipModuleAPI_kio_QtCore->em_virthandlers[29]))(sipGILState,meth,a0);
}

void sipKOCRDialog::hideEvent(QHideEvent *a0)
{
    typedef void (*sipVH_QtGui_0)(sip_gilstate_t,PyObject *,QHideEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_hideEvent);

    if (!meth)
    {
        KDialog::hideEvent(a0);
        return;
    }

    ((sipVH_QtGui_0)(sipModuleAPI_kio_QtGui->em_virthandlers[0]))(sipGILState,meth,a0);
}

void sipKOCRDialog::closeEvent(QCloseEvent *a0)
{
    typedef void (*sipVH_QtGui_23)(sip_gilstate_t,PyObject *,QCloseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_closeEvent);

    if (!meth)
    {
        KDialog::closeEvent(a0);
        return;
    }

    ((sipVH_QtGui_23)(sipModuleAPI_kio_QtGui->em_virthandlers[23]))(sipGILState,meth,a0);
}

void sipKOCRDialog::keyPressEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_keyPressEvent);

    if (!meth)
    {
        KDialog::keyPressEvent(a0);
        return;
    }

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipKOCRDialog::slotButtonClicked(int a0)
{
    typedef void (*sipVH_QtNetwork_1)(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_slotButtonClicked);

    if (!meth)
    {
        KDialog::slotButtonClicked(a0);
        return;
    }

    ((sipVH_QtNetwork_1)(sipModuleAPI_kio_QtNetwork->em_virthandlers[1]))(sipGILState,meth,a0);
}

void sipKOCRDialog::setVisible(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_setVisible);

    if (!meth)
    {
        QDialog::setVisible(a0);
        return;
    }

    ((sipVH_QtGui_7)(sipModuleAPI_kio_QtGui->em_virthandlers[7]))(sipGILState,meth,a0);
}

void sipKOCRDialog::done(int a0)
{
    typedef void (*sipVH_QtGui_6)(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_done);

    if (!meth)
    {
        QDialog::done(a0);
        return;
    }

    ((sipVH_QtGui_6)(sipModuleAPI_kio_QtGui->em_virthandlers[6]))(sipGILState,meth,a0);
}

void sipKOCRDialog::accept()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_accept);

    if (!meth)
    {
        QDialog::accept();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipKOCRDialog::reject()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_reject);

    if (!meth)
    {
        QDialog::reject();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipKOCRDialog::showEvent(QShowEvent *a0)
{
    typedef void (*sipVH_QtGui_1)(sip_gilstate_t,PyObject *,QShowEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_showEvent);

    if (!meth)
    {
        QDialog::showEvent(a0);
        return;
    }

    ((sipVH_QtGui_1)(sipModuleAPI_kio_QtGui->em_virthandlers[1]))(sipGILState,meth,a0);
}

void sipKOCRDialog::resizeEvent(QResizeEvent *a0)
{
    typedef void (*sipVH_QtGui_2)(sip_gilstate_t,PyObject *,QResizeEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_resizeEvent);

    if (!meth)
    {
        QDialog::resizeEvent(a0);
        return;
    }

    ((sipVH_QtGui_2)(sipModuleAPI_kio_QtGui->em_virthandlers[2]))(sipGILState,meth,a0);
}

void sipKOCRDialog::contextMenuEvent(QContextMenuEvent *a0)
{
    typedef void (*sipVH_QtGui_22)(sip_gilstate_t,PyObject *,QContextMenuEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!meth)
    {
        QDialog::contextMenuEvent(a0);
        return;
    }

    ((sipVH_QtGui_22)(sipModuleAPI_kio_QtGui->em_virthandlers[22]))(sipGILState,meth,a0);
}

bool sipKOCRDialog::eventFilter(QObject *a0,QEvent *a1)
{
    typedef bool (*sipVH_QtCore_21)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_eventFilter);

    if (!meth)
        return QDialog::eventFilter(a0,a1);

    return ((sipVH_QtCore_21)(sipModuleAPI_kio_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

int sipKOCRDialog::devType() const
{
    typedef int (*sipVH_QtCore_8)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::devType();

    return ((sipVH_QtCore_8)(sipModuleAPI_kio_QtCore->em_virthandlers[8]))(sipGILState,meth);
}

int sipKOCRDialog::heightForWidth(int a0) const
{
    typedef int (*sipVH_QtGui_29)(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::heightForWidth(a0);

    return ((sipVH_QtGui_29)(sipModuleAPI_kio_QtGui->em_virthandlers[29]))(sipGILState,meth,a0);
}

QPaintEngine * sipKOCRDialog::paintEngine() const
{
    typedef QPaintEngine * (*sipVH_QtGui_28)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::paintEngine();

    return ((sipVH_QtGui_28)(sipModuleAPI_kio_QtGui->em_virthandlers[28]))(sipGILState,meth);
}

bool sipKOCRDialog::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QWidget::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_kio_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

void sipKOCRDialog::mousePressEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_mousePressEvent);

    if (!meth)
    {
        QWidget::mousePressEvent(a0);
        return;
    }

    ((sipVH_QtGui_27)(sipModuleAPI_kio_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipKOCRDialog::mouseReleaseEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!meth)
    {
        QWidget::mouseReleaseEvent(a0);
        return;
    }

    ((sipVH_QtGui_27)(sipModuleAPI_kio_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipKOCRDialog::mouseDoubleClickEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!meth)
    {
        QWidget::mouseDoubleClickEvent(a0);
        return;
    }

    ((sipVH_QtGui_27)(sipModuleAPI_kio_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipKOCRDialog::mouseMoveEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!meth)
    {
        QWidget::mouseMoveEvent(a0);
        return;
    }

    ((sipVH_QtGui_27)(sipModuleAPI_kio_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipKOCRDialog::wheelEvent(QWheelEvent *a0)
{
    typedef void (*sipVH_QtGui_5)(sip_gilstate_t,PyObject *,QWheelEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_wheelEvent);

    if (!meth)
    {
        QWidget::wheelEvent(a0);
        return;
    }

    ((sipVH_QtGui_5)(sipModuleAPI_kio_QtGui->em_virthandlers[5]))(sipGILState,meth,a0);
}

void sipKOCRDialog::keyReleaseEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QWidget::keyReleaseEvent(a0);
        return;
    }

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipKOCRDialog::focusInEvent(QFocusEvent *a0)
{
    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QFocusEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_focusInEvent);

    if (!meth)
    {
        QWidget::focusInEvent(a0);
        return;
    }

    ((sipVH_QtGui_25)(sipModuleAPI_kio_QtGui->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipKOCRDialog::focusOutEvent(QFocusEvent *a0)
{
    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QFocusEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_focusOutEvent);

    if (!meth)
    {
        QWidget::focusOutEvent(a0);
        return;
    }

    ((sipVH_QtGui_25)(sipModuleAPI_kio_QtGui->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipKOCRDialog::enterEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_enterEvent);

    if (!meth)
    {
        QWidget::enterEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKOCRDialog::leaveEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_leaveEvent);

    if (!meth)
    {
        QWidget::leaveEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKOCRDialog::paintEvent(QPaintEvent *a0)
{
    typedef void (*sipVH_QtGui_3)(sip_gilstate_t,PyObject *,QPaintEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_paintEvent);

    if (!meth)
    {
        QWidget::paintEvent(a0);
        return;
    }

    ((sipVH_QtGui_3)(sipModuleAPI_kio_QtGui->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKOCRDialog::moveEvent(QMoveEvent *a0)
{
    typedef void (*sipVH_QtGui_24)(sip_gilstate_t,PyObject *,QMoveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_moveEvent);

    if (!meth)
    {
        QWidget::moveEvent(a0);
        return;
    }

    ((sipVH_QtGui_24)(sipModuleAPI_kio_QtGui->em_virthandlers[24]))(sipGILState,meth,a0);
}

void sipKOCRDialog::tabletEvent(QTabletEvent *a0)
{
    typedef void (*sipVH_QtGui_21)(sip_gilstate_t,PyObject *,QTabletEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QWidget::tabletEvent(a0);
        return;
    }

    ((sipVH_QtGui_21)(sipModuleAPI_kio_QtGui->em_virthandlers[21]))(sipGILState,meth,a0);
}

void sipKOCRDialog::actionEvent(QActionEvent *a0)
{
    typedef void (*sipVH_QtGui_20)(sip_gilstate_t,PyObject *,QActionEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QWidget::actionEvent(a0);
        return;
    }

    ((sipVH_QtGui_20)(sipModuleAPI_kio_QtGui->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKOCRDialog::dragEnterEvent(QDragEnterEvent *a0)
{
    typedef void (*sipVH_QtGui_19)(sip_gilstate_t,PyObject *,QDragEnterEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QWidget::dragEnterEvent(a0);
        return;
    }

    ((sipVH_QtGui_19)(sipModuleAPI_kio_QtGui->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKOCRDialog::dragMoveEvent(QDragMoveEvent *a0)
{
    typedef void (*sipVH_QtGui_18)(sip_gilstate_t,PyObject *,QDragMoveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QWidget::dragMoveEvent(a0);
        return;
    }

    ((sipVH_QtGui_18)(sipModuleAPI_kio_QtGui->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKOCRDialog::dragLeaveEvent(QDragLeaveEvent *a0)
{
    typedef void (*sipVH_QtGui_17)(sip_gilstate_t,PyObject *,QDragLeaveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QWidget::dragLeaveEvent(a0);
        return;
    }

    ((sipVH_QtGui_17)(sipModuleAPI_kio_QtGui->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipKOCRDialog::dropEvent(QDropEvent *a0)
{
    typedef void (*sipVH_QtGui_16)(sip_gilstate_t,PyObject *,QDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QWidget::dropEvent(a0);
        return;
    }

    ((sipVH_QtGui_16)(sipModuleAPI_kio_QtGui->em_virthandlers[16]))(sipGILState,meth,a0);
}

void sipKOCRDialog::changeEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_changeEvent);

    if (!meth)
    {
        QWidget::changeEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

int sipKOCRDialog::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    typedef int (*sipVH_QtGui_15)(sip_gilstate_t,PyObject *,QPaintDevice::PaintDeviceMetric);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::metric(a0);

    return ((sipVH_QtGui_15)(sipModuleAPI_kio_QtGui->em_virthandlers[15]))(sipGILState,meth,a0);
}

void sipKOCRDialog::inputMethodEvent(QInputMethodEvent *a0)
{
    typedef void (*sipVH_QtGui_14)(sip_gilstate_t,PyObject *,QInputMethodEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!meth)
    {
        QWidget::inputMethodEvent(a0);
        return;
    }

    ((sipVH_QtGui_14)(sipModuleAPI_kio_QtGui->em_virthandlers[14]))(sipGILState,meth,a0);
}

QVariant sipKOCRDialog::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    typedef QVariant (*sipVH_QtGui_13)(sip_gilstate_t,PyObject *,Qt::InputMethodQuery);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::inputMethodQuery(a0);

    return ((sipVH_QtGui_13)(sipModuleAPI_kio_QtGui->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipKOCRDialog::focusNextPrevChild(bool a0)
{
    typedef bool (*sipVH_QtGui_12)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!meth)
        return QWidget::focusNextPrevChild(a0);

    return ((sipVH_QtGui_12)(sipModuleAPI_kio_QtGui->em_virthandlers[12]))(sipGILState,meth,a0);
}

void sipKOCRDialog::enabledChange(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_enabledChange);

    if (!meth)
    {
        QWidget::enabledChange(a0);
        return;
    }

    ((sipVH_QtGui_7)(sipModuleAPI_kio_QtGui->em_virthandlers[7]))(sipGILState,meth,a0);
}

void sipKOCRDialog::paletteChange(const QPalette& a0)
{
    typedef void (*sipVH_QtGui_11)(sip_gilstate_t,PyObject *,const QPalette&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_paletteChange);

    if (!meth)
    {
        QWidget::paletteChange(a0);
        return;
    }

    ((sipVH_QtGui_11)(sipModuleAPI_kio_QtGui->em_virthandlers[11]))(sipGILState,meth,a0);
}

void sipKOCRDialog::fontChange(const QFont& a0)
{
    typedef void (*sipVH_QtGui_10)(sip_gilstate_t,PyObject *,const QFont&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_fontChange);

    if (!meth)
    {
        QWidget::fontChange(a0);
        return;
    }

    ((sipVH_QtGui_10)(sipModuleAPI_kio_QtGui->em_virthandlers[10]))(sipGILState,meth,a0);
}

void sipKOCRDialog::windowActivationChange(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_windowActivationChange);

    if (!meth)
    {
        QWidget::windowActivationChange(a0);
        return;
    }

    ((sipVH_QtGui_7)(sipModuleAPI_kio_QtGui->em_virthandlers[7]))(sipGILState,meth,a0);
}

void sipKOCRDialog::languageChange()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_languageChange);

    if (!meth)
    {
        QWidget::languageChange();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipKOCRDialog::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    ((sipVH_QtCore_3)(sipModuleAPI_kio_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKOCRDialog::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    ((sipVH_QtCore_20)(sipModuleAPI_kio_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKOCRDialog::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKOCRDialog::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKOCRDialog::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

int sipKOCRDialog::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKOCRDialog::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKOCRDialog::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKOCRDialog::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKOCRDialog::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKOCRDialog::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

bool sipKOCRDialog::sipProtectVirt_event(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QWidget::event(a0) : event(a0));
}

void sipKOCRDialog::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipKOCRDialog::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipKOCRDialog::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipKOCRDialog::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipKOCRDialog::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent *a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipKOCRDialog::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipKOCRDialog::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipKOCRDialog::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipKOCRDialog::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipKOCRDialog::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipKOCRDialog::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent *a0)
{
    (sipSelfWasArg ? QWidget::paintEvent(a0) : paintEvent(a0));
}

void sipKOCRDialog::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent *a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipKOCRDialog::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent *a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipKOCRDialog::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent *a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipKOCRDialog::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipKOCRDialog::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipKOCRDialog::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipKOCRDialog::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent *a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipKOCRDialog::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QWidget::changeEvent(a0) : changeEvent(a0));
}

int sipKOCRDialog::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipKOCRDialog::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent *a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipKOCRDialog::sipProtect_resetInputContext()
{
    QWidget::resetInputContext();
}

void sipKOCRDialog::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipKOCRDialog::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipKOCRDialog::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipKOCRDialog::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipKOCRDialog::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipKOCRDialog::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

void sipKOCRDialog::sipProtectVirt_enabledChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::enabledChange(a0) : enabledChange(a0));
}

void sipKOCRDialog::sipProtectVirt_paletteChange(bool sipSelfWasArg,const QPalette& a0)
{
    (sipSelfWasArg ? QWidget::paletteChange(a0) : paletteChange(a0));
}

void sipKOCRDialog::sipProtectVirt_fontChange(bool sipSelfWasArg,const QFont& a0)
{
    (sipSelfWasArg ? QWidget::fontChange(a0) : fontChange(a0));
}

void sipKOCRDialog::sipProtectVirt_windowActivationChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::windowActivationChange(a0) : windowActivationChange(a0));
}

void sipKOCRDialog::sipProtectVirt_languageChange(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QWidget::languageChange() : languageChange());
}

void sipKOCRDialog::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent *a0)
{
    (sipSelfWasArg ? QDialog::showEvent(a0) : showEvent(a0));
}

void sipKOCRDialog::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent *a0)
{
    (sipSelfWasArg ? QDialog::resizeEvent(a0) : resizeEvent(a0));
}

void sipKOCRDialog::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent *a0)
{
    (sipSelfWasArg ? QDialog::contextMenuEvent(a0) : contextMenuEvent(a0));
}

bool sipKOCRDialog::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject *a0,QEvent *a1)
{
    return (sipSelfWasArg ? QDialog::eventFilter(a0,a1) : eventFilter(a0,a1));
}

void sipKOCRDialog::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent *a0)
{
    (sipSelfWasArg ? KDialog::hideEvent(a0) : hideEvent(a0));
}

void sipKOCRDialog::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent *a0)
{
    (sipSelfWasArg ? KDialog::closeEvent(a0) : closeEvent(a0));
}

void sipKOCRDialog::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? KDialog::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipKOCRDialog::sipProtectVirt_slotButtonClicked(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? KDialog::slotButtonClicked(a0) : slotButtonClicked(a0));
}

void sipKOCRDialog::sipProtect_updateGeometry()
{
    KDialog::updateGeometry();
}

KPageWidget * sipKOCRDialog::sipProtect_pageWidget()
{
    return KPageDialog::pageWidget();
}

int sipKOCRDialog::sipProtect_id() const
{
    return KOCRDialog::id();
}

int sipKOCRDialog::sipProtect_nextId()
{
    return KOCRDialog::nextId();
}


extern "C" {static PyObject *meth_KOCRDialog_receivers(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KOCRDialog,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 17887 "sipkiopart1.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_receivers);

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KOCRDialog,&sipCpp,sipType_QTimerEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KOCRDialog,&sipCpp,sipType_QChildEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KOCRDialog,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KOCRDialog,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KOCRDialog,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_event(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_event(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KOCRDialog,&sipCpp,sipType_QEvent,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_event);

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_mousePressEvent(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_mousePressEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KOCRDialog,&sipCpp,sipType_QMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_mousePressEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_mouseReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_mouseReleaseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KOCRDialog,&sipCpp,sipType_QMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_mouseReleaseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_mouseDoubleClickEvent(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_mouseDoubleClickEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KOCRDialog,&sipCpp,sipType_QMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_mouseDoubleClickEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_mouseMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_mouseMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KOCRDialog,&sipCpp,sipType_QMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_mouseMoveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_wheelEvent(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_wheelEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent * a0;
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KOCRDialog,&sipCpp,sipType_QWheelEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_wheelEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_keyReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_keyReleaseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KOCRDialog,&sipCpp,sipType_QKeyEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_keyReleaseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_focusInEvent(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_focusInEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KOCRDialog,&sipCpp,sipType_QFocusEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_focusInEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_focusOutEvent(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_focusOutEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KOCRDialog,&sipCpp,sipType_QFocusEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_focusOutEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_enterEvent(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_enterEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KOCRDialog,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_enterEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_leaveEvent(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_leaveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KOCRDialog,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_leaveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_paintEvent(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_paintEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent * a0;
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KOCRDialog,&sipCpp,sipType_QPaintEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_paintEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_moveEvent(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_moveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent * a0;
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KOCRDialog,&sipCpp,sipType_QMoveEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_moveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_tabletEvent(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_tabletEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent * a0;
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KOCRDialog,&sipCpp,sipType_QTabletEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_tabletEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_actionEvent(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_actionEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent * a0;
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KOCRDialog,&sipCpp,sipType_QActionEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_actionEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_dragEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_dragEnterEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent * a0;
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KOCRDialog,&sipCpp,sipType_QDragEnterEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_dragEnterEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_dragMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_dragMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent * a0;
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KOCRDialog,&sipCpp,sipType_QDragMoveEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_dragMoveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_dragLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_dragLeaveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent * a0;
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KOCRDialog,&sipCpp,sipType_QDragLeaveEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_dragLeaveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_dropEvent(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_dropEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent * a0;
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KOCRDialog,&sipCpp,sipType_QDropEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_dropEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_changeEvent(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_changeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KOCRDialog,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_changeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_metric(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_metric(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pE",&sipSelf,sipType_KOCRDialog,&sipCpp,sipType_QPaintDevice_PaintDeviceMetric,&a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_metric);

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_inputMethodEvent(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_inputMethodEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent * a0;
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KOCRDialog,&sipCpp,sipType_QInputMethodEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_inputMethodEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_resetInputContext(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_resetInputContext(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KOCRDialog,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_resetInputContext();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_resetInputContext);

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_updateMicroFocus(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_updateMicroFocus(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KOCRDialog,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_updateMicroFocus();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_updateMicroFocus);

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_create(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_create(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        WId a0 = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p|mbb",&sipSelf,sipType_KOCRDialog,&sipCpp,&a0,&a1,&a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_create(a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_create);

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_destroy(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_destroy(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p|bb",&sipSelf,sipType_KOCRDialog,&sipCpp,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_destroy(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_destroy);

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_focusNextPrevChild(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_focusNextPrevChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KOCRDialog,&sipCpp,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_focusNextPrevChild);

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_focusNextChild(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_focusNextChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KOCRDialog,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_focusNextChild();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_focusNextChild);

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_focusPreviousChild(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_focusPreviousChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KOCRDialog,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_focusPreviousChild();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_focusPreviousChild);

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_enabledChange(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_enabledChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KOCRDialog,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_enabledChange(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_enabledChange);

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_paletteChange(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_paletteChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPalette * a0;
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KOCRDialog,&sipCpp,sipType_QPalette,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paletteChange(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_paletteChange);

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_fontChange(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_fontChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QFont * a0;
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KOCRDialog,&sipCpp,sipType_QFont,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_fontChange(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_fontChange);

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_windowActivationChange(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_windowActivationChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KOCRDialog,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_windowActivationChange(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_windowActivationChange);

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_languageChange(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_languageChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KOCRDialog,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_languageChange(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_languageChange);

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_showEvent(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_showEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent * a0;
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KOCRDialog,&sipCpp,sipType_QShowEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_resizeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent * a0;
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KOCRDialog,&sipCpp,sipType_QResizeEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_resizeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_contextMenuEvent(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_contextMenuEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent * a0;
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KOCRDialog,&sipCpp,sipType_QContextMenuEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_contextMenuEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_eventFilter(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_eventFilter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject * a0;
        QEvent * a1;
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8J8",&sipSelf,sipType_KOCRDialog,&sipCpp,sipType_QObject,&a0,sipType_QEvent,&a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_eventFilter);

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_hideEvent(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_hideEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent * a0;
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KOCRDialog,&sipCpp,sipType_QHideEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_hideEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_closeEvent(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_closeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent * a0;
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KOCRDialog,&sipCpp,sipType_QCloseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_closeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_keyPressEvent(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_keyPressEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KOCRDialog,&sipCpp,sipType_QKeyEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_keyPressEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_slotButtonClicked(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_slotButtonClicked(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pi",&sipSelf,sipType_KOCRDialog,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_slotButtonClicked(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_slotButtonClicked);

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_updateGeometry(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_updateGeometry(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KOCRDialog,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_updateGeometry();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_updateGeometry);

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_pageWidget(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_pageWidget(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KOCRDialog,&sipCpp))
        {
            KPageWidget *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_pageWidget();
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_pageWidget);

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_getOCRDialog(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_getOCRDialog(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        QWidget * a0 = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"|J:",sipType_QWidget,&a0))
        {
            KOCRDialog *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KOCRDialog::getOCRDialog(a0);
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_getOCRDialog);

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_id(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_id(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KOCRDialog,&sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_id();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_id);

    return NULL;
}


extern "C" {static PyObject *meth_KOCRDialog_nextId(PyObject *, PyObject *);}
static PyObject *meth_KOCRDialog_nextId(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKOCRDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KOCRDialog,&sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_nextId();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KOCRDialog,sipName_nextId);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KOCRDialog(void *, const sipTypeDef *);}
static void *cast_KOCRDialog(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KOCRDialog)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KPageDialog)->ctd_cast((KPageDialog *)(KOCRDialog *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KOCRDialog(void *, int);}
static void release_KOCRDialog(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKOCRDialog *>(sipCppV);
    else
        delete reinterpret_cast<KOCRDialog *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KOCRDialog(sipSimpleWrapper *);}
static void dealloc_KOCRDialog(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKOCRDialog *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KOCRDialog(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KOCRDialog(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KOCRDialog(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **sipOwner, int *sipArgsParsed)
{
    sipKOCRDialog *sipCpp = 0;

    if (!sipCpp)
    {
        int a0 = KPageDialog::Tabbed;
        int a1 = KDialog::Close | KDialog::Help;
        QWidget * a2 = 0;
        bool a3 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"|iiJHb",&a0,&a1,sipType_QWidget,&a2,sipOwner,&a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKOCRDialog(a0,a1,a2,a3);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KOCRDialog[] = {{182, 6, 1}};


static PyMethodDef methods_KOCRDialog[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), meth_KOCRDialog_actionEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_KOCRDialog_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KOCRDialog_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_KOCRDialog_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KOCRDialog_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_KOCRDialog_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_create), meth_KOCRDialog_create, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KOCRDialog_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), meth_KOCRDialog_destroy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KOCRDialog_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_KOCRDialog_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_KOCRDialog_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_KOCRDialog_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_KOCRDialog_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enabledChange), meth_KOCRDialog_enabledChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), meth_KOCRDialog_enterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_KOCRDialog_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_KOCRDialog_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_KOCRDialog_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), meth_KOCRDialog_focusNextChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), meth_KOCRDialog_focusNextPrevChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_KOCRDialog_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), meth_KOCRDialog_focusPreviousChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fontChange), meth_KOCRDialog_fontChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getOCRDialog), meth_KOCRDialog_getOCRDialog, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_KOCRDialog_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_id), meth_KOCRDialog_id, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), meth_KOCRDialog_inputMethodEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_KOCRDialog_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), meth_KOCRDialog_keyReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_languageChange), meth_KOCRDialog_languageChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), meth_KOCRDialog_leaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), meth_KOCRDialog_metric, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_KOCRDialog_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_KOCRDialog_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_KOCRDialog_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_KOCRDialog_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), meth_KOCRDialog_moveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_nextId), meth_KOCRDialog_nextId, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pageWidget), meth_KOCRDialog_pageWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_KOCRDialog_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paletteChange), meth_KOCRDialog_paletteChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KOCRDialog_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resetInputContext), meth_KOCRDialog_resetInputContext, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_KOCRDialog_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_KOCRDialog_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotButtonClicked), meth_KOCRDialog_slotButtonClicked, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tabletEvent), meth_KOCRDialog_tabletEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KOCRDialog_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateGeometry), meth_KOCRDialog_updateGeometry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), meth_KOCRDialog_updateMicroFocus, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_KOCRDialog_wheelEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowActivationChange), meth_KOCRDialog_windowActivationChange, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KOCRDialog[] = {
    {"textRecognized(const QString&,int)", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_kio_KOCRDialog = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KOCRDialog,
        {0}
    },
    sipNameNr_KOCRDialog,
    -1,
    -1,
    {0, 0, 1},
    supers_KOCRDialog,
    0,
    53, methods_KOCRDialog,
    0, 0,
    0, 0,
    init_KOCRDialog,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KOCRDialog,
    release_KOCRDialog,
    cast_KOCRDialog,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KOCRDialog::staticMetaObject,
    0,
    pyqt4_signals_KOCRDialog
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kscan.sip"
#include <kscan.h>
#line 19535 "sipkiopart1.cpp"

#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 19539 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 19542 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qimage.sip"
#include <qimage.h>
#line 19545 "sipkiopart1.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kpagewidget.sip"
#include <kpagewidget.h>
#line 19548 "sipkiopart1.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kpagewidgetmodel.sip"
#include <kpagewidgetmodel.h>
#line 19551 "sipkiopart1.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kpagedialog.sip"
#include <kpagedialog.h>
#line 19554 "sipkiopart1.cpp"
#line 296 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 19557 "sipkiopart1.cpp"
#line 388 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 19560 "sipkiopart1.cpp"
#line 424 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 19563 "sipkiopart1.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 19566 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 19569 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 19572 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qlayout.sip"
#include <qlayout.h>
#line 19575 "sipkiopart1.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 19578 "sipkiopart1.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kpushbutton.sip"
#include <kpushbutton.h>
#line 19581 "sipkiopart1.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 19584 "sipkiopart1.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 19587 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qmenu.sip"
#include <qmenu.h>
#line 19590 "sipkiopart1.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kguiitem.sip"
#include <kguiitem.h>
#line 19593 "sipkiopart1.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 19596 "sipkiopart1.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 19599 "sipkiopart1.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 19602 "sipkiopart1.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 19605 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 19608 "sipkiopart1.cpp"
#line 436 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 19611 "sipkiopart1.cpp"
#line 374 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 19614 "sipkiopart1.cpp"
#line 412 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 19617 "sipkiopart1.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 19620 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 19623 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 19626 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 19629 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 19632 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 19635 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 19638 "sipkiopart1.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 19641 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 19644 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 19647 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 19650 "sipkiopart1.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 19653 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 19656 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 19659 "sipkiopart1.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 19664 "sipkiopart1.cpp"
#line 508 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 19667 "sipkiopart1.cpp"
#line 562 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 19670 "sipkiopart1.cpp"
#line 533 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 19673 "sipkiopart1.cpp"
#line 550 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 19676 "sipkiopart1.cpp"
#line 618 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 19679 "sipkiopart1.cpp"
#line 247 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 19682 "sipkiopart1.cpp"
#line 360 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 19685 "sipkiopart1.cpp"
#line 345 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 19688 "sipkiopart1.cpp"
#line 325 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 19691 "sipkiopart1.cpp"
#line 225 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 19694 "sipkiopart1.cpp"
#line 184 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 19697 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 19700 "sipkiopart1.cpp"
#line 74 "/usr/local/share/py-sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 19703 "sipkiopart1.cpp"
#line 47 "/usr/local/share/py-sip/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 19706 "sipkiopart1.cpp"
#line 136 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#include <qlist.h>
#line 66 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qlist.h>
#line 229 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 520 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 19767 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 19770 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 19773 "sipkiopart1.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 19776 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 19779 "sipkiopart1.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 19784 "sipkiopart1.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 19787 "sipkiopart1.cpp"
#line 99 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 19790 "sipkiopart1.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 19793 "sipkiopart1.cpp"
#line 165 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 19796 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 19799 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qdockwidget.sip"
#include <qdockwidget.h>
#line 19802 "sipkiopart1.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 19805 "sipkiopart1.cpp"
#line 334 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 19808 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 56 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 19813 "sipkiopart1.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qprinterinfo.h>
#line 19816 "sipkiopart1.cpp"
#line 202 "/usr/local/share/py-sip/QtGui/qstandarditemmodel.sip"
#include <qstandarditemmodel.h>
#line 19819 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 19822 "sipkiopart1.cpp"
#line 66 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 19825 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 114 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 19830 "sipkiopart1.cpp"
#line 65 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 88 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 19835 "sipkiopart1.cpp"
#line 149 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 175 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 19840 "sipkiopart1.cpp"
#line 83 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 101 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 19845 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 19848 "sipkiopart1.cpp"
#line 75 "/usr/local/share/py-sip/QtGui/qundostack.sip"
#include <qundostack.h>
#line 19851 "sipkiopart1.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 19854 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qprinter.sip"
#include <qprinter.h>
#line 19857 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#line 19860 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 19863 "sipkiopart1.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 19866 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 19869 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 19872 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 19875 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 19878 "sipkiopart1.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 19881 "sipkiopart1.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 19884 "sipkiopart1.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 19915 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 19918 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 19921 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 19924 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 19927 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 19930 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 19933 "sipkiopart1.cpp"


class sipKScanDialog : public KScanDialog
{
public:
    sipKScanDialog(int,int,QWidget *);
    virtual ~sipKScanDialog();

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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    bool sipProtectVirt_event(bool,QEvent *);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent *);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent *);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent *);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent *);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent *);
    void sipProtectVirt_enterEvent(bool,QEvent *);
    void sipProtectVirt_leaveEvent(bool,QEvent *);
    void sipProtectVirt_paintEvent(bool,QPaintEvent *);
    void sipProtectVirt_moveEvent(bool,QMoveEvent *);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent *);
    void sipProtectVirt_actionEvent(bool,QActionEvent *);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent *);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent *);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent *);
    void sipProtectVirt_dropEvent(bool,QDropEvent *);
    void sipProtectVirt_changeEvent(bool,QEvent *);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent *);
    void sipProtect_resetInputContext();
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    void sipProtectVirt_enabledChange(bool,bool);
    void sipProtectVirt_paletteChange(bool,const QPalette&);
    void sipProtectVirt_fontChange(bool,const QFont&);
    void sipProtectVirt_windowActivationChange(bool,bool);
    void sipProtectVirt_languageChange(bool);
    void sipProtectVirt_showEvent(bool,QShowEvent *);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent *);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent *);
    bool sipProtectVirt_eventFilter(bool,QObject *,QEvent *);
    void sipProtectVirt_hideEvent(bool,QHideEvent *);
    void sipProtectVirt_closeEvent(bool,QCloseEvent *);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent *);
    void sipProtectVirt_slotButtonClicked(bool,int);
    void sipProtect_updateGeometry();
    KPageWidget * sipProtect_pageWidget();
    int sipProtect_id() const;
    int sipProtect_nextId();

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[55];
};

sipKScanDialog::sipKScanDialog(int a0,int a1,QWidget *a2): KScanDialog(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKScanDialog::~sipKScanDialog()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKScanDialog::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KScanDialog);
}

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

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KScanDialog,_c,_id,_a);

    return _id;
}

void *sipKScanDialog::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast && sip_kio_qt_metacast(sipPySelf,sipType_KScanDialog,_clname)) ? this : KScanDialog::qt_metacast(_clname);
}

bool sipKScanDialog::setup()
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_setup);

    if (!meth)
        return KScanDialog::setup();

    return ((sipVH_QtCore_1)(sipModuleAPI_kio_QtCore->em_virthandlers[1]))(sipGILState,meth);
}

QSize sipKScanDialog::sizeHint() const
{
    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KDialog::sizeHint();

    return ((sipVH_QtGui_4)(sipModuleAPI_kio_QtGui->em_virthandlers[4]))(sipGILState,meth);
}

QSize sipKScanDialog::minimumSizeHint() const
{
    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KDialog::minimumSizeHint();

    return ((sipVH_QtGui_4)(sipModuleAPI_kio_QtGui->em_virthandlers[4]))(sipGILState,meth);
}

void sipKScanDialog::setCaption(const QString& a0)
{
    typedef void (*sipVH_QtCore_29)(sip_gilstate_t,PyObject *,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_setCaption);

    if (!meth)
    {
        KDialog::setCaption(a0);
        return;
    }

    ((sipVH_QtCore_29)(sipModuleAPI_kio_QtCore->em_virthandlers[29]))(sipGILState,meth,a0);
}

void sipKScanDialog::setCaption(const QString& a0,bool a1)
{
    typedef void (*sipVH_QtXml_24)(sip_gilstate_t,PyObject *,const QString&,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_setCaption);

    if (!meth)
    {
        KDialog::setCaption(a0,a1);
        return;
    }

    ((sipVH_QtXml_24)(sipModuleAPI_kio_QtXml->em_virthandlers[24]))(sipGILState,meth,a0,a1);
}

void sipKScanDialog::setPlainCaption(const QString& a0)
{
    typedef void (*sipVH_QtCore_29)(sip_gilstate_t,PyObject *,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_setPlainCaption);

    if (!meth)
    {
        KDialog::setPlainCaption(a0);
        return;
    }

    ((sipVH_QtCore_29)(sipModuleAPI_kio_QtCore->em_virthandlers[29]))(sipGILState,meth,a0);
}

void sipKScanDialog::hideEvent(QHideEvent *a0)
{
    typedef void (*sipVH_QtGui_0)(sip_gilstate_t,PyObject *,QHideEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_hideEvent);

    if (!meth)
    {
        KDialog::hideEvent(a0);
        return;
    }

    ((sipVH_QtGui_0)(sipModuleAPI_kio_QtGui->em_virthandlers[0]))(sipGILState,meth,a0);
}

void sipKScanDialog::closeEvent(QCloseEvent *a0)
{
    typedef void (*sipVH_QtGui_23)(sip_gilstate_t,PyObject *,QCloseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_closeEvent);

    if (!meth)
    {
        KDialog::closeEvent(a0);
        return;
    }

    ((sipVH_QtGui_23)(sipModuleAPI_kio_QtGui->em_virthandlers[23]))(sipGILState,meth,a0);
}

void sipKScanDialog::keyPressEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_keyPressEvent);

    if (!meth)
    {
        KDialog::keyPressEvent(a0);
        return;
    }

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipKScanDialog::slotButtonClicked(int a0)
{
    typedef void (*sipVH_QtNetwork_1)(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_slotButtonClicked);

    if (!meth)
    {
        KDialog::slotButtonClicked(a0);
        return;
    }

    ((sipVH_QtNetwork_1)(sipModuleAPI_kio_QtNetwork->em_virthandlers[1]))(sipGILState,meth,a0);
}

void sipKScanDialog::setVisible(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QDialog::setVisible(a0);
        return;
    }

    ((sipVH_QtGui_7)(sipModuleAPI_kio_QtGui->em_virthandlers[7]))(sipGILState,meth,a0);
}

void sipKScanDialog::done(int a0)
{
    typedef void (*sipVH_QtGui_6)(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_done);

    if (!meth)
    {
        QDialog::done(a0);
        return;
    }

    ((sipVH_QtGui_6)(sipModuleAPI_kio_QtGui->em_virthandlers[6]))(sipGILState,meth,a0);
}

void sipKScanDialog::accept()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_accept);

    if (!meth)
    {
        QDialog::accept();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipKScanDialog::reject()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_reject);

    if (!meth)
    {
        QDialog::reject();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipKScanDialog::showEvent(QShowEvent *a0)
{
    typedef void (*sipVH_QtGui_1)(sip_gilstate_t,PyObject *,QShowEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_showEvent);

    if (!meth)
    {
        QDialog::showEvent(a0);
        return;
    }

    ((sipVH_QtGui_1)(sipModuleAPI_kio_QtGui->em_virthandlers[1]))(sipGILState,meth,a0);
}

void sipKScanDialog::resizeEvent(QResizeEvent *a0)
{
    typedef void (*sipVH_QtGui_2)(sip_gilstate_t,PyObject *,QResizeEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_resizeEvent);

    if (!meth)
    {
        QDialog::resizeEvent(a0);
        return;
    }

    ((sipVH_QtGui_2)(sipModuleAPI_kio_QtGui->em_virthandlers[2]))(sipGILState,meth,a0);
}

void sipKScanDialog::contextMenuEvent(QContextMenuEvent *a0)
{
    typedef void (*sipVH_QtGui_22)(sip_gilstate_t,PyObject *,QContextMenuEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!meth)
    {
        QDialog::contextMenuEvent(a0);
        return;
    }

    ((sipVH_QtGui_22)(sipModuleAPI_kio_QtGui->em_virthandlers[22]))(sipGILState,meth,a0);
}

bool sipKScanDialog::eventFilter(QObject *a0,QEvent *a1)
{
    typedef bool (*sipVH_QtCore_21)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_eventFilter);

    if (!meth)
        return QDialog::eventFilter(a0,a1);

    return ((sipVH_QtCore_21)(sipModuleAPI_kio_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

int sipKScanDialog::devType() const
{
    typedef int (*sipVH_QtCore_8)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::devType();

    return ((sipVH_QtCore_8)(sipModuleAPI_kio_QtCore->em_virthandlers[8]))(sipGILState,meth);
}

int sipKScanDialog::heightForWidth(int a0) const
{
    typedef int (*sipVH_QtGui_29)(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::heightForWidth(a0);

    return ((sipVH_QtGui_29)(sipModuleAPI_kio_QtGui->em_virthandlers[29]))(sipGILState,meth,a0);
}

QPaintEngine * sipKScanDialog::paintEngine() const
{
    typedef QPaintEngine * (*sipVH_QtGui_28)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::paintEngine();

    return ((sipVH_QtGui_28)(sipModuleAPI_kio_QtGui->em_virthandlers[28]))(sipGILState,meth);
}

bool sipKScanDialog::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QWidget::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_kio_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

void sipKScanDialog::mousePressEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_mousePressEvent);

    if (!meth)
    {
        QWidget::mousePressEvent(a0);
        return;
    }

    ((sipVH_QtGui_27)(sipModuleAPI_kio_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipKScanDialog::mouseReleaseEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!meth)
    {
        QWidget::mouseReleaseEvent(a0);
        return;
    }

    ((sipVH_QtGui_27)(sipModuleAPI_kio_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipKScanDialog::mouseDoubleClickEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!meth)
    {
        QWidget::mouseDoubleClickEvent(a0);
        return;
    }

    ((sipVH_QtGui_27)(sipModuleAPI_kio_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipKScanDialog::mouseMoveEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!meth)
    {
        QWidget::mouseMoveEvent(a0);
        return;
    }

    ((sipVH_QtGui_27)(sipModuleAPI_kio_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipKScanDialog::wheelEvent(QWheelEvent *a0)
{
    typedef void (*sipVH_QtGui_5)(sip_gilstate_t,PyObject *,QWheelEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_wheelEvent);

    if (!meth)
    {
        QWidget::wheelEvent(a0);
        return;
    }

    ((sipVH_QtGui_5)(sipModuleAPI_kio_QtGui->em_virthandlers[5]))(sipGILState,meth,a0);
}

void sipKScanDialog::keyReleaseEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!meth)
    {
        QWidget::keyReleaseEvent(a0);
        return;
    }

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipKScanDialog::focusInEvent(QFocusEvent *a0)
{
    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QFocusEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_focusInEvent);

    if (!meth)
    {
        QWidget::focusInEvent(a0);
        return;
    }

    ((sipVH_QtGui_25)(sipModuleAPI_kio_QtGui->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipKScanDialog::focusOutEvent(QFocusEvent *a0)
{
    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QFocusEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_focusOutEvent);

    if (!meth)
    {
        QWidget::focusOutEvent(a0);
        return;
    }

    ((sipVH_QtGui_25)(sipModuleAPI_kio_QtGui->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipKScanDialog::enterEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_enterEvent);

    if (!meth)
    {
        QWidget::enterEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKScanDialog::leaveEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_leaveEvent);

    if (!meth)
    {
        QWidget::leaveEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKScanDialog::paintEvent(QPaintEvent *a0)
{
    typedef void (*sipVH_QtGui_3)(sip_gilstate_t,PyObject *,QPaintEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_paintEvent);

    if (!meth)
    {
        QWidget::paintEvent(a0);
        return;
    }

    ((sipVH_QtGui_3)(sipModuleAPI_kio_QtGui->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKScanDialog::moveEvent(QMoveEvent *a0)
{
    typedef void (*sipVH_QtGui_24)(sip_gilstate_t,PyObject *,QMoveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_moveEvent);

    if (!meth)
    {
        QWidget::moveEvent(a0);
        return;
    }

    ((sipVH_QtGui_24)(sipModuleAPI_kio_QtGui->em_virthandlers[24]))(sipGILState,meth,a0);
}

void sipKScanDialog::tabletEvent(QTabletEvent *a0)
{
    typedef void (*sipVH_QtGui_21)(sip_gilstate_t,PyObject *,QTabletEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_tabletEvent);

    if (!meth)
    {
        QWidget::tabletEvent(a0);
        return;
    }

    ((sipVH_QtGui_21)(sipModuleAPI_kio_QtGui->em_virthandlers[21]))(sipGILState,meth,a0);
}

void sipKScanDialog::actionEvent(QActionEvent *a0)
{
    typedef void (*sipVH_QtGui_20)(sip_gilstate_t,PyObject *,QActionEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_actionEvent);

    if (!meth)
    {
        QWidget::actionEvent(a0);
        return;
    }

    ((sipVH_QtGui_20)(sipModuleAPI_kio_QtGui->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKScanDialog::dragEnterEvent(QDragEnterEvent *a0)
{
    typedef void (*sipVH_QtGui_19)(sip_gilstate_t,PyObject *,QDragEnterEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!meth)
    {
        QWidget::dragEnterEvent(a0);
        return;
    }

    ((sipVH_QtGui_19)(sipModuleAPI_kio_QtGui->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKScanDialog::dragMoveEvent(QDragMoveEvent *a0)
{
    typedef void (*sipVH_QtGui_18)(sip_gilstate_t,PyObject *,QDragMoveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!meth)
    {
        QWidget::dragMoveEvent(a0);
        return;
    }

    ((sipVH_QtGui_18)(sipModuleAPI_kio_QtGui->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKScanDialog::dragLeaveEvent(QDragLeaveEvent *a0)
{
    typedef void (*sipVH_QtGui_17)(sip_gilstate_t,PyObject *,QDragLeaveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!meth)
    {
        QWidget::dragLeaveEvent(a0);
        return;
    }

    ((sipVH_QtGui_17)(sipModuleAPI_kio_QtGui->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipKScanDialog::dropEvent(QDropEvent *a0)
{
    typedef void (*sipVH_QtGui_16)(sip_gilstate_t,PyObject *,QDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_dropEvent);

    if (!meth)
    {
        QWidget::dropEvent(a0);
        return;
    }

    ((sipVH_QtGui_16)(sipModuleAPI_kio_QtGui->em_virthandlers[16]))(sipGILState,meth,a0);
}

void sipKScanDialog::changeEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_changeEvent);

    if (!meth)
    {
        QWidget::changeEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

int sipKScanDialog::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    typedef int (*sipVH_QtGui_15)(sip_gilstate_t,PyObject *,QPaintDevice::PaintDeviceMetric);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::metric(a0);

    return ((sipVH_QtGui_15)(sipModuleAPI_kio_QtGui->em_virthandlers[15]))(sipGILState,meth,a0);
}

void sipKScanDialog::inputMethodEvent(QInputMethodEvent *a0)
{
    typedef void (*sipVH_QtGui_14)(sip_gilstate_t,PyObject *,QInputMethodEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QWidget::inputMethodEvent(a0);
        return;
    }

    ((sipVH_QtGui_14)(sipModuleAPI_kio_QtGui->em_virthandlers[14]))(sipGILState,meth,a0);
}

QVariant sipKScanDialog::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    typedef QVariant (*sipVH_QtGui_13)(sip_gilstate_t,PyObject *,Qt::InputMethodQuery);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::inputMethodQuery(a0);

    return ((sipVH_QtGui_13)(sipModuleAPI_kio_QtGui->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipKScanDialog::focusNextPrevChild(bool a0)
{
    typedef bool (*sipVH_QtGui_12)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::focusNextPrevChild(a0);

    return ((sipVH_QtGui_12)(sipModuleAPI_kio_QtGui->em_virthandlers[12]))(sipGILState,meth,a0);
}

void sipKScanDialog::enabledChange(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QWidget::enabledChange(a0);
        return;
    }

    ((sipVH_QtGui_7)(sipModuleAPI_kio_QtGui->em_virthandlers[7]))(sipGILState,meth,a0);
}

void sipKScanDialog::paletteChange(const QPalette& a0)
{
    typedef void (*sipVH_QtGui_11)(sip_gilstate_t,PyObject *,const QPalette&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QWidget::paletteChange(a0);
        return;
    }

    ((sipVH_QtGui_11)(sipModuleAPI_kio_QtGui->em_virthandlers[11]))(sipGILState,meth,a0);
}

void sipKScanDialog::fontChange(const QFont& a0)
{
    typedef void (*sipVH_QtGui_10)(sip_gilstate_t,PyObject *,const QFont&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QWidget::fontChange(a0);
        return;
    }

    ((sipVH_QtGui_10)(sipModuleAPI_kio_QtGui->em_virthandlers[10]))(sipGILState,meth,a0);
}

void sipKScanDialog::windowActivationChange(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QWidget::windowActivationChange(a0);
        return;
    }

    ((sipVH_QtGui_7)(sipModuleAPI_kio_QtGui->em_virthandlers[7]))(sipGILState,meth,a0);
}

void sipKScanDialog::languageChange()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QWidget::languageChange();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipKScanDialog::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    ((sipVH_QtCore_3)(sipModuleAPI_kio_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKScanDialog::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    ((sipVH_QtCore_20)(sipModuleAPI_kio_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKScanDialog::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKScanDialog::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKScanDialog::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

int sipKScanDialog::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKScanDialog::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKScanDialog::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKScanDialog::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKScanDialog::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKScanDialog::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

bool sipKScanDialog::sipProtectVirt_event(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QWidget::event(a0) : event(a0));
}

void sipKScanDialog::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipKScanDialog::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipKScanDialog::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipKScanDialog::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipKScanDialog::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent *a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipKScanDialog::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipKScanDialog::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipKScanDialog::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipKScanDialog::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipKScanDialog::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipKScanDialog::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent *a0)
{
    (sipSelfWasArg ? QWidget::paintEvent(a0) : paintEvent(a0));
}

void sipKScanDialog::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent *a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipKScanDialog::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent *a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipKScanDialog::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent *a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipKScanDialog::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipKScanDialog::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipKScanDialog::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipKScanDialog::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent *a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipKScanDialog::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QWidget::changeEvent(a0) : changeEvent(a0));
}

int sipKScanDialog::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipKScanDialog::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent *a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipKScanDialog::sipProtect_resetInputContext()
{
    QWidget::resetInputContext();
}

void sipKScanDialog::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipKScanDialog::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipKScanDialog::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipKScanDialog::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipKScanDialog::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipKScanDialog::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

void sipKScanDialog::sipProtectVirt_enabledChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::enabledChange(a0) : enabledChange(a0));
}

void sipKScanDialog::sipProtectVirt_paletteChange(bool sipSelfWasArg,const QPalette& a0)
{
    (sipSelfWasArg ? QWidget::paletteChange(a0) : paletteChange(a0));
}

void sipKScanDialog::sipProtectVirt_fontChange(bool sipSelfWasArg,const QFont& a0)
{
    (sipSelfWasArg ? QWidget::fontChange(a0) : fontChange(a0));
}

void sipKScanDialog::sipProtectVirt_windowActivationChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::windowActivationChange(a0) : windowActivationChange(a0));
}

void sipKScanDialog::sipProtectVirt_languageChange(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QWidget::languageChange() : languageChange());
}

void sipKScanDialog::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent *a0)
{
    (sipSelfWasArg ? QDialog::showEvent(a0) : showEvent(a0));
}

void sipKScanDialog::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent *a0)
{
    (sipSelfWasArg ? QDialog::resizeEvent(a0) : resizeEvent(a0));
}

void sipKScanDialog::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent *a0)
{
    (sipSelfWasArg ? QDialog::contextMenuEvent(a0) : contextMenuEvent(a0));
}

bool sipKScanDialog::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject *a0,QEvent *a1)
{
    return (sipSelfWasArg ? QDialog::eventFilter(a0,a1) : eventFilter(a0,a1));
}

void sipKScanDialog::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent *a0)
{
    (sipSelfWasArg ? KDialog::hideEvent(a0) : hideEvent(a0));
}

void sipKScanDialog::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent *a0)
{
    (sipSelfWasArg ? KDialog::closeEvent(a0) : closeEvent(a0));
}

void sipKScanDialog::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? KDialog::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipKScanDialog::sipProtectVirt_slotButtonClicked(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? KDialog::slotButtonClicked(a0) : slotButtonClicked(a0));
}

void sipKScanDialog::sipProtect_updateGeometry()
{
    KDialog::updateGeometry();
}

KPageWidget * sipKScanDialog::sipProtect_pageWidget()
{
    return KPageDialog::pageWidget();
}

int sipKScanDialog::sipProtect_id() const
{
    return KScanDialog::id();
}

int sipKScanDialog::sipProtect_nextId()
{
    return KScanDialog::nextId();
}


extern "C" {static PyObject *meth_KScanDialog_receivers(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KScanDialog,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 21347 "sipkiopart1.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_receivers);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KScanDialog,&sipCpp,sipType_QTimerEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KScanDialog,&sipCpp,sipType_QChildEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KScanDialog,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KScanDialog,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KScanDialog,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_event(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_event(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KScanDialog,&sipCpp,sipType_QEvent,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_event);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_mousePressEvent(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_mousePressEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KScanDialog,&sipCpp,sipType_QMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_mousePressEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_mouseReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_mouseReleaseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KScanDialog,&sipCpp,sipType_QMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_mouseReleaseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_mouseDoubleClickEvent(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_mouseDoubleClickEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KScanDialog,&sipCpp,sipType_QMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_mouseDoubleClickEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_mouseMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_mouseMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KScanDialog,&sipCpp,sipType_QMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_mouseMoveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_wheelEvent(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_wheelEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent * a0;
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KScanDialog,&sipCpp,sipType_QWheelEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_wheelEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_keyReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_keyReleaseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KScanDialog,&sipCpp,sipType_QKeyEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_keyReleaseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_focusInEvent(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_focusInEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KScanDialog,&sipCpp,sipType_QFocusEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_focusInEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_focusOutEvent(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_focusOutEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KScanDialog,&sipCpp,sipType_QFocusEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_focusOutEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_enterEvent(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_enterEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KScanDialog,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_enterEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_leaveEvent(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_leaveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KScanDialog,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_leaveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_paintEvent(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_paintEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent * a0;
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KScanDialog,&sipCpp,sipType_QPaintEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_paintEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_moveEvent(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_moveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent * a0;
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KScanDialog,&sipCpp,sipType_QMoveEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_moveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_tabletEvent(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_tabletEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent * a0;
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KScanDialog,&sipCpp,sipType_QTabletEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_tabletEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_actionEvent(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_actionEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent * a0;
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KScanDialog,&sipCpp,sipType_QActionEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_actionEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_dragEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_dragEnterEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent * a0;
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KScanDialog,&sipCpp,sipType_QDragEnterEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_dragEnterEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_dragMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_dragMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent * a0;
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KScanDialog,&sipCpp,sipType_QDragMoveEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_dragMoveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_dragLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_dragLeaveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent * a0;
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KScanDialog,&sipCpp,sipType_QDragLeaveEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_dragLeaveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_dropEvent(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_dropEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent * a0;
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KScanDialog,&sipCpp,sipType_QDropEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_dropEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_changeEvent(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_changeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KScanDialog,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_changeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_metric(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_metric(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pE",&sipSelf,sipType_KScanDialog,&sipCpp,sipType_QPaintDevice_PaintDeviceMetric,&a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_metric);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_inputMethodEvent(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_inputMethodEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent * a0;
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KScanDialog,&sipCpp,sipType_QInputMethodEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_inputMethodEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_resetInputContext(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_resetInputContext(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KScanDialog,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_resetInputContext();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_resetInputContext);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_updateMicroFocus(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_updateMicroFocus(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KScanDialog,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_updateMicroFocus();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_updateMicroFocus);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_create(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_create(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        WId a0 = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p|mbb",&sipSelf,sipType_KScanDialog,&sipCpp,&a0,&a1,&a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_create(a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_create);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_destroy(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_destroy(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p|bb",&sipSelf,sipType_KScanDialog,&sipCpp,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_destroy(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_destroy);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_focusNextPrevChild(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_focusNextPrevChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KScanDialog,&sipCpp,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_focusNextPrevChild);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_focusNextChild(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_focusNextChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KScanDialog,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_focusNextChild();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_focusNextChild);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_focusPreviousChild(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_focusPreviousChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KScanDialog,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_focusPreviousChild();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_focusPreviousChild);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_enabledChange(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_enabledChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KScanDialog,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_enabledChange(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_enabledChange);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_paletteChange(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_paletteChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPalette * a0;
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KScanDialog,&sipCpp,sipType_QPalette,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paletteChange(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_paletteChange);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_fontChange(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_fontChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QFont * a0;
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KScanDialog,&sipCpp,sipType_QFont,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_fontChange(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_fontChange);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_windowActivationChange(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_windowActivationChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KScanDialog,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_windowActivationChange(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_windowActivationChange);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_languageChange(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_languageChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KScanDialog,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_languageChange(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_languageChange);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_showEvent(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_showEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent * a0;
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KScanDialog,&sipCpp,sipType_QShowEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_resizeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent * a0;
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KScanDialog,&sipCpp,sipType_QResizeEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_resizeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_contextMenuEvent(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_contextMenuEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent * a0;
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KScanDialog,&sipCpp,sipType_QContextMenuEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_contextMenuEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_eventFilter(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_eventFilter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject * a0;
        QEvent * a1;
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8J8",&sipSelf,sipType_KScanDialog,&sipCpp,sipType_QObject,&a0,sipType_QEvent,&a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_eventFilter);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_hideEvent(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_hideEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent * a0;
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KScanDialog,&sipCpp,sipType_QHideEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_hideEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_closeEvent(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_closeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent * a0;
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KScanDialog,&sipCpp,sipType_QCloseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_closeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_keyPressEvent(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_keyPressEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KScanDialog,&sipCpp,sipType_QKeyEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_keyPressEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_slotButtonClicked(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_slotButtonClicked(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pi",&sipSelf,sipType_KScanDialog,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_slotButtonClicked(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_slotButtonClicked);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_updateGeometry(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_updateGeometry(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KScanDialog,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_updateGeometry();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_updateGeometry);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_pageWidget(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_pageWidget(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KScanDialog,&sipCpp))
        {
            KPageWidget *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_pageWidget();
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_pageWidget);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_getScanDialog(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_getScanDialog(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        QWidget * a0 = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"|J:",sipType_QWidget,&a0))
        {
            KScanDialog *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KScanDialog::getScanDialog(a0);
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_getScanDialog);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_setup(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_setup(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KScanDialog,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KScanDialog::setup() : sipCpp->setup());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_setup);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_id(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_id(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KScanDialog,&sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_id();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_id);

    return NULL;
}


extern "C" {static PyObject *meth_KScanDialog_nextId(PyObject *, PyObject *);}
static PyObject *meth_KScanDialog_nextId(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKScanDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KScanDialog,&sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_nextId();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KScanDialog,sipName_nextId);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KScanDialog(void *, const sipTypeDef *);}
static void *cast_KScanDialog(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KScanDialog)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KPageDialog)->ctd_cast((KPageDialog *)(KScanDialog *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KScanDialog(void *, int);}
static void release_KScanDialog(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKScanDialog *>(sipCppV);
    else
        delete reinterpret_cast<KScanDialog *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KScanDialog(sipSimpleWrapper *);}
static void dealloc_KScanDialog(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKScanDialog *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KScanDialog(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KScanDialog(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KScanDialog(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **sipOwner, int *sipArgsParsed)
{
    sipKScanDialog *sipCpp = 0;

    if (!sipCpp)
    {
        int a0 = KPageDialog::Tabbed;
        int a1 = KDialog::Close | KDialog::Help;
        QWidget * a2 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"|iiJH",&a0,&a1,sipType_QWidget,&a2,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKScanDialog(a0,a1,a2);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KScanDialog[] = {{182, 6, 1}};


static PyMethodDef methods_KScanDialog[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), meth_KScanDialog_actionEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_KScanDialog_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KScanDialog_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_KScanDialog_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KScanDialog_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_KScanDialog_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_create), meth_KScanDialog_create, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KScanDialog_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), meth_KScanDialog_destroy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KScanDialog_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_KScanDialog_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_KScanDialog_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_KScanDialog_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_KScanDialog_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enabledChange), meth_KScanDialog_enabledChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), meth_KScanDialog_enterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_KScanDialog_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_KScanDialog_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_KScanDialog_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), meth_KScanDialog_focusNextChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), meth_KScanDialog_focusNextPrevChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_KScanDialog_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), meth_KScanDialog_focusPreviousChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fontChange), meth_KScanDialog_fontChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getScanDialog), meth_KScanDialog_getScanDialog, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_KScanDialog_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_id), meth_KScanDialog_id, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), meth_KScanDialog_inputMethodEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_KScanDialog_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), meth_KScanDialog_keyReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_languageChange), meth_KScanDialog_languageChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), meth_KScanDialog_leaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), meth_KScanDialog_metric, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_KScanDialog_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_KScanDialog_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_KScanDialog_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_KScanDialog_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), meth_KScanDialog_moveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_nextId), meth_KScanDialog_nextId, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pageWidget), meth_KScanDialog_pageWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_KScanDialog_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paletteChange), meth_KScanDialog_paletteChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KScanDialog_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resetInputContext), meth_KScanDialog_resetInputContext, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_KScanDialog_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setup), meth_KScanDialog_setup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_KScanDialog_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotButtonClicked), meth_KScanDialog_slotButtonClicked, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tabletEvent), meth_KScanDialog_tabletEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KScanDialog_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateGeometry), meth_KScanDialog_updateGeometry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), meth_KScanDialog_updateMicroFocus, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_KScanDialog_wheelEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowActivationChange), meth_KScanDialog_windowActivationChange, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KScanDialog[] = {
    {"textRecognized(const QString&,int)", 0},
    {"finalImage(const QImage&,int)", 0},
    {"preview(const QImage&,int)", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_kio_KScanDialog = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KScanDialog,
        {0}
    },
    sipNameNr_KScanDialog,
    -1,
    -1,
    {0, 0, 1},
    supers_KScanDialog,
    0,
    54, methods_KScanDialog,
    0, 0,
    0, 0,
    init_KScanDialog,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KScanDialog,
    release_KScanDialog,
    cast_KScanDialog,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KScanDialog::staticMetaObject,
    0,
    pyqt4_signals_KScanDialog
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/ksambashare.sip"
#include <ksambashare.h>
#line 23025 "sipkiopart1.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 23029 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 23032 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 23035 "sipkiopart1.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 23038 "sipkiopart1.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 23041 "sipkiopart1.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 23044 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 23047 "sipkiopart1.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 23078 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 23081 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 23084 "sipkiopart1.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 23087 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 23090 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 23093 "sipkiopart1.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 23096 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 23099 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 23102 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 23105 "sipkiopart1.cpp"


extern "C" {static PyObject *meth_KSambaShare_instance(PyObject *, PyObject *);}
static PyObject *meth_KSambaShare_instance(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KSambaShare *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KSambaShare::instance();
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KSambaShare,sipName_instance);

    return NULL;
}


extern "C" {static PyObject *meth_KSambaShare_isDirectoryShared(PyObject *, PyObject *);}
static PyObject *meth_KSambaShare_isDirectoryShared(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KSambaShare *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KSambaShare,&sipCpp,sipType_QString,&a0,&a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isDirectoryShared(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KSambaShare,sipName_isDirectoryShared);

    return NULL;
}


extern "C" {static PyObject *meth_KSambaShare_sharedDirectories(PyObject *, PyObject *);}
static PyObject *meth_KSambaShare_sharedDirectories(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KSambaShare *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KSambaShare,&sipCpp))
        {
            QStringList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->sharedDirectories());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KSambaShare,sipName_sharedDirectories);

    return NULL;
}


extern "C" {static PyObject *meth_KSambaShare_smbConfPath(PyObject *, PyObject *);}
static PyObject *meth_KSambaShare_smbConfPath(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KSambaShare *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KSambaShare,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->smbConfPath());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KSambaShare,sipName_smbConfPath);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KSambaShare(void *, const sipTypeDef *);}
static void *cast_KSambaShare(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KSambaShare)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(KSambaShare *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KSambaShare(void *, int);}
static void release_KSambaShare(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KSambaShare *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KSambaShare(sipSimpleWrapper *);}
static void dealloc_KSambaShare(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KSambaShare(sipSelf->u.cppPtr,0);
    }
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KSambaShare[] = {{111, 0, 1}};


static PyMethodDef methods_KSambaShare[] = {
    {SIP_MLNAME_CAST(sipName_instance), meth_KSambaShare_instance, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isDirectoryShared), meth_KSambaShare_isDirectoryShared, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sharedDirectories), meth_KSambaShare_sharedDirectories, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_smbConfPath), meth_KSambaShare_smbConfPath, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KSambaShare[] = {
    {"changed()", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_kio_KSambaShare = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KSambaShare,
        {0}
    },
    sipNameNr_KSambaShare,
    -1,
    -1,
    {0, 0, 1},
    supers_KSambaShare,
    0,
    4, methods_KSambaShare,
    0, 0,
    0, 0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KSambaShare,
    release_KSambaShare,
    cast_KSambaShare,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KSambaShare::staticMetaObject,
    0,
    pyqt4_signals_KSambaShare
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/krun.sip"
#include <krun.h>
#line 23322 "sipkiopart1.cpp"

#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 23326 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 23329 "sipkiopart1.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 23332 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qtimer.sip"
#include <qtimer.h>
#line 23335 "sipkiopart1.cpp"
#line 43 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 23338 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 23341 "sipkiopart1.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 23344 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 23347 "sipkiopart1.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservice.sip"
#include <kservice.h>
#line 23350 "sipkiopart1.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 23353 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 23356 "sipkiopart1.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 23359 "sipkiopart1.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 23362 "sipkiopart1.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 23365 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 23368 "sipkiopart1.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 23399 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 23402 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 23405 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 23408 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 23411 "sipkiopart1.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 23414 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 23417 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 23420 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 23423 "sipkiopart1.cpp"


class sipKRun : public KRun
{
public:
    sipKRun(const KUrl&,QWidget *,mode_t,bool,bool,const QByteArray&);
    virtual ~sipKRun();

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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    void sipProtect_slotTimeout();
    void sipProtect_slotScanFinished(KJob *);
    void sipProtect_slotScanMimeType(KIO::Job *,const QString&);
    void sipProtect_mimeTypeDetermined(const QString&);
    void sipProtectVirt_slotStatResult(bool,KJob *);
    void sipProtectVirt_init(bool);
    void sipProtectVirt_scanFile(bool);
    void sipProtectVirt_foundMimeType(bool,const QString&);
    void sipProtectVirt_killJob(bool);
    void sipProtect_setUrl(const KUrl&);
    KUrl sipProtect_url() const;
    void sipProtect_setError(bool);
    void sipProtect_setProgressInfo(bool);
    bool sipProtect_progressInfo() const;
    void sipProtect_setFinished(bool);
    void sipProtect_setJob(KIO::Job *);
    KIO::Job * sipProtect_job();
    QTimer& sipProtect_timer();
    void sipProtect_setDoScanFile(bool);
    bool sipProtect_doScanFile() const;
    void sipProtect_setIsDirecory(bool);
    bool sipProtect_isDirectory() const;
    void sipProtect_setInitializeNextAction(bool);
    bool sipProtect_initializeNextAction() const;
    void sipProtect_setIsLocalFile(bool);
    bool sipProtect_isLocalFile() const;
    void sipProtect_setMode(mode_t);
    mode_t sipProtect_mode() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void slotStatResult(KJob *);
    void init();
    void scanFile();
    void foundMimeType(const QString&);
    void killJob();
    bool event(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[12];
};

sipKRun::sipKRun(const KUrl& a0,QWidget *a1,mode_t a2,bool a3,bool a4,const QByteArray& a5): KRun(a0,a1,a2,a3,a4,a5), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKRun::~sipKRun()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKRun::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KRun);
}

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

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KRun,_c,_id,_a);

    return _id;
}

void *sipKRun::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast && sip_kio_qt_metacast(sipPySelf,sipType_KRun,_clname)) ? this : KRun::qt_metacast(_clname);
}

void sipKRun::slotStatResult(KJob *a0)
{
    typedef void (*sipVH_kdecore_18)(sip_gilstate_t,PyObject *,KJob *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_slotStatResult);

    if (!meth)
    {
        KRun::slotStatResult(a0);
        return;
    }

    ((sipVH_kdecore_18)(sipModuleAPI_kio_kdecore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKRun::init()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_init);

    if (!meth)
    {
        KRun::init();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipKRun::scanFile()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_scanFile);

    if (!meth)
    {
        KRun::scanFile();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipKRun::foundMimeType(const QString& a0)
{
    typedef void (*sipVH_QtCore_29)(sip_gilstate_t,PyObject *,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_foundMimeType);

    if (!meth)
    {
        KRun::foundMimeType(a0);
        return;
    }

    ((sipVH_QtCore_29)(sipModuleAPI_kio_QtCore->em_virthandlers[29]))(sipGILState,meth,a0);
}

void sipKRun::killJob()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_killJob);

    if (!meth)
    {
        KRun::killJob();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

bool sipKRun::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QObject::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_kio_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipKRun::eventFilter(QObject *a0,QEvent *a1)
{
    typedef bool (*sipVH_QtCore_21)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_eventFilter);

    if (!meth)
        return QObject::eventFilter(a0,a1);

    return ((sipVH_QtCore_21)(sipModuleAPI_kio_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

void sipKRun::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    ((sipVH_QtCore_3)(sipModuleAPI_kio_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKRun::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    ((sipVH_QtCore_20)(sipModuleAPI_kio_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKRun::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKRun::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKRun::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

int sipKRun::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKRun::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKRun::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKRun::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKRun::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKRun::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

void sipKRun::sipProtect_slotTimeout()
{
    KRun::slotTimeout();
}

void sipKRun::sipProtect_slotScanFinished(KJob *a0)
{
    KRun::slotScanFinished(a0);
}

void sipKRun::sipProtect_slotScanMimeType(KIO::Job *a0,const QString& a1)
{
    KRun::slotScanMimeType(a0,a1);
}

void sipKRun::sipProtect_mimeTypeDetermined(const QString& a0)
{
    KRun::mimeTypeDetermined(a0);
}

void sipKRun::sipProtectVirt_slotStatResult(bool sipSelfWasArg,KJob *a0)
{
    (sipSelfWasArg ? KRun::slotStatResult(a0) : slotStatResult(a0));
}

void sipKRun::sipProtectVirt_init(bool sipSelfWasArg)
{
    (sipSelfWasArg ? KRun::init() : init());
}

void sipKRun::sipProtectVirt_scanFile(bool sipSelfWasArg)
{
    (sipSelfWasArg ? KRun::scanFile() : scanFile());
}

void sipKRun::sipProtectVirt_foundMimeType(bool sipSelfWasArg,const QString& a0)
{
    (sipSelfWasArg ? KRun::foundMimeType(a0) : foundMimeType(a0));
}

void sipKRun::sipProtectVirt_killJob(bool sipSelfWasArg)
{
    (sipSelfWasArg ? KRun::killJob() : killJob());
}

void sipKRun::sipProtect_setUrl(const KUrl& a0)
{
    KRun::setUrl(a0);
}

KUrl sipKRun::sipProtect_url() const
{
    return KRun::url();
}

void sipKRun::sipProtect_setError(bool a0)
{
    KRun::setError(a0);
}

void sipKRun::sipProtect_setProgressInfo(bool a0)
{
    KRun::setProgressInfo(a0);
}

bool sipKRun::sipProtect_progressInfo() const
{
    return KRun::progressInfo();
}

void sipKRun::sipProtect_setFinished(bool a0)
{
    KRun::setFinished(a0);
}

void sipKRun::sipProtect_setJob(KIO::Job *a0)
{
    KRun::setJob(a0);
}

KIO::Job * sipKRun::sipProtect_job()
{
    return KRun::job();
}

QTimer& sipKRun::sipProtect_timer()
{
    return KRun::timer();
}

void sipKRun::sipProtect_setDoScanFile(bool a0)
{
    KRun::setDoScanFile(a0);
}

bool sipKRun::sipProtect_doScanFile() const
{
    return KRun::doScanFile();
}

void sipKRun::sipProtect_setIsDirecory(bool a0)
{
    KRun::setIsDirecory(a0);
}

bool sipKRun::sipProtect_isDirectory() const
{
    return KRun::isDirectory();
}

void sipKRun::sipProtect_setInitializeNextAction(bool a0)
{
    KRun::setInitializeNextAction(a0);
}

bool sipKRun::sipProtect_initializeNextAction() const
{
    return KRun::initializeNextAction();
}

void sipKRun::sipProtect_setIsLocalFile(bool a0)
{
    KRun::setIsLocalFile(a0);
}

bool sipKRun::sipProtect_isLocalFile() const
{
    return KRun::isLocalFile();
}

void sipKRun::sipProtect_setMode(mode_t a0)
{
    KRun::setMode(a0);
}

mode_t sipKRun::sipProtect_mode() const
{
    return KRun::mode();
}


extern "C" {static PyObject *meth_KRun_receivers(PyObject *, PyObject *);}
static PyObject *meth_KRun_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipKRun *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KRun,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 23939 "sipkiopart1.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_receivers);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KRun_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKRun *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KRun,&sipCpp,sipType_QTimerEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KRun_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKRun *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KRun,&sipCpp,sipType_QChildEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KRun_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKRun *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KRun,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KRun_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKRun *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KRun,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KRun_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKRun *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KRun,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_abort(PyObject *, PyObject *);}
static PyObject *meth_KRun_abort(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KRun *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KRun,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->abort();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_abort);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_hasError(PyObject *, PyObject *);}
static PyObject *meth_KRun_hasError(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KRun *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KRun,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasError();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_hasError);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_hasFinished(PyObject *, PyObject *);}
static PyObject *meth_KRun_hasFinished(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KRun *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KRun,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasFinished();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_hasFinished);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_autoDelete(PyObject *, PyObject *);}
static PyObject *meth_KRun_autoDelete(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KRun *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KRun,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->autoDelete();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_autoDelete);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_setAutoDelete(PyObject *, PyObject *);}
static PyObject *meth_KRun_setAutoDelete(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        KRun *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_KRun,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAutoDelete(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_setAutoDelete);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_setPreferredService(PyObject *, PyObject *);}
static PyObject *meth_KRun_setPreferredService(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KRun *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KRun,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPreferredService(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_setPreferredService);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_setRunExecutables(PyObject *, PyObject *);}
static PyObject *meth_KRun_setRunExecutables(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        KRun *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_KRun,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setRunExecutables(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_setRunExecutables);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_setEnableExternalBrowser(PyObject *, PyObject *);}
static PyObject *meth_KRun_setEnableExternalBrowser(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        KRun *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_KRun,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setEnableExternalBrowser(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_setEnableExternalBrowser);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_setSuggestedFileName(PyObject *, PyObject *);}
static PyObject *meth_KRun_setSuggestedFileName(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KRun *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KRun,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSuggestedFileName(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_setSuggestedFileName);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_suggestedFileName(PyObject *, PyObject *);}
static PyObject *meth_KRun_suggestedFileName(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KRun *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KRun,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->suggestedFileName());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_suggestedFileName);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_run(PyObject *, PyObject *);}
static PyObject *meth_KRun_run(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KService * a0;
        const KUrl::List * a1;
        QWidget * a2;
        bool a3 = 0;
        const QString& a4def = QString();
        const QString * a4 = &a4def;
        int a4State = 0;
        const QByteArray& a5def = QByteArray();
        const QByteArray * a5 = &a5def;
        int a5State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9J9J8|bJ1J1",sipType_KService,&a0,sipType_KUrl_List,&a1,sipType_QWidget,&a2,&a3,sipType_QString,&a4,&a4State,sipType_QByteArray,&a5,&a5State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KRun::run(*a0,*a1,a2,a3,*a4,*a5);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a4),sipType_QString,a4State);
            sipReleaseType(const_cast<QByteArray *>(a5),sipType_QByteArray,a5State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QString * a0;
        int a0State = 0;
        const KUrl::List * a1;
        QWidget * a2;
        const QString& a3def = QString();
        const QString * a3 = &a3def;
        int a3State = 0;
        const QString& a4def = QString();
        const QString * a4 = &a4def;
        int a4State = 0;
        const QByteArray& a5def = QByteArray();
        const QByteArray * a5 = &a5def;
        int a5State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1J9J8|J1J1J1",sipType_QString,&a0,&a0State,sipType_KUrl_List,&a1,sipType_QWidget,&a2,sipType_QString,&a3,&a3State,sipType_QString,&a4,&a4State,sipType_QByteArray,&a5,&a5State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KRun::run(*a0,*a1,a2,*a3,*a4,*a5);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);
            sipReleaseType(const_cast<QString *>(a4),sipType_QString,a4State);
            sipReleaseType(const_cast<QByteArray *>(a5),sipType_QByteArray,a5State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_run);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_runUrl(PyObject *, PyObject *);}
static PyObject *meth_KRun_runUrl(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;
        const QString * a1;
        int a1State = 0;
        QWidget * a2;
        bool a3 = 0;
        bool a4 = 1;
        const QString& a5def = QString();
        const QString * a5 = &a5def;
        int a5State = 0;
        const QByteArray& a6def = QByteArray();
        const QByteArray * a6 = &a6def;
        int a6State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9J1J8|bbJ1J1",sipType_KUrl,&a0,sipType_QString,&a1,&a1State,sipType_QWidget,&a2,&a3,&a4,sipType_QString,&a5,&a5State,sipType_QByteArray,&a6,&a6State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KRun::runUrl(*a0,*a1,a2,a3,a4,*a5,*a6);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a5),sipType_QString,a5State);
            sipReleaseType(const_cast<QByteArray *>(a6),sipType_QByteArray,a6State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_runUrl);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_runCommand(PyObject *, PyObject *);}
static PyObject *meth_KRun_runCommand(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        QWidget * a1;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1J8",sipType_QString,&a0,&a0State,sipType_QWidget,&a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KRun::runCommand(*a0,a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        const QString * a2;
        int a2State = 0;
        QWidget * a3;
        const QByteArray& a4def = QByteArray();
        const QByteArray * a4 = &a4def;
        int a4State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1J1J1J8|J1",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,sipType_QString,&a2,&a2State,sipType_QWidget,&a3,sipType_QByteArray,&a4,&a4State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KRun::runCommand(*a0,*a1,*a2,a3,*a4);
            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(const_cast<QByteArray *>(a4),sipType_QByteArray,a4State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_runCommand);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_displayOpenWithDialog(PyObject *, PyObject *);}
static PyObject *meth_KRun_displayOpenWithDialog(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl::List * a0;
        QWidget * a1;
        bool a2 = 0;
        const QString& a3def = QString();
        const QString * a3 = &a3def;
        int a3State = 0;
        const QByteArray& a4def = QByteArray();
        const QByteArray * a4 = &a4def;
        int a4State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9J8|bJ1J1",sipType_KUrl_List,&a0,sipType_QWidget,&a1,&a2,sipType_QString,&a3,&a3State,sipType_QByteArray,&a4,&a4State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KRun::displayOpenWithDialog(*a0,a1,a2,*a3,*a4);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);
            sipReleaseType(const_cast<QByteArray *>(a4),sipType_QByteArray,a4State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_displayOpenWithDialog);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_shellQuote(PyObject *, PyObject *);}
static PyObject *meth_KRun_shellQuote(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        QString * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1",sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            KRun::shellQuote(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_shellQuote);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_processDesktopExec(PyObject *, PyObject *);}
static PyObject *meth_KRun_processDesktopExec(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KService * a0;
        const KUrl::List * a1;
        bool a2 = 0;
        const QString& a3def = QString();
        const QString * a3 = &a3def;
        int a3State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9J9|bJ1",sipType_KService,&a0,sipType_KUrl_List,&a1,&a2,sipType_QString,&a3,&a3State))
        {
            QStringList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(KRun::processDesktopExec(*a0,*a1,a2,*a3));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_processDesktopExec);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_binaryName(PyObject *, PyObject *);}
static PyObject *meth_KRun_binaryName(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        bool a1;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1b",sipType_QString,&a0,&a0State,&a1))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KRun::binaryName(*a0,a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_binaryName);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_isExecutable(PyObject *, PyObject *);}
static PyObject *meth_KRun_isExecutable(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1",sipType_QString,&a0,&a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KRun::isExecutable(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_isExecutable);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_isExecutableFile(PyObject *, PyObject *);}
static PyObject *meth_KRun_isExecutableFile(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;
        const QString * a1;
        int a1State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9J1",sipType_KUrl,&a0,sipType_QString,&a1,&a1State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KRun::isExecutableFile(*a0,*a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_isExecutableFile);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_slotTimeout(PyObject *, PyObject *);}
static PyObject *meth_KRun_slotTimeout(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKRun *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KRun,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_slotTimeout();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_slotTimeout);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_slotScanFinished(PyObject *, PyObject *);}
static PyObject *meth_KRun_slotScanFinished(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KJob * a0;
        sipKRun *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KRun,&sipCpp,sipType_KJob,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_slotScanFinished(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_slotScanFinished);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_slotScanMimeType(PyObject *, PyObject *);}
static PyObject *meth_KRun_slotScanMimeType(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KIO::Job * a0;
        const QString * a1;
        int a1State = 0;
        sipKRun *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8J1",&sipSelf,sipType_KRun,&sipCpp,sipType_KIO_Job,&a0,sipType_QString,&a1,&a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_slotScanMimeType(a0,*a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_slotScanMimeType);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_mimeTypeDetermined(PyObject *, PyObject *);}
static PyObject *meth_KRun_mimeTypeDetermined(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        sipKRun *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&sipSelf,sipType_KRun,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_mimeTypeDetermined(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_mimeTypeDetermined);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_slotStatResult(PyObject *, PyObject *);}
static PyObject *meth_KRun_slotStatResult(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KJob * a0;
        sipKRun *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KRun,&sipCpp,sipType_KJob,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_slotStatResult(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_slotStatResult);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_init(PyObject *, PyObject *);}
static PyObject *meth_KRun_init(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipKRun *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KRun,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_init(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_init);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_scanFile(PyObject *, PyObject *);}
static PyObject *meth_KRun_scanFile(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipKRun *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KRun,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_scanFile(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_scanFile);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_foundMimeType(PyObject *, PyObject *);}
static PyObject *meth_KRun_foundMimeType(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        sipKRun *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&sipSelf,sipType_KRun,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_foundMimeType(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_foundMimeType);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_killJob(PyObject *, PyObject *);}
static PyObject *meth_KRun_killJob(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipKRun *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KRun,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_killJob(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_killJob);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_setUrl(PyObject *, PyObject *);}
static PyObject *meth_KRun_setUrl(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;
        sipKRun *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KRun,&sipCpp,sipType_KUrl,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setUrl(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_setUrl);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_url(PyObject *, PyObject *);}
static PyObject *meth_KRun_url(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKRun *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KRun,&sipCpp))
        {
            KUrl *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(sipCpp->sipProtect_url());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_url);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_setError(PyObject *, PyObject *);}
static PyObject *meth_KRun_setError(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        sipKRun *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KRun,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setError(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_setError);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_setProgressInfo(PyObject *, PyObject *);}
static PyObject *meth_KRun_setProgressInfo(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        sipKRun *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KRun,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setProgressInfo(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_setProgressInfo);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_progressInfo(PyObject *, PyObject *);}
static PyObject *meth_KRun_progressInfo(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKRun *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KRun,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_progressInfo();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_progressInfo);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_setFinished(PyObject *, PyObject *);}
static PyObject *meth_KRun_setFinished(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        sipKRun *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KRun,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setFinished(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_setFinished);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_setJob(PyObject *, PyObject *);}
static PyObject *meth_KRun_setJob(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KIO::Job * a0;
        sipKRun *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KRun,&sipCpp,sipType_KIO_Job,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setJob(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_setJob);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_job(PyObject *, PyObject *);}
static PyObject *meth_KRun_job(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKRun *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KRun,&sipCpp))
        {
            KIO::Job *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_job();
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_job);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_timer(PyObject *, PyObject *);}
static PyObject *meth_KRun_timer(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKRun *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KRun,&sipCpp))
        {
            QTimer *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->sipProtect_timer();
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_timer);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_setDoScanFile(PyObject *, PyObject *);}
static PyObject *meth_KRun_setDoScanFile(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        sipKRun *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KRun,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setDoScanFile(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_setDoScanFile);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_doScanFile(PyObject *, PyObject *);}
static PyObject *meth_KRun_doScanFile(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKRun *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KRun,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_doScanFile();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_doScanFile);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_setIsDirecory(PyObject *, PyObject *);}
static PyObject *meth_KRun_setIsDirecory(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        sipKRun *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KRun,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setIsDirecory(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_setIsDirecory);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_isDirectory(PyObject *, PyObject *);}
static PyObject *meth_KRun_isDirectory(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKRun *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KRun,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_isDirectory();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_isDirectory);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_setInitializeNextAction(PyObject *, PyObject *);}
static PyObject *meth_KRun_setInitializeNextAction(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        sipKRun *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KRun,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setInitializeNextAction(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_setInitializeNextAction);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_initializeNextAction(PyObject *, PyObject *);}
static PyObject *meth_KRun_initializeNextAction(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKRun *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KRun,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_initializeNextAction();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_initializeNextAction);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_setIsLocalFile(PyObject *, PyObject *);}
static PyObject *meth_KRun_setIsLocalFile(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        sipKRun *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KRun,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setIsLocalFile(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_setIsLocalFile);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_isLocalFile(PyObject *, PyObject *);}
static PyObject *meth_KRun_isLocalFile(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKRun *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KRun,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_isLocalFile();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_isLocalFile);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_setMode(PyObject *, PyObject *);}
static PyObject *meth_KRun_setMode(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        mode_t a0;
        sipKRun *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pu",&sipSelf,sipType_KRun,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setMode(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_setMode);

    return NULL;
}


extern "C" {static PyObject *meth_KRun_mode(PyObject *, PyObject *);}
static PyObject *meth_KRun_mode(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKRun *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KRun,&sipCpp))
        {
            mode_t sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_mode();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRun,sipName_mode);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KRun(void *, const sipTypeDef *);}
static void *cast_KRun(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KRun)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(KRun *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KRun(void *, int);}
static void release_KRun(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKRun *>(sipCppV);
    else
        delete reinterpret_cast<KRun *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KRun(sipSimpleWrapper *);}
static void dealloc_KRun(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKRun *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KRun(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KRun(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KRun(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipKRun *sipCpp = 0;

    if (!sipCpp)
    {
        const KUrl * a0;
        QWidget * a1;
        mode_t a2 = 0;
        bool a3 = 0;
        bool a4 = 1;
        const QByteArray& a5def = QByteArray();
        const QByteArray * a5 = &a5def;
        int a5State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9J8|ubbJ1",sipType_KUrl,&a0,sipType_QWidget,&a1,&a2,&a3,&a4,sipType_QByteArray,&a5,&a5State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKRun(*a0,a1,a2,a3,a4,*a5);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QByteArray *>(a5),sipType_QByteArray,a5State);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KRun[] = {{111, 0, 1}};


static PyMethodDef methods_KRun[] = {
    {SIP_MLNAME_CAST(sipName_abort), meth_KRun_abort, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_autoDelete), meth_KRun_autoDelete, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_binaryName), meth_KRun_binaryName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KRun_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KRun_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KRun_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KRun_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_displayOpenWithDialog), meth_KRun_displayOpenWithDialog, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doScanFile), meth_KRun_doScanFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_foundMimeType), meth_KRun_foundMimeType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasError), meth_KRun_hasError, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasFinished), meth_KRun_hasFinished, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_init), meth_KRun_init, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_initializeNextAction), meth_KRun_initializeNextAction, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isDirectory), meth_KRun_isDirectory, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isExecutable), meth_KRun_isExecutable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isExecutableFile), meth_KRun_isExecutableFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isLocalFile), meth_KRun_isLocalFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_job), meth_KRun_job, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_killJob), meth_KRun_killJob, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mimeTypeDetermined), meth_KRun_mimeTypeDetermined, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mode), meth_KRun_mode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_processDesktopExec), meth_KRun_processDesktopExec, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_progressInfo), meth_KRun_progressInfo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KRun_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_run), meth_KRun_run, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_runCommand), meth_KRun_runCommand, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_runUrl), meth_KRun_runUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_scanFile), meth_KRun_scanFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAutoDelete), meth_KRun_setAutoDelete, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDoScanFile), meth_KRun_setDoScanFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setEnableExternalBrowser), meth_KRun_setEnableExternalBrowser, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setError), meth_KRun_setError, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFinished), meth_KRun_setFinished, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setInitializeNextAction), meth_KRun_setInitializeNextAction, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIsDirecory), meth_KRun_setIsDirecory, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIsLocalFile), meth_KRun_setIsLocalFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setJob), meth_KRun_setJob, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMode), meth_KRun_setMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPreferredService), meth_KRun_setPreferredService, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setProgressInfo), meth_KRun_setProgressInfo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRunExecutables), meth_KRun_setRunExecutables, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSuggestedFileName), meth_KRun_setSuggestedFileName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUrl), meth_KRun_setUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_shellQuote), meth_KRun_shellQuote, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotScanFinished), meth_KRun_slotScanFinished, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotScanMimeType), meth_KRun_slotScanMimeType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotStatResult), meth_KRun_slotStatResult, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotTimeout), meth_KRun_slotTimeout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_suggestedFileName), meth_KRun_suggestedFileName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timer), meth_KRun_timer, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KRun_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_url), meth_KRun_url, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KRun[] = {
    {"error()", 0},
    {"finished()", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_kio_KRun = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KRun,
        {0}
    },
    sipNameNr_KRun,
    -1,
    -1,
    {0, 0, 1},
    supers_KRun,
    0,
    53, methods_KRun,
    0, 0,
    0, 0,
    init_KRun,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KRun,
    release_KRun,
    cast_KRun,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KRun::staticMetaObject,
    0,
    pyqt4_signals_KRun
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kremoteencoding.sip"
#include <kremoteencoding.h>
#line 25693 "sipkiopart1.cpp"

#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 25697 "sipkiopart1.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 25700 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 25703 "sipkiopart1.cpp"


extern "C" {static PyObject *meth_KRemoteEncoding_decode(PyObject *, PyObject *);}
static PyObject *meth_KRemoteEncoding_decode(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QByteArray * a0;
        int a0State = 0;
        KRemoteEncoding *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KRemoteEncoding,&sipCpp,sipType_QByteArray,&a0,&a0State))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->decode(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRemoteEncoding,sipName_decode);

    return NULL;
}


extern "C" {static PyObject *meth_KRemoteEncoding_encode(PyObject *, PyObject *);}
static PyObject *meth_KRemoteEncoding_encode(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KRemoteEncoding *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KRemoteEncoding,&sipCpp,sipType_QString,&a0,&a0State))
        {
            QByteArray *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->encode(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    {
        const KUrl * a0;
        KRemoteEncoding *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KRemoteEncoding,&sipCpp,sipType_KUrl,&a0))
        {
            QByteArray *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->encode(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRemoteEncoding,sipName_encode);

    return NULL;
}


extern "C" {static PyObject *meth_KRemoteEncoding_directory(PyObject *, PyObject *);}
static PyObject *meth_KRemoteEncoding_directory(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;
        bool a1 = 1;
        KRemoteEncoding *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9|b",&sipSelf,sipType_KRemoteEncoding,&sipCpp,sipType_KUrl,&a0,&a1))
        {
            QByteArray *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->directory(*a0,a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRemoteEncoding,sipName_directory);

    return NULL;
}


extern "C" {static PyObject *meth_KRemoteEncoding_fileName(PyObject *, PyObject *);}
static PyObject *meth_KRemoteEncoding_fileName(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;
        KRemoteEncoding *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KRemoteEncoding,&sipCpp,sipType_KUrl,&a0))
        {
            QByteArray *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->fileName(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRemoteEncoding,sipName_fileName);

    return NULL;
}


extern "C" {static PyObject *meth_KRemoteEncoding_encoding(PyObject *, PyObject *);}
static PyObject *meth_KRemoteEncoding_encoding(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KRemoteEncoding *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KRemoteEncoding,&sipCpp))
        {
            const char *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->encoding();
            Py_END_ALLOW_THREADS

            if (sipRes == NULL)
            {
                Py_INCREF(Py_None);
                return Py_None;
            }

            return PyUnicode_DecodeASCII(sipRes, strlen(sipRes), NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRemoteEncoding,sipName_encoding);

    return NULL;
}


extern "C" {static PyObject *meth_KRemoteEncoding_encodingMib(PyObject *, PyObject *);}
static PyObject *meth_KRemoteEncoding_encodingMib(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KRemoteEncoding *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KRemoteEncoding,&sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->encodingMib();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRemoteEncoding,sipName_encodingMib);

    return NULL;
}


extern "C" {static PyObject *meth_KRemoteEncoding_setEncoding(PyObject *, PyObject *);}
static PyObject *meth_KRemoteEncoding_setEncoding(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const char * a0;
        PyObject *a0Keep;
        KRemoteEncoding *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BAA",&sipSelf,sipType_KRemoteEncoding,&sipCpp,&a0Keep,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setEncoding(a0);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KRemoteEncoding,sipName_setEncoding);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KRemoteEncoding(void *, const sipTypeDef *);}
static void *cast_KRemoteEncoding(void *ptr,const sipTypeDef *targetType)
{
    if (targetType == sipType_KRemoteEncoding)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KRemoteEncoding(void *, int);}
static void release_KRemoteEncoding(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KRemoteEncoding *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KRemoteEncoding(sipSimpleWrapper *);}
static void dealloc_KRemoteEncoding(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KRemoteEncoding(sipSelf->u.cppPtr,0);
    }
}


extern "C" {static void *init_KRemoteEncoding(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KRemoteEncoding(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    KRemoteEncoding *sipCpp = 0;

    if (!sipCpp)
    {
        const char * a0 = 0;
        PyObject *a0Keep = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"|AA",&a0Keep,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KRemoteEncoding(a0);
            Py_END_ALLOW_THREADS
            Py_XDECREF(a0Keep);
        }
    }

    return sipCpp;
}


static PyMethodDef methods_KRemoteEncoding[] = {
    {SIP_MLNAME_CAST(sipName_decode), meth_KRemoteEncoding_decode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_directory), meth_KRemoteEncoding_directory, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_encode), meth_KRemoteEncoding_encode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_encoding), meth_KRemoteEncoding_encoding, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_encodingMib), meth_KRemoteEncoding_encodingMib, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fileName), meth_KRemoteEncoding_fileName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setEncoding), meth_KRemoteEncoding_setEncoding, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kio_KRemoteEncoding = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KRemoteEncoding,
        {0}
    },
    sipNameNr_KRemoteEncoding,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {0, 0, 1},
    0,
    0,
    7, methods_KRemoteEncoding,
    0, 0,
    0, 0,
    init_KRemoteEncoding,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KRemoteEncoding,
    release_KRemoteEncoding,
    cast_KRemoteEncoding,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kprotocolmanager.sip"
#include <kprotocolmanager.h>
#line 26044 "sipkiopart1.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 26048 "sipkiopart1.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 26051 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 26054 "sipkiopart1.cpp"
#line 36 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kprotocolinfo.sip"
#include <kprotocolinfo.h>
#line 26057 "sipkiopart1.cpp"


extern "C" {static PyObject *meth_KProtocolManager_defaultUserAgent(PyObject *, PyObject *);}
static PyObject *meth_KProtocolManager_defaultUserAgent(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KProtocolManager::defaultUserAgent());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        const QString * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1",sipType_QString,&a0,&a0State))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KProtocolManager::defaultUserAgent(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProtocolManager,sipName_defaultUserAgent);

    return NULL;
}


extern "C" {static PyObject *meth_KProtocolManager_userAgentForApplication(PyObject *, PyObject *);}
static PyObject *meth_KProtocolManager_userAgentForApplication(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        const QStringList& a2def = QStringList();
        const QStringList * a2 = &a2def;
        int a2State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1J1|J1",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,sipType_QStringList,&a2,&a2State))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KProtocolManager::userAgentForApplication(*a0,*a1,*a2));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QStringList *>(a2),sipType_QStringList,a2State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProtocolManager,sipName_userAgentForApplication);

    return NULL;
}


extern "C" {static PyObject *meth_KProtocolManager_userAgentForHost(PyObject *, PyObject *);}
static PyObject *meth_KProtocolManager_userAgentForHost(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1",sipType_QString,&a0,&a0State))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KProtocolManager::userAgentForHost(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProtocolManager,sipName_userAgentForHost);

    return NULL;
}


extern "C" {static PyObject *meth_KProtocolManager_getSystemNameVersionAndMachine(PyObject *, PyObject *);}
static PyObject *meth_KProtocolManager_getSystemNameVersionAndMachine(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        QString * a0;
        int a0State = 0;
        QString * a1;
        int a1State = 0;
        QString * a2;
        int a2State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1J1J1",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,sipType_QString,&a2,&a2State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KProtocolManager::getSystemNameVersionAndMachine(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_QString,a0State);
            sipReleaseType(a1,sipType_QString,a1State);
            sipReleaseType(a2,sipType_QString,a2State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProtocolManager,sipName_getSystemNameVersionAndMachine);

    return NULL;
}


extern "C" {static PyObject *meth_KProtocolManager_readTimeout(PyObject *, PyObject *);}
static PyObject *meth_KProtocolManager_readTimeout(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KProtocolManager::readTimeout();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProtocolManager,sipName_readTimeout);

    return NULL;
}


extern "C" {static PyObject *meth_KProtocolManager_connectTimeout(PyObject *, PyObject *);}
static PyObject *meth_KProtocolManager_connectTimeout(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KProtocolManager::connectTimeout();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProtocolManager,sipName_connectTimeout);

    return NULL;
}


extern "C" {static PyObject *meth_KProtocolManager_proxyConnectTimeout(PyObject *, PyObject *);}
static PyObject *meth_KProtocolManager_proxyConnectTimeout(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KProtocolManager::proxyConnectTimeout();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProtocolManager,sipName_proxyConnectTimeout);

    return NULL;
}


extern "C" {static PyObject *meth_KProtocolManager_responseTimeout(PyObject *, PyObject *);}
static PyObject *meth_KProtocolManager_responseTimeout(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KProtocolManager::responseTimeout();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProtocolManager,sipName_responseTimeout);

    return NULL;
}


extern "C" {static PyObject *meth_KProtocolManager_useProxy(PyObject *, PyObject *);}
static PyObject *meth_KProtocolManager_useProxy(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = KProtocolManager::useProxy();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProtocolManager,sipName_useProxy);

    return NULL;
}


extern "C" {static PyObject *meth_KProtocolManager_useReverseProxy(PyObject *, PyObject *);}
static PyObject *meth_KProtocolManager_useReverseProxy(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = KProtocolManager::useReverseProxy();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProtocolManager,sipName_useReverseProxy);

    return NULL;
}


extern "C" {static PyObject *meth_KProtocolManager_proxyType(PyObject *, PyObject *);}
static PyObject *meth_KProtocolManager_proxyType(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KProtocolManager::ProxyType sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KProtocolManager::proxyType();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KProtocolManager_ProxyType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProtocolManager,sipName_proxyType);

    return NULL;
}


extern "C" {static PyObject *meth_KProtocolManager_proxyAuthMode(PyObject *, PyObject *);}
static PyObject *meth_KProtocolManager_proxyAuthMode(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KProtocolManager::ProxyAuthMode sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KProtocolManager::proxyAuthMode();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KProtocolManager_ProxyAuthMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProtocolManager,sipName_proxyAuthMode);

    return NULL;
}


extern "C" {static PyObject *meth_KProtocolManager_noProxyFor(PyObject *, PyObject *);}
static PyObject *meth_KProtocolManager_noProxyFor(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KProtocolManager::noProxyFor());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProtocolManager,sipName_noProxyFor);

    return NULL;
}


extern "C" {static PyObject *meth_KProtocolManager_proxyFor(PyObject *, PyObject *);}
static PyObject *meth_KProtocolManager_proxyFor(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1",sipType_QString,&a0,&a0State))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KProtocolManager::proxyFor(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProtocolManager,sipName_proxyFor);

    return NULL;
}


extern "C" {static PyObject *meth_KProtocolManager_proxyForUrl(PyObject *, PyObject *);}
static PyObject *meth_KProtocolManager_proxyForUrl(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9",sipType_KUrl,&a0))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KProtocolManager::proxyForUrl(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProtocolManager,sipName_proxyForUrl);

    return NULL;
}


extern "C" {static PyObject *meth_KProtocolManager_badProxy(PyObject *, PyObject *);}
static PyObject *meth_KProtocolManager_badProxy(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1",sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            KProtocolManager::badProxy(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProtocolManager,sipName_badProxy);

    return NULL;
}


extern "C" {static PyObject *meth_KProtocolManager_proxyConfigScript(PyObject *, PyObject *);}
static PyObject *meth_KProtocolManager_proxyConfigScript(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KProtocolManager::proxyConfigScript());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProtocolManager,sipName_proxyConfigScript);

    return NULL;
}


extern "C" {static PyObject *meth_KProtocolManager_useCache(PyObject *, PyObject *);}
static PyObject *meth_KProtocolManager_useCache(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = KProtocolManager::useCache();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProtocolManager,sipName_useCache);

    return NULL;
}


extern "C" {static PyObject *meth_KProtocolManager_maxCacheAge(PyObject *, PyObject *);}
static PyObject *meth_KProtocolManager_maxCacheAge(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KProtocolManager::maxCacheAge();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProtocolManager,sipName_maxCacheAge);

    return NULL;
}


extern "C" {static PyObject *meth_KProtocolManager_maxCacheSize(PyObject *, PyObject *);}
static PyObject *meth_KProtocolManager_maxCacheSize(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KProtocolManager::maxCacheSize();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProtocolManager,sipName_maxCacheSize);

    return NULL;
}


extern "C" {static PyObject *meth_KProtocolManager_cacheDir(PyObject *, PyObject *);}
static PyObject *meth_KProtocolManager_cacheDir(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KProtocolManager::cacheDir());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProtocolManager,sipName_cacheDir);

    return NULL;
}


extern "C" {static PyObject *meth_KProtocolManager_cacheControl(PyObject *, PyObject *);}
static PyObject *meth_KProtocolManager_cacheControl(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KIO::CacheControl sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KProtocolManager::cacheControl();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KIO_CacheControl);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProtocolManager,sipName_cacheControl);

    return NULL;
}


extern "C" {static PyObject *meth_KProtocolManager_autoResume(PyObject *, PyObject *);}
static PyObject *meth_KProtocolManager_autoResume(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = KProtocolManager::autoResume();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProtocolManager,sipName_autoResume);

    return NULL;
}


extern "C" {static PyObject *meth_KProtocolManager_markPartial(PyObject *, PyObject *);}
static PyObject *meth_KProtocolManager_markPartial(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = KProtocolManager::markPartial();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProtocolManager,sipName_markPartial);

    return NULL;
}


extern "C" {static PyObject *meth_KProtocolManager_minimumKeepSize(PyObject *, PyObject *);}
static PyObject *meth_KProtocolManager_minimumKeepSize(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KProtocolManager::minimumKeepSize();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProtocolManager,sipName_minimumKeepSize);

    return NULL;
}


extern "C" {static PyObject *meth_KProtocolManager_persistentProxyConnection(PyObject *, PyObject *);}
static PyObject *meth_KProtocolManager_persistentProxyConnection(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = KProtocolManager::persistentProxyConnection();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProtocolManager,sipName_persistentProxyConnection);

    return NULL;
}


extern "C" {static PyObject *meth_KProtocolManager_persistentConnections(PyObject *, PyObject *);}
static PyObject *meth_KProtocolManager_persistentConnections(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = KProtocolManager::persistentConnections();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProtocolManager,sipName_persistentConnections);

    return NULL;
}


extern "C" {static PyObject *meth_KProtocolManager_supportsListing(PyObject *, PyObject *);}
static PyObject *meth_KProtocolManager_supportsListing(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9",sipType_KUrl,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KProtocolManager::supportsListing(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProtocolManager,sipName_supportsListing);

    return NULL;
}


extern "C" {static PyObject *meth_KProtocolManager_supportsReading(PyObject *, PyObject *);}
static PyObject *meth_KProtocolManager_supportsReading(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9",sipType_KUrl,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KProtocolManager::supportsReading(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProtocolManager,sipName_supportsReading);

    return NULL;
}


extern "C" {static PyObject *meth_KProtocolManager_supportsWriting(PyObject *, PyObject *);}
static PyObject *meth_KProtocolManager_supportsWriting(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9",sipType_KUrl,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KProtocolManager::supportsWriting(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProtocolManager,sipName_supportsWriting);

    return NULL;
}


extern "C" {static PyObject *meth_KProtocolManager_supportsMakeDir(PyObject *, PyObject *);}
static PyObject *meth_KProtocolManager_supportsMakeDir(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9",sipType_KUrl,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KProtocolManager::supportsMakeDir(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProtocolManager,sipName_supportsMakeDir);

    return NULL;
}


extern "C" {static PyObject *meth_KProtocolManager_supportsDeleting(PyObject *, PyObject *);}
static PyObject *meth_KProtocolManager_supportsDeleting(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9",sipType_KUrl,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KProtocolManager::supportsDeleting(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProtocolManager,sipName_supportsDeleting);

    return NULL;
}


extern "C" {static PyObject *meth_KProtocolManager_supportsLinking(PyObject *, PyObject *);}
static PyObject *meth_KProtocolManager_supportsLinking(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9",sipType_KUrl,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KProtocolManager::supportsLinking(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProtocolManager,sipName_supportsLinking);

    return NULL;
}


extern "C" {static PyObject *meth_KProtocolManager_supportsMoving(PyObject *, PyObject *);}
static PyObject *meth_KProtocolManager_supportsMoving(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9",sipType_KUrl,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KProtocolManager::supportsMoving(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProtocolManager,sipName_supportsMoving);

    return NULL;
}


extern "C" {static PyObject *meth_KProtocolManager_supportsOpening(PyObject *, PyObject *);}
static PyObject *meth_KProtocolManager_supportsOpening(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9",sipType_KUrl,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KProtocolManager::supportsOpening(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProtocolManager,sipName_supportsOpening);

    return NULL;
}


extern "C" {static PyObject *meth_KProtocolManager_canCopyFromFile(PyObject *, PyObject *);}
static PyObject *meth_KProtocolManager_canCopyFromFile(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9",sipType_KUrl,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KProtocolManager::canCopyFromFile(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProtocolManager,sipName_canCopyFromFile);

    return NULL;
}


extern "C" {static PyObject *meth_KProtocolManager_canCopyToFile(PyObject *, PyObject *);}
static PyObject *meth_KProtocolManager_canCopyToFile(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9",sipType_KUrl,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KProtocolManager::canCopyToFile(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProtocolManager,sipName_canCopyToFile);

    return NULL;
}


extern "C" {static PyObject *meth_KProtocolManager_canRenameFromFile(PyObject *, PyObject *);}
static PyObject *meth_KProtocolManager_canRenameFromFile(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9",sipType_KUrl,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KProtocolManager::canRenameFromFile(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProtocolManager,sipName_canRenameFromFile);

    return NULL;
}


extern "C" {static PyObject *meth_KProtocolManager_canRenameToFile(PyObject *, PyObject *);}
static PyObject *meth_KProtocolManager_canRenameToFile(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9",sipType_KUrl,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KProtocolManager::canRenameToFile(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProtocolManager,sipName_canRenameToFile);

    return NULL;
}


extern "C" {static PyObject *meth_KProtocolManager_canDeleteRecursive(PyObject *, PyObject *);}
static PyObject *meth_KProtocolManager_canDeleteRecursive(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9",sipType_KUrl,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KProtocolManager::canDeleteRecursive(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProtocolManager,sipName_canDeleteRecursive);

    return NULL;
}


extern "C" {static PyObject *meth_KProtocolManager_fileNameUsedForCopying(PyObject *, PyObject *);}
static PyObject *meth_KProtocolManager_fileNameUsedForCopying(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9",sipType_KUrl,&a0))
        {
            KProtocolInfo::FileNameUsedForCopying sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KProtocolManager::fileNameUsedForCopying(*a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KProtocolInfo_FileNameUsedForCopying);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProtocolManager,sipName_fileNameUsedForCopying);

    return NULL;
}


extern "C" {static PyObject *meth_KProtocolManager_defaultMimetype(PyObject *, PyObject *);}
static PyObject *meth_KProtocolManager_defaultMimetype(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9",sipType_KUrl,&a0))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KProtocolManager::defaultMimetype(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProtocolManager,sipName_defaultMimetype);

    return NULL;
}


extern "C" {static PyObject *meth_KProtocolManager_inputType(PyObject *, PyObject *);}
static PyObject *meth_KProtocolManager_inputType(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9",sipType_KUrl,&a0))
        {
            KProtocolInfo::Type sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KProtocolManager::inputType(*a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KProtocolInfo_Type);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProtocolManager,sipName_inputType);

    return NULL;
}


extern "C" {static PyObject *meth_KProtocolManager_outputType(PyObject *, PyObject *);}
static PyObject *meth_KProtocolManager_outputType(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9",sipType_KUrl,&a0))
        {
            KProtocolInfo::Type sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KProtocolManager::outputType(*a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KProtocolInfo_Type);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProtocolManager,sipName_outputType);

    return NULL;
}


extern "C" {static PyObject *meth_KProtocolManager_listing(PyObject *, PyObject *);}
static PyObject *meth_KProtocolManager_listing(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9",sipType_KUrl,&a0))
        {
            QStringList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(KProtocolManager::listing(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProtocolManager,sipName_listing);

    return NULL;
}


extern "C" {static PyObject *meth_KProtocolManager_isSourceProtocol(PyObject *, PyObject *);}
static PyObject *meth_KProtocolManager_isSourceProtocol(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9",sipType_KUrl,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KProtocolManager::isSourceProtocol(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProtocolManager,sipName_isSourceProtocol);

    return NULL;
}


extern "C" {static PyObject *meth_KProtocolManager_protocolForArchiveMimetype(PyObject *, PyObject *);}
static PyObject *meth_KProtocolManager_protocolForArchiveMimetype(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1",sipType_QString,&a0,&a0State))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KProtocolManager::protocolForArchiveMimetype(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProtocolManager,sipName_protocolForArchiveMimetype);

    return NULL;
}


extern "C" {static PyObject *meth_KProtocolManager_reparseConfiguration(PyObject *, PyObject *);}
static PyObject *meth_KProtocolManager_reparseConfiguration(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            KProtocolManager::reparseConfiguration();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProtocolManager,sipName_reparseConfiguration);

    return NULL;
}


extern "C" {static PyObject *meth_KProtocolManager_slaveProtocol(PyObject *, PyObject *);}
static PyObject *meth_KProtocolManager_slaveProtocol(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;
        QString * a1;
        int a1State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9J1",sipType_KUrl,&a0,sipType_QString,&a1,&a1State))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KProtocolManager::slaveProtocol(*a0,*a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a1,sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProtocolManager,sipName_slaveProtocol);

    return NULL;
}


extern "C" {static PyObject *meth_KProtocolManager_acceptLanguagesHeader(PyObject *, PyObject *);}
static PyObject *meth_KProtocolManager_acceptLanguagesHeader(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KProtocolManager::acceptLanguagesHeader());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProtocolManager,sipName_acceptLanguagesHeader);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KProtocolManager(void *, const sipTypeDef *);}
static void *cast_KProtocolManager(void *ptr,const sipTypeDef *targetType)
{
    if (targetType == sipType_KProtocolManager)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KProtocolManager(void *, int);}
static void release_KProtocolManager(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KProtocolManager *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KProtocolManager(void *, const void*);}
static void assign_KProtocolManager(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<KProtocolManager *>(sipDst) = *reinterpret_cast<const KProtocolManager *>(sipSrc);
}


extern "C" {static void dealloc_KProtocolManager(sipSimpleWrapper *);}
static void dealloc_KProtocolManager(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KProtocolManager(sipSelf->u.cppPtr,0);
    }
}


extern "C" {static void *init_KProtocolManager(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KProtocolManager(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    KProtocolManager *sipCpp = 0;

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KProtocolManager();
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const KProtocolManager * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_KProtocolManager,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KProtocolManager(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    return sipCpp;
}


static PyMethodDef methods_KProtocolManager[] = {
    {SIP_MLNAME_CAST(sipName_acceptLanguagesHeader), meth_KProtocolManager_acceptLanguagesHeader, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_autoResume), meth_KProtocolManager_autoResume, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_badProxy), meth_KProtocolManager_badProxy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_cacheControl), meth_KProtocolManager_cacheControl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_cacheDir), meth_KProtocolManager_cacheDir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_canCopyFromFile), meth_KProtocolManager_canCopyFromFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_canCopyToFile), meth_KProtocolManager_canCopyToFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_canDeleteRecursive), meth_KProtocolManager_canDeleteRecursive, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_canRenameFromFile), meth_KProtocolManager_canRenameFromFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_canRenameToFile), meth_KProtocolManager_canRenameToFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectTimeout), meth_KProtocolManager_connectTimeout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_defaultMimetype), meth_KProtocolManager_defaultMimetype, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_defaultUserAgent), meth_KProtocolManager_defaultUserAgent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fileNameUsedForCopying), meth_KProtocolManager_fileNameUsedForCopying, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getSystemNameVersionAndMachine), meth_KProtocolManager_getSystemNameVersionAndMachine, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputType), meth_KProtocolManager_inputType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isSourceProtocol), meth_KProtocolManager_isSourceProtocol, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_listing), meth_KProtocolManager_listing, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_markPartial), meth_KProtocolManager_markPartial, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_maxCacheAge), meth_KProtocolManager_maxCacheAge, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_maxCacheSize), meth_KProtocolManager_maxCacheSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_minimumKeepSize), meth_KProtocolManager_minimumKeepSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_noProxyFor), meth_KProtocolManager_noProxyFor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_outputType), meth_KProtocolManager_outputType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_persistentConnections), meth_KProtocolManager_persistentConnections, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_persistentProxyConnection), meth_KProtocolManager_persistentProxyConnection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_protocolForArchiveMimetype), meth_KProtocolManager_protocolForArchiveMimetype, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_proxyAuthMode), meth_KProtocolManager_proxyAuthMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_proxyConfigScript), meth_KProtocolManager_proxyConfigScript, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_proxyConnectTimeout), meth_KProtocolManager_proxyConnectTimeout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_proxyFor), meth_KProtocolManager_proxyFor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_proxyForUrl), meth_KProtocolManager_proxyForUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_proxyType), meth_KProtocolManager_proxyType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readTimeout), meth_KProtocolManager_readTimeout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_reparseConfiguration), meth_KProtocolManager_reparseConfiguration, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_responseTimeout), meth_KProtocolManager_responseTimeout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slaveProtocol), meth_KProtocolManager_slaveProtocol, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_supportsDeleting), meth_KProtocolManager_supportsDeleting, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_supportsLinking), meth_KProtocolManager_supportsLinking, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_supportsListing), meth_KProtocolManager_supportsListing, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_supportsMakeDir), meth_KProtocolManager_supportsMakeDir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_supportsMoving), meth_KProtocolManager_supportsMoving, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_supportsOpening), meth_KProtocolManager_supportsOpening, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_supportsReading), meth_KProtocolManager_supportsReading, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_supportsWriting), meth_KProtocolManager_supportsWriting, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_useCache), meth_KProtocolManager_useCache, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_useProxy), meth_KProtocolManager_useProxy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_useReverseProxy), meth_KProtocolManager_useReverseProxy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_userAgentForApplication), meth_KProtocolManager_userAgentForApplication, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_userAgentForHost), meth_KProtocolManager_userAgentForHost, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KProtocolManager[] = {
    {sipName_Automatic, KProtocolManager::Automatic, 191},
    {sipName_EnvVarProxy, KProtocolManager::EnvVarProxy, 192},
    {sipName_ManualProxy, KProtocolManager::ManualProxy, 192},
    {sipName_NoProxy, KProtocolManager::NoProxy, 192},
    {sipName_PACProxy, KProtocolManager::PACProxy, 192},
    {sipName_Prompt, KProtocolManager::Prompt, 191},
    {sipName_WPADProxy, KProtocolManager::WPADProxy, 192},
};


pyqt4ClassTypeDef pyqt4Type_kio_KProtocolManager = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KProtocolManager,
        {0}
    },
    sipNameNr_KProtocolManager,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {0, 0, 1},
    0,
    0,
    50, methods_KProtocolManager,
    7, enummembers_KProtocolManager,
    0, 0,
    init_KProtocolManager,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KProtocolManager,
    release_KProtocolManager,
    cast_KProtocolManager,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_KProtocolManager,
    0,
    0,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/knfsshare.sip"
#include <knfsshare.h>
#line 27597 "sipkiopart1.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 27601 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 27604 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 27607 "sipkiopart1.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 27610 "sipkiopart1.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 27613 "sipkiopart1.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 27616 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 27619 "sipkiopart1.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 27650 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 27653 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 27656 "sipkiopart1.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 27659 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 27662 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 27665 "sipkiopart1.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 27668 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 27671 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 27674 "sipkiopart1.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 27677 "sipkiopart1.cpp"


extern "C" {static PyObject *meth_KNFSShare_instance(PyObject *, PyObject *);}
static PyObject *meth_KNFSShare_instance(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KNFSShare *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KNFSShare::instance();
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KNFSShare,sipName_instance);

    return NULL;
}


extern "C" {static PyObject *meth_KNFSShare_isDirectoryShared(PyObject *, PyObject *);}
static PyObject *meth_KNFSShare_isDirectoryShared(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KNFSShare *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KNFSShare,&sipCpp,sipType_QString,&a0,&a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isDirectoryShared(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KNFSShare,sipName_isDirectoryShared);

    return NULL;
}


extern "C" {static PyObject *meth_KNFSShare_sharedDirectories(PyObject *, PyObject *);}
static PyObject *meth_KNFSShare_sharedDirectories(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KNFSShare *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KNFSShare,&sipCpp))
        {
            QStringList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->sharedDirectories());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KNFSShare,sipName_sharedDirectories);

    return NULL;
}


extern "C" {static PyObject *meth_KNFSShare_exportsPath(PyObject *, PyObject *);}
static PyObject *meth_KNFSShare_exportsPath(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KNFSShare *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KNFSShare,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->exportsPath());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KNFSShare,sipName_exportsPath);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KNFSShare(void *, const sipTypeDef *);}
static void *cast_KNFSShare(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KNFSShare)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(KNFSShare *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KNFSShare(void *, int);}
static void release_KNFSShare(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KNFSShare *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KNFSShare(sipSimpleWrapper *);}
static void dealloc_KNFSShare(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KNFSShare(sipSelf->u.cppPtr,0);
    }
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KNFSShare[] = {{111, 0, 1}};


static PyMethodDef methods_KNFSShare[] = {
    {SIP_MLNAME_CAST(sipName_exportsPath), meth_KNFSShare_exportsPath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_instance), meth_KNFSShare_instance, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isDirectoryShared), meth_KNFSShare_isDirectoryShared, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sharedDirectories), meth_KNFSShare_sharedDirectories, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KNFSShare[] = {
    {"changed()", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_kio_KNFSShare = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KNFSShare,
        {0}
    },
    sipNameNr_KNFSShare,
    -1,
    -1,
    {0, 0, 1},
    supers_KNFSShare,
    0,
    4, methods_KNFSShare,
    0, 0,
    0, 0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KNFSShare,
    release_KNFSShare,
    cast_KNFSShare,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KNFSShare::staticMetaObject,
    0,
    pyqt4_signals_KNFSShare
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kmountpoint.sip"
#include <kmountpoint.h>
#line 27894 "sipkiopart1.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kmountpoint.sip"
#include <kmountpoint.h>
#line 27898 "sipkiopart1.cpp"


extern "C" {static int slot_KMountPoint_DetailsNeededFlags___bool__(PyObject *sipSelf);}
static int slot_KMountPoint_DetailsNeededFlags___bool__(PyObject *sipSelf)
{
    KMountPoint::DetailsNeededFlags *sipCpp = reinterpret_cast<KMountPoint::DetailsNeededFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KMountPoint_DetailsNeededFlags));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 271 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != 0);
#line 27916 "sipkiopart1.cpp"

            return sipRes;
        }
    }
}


extern "C" {static PyObject *slot_KMountPoint_DetailsNeededFlags___ne__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_KMountPoint_DetailsNeededFlags___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KMountPoint::DetailsNeededFlags *sipCpp = reinterpret_cast<KMountPoint::DetailsNeededFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KMountPoint_DetailsNeededFlags));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const KMountPoint::DetailsNeededFlags * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_KMountPoint_DetailsNeededFlags,&a0,&a0State))
        {
            bool sipRes = 0;

#line 266 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != a0->operator int());
#line 27944 "sipkiopart1.cpp"

            sipReleaseType(const_cast<KMountPoint::DetailsNeededFlags *>(a0),sipType_KMountPoint_DetailsNeededFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kio,ne_slot,sipType_KMountPoint_DetailsNeededFlags,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KMountPoint_DetailsNeededFlags___eq__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_KMountPoint_DetailsNeededFlags___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KMountPoint::DetailsNeededFlags *sipCpp = reinterpret_cast<KMountPoint::DetailsNeededFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KMountPoint_DetailsNeededFlags));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const KMountPoint::DetailsNeededFlags * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_KMountPoint_DetailsNeededFlags,&a0,&a0State))
        {
            bool sipRes = 0;

#line 261 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() == a0->operator int());
#line 27976 "sipkiopart1.cpp"

            sipReleaseType(const_cast<KMountPoint::DetailsNeededFlags *>(a0),sipType_KMountPoint_DetailsNeededFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kio,eq_slot,sipType_KMountPoint_DetailsNeededFlags,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KMountPoint_DetailsNeededFlags___invert__(PyObject *sipSelf);}
static PyObject *slot_KMountPoint_DetailsNeededFlags___invert__(PyObject *sipSelf)
{
    KMountPoint::DetailsNeededFlags *sipCpp = reinterpret_cast<KMountPoint::DetailsNeededFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KMountPoint_DetailsNeededFlags));

    if (!sipCpp)
        return 0;


    {
        {
            KMountPoint::DetailsNeededFlags *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KMountPoint::DetailsNeededFlags(~(*sipCpp));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KMountPoint_DetailsNeededFlags,NULL);
        }
    }
}


extern "C" {static PyObject *slot_KMountPoint_DetailsNeededFlags___and__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_KMountPoint_DetailsNeededFlags___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    int sipArgsParsed = 0;

    {
        KMountPoint::DetailsNeededFlags * a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1i",sipType_KMountPoint_DetailsNeededFlags,&a0,&a0State,&a1))
        {
            KMountPoint::DetailsNeededFlags *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KMountPoint::DetailsNeededFlags((*a0 & a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KMountPoint_DetailsNeededFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_KMountPoint_DetailsNeededFlags,NULL);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kio,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KMountPoint_DetailsNeededFlags___xor__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_KMountPoint_DetailsNeededFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    int sipArgsParsed = 0;

    {
        KMountPoint::DetailsNeededFlags * a0;
        int a0State = 0;
        KMountPoint::DetailsNeededFlags * a1;
        int a1State = 0;

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1J1",sipType_KMountPoint_DetailsNeededFlags,&a0,&a0State,sipType_KMountPoint_DetailsNeededFlags,&a1,&a1State))
        {
            KMountPoint::DetailsNeededFlags *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KMountPoint::DetailsNeededFlags((*a0 ^ *a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KMountPoint_DetailsNeededFlags,a0State);
            sipReleaseType(a1,sipType_KMountPoint_DetailsNeededFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_KMountPoint_DetailsNeededFlags,NULL);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kio,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KMountPoint_DetailsNeededFlags___or__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_KMountPoint_DetailsNeededFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    int sipArgsParsed = 0;

    {
        KMountPoint::DetailsNeededFlags * a0;
        int a0State = 0;
        KMountPoint::DetailsNeededFlags * a1;
        int a1State = 0;

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1J1",sipType_KMountPoint_DetailsNeededFlags,&a0,&a0State,sipType_KMountPoint_DetailsNeededFlags,&a1,&a1State))
        {
            KMountPoint::DetailsNeededFlags *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KMountPoint::DetailsNeededFlags((*a0 | *a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KMountPoint_DetailsNeededFlags,a0State);
            sipReleaseType(a1,sipType_KMountPoint_DetailsNeededFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_KMountPoint_DetailsNeededFlags,NULL);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kio,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KMountPoint_DetailsNeededFlags___int__(PyObject *sipSelf);}
static PyObject *slot_KMountPoint_DetailsNeededFlags___int__(PyObject *sipSelf)
{
    KMountPoint::DetailsNeededFlags *sipCpp = reinterpret_cast<KMountPoint::DetailsNeededFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KMountPoint_DetailsNeededFlags));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }
}


extern "C" {static PyObject *slot_KMountPoint_DetailsNeededFlags___ixor__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_KMountPoint_DetailsNeededFlags___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KMountPoint_DetailsNeededFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KMountPoint::DetailsNeededFlags *sipCpp = reinterpret_cast<KMountPoint::DetailsNeededFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KMountPoint_DetailsNeededFlags));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        KMountPoint::DetailsNeededFlags * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_KMountPoint_DetailsNeededFlags,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KMountPoint::DetailsNeededFlags::operator^=(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KMountPoint_DetailsNeededFlags,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KMountPoint_DetailsNeededFlags___ior__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_KMountPoint_DetailsNeededFlags___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KMountPoint_DetailsNeededFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KMountPoint::DetailsNeededFlags *sipCpp = reinterpret_cast<KMountPoint::DetailsNeededFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KMountPoint_DetailsNeededFlags));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        KMountPoint::DetailsNeededFlags * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_KMountPoint_DetailsNeededFlags,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KMountPoint::DetailsNeededFlags::operator|=(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KMountPoint_DetailsNeededFlags,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KMountPoint_DetailsNeededFlags___iand__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_KMountPoint_DetailsNeededFlags___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KMountPoint_DetailsNeededFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KMountPoint::DetailsNeededFlags *sipCpp = reinterpret_cast<KMountPoint::DetailsNeededFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KMountPoint_DetailsNeededFlags));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        int a0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1i",&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KMountPoint::DetailsNeededFlags::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KMountPoint_DetailsNeededFlags(void *, const sipTypeDef *);}
static void *cast_KMountPoint_DetailsNeededFlags(void *ptr,const sipTypeDef *targetType)
{
    if (targetType == sipType_KMountPoint_DetailsNeededFlags)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KMountPoint_DetailsNeededFlags(void *, int);}
static void release_KMountPoint_DetailsNeededFlags(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KMountPoint::DetailsNeededFlags *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KMountPoint_DetailsNeededFlags(void *, const void*);}
static void assign_KMountPoint_DetailsNeededFlags(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<KMountPoint::DetailsNeededFlags *>(sipDst) = *reinterpret_cast<const KMountPoint::DetailsNeededFlags *>(sipSrc);
}


extern "C" {static void dealloc_KMountPoint_DetailsNeededFlags(sipSimpleWrapper *);}
static void dealloc_KMountPoint_DetailsNeededFlags(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KMountPoint_DetailsNeededFlags(sipSelf->u.cppPtr,0);
    }
}


extern "C" {static void *init_KMountPoint_DetailsNeededFlags(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KMountPoint_DetailsNeededFlags(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    KMountPoint::DetailsNeededFlags *sipCpp = 0;

    if (!sipCpp)
    {
        const KMountPoint::DetailsNeededFlags * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1",sipType_KMountPoint_DetailsNeededFlags,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KMountPoint::DetailsNeededFlags(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<KMountPoint::DetailsNeededFlags *>(a0),sipType_KMountPoint_DetailsNeededFlags,a0State);
        }
    }

    if (!sipCpp)
    {
        int a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"i",&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KMountPoint::DetailsNeededFlags(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KMountPoint::DetailsNeededFlags();
            Py_END_ALLOW_THREADS
        }
    }

    return sipCpp;
}


extern "C" {static int convertTo_KMountPoint_DetailsNeededFlags(PyObject *, void **, int *, PyObject *);}
static int convertTo_KMountPoint_DetailsNeededFlags(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    KMountPoint::DetailsNeededFlags **sipCppPtr = reinterpret_cast<KMountPoint::DetailsNeededFlags **>(sipCppPtrV);

#line 276 "/usr/local/share/py-sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KMountPoint::DetailsNeededFlags is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KMountPoint_DetailsNeededFlag)) ||
            sipCanConvertToType(sipPy, sipType_KMountPoint_DetailsNeededFlags, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KMountPoint_DetailsNeededFlag)))
{
    *sipCppPtr = new KMountPoint::DetailsNeededFlags(SIPLong_AsLong(sipPy));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KMountPoint::DetailsNeededFlags *>(sipConvertToType(sipPy, sipType_KMountPoint_DetailsNeededFlags, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 28347 "sipkiopart1.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KMountPoint_DetailsNeededFlags[] = {
    {(void *)slot_KMountPoint_DetailsNeededFlags___bool__, bool_slot},
    {(void *)slot_KMountPoint_DetailsNeededFlags___ne__, ne_slot},
    {(void *)slot_KMountPoint_DetailsNeededFlags___eq__, eq_slot},
    {(void *)slot_KMountPoint_DetailsNeededFlags___invert__, invert_slot},
    {(void *)slot_KMountPoint_DetailsNeededFlags___and__, and_slot},
    {(void *)slot_KMountPoint_DetailsNeededFlags___xor__, xor_slot},
    {(void *)slot_KMountPoint_DetailsNeededFlags___or__, or_slot},
    {(void *)slot_KMountPoint_DetailsNeededFlags___int__, int_slot},
    {(void *)slot_KMountPoint_DetailsNeededFlags___ixor__, ixor_slot},
    {(void *)slot_KMountPoint_DetailsNeededFlags___ior__, ior_slot},
    {(void *)slot_KMountPoint_DetailsNeededFlags___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef pyqt4Type_kio_KMountPoint_DetailsNeededFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KMountPoint__DetailsNeededFlags,
        {0}
    },
    sipNameNr_DetailsNeededFlags,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {174, 255, 0},
    0,
    slots_KMountPoint_DetailsNeededFlags,
    0, 0,
    0, 0,
    0, 0,
    init_KMountPoint_DetailsNeededFlags,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KMountPoint_DetailsNeededFlags,
    release_KMountPoint_DetailsNeededFlags,
    cast_KMountPoint_DetailsNeededFlags,
    convertTo_KMountPoint_DetailsNeededFlags,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_KMountPoint_DetailsNeededFlags,
    0,
    1,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kmountpoint.sip"
#include <kmountpoint.h>
#line 28415 "sipkiopart1.cpp"

#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 28419 "sipkiopart1.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kmountpoint.sip"
#include <kmountpoint.h>
#line 28422 "sipkiopart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 28425 "sipkiopart1.cpp"


extern "C" {static PyObject *meth_KMountPoint_List_findByPath(PyObject *, PyObject *);}
static PyObject *meth_KMountPoint_List_findByPath(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KMountPoint::List *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KMountPoint_List,&sipCpp,sipType_QString,&a0,&a0State))
        {
            KMountPoint::Ptr *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KMountPoint::Ptr(sipCpp->findByPath(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_KSharedPtr_0200KMountPoint,NULL);
            delete sipRes;

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_List,sipName_findByPath);

    return NULL;
}


extern "C" {static PyObject *meth_KMountPoint_List_findByDevice(PyObject *, PyObject *);}
static PyObject *meth_KMountPoint_List_findByDevice(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KMountPoint::List *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KMountPoint_List,&sipCpp,sipType_QString,&a0,&a0State))
        {
            KMountPoint::Ptr *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KMountPoint::Ptr(sipCpp->findByDevice(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_KSharedPtr_0200KMountPoint,NULL);
            delete sipRes;

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_List,sipName_findByDevice);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KMountPoint_List(void *, const sipTypeDef *);}
static void *cast_KMountPoint_List(void *ptr,const sipTypeDef *targetType)
{
    if (targetType == sipType_KMountPoint_List)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KMountPoint_List(void *, int);}
static void release_KMountPoint_List(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KMountPoint::List *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KMountPoint_List(void *, const void*);}
static void assign_KMountPoint_List(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<KMountPoint::List *>(sipDst) = *reinterpret_cast<const KMountPoint::List *>(sipSrc);
}


extern "C" {static void dealloc_KMountPoint_List(sipSimpleWrapper *);}
static void dealloc_KMountPoint_List(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KMountPoint_List(sipSelf->u.cppPtr,0);
    }
}


extern "C" {static void *init_KMountPoint_List(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KMountPoint_List(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    KMountPoint::List *sipCpp = 0;

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KMountPoint::List();
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const KMountPoint::List * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_KMountPoint_List,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KMountPoint::List(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    return sipCpp;
}


static PyMethodDef methods_KMountPoint_List[] = {
    {SIP_MLNAME_CAST(sipName_findByDevice), meth_KMountPoint_List_findByDevice, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_findByPath), meth_KMountPoint_List_findByPath, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kio_KMountPoint_List = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KMountPoint__List,
        {0}
    },
    sipNameNr_List,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {174, 255, 0},
    0,
    0,
    2, methods_KMountPoint_List,
    0, 0,
    0, 0,
    init_KMountPoint_List,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KMountPoint_List,
    release_KMountPoint_List,
    cast_KMountPoint_List,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_KMountPoint_List,
    0,
    0,
    0
};
