/*
 * Interface wrapper code.
 *
 * Generated by SIP 4.19.6
 */

#include "sipAPIKWidgetsAddons.h"

#include <kpassworddialog.h>

#include <qwidget.h>
#include <kpassworddialog.h>
#include <qstring.h>
#include <qdialogbuttonbox.h>
#include <qmap.h>
#include <qpixmap.h>
#include <qobject.h>
#include <qcoreevent.h>
#include <qevent.h>
#include <qevent.h>
#include <qevent.h>
#include <qevent.h>
#include <qevent.h>
#include <qsize.h>
#include <qnamespace.h>
#include <qicon.h>
#include <qpainter.h>
#include <qbytearray.h>
#include <qwindow.h>
#include <qnamespace.h>
#include <qrect.h>
#include <qnamespace.h>
#include <qmargins.h>
#include <qnamespace.h>
#include <qgraphicseffect.h>
#include <qgraphicsproxywidget.h>
#include <QtGlobal>
#include <qlocale.h>
#include <qpaintdevice.h>
#include <qpoint.h>
#include <qregion.h>
#include <qwidget.h>
#include <qfontinfo.h>
#include <qfontmetrics.h>
#include <qfont.h>
#include <qvariant.h>
#include <qevent.h>
#include <qevent.h>
#include <qevent.h>
#include <qevent.h>
#include <qevent.h>
#include <qevent.h>
#include <qevent.h>
#include <qevent.h>
#include <qevent.h>
#include <qevent.h>
#include <qevent.h>
#include <qevent.h>
#include <qevent.h>
#include <qpaintengine.h>
#include <qlist.h>
#include <qaction.h>
#include <qlayout.h>
#include <qsizepolicy.h>
#include <qnamespace.h>
#include <qkeysequence.h>
#include <qcursor.h>
#include <qbitmap.h>
#include <qpalette.h>
#include <qstyle.h>
#include <qmetaobject.h>
#include <qcoreevent.h>
#include <qcoreevent.h>
#include <qlist.h>
#include <qlist.h>
#include <qthread.h>
#include <qnamespace.h>
#include <qregexp.h>
#include <qregularexpression.h>
#include <qobjectdefs.h>


class sipKPasswordDialog : public  ::KPasswordDialog
{
public:
    sipKPasswordDialog( ::QWidget*,const  ::KPasswordDialog::KPasswordDialogFlags&);
    virtual ~sipKPasswordDialog();

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

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[52];
};

sipKPasswordDialog::sipKPasswordDialog( ::QWidget*a0,const  ::KPasswordDialog::KPasswordDialogFlags& a1):  ::KPasswordDialog(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKPasswordDialog::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_KWidgetsAddons_qt_metaobject(sipPySelf,sipType_KPasswordDialog);

    return  ::KPasswordDialog::metaObject();
}

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

    if (_id >= 0)
        _id = sip_KWidgetsAddons_qt_metacall(sipPySelf,sipType_KPasswordDialog,_c,_id,_a);

    return _id;
}

void *sipKPasswordDialog::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_KWidgetsAddons_qt_metacast(sipPySelf, sipType_KPasswordDialog, _clname, &sipCpp) ? sipCpp :  ::KPasswordDialog::qt_metacast(_clname));
}

