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

#include "sipAPIknewstuff.h"

#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/knewstuff/knewstuff3_downloadwidget.sip"
#include <knewstuff3/downloadwidget.h>
#line 12 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"

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


class sipKNS3_DownloadWidget : public  ::KNS3::DownloadWidget
{
public:
    sipKNS3_DownloadWidget( ::QWidget*);
    sipKNS3_DownloadWidget(const  ::QString&, ::QWidget*);
    virtual ~sipKNS3_DownloadWidget();

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[47];
};

sipKNS3_DownloadWidget::sipKNS3_DownloadWidget( ::QWidget*a0):  ::KNS3::DownloadWidget(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKNS3_DownloadWidget::sipKNS3_DownloadWidget(const  ::QString& a0, ::QWidget*a1):  ::KNS3::DownloadWidget(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKNS3_DownloadWidget::metaObject() const
{
    return sip_knewstuff_qt_metaobject(sipPySelf,sipType_KNS3_DownloadWidget);
}

int sipKNS3_DownloadWidget::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KNS3::DownloadWidget::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_knewstuff_qt_metacall(sipPySelf,sipType_KNS3_DownloadWidget,_c,_id,_a);

    return _id;
}

void *sipKNS3_DownloadWidget::qt_metacast(const char *_clname)
{
    return (sip_knewstuff_qt_metacast(sipPySelf, sipType_KNS3_DownloadWidget, _clname)) ? this :  ::KNS3::DownloadWidget::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if (!sipMeth)
        return  ::KNS3::DownloadWidget::event(a0);

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

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

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

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

    if (!sipMeth)
        return  ::KNS3::DownloadWidget::metric(a0);

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

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

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

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

    if (!sipMeth)
        return  ::KNS3::DownloadWidget::paintEngine();

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

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

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

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

    if (!sipMeth)
        return  ::KNS3::DownloadWidget::devType();

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

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

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

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

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

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

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

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

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

    if (!sipMeth)
        return  ::KNS3::DownloadWidget::sizeHint();

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

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

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

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

    if (!sipMeth)
        return  ::KNS3::DownloadWidget::minimumSizeHint();

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

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

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

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

    if (!sipMeth)
        return  ::KNS3::DownloadWidget::heightForWidth(a0);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if (!sipMeth)
        return  ::KNS3::DownloadWidget::inputMethodQuery(a0);

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

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

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

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

    if (!sipMeth)
        return  ::KNS3::DownloadWidget::focusNextPrevChild(a0);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if (!sipMeth)
    {
         ::KNS3::DownloadWidget::languageChange();
        return;
    }

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

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


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

    {
         ::KNS3::DownloadWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KNS3_DownloadWidget, &sipCpp))
        {
             ::KNS3::Entry::List*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KNS3::Entry::List(sipCpp->changedEntries());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
         ::KNS3::DownloadWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KNS3_DownloadWidget, &sipCpp))
        {
             ::KNS3::Entry::List*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KNS3::Entry::List(sipCpp->installedEntries());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

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

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

    return sipCppV;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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

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


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

    {
         ::QWidget* a0 = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

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

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1|JH", sipType_QString,&a0, &a0State, sipType_QWidget, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKNS3_DownloadWidget(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KNS3_DownloadWidget[] = {
    {SIP_MLNAME_CAST(sipName_changedEntries), meth_KNS3_DownloadWidget_changedEntries, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_installedEntries), meth_KNS3_DownloadWidget_installedEntries, METH_VARARGS, NULL}
};


static pyqt4ClassPluginDef plugin_KNS3_DownloadWidget = {
    & ::KNS3::DownloadWidget::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_knewstuff_KNS3_DownloadWidget = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KNS3__DownloadWidget,
        {0},
        &plugin_KNS3_DownloadWidget
    },
    {
        sipNameNr_DownloadWidget,
        {1, 255, 0},
        2, methods_KNS3_DownloadWidget,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KNS3_DownloadWidget,
    0,
    init_type_KNS3_DownloadWidget,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KNS3_DownloadWidget,
    0,
    0,
    0,
    release_KNS3_DownloadWidget,
    cast_KNS3_DownloadWidget,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/knewstuff/knewstuff3_downloadmanager.sip"
#include <knewstuff3/downloadmanager.h>
#line 1350 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"

#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 1354 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 1357 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/knewstuff/knewstuff3_entry.sip"
#include <knewstuff3/entry.h>
#line 1360 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1363 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1366 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1369 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1372 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 1375 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1378 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 1381 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1384 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1387 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 1390 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 1393 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 1396 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"


class sipKNS3_DownloadManager : public  ::KNS3::DownloadManager
{
public:
    sipKNS3_DownloadManager( ::QObject*);
    sipKNS3_DownloadManager(const  ::QString&, ::QObject*);
    virtual ~sipKNS3_DownloadManager();

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

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    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:
    sipKNS3_DownloadManager(const sipKNS3_DownloadManager &);
    sipKNS3_DownloadManager &operator = (const sipKNS3_DownloadManager &);

    char sipPyMethods[7];
};

sipKNS3_DownloadManager::sipKNS3_DownloadManager( ::QObject*a0):  ::KNS3::DownloadManager(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKNS3_DownloadManager::sipKNS3_DownloadManager(const  ::QString& a0, ::QObject*a1):  ::KNS3::DownloadManager(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKNS3_DownloadManager::metaObject() const
{
    return sip_knewstuff_qt_metaobject(sipPySelf,sipType_KNS3_DownloadManager);
}

int sipKNS3_DownloadManager::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KNS3::DownloadManager::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_knewstuff_qt_metacall(sipPySelf,sipType_KNS3_DownloadManager,_c,_id,_a);

    return _id;
}

void *sipKNS3_DownloadManager::qt_metacast(const char *_clname)
{
    return (sip_knewstuff_qt_metacast(sipPySelf, sipType_KNS3_DownloadManager, _clname)) ? this :  ::KNS3::DownloadManager::qt_metacast(_clname);
}

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

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

    if (!sipMeth)
        return  ::KNS3::DownloadManager::event(a0);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

    {
        int a0 = 0;
        int a1 = 100;
         ::KNS3::DownloadManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|ii", &sipSelf, sipType_KNS3_DownloadManager, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->search(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::KNS3::DownloadManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KNS3_DownloadManager, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->checkForUpdates();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::KNS3::Entry* a0;
         ::KNS3::DownloadManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KNS3_DownloadManager, &sipCpp, sipType_KNS3_Entry, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->installEntry(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::QString* a0;
        int a0State = 0;
         ::KNS3::DownloadManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KNS3_DownloadManager, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSearchTerm(*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(sipParseErr, sipName_DownloadManager, sipName_setSearchTerm, NULL);

    return NULL;
}


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

    {
         ::KNS3::DownloadManager::SortOrder a0;
         ::KNS3::DownloadManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KNS3_DownloadManager, &sipCpp, sipType_KNS3_DownloadManager_SortOrder, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSearchOrder(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::KNS3::Entry* a0;
         ::KNS3::DownloadManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KNS3_DownloadManager, &sipCpp, sipType_KNS3_Entry, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->uninstallEntry(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

    return sipCppV;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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

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


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

    {
         ::QObject* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKNS3_DownloadManager(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QObject* a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1|JH", sipType_QString,&a0, &a0State, sipType_QObject, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKNS3_DownloadManager(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KNS3_DownloadManager[] = {
    {SIP_MLNAME_CAST(sipName_checkForUpdates), meth_KNS3_DownloadManager_checkForUpdates, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_installEntry), meth_KNS3_DownloadManager_installEntry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_search), meth_KNS3_DownloadManager_search, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSearchOrder), meth_KNS3_DownloadManager_setSearchOrder, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSearchTerm), meth_KNS3_DownloadManager_setSearchTerm, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_uninstallEntry), meth_KNS3_DownloadManager_uninstallEntry, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KNS3_DownloadManager[] = {
    {sipName_Alphabetical, static_cast<int>( ::KNS3::DownloadManager::Alphabetical), 5},
    {sipName_Downloads, static_cast<int>( ::KNS3::DownloadManager::Downloads), 5},
    {sipName_Newest, static_cast<int>( ::KNS3::DownloadManager::Newest), 5},
    {sipName_Rating, static_cast<int>( ::KNS3::DownloadManager::Rating), 5},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KNS3_DownloadManager[] = {
    {"entryStatusChanged(KNS3::Entry)", 0, 0, 0},
    {"searchResult(KNS3::Entry::List)", 0, 0, 0},
    {0, 0, 0, 0}
};


static pyqt4ClassPluginDef plugin_KNS3_DownloadManager = {
    & ::KNS3::DownloadManager::staticMetaObject,
    0,
    signals_KNS3_DownloadManager
};


sipClassTypeDef sipTypeDef_knewstuff_KNS3_DownloadManager = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KNS3__DownloadManager,
        {0},
        &plugin_KNS3_DownloadManager
    },
    {
        sipNameNr_DownloadManager,
        {1, 255, 0},
        6, methods_KNS3_DownloadManager,
        4, enummembers_KNS3_DownloadManager,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KNS3_DownloadManager,
    0,
    init_type_KNS3_DownloadManager,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KNS3_DownloadManager,
    0,
    0,
    0,
    release_KNS3_DownloadManager,
    cast_KNS3_DownloadManager,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/knewstuff/knewstuff3_downloaddialog.sip"
#include <knewstuff3/downloaddialog.h>
#line 1925 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 1929 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 1932 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1935 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/knewstuff/knewstuff3_entry.sip"
#include <knewstuff3/entry.h>
#line 1938 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1941 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1944 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1947 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 1950 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 1953 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 1956 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 1959 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 1962 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kpushbutton.sip"
#include <kpushbutton.h>
#line 1965 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 32 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 1968 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 1971 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 1974 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kguiitem.sip"
#include <kguiitem.h>
#line 1977 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 1980 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1983 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 1986 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 1989 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1992 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1995 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1998 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2001 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2004 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 2007 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2010 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 2013 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 2016 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 2019 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 2022 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 2025 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 2028 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 2031 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 2034 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 2037 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 2040 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 2043 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 2046 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2049 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 2052 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 2055 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2058 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2061 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2064 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2067 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2070 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2073 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2076 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2079 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2082 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2085 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2088 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2091 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 2094 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 2097 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 2100 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2103 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 2106 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 2109 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2112 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 2115 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 2118 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 2121 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 2124 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 2127 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2130 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2133 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2136 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2139 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 2142 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 2145 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 2148 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/knewstuff/sipknewstuffpart2.cpp"


class sipKNS3_DownloadDialog : public  ::KNS3::DownloadDialog
{
public:
    sipKNS3_DownloadDialog( ::QWidget*);
    sipKNS3_DownloadDialog(const  ::QString&, ::QWidget*);
    virtual ~sipKNS3_DownloadDialog();

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[54];
};

sipKNS3_DownloadDialog::sipKNS3_DownloadDialog( ::QWidget*a0):  ::KNS3::DownloadDialog(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKNS3_DownloadDialog::sipKNS3_DownloadDialog(const  ::QString& a0, ::QWidget*a1):  ::KNS3::DownloadDialog(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKNS3_DownloadDialog::metaObject() const
{
    return sip_knewstuff_qt_metaobject(sipPySelf,sipType_KNS3_DownloadDialog);
}

int sipKNS3_DownloadDialog::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KNS3::DownloadDialog::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_knewstuff_qt_metacall(sipPySelf,sipType_KNS3_DownloadDialog,_c,_id,_a);

    return _id;
}

void *sipKNS3_DownloadDialog::qt_metacast(const char *_clname)
{
    return (sip_knewstuff_qt_metacast(sipPySelf, sipType_KNS3_DownloadDialog, _clname)) ? this :  ::KNS3::DownloadDialog::qt_metacast(_clname);
}

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

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

    if (!sipMeth)
    {
         ::KNS3::DownloadDialog::reject();
        return;
    }

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

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

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

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

    if (!sipMeth)
    {
         ::KNS3::DownloadDialog::accept();
        return;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if (!sipMeth)
        return  ::KNS3::DownloadDialog::event(a0);

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

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

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

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

    if (!sipMeth)
        return  ::KNS3::DownloadDialog::metric(a0);

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

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

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

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

    if (!sipMeth)
        return  ::KNS3::DownloadDialog::paintEngine();

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

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

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

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

    if (!sipMeth)
        return  ::KNS3::DownloadDialog::devType();

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

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

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

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

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

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

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

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

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

    if (!sipMeth)
        return  ::KNS3::DownloadDialog::sizeHint();

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

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

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

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

    if (!sipMeth)
        return  ::KNS3::DownloadDialog::minimumSizeHint();

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

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

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

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

    if (!sipMeth)
        return  ::KNS3::DownloadDialog::heightForWidth(a0);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if (!sipMeth)
        return  ::KNS3::DownloadDialog::inputMethodQuery(a0);

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

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

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

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

    if (!sipMeth)
        return  ::KNS3::DownloadDialog::focusNextPrevChild(a0);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if (!sipMeth)
    {
         ::KNS3::DownloadDialog::languageChange();
        return;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

    {
         ::KNS3::DownloadDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KNS3_DownloadDialog, &sipCpp))
        {
             ::KNS3::Entry::List*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KNS3::Entry::List(sipCpp->changedEntries());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
         ::KNS3::DownloadDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KNS3_DownloadDialog, &sipCpp))
        {
             ::KNS3::Entry::List*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KNS3::Entry::List(sipCpp->installedEntries());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

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

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

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

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

    return sipCppV;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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

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


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

    {
         ::QWidget* a0 = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

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

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1|JH", sipType_QString,&a0, &a0State, sipType_QWidget, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKNS3_DownloadDialog(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KNS3_DownloadDialog[] = {
    {SIP_MLNAME_CAST(sipName_changedEntries), meth_KNS3_DownloadDialog_changedEntries, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_installedEntries), meth_KNS3_DownloadDialog_installedEntries, METH_VARARGS, NULL}
};


static pyqt4ClassPluginDef plugin_KNS3_DownloadDialog = {
    & ::KNS3::DownloadDialog::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_knewstuff_KNS3_DownloadDialog = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KNS3__DownloadDialog,
        {0},
        &plugin_KNS3_DownloadDialog
    },
    {
        sipNameNr_DownloadDialog,
        {1, 255, 0},
        2, methods_KNS3_DownloadDialog,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KNS3_DownloadDialog,
    0,
    init_type_KNS3_DownloadDialog,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KNS3_DownloadDialog,
    0,
    0,
    0,
    release_KNS3_DownloadDialog,
    cast_KNS3_DownloadDialog,
    0,
    0,
    0,
    0,
    0,
    0
};