bool sipKPasswordDialog::checkPassword()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

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

    return sipVH_KWidgetsAddons_3(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipKPasswordDialog::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KPasswordDialog::initPainter(a0);
        return;
    }

    extern void sipVH_KWidgetsAddons_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_KWidgetsAddons_0(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPainter* sipKPasswordDialog::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KPasswordDialog::sharedPainter();

    extern  ::QPainter* sipVH_KWidgetsAddons_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_KWidgetsAddons_1(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipKPasswordDialog::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KPasswordDialog::nativeEvent(a0,a1,a2);

    extern bool sipVH_KWidgetsAddons_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_KWidgetsAddons_2(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKPasswordDialog::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KPasswordDialog::hasHeightForWidth();

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

    return sipVH_KWidgetsAddons_3(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

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

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

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

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

    return sipVH_KWidgetsAddons_4(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return sipVH_KWidgetsAddons_5(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_KWidgetsAddons_6(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_KWidgetsAddons_7(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_KWidgetsAddons_8(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_KWidgetsAddons_9(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_KWidgetsAddons_10(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_KWidgetsAddons_11(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_KWidgetsAddons_12(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_KWidgetsAddons_13(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_KWidgetsAddons_14(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_KWidgetsAddons_15(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_KWidgetsAddons_16(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_KWidgetsAddons_17(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_KWidgetsAddons_18(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_KWidgetsAddons_19(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_KWidgetsAddons_20(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_KWidgetsAddons_7(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_KWidgetsAddons_7(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_KWidgetsAddons_21(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_KWidgetsAddons_21(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_KWidgetsAddons_22(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_KWidgetsAddons_22(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_KWidgetsAddons_23(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_KWidgetsAddons_24(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_KWidgetsAddons_24(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_KWidgetsAddons_24(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_KWidgetsAddons_24(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return sipVH_KWidgetsAddons_25(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return sipVH_KWidgetsAddons_26(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

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

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

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

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

    return sipVH_KWidgetsAddons_26(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

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

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

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

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

    sipVH_KWidgetsAddons_27(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return sipVH_KWidgetsAddons_28(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

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

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

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

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

    return sipVH_KWidgetsAddons_29(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

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

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

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

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

    return sipVH_KWidgetsAddons_30(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return sipVH_KWidgetsAddons_31(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return sipVH_KWidgetsAddons_32(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

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

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

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

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

    sipVH_KWidgetsAddons_33(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_KWidgetsAddons_34(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_KWidgetsAddons_7(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipKPasswordDialog::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    extern void sipVH_KWidgetsAddons_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_KWidgetsAddons_35(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipKPasswordDialog::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    extern void sipVH_KWidgetsAddons_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_KWidgetsAddons_35(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipKPasswordDialog::exec()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KPasswordDialog::exec();

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

    return sipVH_KWidgetsAddons_28(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

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

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

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

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

    sipVH_KWidgetsAddons_50(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_KWidgetsAddons_37(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

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

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

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

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

    sipVH_KWidgetsAddons_37(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipKPasswordDialog::open()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KPasswordDialog::open();
        return;
    }

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

    sipVH_KWidgetsAddons_37(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QObject* sipKPasswordDialog::sipProtect_sender() const
{
    return  ::QObject::sender();
}

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

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

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

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

void sipKPasswordDialog::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKPasswordDialog::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipKPasswordDialog::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipKPasswordDialog::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

bool sipKPasswordDialog::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const  ::QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ?  ::QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

 ::QPainter* sipKPasswordDialog::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ?  ::QWidget::sharedPainter() : sharedPainter());
}

void sipKPasswordDialog::sipProtectVirt_initPainter(bool sipSelfWasArg, ::QPainter*a0) const
{
    (sipSelfWasArg ?  ::QWidget::initPainter(a0) : initPainter(a0));
}

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

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

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

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

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

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

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


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

    {
        const sipKPasswordDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_KPasswordDialog, &sipCpp))
        {
             ::QObject*sipRes = 0;

        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }

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

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

    return NULL;
}


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

    {
        PyObject * a0;
        const sipKPasswordDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_KPasswordDialog, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

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

    return NULL;
}


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

    {
         ::QTimerEvent* a0;
        sipKPasswordDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QChildEvent* a0;
        sipKPasswordDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QEvent* a0;
        sipKPasswordDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::QMetaMethod* a0;
        sipKPasswordDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::QMetaMethod* a0;
        sipKPasswordDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const sipKPasswordDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_KPasswordDialog, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const  ::QMetaMethod* a0;
        const sipKPasswordDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
         ::QEvent* a0;
        sipKPasswordDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
         ::QMouseEvent* a0;
        sipKPasswordDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QMouseEvent* a0;
        sipKPasswordDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QMouseEvent* a0;
        sipKPasswordDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QMouseEvent* a0;
        sipKPasswordDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QWheelEvent* a0;
        sipKPasswordDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QKeyEvent* a0;
        sipKPasswordDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QFocusEvent* a0;
        sipKPasswordDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QFocusEvent* a0;
        sipKPasswordDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QEvent* a0;
        sipKPasswordDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QEvent* a0;
        sipKPasswordDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QPaintEvent* a0;
        sipKPasswordDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QMoveEvent* a0;
        sipKPasswordDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QTabletEvent* a0;
        sipKPasswordDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QActionEvent* a0;
        sipKPasswordDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QDragEnterEvent* a0;
        sipKPasswordDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QDragMoveEvent* a0;
        sipKPasswordDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QDragLeaveEvent* a0;
        sipKPasswordDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QDropEvent* a0;
        sipKPasswordDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QHideEvent* a0;
        sipKPasswordDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QEvent* a0;
        sipKPasswordDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QPaintDevice::PaintDeviceMetric a0;
        const sipKPasswordDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

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

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
         ::QInputMethodEvent* a0;
        sipKPasswordDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipKPasswordDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_KPasswordDialog, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::WId a0def = 0;
         ::WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipKPasswordDialog *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_KPasswordDialog, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        sipKPasswordDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_KPasswordDialog, &sipCpp, &a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipKPasswordDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_KPasswordDialog, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipKPasswordDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_KPasswordDialog, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const  ::QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipKPasswordDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

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

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

    return NULL;
}


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

    {
        const sipKPasswordDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_KPasswordDialog, &sipCpp))
        {
             ::QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

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

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

    return NULL;
}


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

    {
         ::QPainter* a0;
        const sipKPasswordDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QKeyEvent* a0;
        sipKPasswordDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QCloseEvent* a0;
        sipKPasswordDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QShowEvent* a0;
        sipKPasswordDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QResizeEvent* a0;
        sipKPasswordDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QContextMenuEvent* a0;
        sipKPasswordDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QObject* a0;
         ::QEvent* a1;
        sipKPasswordDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setPrompt(*a0);
            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_KPasswordDialog, sipName_setPrompt, NULL);

    return NULL;
}


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

    {
        const  ::KPasswordDialog *sipCpp;

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

            sipRes = new  ::QString(sipCpp->prompt());

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

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

    return NULL;
}


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

    {
        const  ::QPixmap* a0;
         ::KPasswordDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QPixmap, &a0))
        {
            sipCpp->setPixmap(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::KPasswordDialog *sipCpp;

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

            sipRes = new  ::QPixmap(sipCpp->pixmap());

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

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

    return NULL;
}


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

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
         ::KPasswordDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            sipCpp->addCommentLine(*a0,*a1);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::QString* a0;
        int a0State = 0;
         ::KPasswordDialog::ErrorType a1 = KPasswordDialog::PasswordError;
         ::KPasswordDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|E", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QString,&a0, &a0State, sipType_KPasswordDialog_ErrorType, &a1))
        {
            sipCpp->showErrorMessage(*a0,a1);
            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_KPasswordDialog, sipName_showErrorMessage, NULL);

    return NULL;
}


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

    {
        const  ::KPasswordDialog *sipCpp;

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

            sipRes = new  ::QString(sipCpp->password());

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setUsername(*a0);
            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_KPasswordDialog, sipName_setUsername, NULL);

    return NULL;
}


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

    {
        const  ::KPasswordDialog *sipCpp;

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

            sipRes = new  ::QString(sipCpp->username());

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setDomain(*a0);
            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_KPasswordDialog, sipName_setDomain, NULL);

    return NULL;
}


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

    {
        const  ::KPasswordDialog *sipCpp;

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

            sipRes = new  ::QString(sipCpp->domain());

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

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

    return NULL;
}


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

    {
        bool a0;
         ::KPasswordDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KPasswordDialog, &sipCpp, &a0))
        {
            sipCpp->setAnonymousMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::KPasswordDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPasswordDialog, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->anonymousMode();

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const  ::KPasswordDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPasswordDialog, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->keepPassword();

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
         ::KPasswordDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KPasswordDialog, &sipCpp, &a0))
        {
            sipCpp->setKeepPassword(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
         ::KPasswordDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KPasswordDialog, &sipCpp, &a0))
        {
            sipCpp->setUsernameReadOnly(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setPassword(*a0);
            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_KPasswordDialog, sipName_setPassword, NULL);

    return NULL;
}


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

    {
        const QMap< ::QString, ::QString>* a0;
        int a0State = 0;
         ::KPasswordDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QMap_0100QString_0100QString,&a0, &a0State))
        {
            sipCpp->setKnownLogins(*a0);
            sipReleaseType(const_cast<QMap< ::QString, ::QString> *>(a0),sipType_QMap_0100QString_0100QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::KPasswordDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPasswordDialog, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp-> ::KPasswordDialog::accept() : sipCpp->accept());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::KPasswordDialog *sipCpp;

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

            sipRes = sipCpp->buttonBox();

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

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

    return NULL;
}


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

    {
        sipKPasswordDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_KPasswordDialog, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_checkPassword(sipSelfWasArg);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    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_KPasswordDialog(void *, int);}
static void release_KPasswordDialog(void *sipCppV, int)
{
     ::KPasswordDialog *sipCpp = reinterpret_cast< ::KPasswordDialog *>(sipCppV);

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


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

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


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

    {
         ::QWidget* a0 = nullptr;
        const  ::KPasswordDialog::KPasswordDialogFlags& a1def = KPasswordDialog::NoFlags;
        const  ::KPasswordDialog::KPasswordDialogFlags* a1 = &a1def;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JHJ1", sipType_QWidget, &a0, sipOwner, sipType_KPasswordDialog_KPasswordDialogFlags, &a1, &a1State))
        {
            sipCpp = new sipKPasswordDialog(a0,*a1);
            sipReleaseType(const_cast< ::KPasswordDialog::KPasswordDialogFlags *>(a1),sipType_KPasswordDialog_KPasswordDialogFlags,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KPasswordDialog[] = {
    {SIP_MLNAME_CAST(sipName_accept), meth_KPasswordDialog_accept, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_KPasswordDialog_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_addCommentLine), meth_KPasswordDialog_addCommentLine, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_anonymousMode), meth_KPasswordDialog_anonymousMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_buttonBox), meth_KPasswordDialog_buttonBox, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_KPasswordDialog_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_checkPassword), (PyCFunction)meth_KPasswordDialog_checkPassword, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_KPasswordDialog_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_KPasswordDialog_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_KPasswordDialog_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_KPasswordDialog_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_KPasswordDialog_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_KPasswordDialog_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_KPasswordDialog_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_KPasswordDialog_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_domain), meth_KPasswordDialog_domain, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_KPasswordDialog_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_KPasswordDialog_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_KPasswordDialog_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_KPasswordDialog_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_KPasswordDialog_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_KPasswordDialog_event, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), (PyCFunction)meth_KPasswordDialog_eventFilter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_KPasswordDialog_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_KPasswordDialog_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_KPasswordDialog_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_KPasswordDialog_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_KPasswordDialog_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_KPasswordDialog_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_KPasswordDialog_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_KPasswordDialog_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_KPasswordDialog_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keepPassword), meth_KPasswordDialog_keepPassword, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_KPasswordDialog_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_KPasswordDialog_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_KPasswordDialog_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_KPasswordDialog_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_KPasswordDialog_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_KPasswordDialog_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_KPasswordDialog_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_KPasswordDialog_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_KPasswordDialog_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_KPasswordDialog_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_KPasswordDialog_paintEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_password), meth_KPasswordDialog_password, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pixmap), meth_KPasswordDialog_pixmap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_prompt), meth_KPasswordDialog_prompt, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_KPasswordDialog_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_KPasswordDialog_resizeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_KPasswordDialog_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_KPasswordDialog_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setAnonymousMode), meth_KPasswordDialog_setAnonymousMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDomain), meth_KPasswordDialog_setDomain, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setKeepPassword), meth_KPasswordDialog_setKeepPassword, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setKnownLogins), meth_KPasswordDialog_setKnownLogins, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPassword), meth_KPasswordDialog_setPassword, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPixmap), meth_KPasswordDialog_setPixmap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPrompt), meth_KPasswordDialog_setPrompt, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUsername), meth_KPasswordDialog_setUsername, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUsernameReadOnly), meth_KPasswordDialog_setUsernameReadOnly, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_KPasswordDialog_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showErrorMessage), meth_KPasswordDialog_showErrorMessage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_KPasswordDialog_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_KPasswordDialog_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_KPasswordDialog_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_KPasswordDialog_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_username), meth_KPasswordDialog_username, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_KPasswordDialog_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

static sipEnumMemberDef enummembers_KPasswordDialog[] = {
    {sipName_DomainError, static_cast<int>( ::KPasswordDialog::DomainError), 64},
    {sipName_DomainReadOnly, static_cast<int>( ::KPasswordDialog::DomainReadOnly), 65},
    {sipName_FatalError, static_cast<int>( ::KPasswordDialog::FatalError), 64},
    {sipName_NoFlags, static_cast<int>( ::KPasswordDialog::NoFlags), 65},
    {sipName_PasswordError, static_cast<int>( ::KPasswordDialog::PasswordError), 64},
    {sipName_ShowAnonymousLoginCheckBox, static_cast<int>( ::KPasswordDialog::ShowAnonymousLoginCheckBox), 65},
    {sipName_ShowDomainLine, static_cast<int>( ::KPasswordDialog::ShowDomainLine), 65},
    {sipName_ShowKeepPassword, static_cast<int>( ::KPasswordDialog::ShowKeepPassword), 65},
    {sipName_ShowUsernameLine, static_cast<int>( ::KPasswordDialog::ShowUsernameLine), 65},
    {sipName_UnknownError, static_cast<int>( ::KPasswordDialog::UnknownError), 64},
    {sipName_UsernameError, static_cast<int>( ::KPasswordDialog::UsernameError), 64},
    {sipName_UsernameReadOnly, static_cast<int>( ::KPasswordDialog::UsernameReadOnly), 65},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_KPasswordDialog[] = {
    {"gotUsernameAndPassword(QString,QString,bool)", 0, 0, 0},
    {"gotPassword(QString,bool)", 0, 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_KPasswordDialog = {
    & ::KPasswordDialog::staticMetaObject,
    0,
    signals_KPasswordDialog,
    0
};


sipClassTypeDef sipTypeDef_KWidgetsAddons_KPasswordDialog = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_KPasswordDialog,
        {0},
        &plugin_KPasswordDialog
    },
    {
        sipNameNr_KPasswordDialog,
        {0, 0, 1},
        68, methods_KPasswordDialog,
        12, enummembers_KPasswordDialog,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KPasswordDialog,
    0,
    init_type_KPasswordDialog,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KPasswordDialog,
    0,
    0,
    0,
    release_KPasswordDialog,
    cast_KPasswordDialog,
    0,
    0,
    0,
    0,
    0,
    0
};
