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

#include "sipAPIKWidgetsAddons.h"

#include <kfontsizeaction.h>

#include <qobject.h>
#include <qstring.h>
#include <qicon.h>
#include <qaction.h>
#include <qcoreevent.h>
#include <qwidget.h>
#include <qstringlist.h>
#include <qnamespace.h>
#include <qlist.h>
#include <qactiongroup.h>
#include <qtoolbutton.h>
#include <kselectaction.h>
#include <qlist.h>
#include <qlist.h>
#include <qgraphicswidget.h>
#include <qlist.h>
#include <qkeysequence.h>
#include <qvariant.h>
#include <qfont.h>
#include <qmenu.h>
#include <qmetaobject.h>
#include <qcoreevent.h>
#include <qcoreevent.h>
#include <qlist.h>
#include <qbytearray.h>
#include <qlist.h>
#include <qthread.h>
#include <qnamespace.h>
#include <qregexp.h>
#include <qregularexpression.h>
#include <qobjectdefs.h>


class sipKFontSizeAction : public  ::KFontSizeAction
{
public:
    sipKFontSizeAction( ::QObject*);
    sipKFontSizeAction(const  ::QString&, ::QObject*);
    sipKFontSizeAction(const  ::QIcon&,const  ::QString&, ::QObject*);
    virtual ~sipKFontSizeAction();

    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;
    QList< ::QWidget*> sipProtect_createdWidgets() const;
    void sipProtect_slotToggled(bool);
     ::QWidget* sipProtectVirt_createWidget(bool, ::QWidget*);
    void sipProtectVirt_deleteWidget(bool, ::QWidget*);
    bool sipProtectVirt_event(bool, ::QEvent*);
    bool sipProtectVirt_eventFilter(bool, ::QObject*, ::QEvent*);
    void sipProtectVirt_actionTriggered(bool, ::QAction*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void deleteWidget( ::QWidget*);
     ::QWidget* createWidget( ::QWidget*);
    void disconnectNotify(const  ::QMetaMethod&);
    void connectNotify(const  ::QMetaMethod&);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
     ::QAction* removeAction( ::QAction*);
    void insertAction( ::QAction*, ::QAction*);
    void actionTriggered( ::QAction*);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[12];
};

sipKFontSizeAction::sipKFontSizeAction( ::QObject*a0):  ::KFontSizeAction(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKFontSizeAction::sipKFontSizeAction(const  ::QString& a0, ::QObject*a1):  ::KFontSizeAction(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKFontSizeAction::sipKFontSizeAction(const  ::QIcon& a0,const  ::QString& a1, ::QObject*a2):  ::KFontSizeAction(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

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

    return  ::KFontSizeAction::metaObject();
}

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

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

    return _id;
}

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

    return (sip_KWidgetsAddons_qt_metacast(sipPySelf, sipType_KFontSizeAction, _clname, &sipCpp) ? sipCpp :  ::KFontSizeAction::qt_metacast(_clname));
}

void sipKFontSizeAction::deleteWidget( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KFontSizeAction::deleteWidget(a0);
        return;
    }

    extern void sipVH_KWidgetsAddons_42(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

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

 ::QWidget* sipKFontSizeAction::createWidget( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KFontSizeAction::createWidget(a0);

    extern  ::QWidget* sipVH_KWidgetsAddons_43(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

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

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

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

    if (!sipMeth)
    {
         ::KFontSizeAction::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);
}

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

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

    if (!sipMeth)
    {
         ::KFontSizeAction::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 sipKFontSizeAction::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KFontSizeAction::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 sipKFontSizeAction::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KFontSizeAction::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 sipKFontSizeAction::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KFontSizeAction::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);
}

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

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

    if (!sipMeth)
        return  ::KFontSizeAction::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);
}

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

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

    if (!sipMeth)
        return  ::KFontSizeAction::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);
}

 ::QAction* sipKFontSizeAction::removeAction( ::QAction*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KFontSizeAction::removeAction(a0);

    extern  ::QAction* sipVH_KWidgetsAddons_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QAction*);

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

void sipKFontSizeAction::insertAction( ::QAction*a0, ::QAction*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KFontSizeAction::insertAction(a0,a1);
        return;
    }

    extern void sipVH_KWidgetsAddons_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QAction*, ::QAction*);

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

void sipKFontSizeAction::actionTriggered( ::QAction*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KFontSizeAction::actionTriggered(a0);
        return;
    }

    extern void sipVH_KWidgetsAddons_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QAction*);

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

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

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

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

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

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

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

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

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

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

QList< ::QWidget*> sipKFontSizeAction::sipProtect_createdWidgets() const
{
    return  ::QWidgetAction::createdWidgets();
}

void sipKFontSizeAction::sipProtect_slotToggled(bool a0)
{
     ::KSelectAction::slotToggled(a0);
}

 ::QWidget* sipKFontSizeAction::sipProtectVirt_createWidget(bool sipSelfWasArg, ::QWidget*a0)
{
    return (sipSelfWasArg ?  ::KSelectAction::createWidget(a0) : createWidget(a0));
}

void sipKFontSizeAction::sipProtectVirt_deleteWidget(bool sipSelfWasArg, ::QWidget*a0)
{
    (sipSelfWasArg ?  ::KSelectAction::deleteWidget(a0) : deleteWidget(a0));
}

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

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

void sipKFontSizeAction::sipProtectVirt_actionTriggered(bool sipSelfWasArg, ::QAction*a0)
{
    (sipSelfWasArg ?  ::KFontSizeAction::actionTriggered(a0) : actionTriggered(a0));
}


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

    {
        const sipKFontSizeAction *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_KFontSizeAction, &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_KFontSizeAction, sipName_sender, NULL);

    return NULL;
}


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

    {
        PyObject * a0;
        const sipKFontSizeAction *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_KFontSizeAction, &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_KFontSizeAction, sipName_receivers, NULL);

    return NULL;
}


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

    {
         ::QTimerEvent* a0;
        sipKFontSizeAction *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KFontSizeAction, &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_KFontSizeAction, sipName_timerEvent, NULL);

    return NULL;
}


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

    {
         ::QChildEvent* a0;
        sipKFontSizeAction *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KFontSizeAction, &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_KFontSizeAction, sipName_childEvent, NULL);

    return NULL;
}


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

    {
         ::QEvent* a0;
        sipKFontSizeAction *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KFontSizeAction, &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_KFontSizeAction, sipName_customEvent, NULL);

    return NULL;
}


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

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_KFontSizeAction, &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_KFontSizeAction, sipName_connectNotify, NULL);

    return NULL;
}


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

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_KFontSizeAction, &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_KFontSizeAction, sipName_disconnectNotify, NULL);

    return NULL;
}


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

    {
        const sipKFontSizeAction *sipCpp;

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

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_KFontSizeAction, &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_KFontSizeAction, sipName_isSignalConnected, NULL);

    return NULL;
}


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

    {
        const sipKFontSizeAction *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_KFontSizeAction, &sipCpp))
        {
            QList< ::QWidget*>*sipRes;

            sipRes = new QList< ::QWidget*>(sipCpp->sipProtect_createdWidgets());

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

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

    return NULL;
}


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

    {
        bool a0;
        sipKFontSizeAction *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_KFontSizeAction, &sipCpp, &a0))
        {
            sipCpp->sipProtect_slotToggled(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QWidget* a0;
        sipWrapper *sipOwner = 0;
        sipKFontSizeAction *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJH", &sipSelf, sipType_KFontSizeAction, &sipCpp, sipType_QWidget, &a0, &sipOwner))
        {
             ::QWidget*sipRes;

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

            if (sipOwner)
                sipTransferTo(sipSelf, (PyObject *)sipOwner);
            else
                sipTransferBack(sipSelf);

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

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

    return NULL;
}


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

    {
         ::QWidget* a0;
        sipKFontSizeAction *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KFontSizeAction, &sipCpp, sipType_QWidget, &a0))
        {
            sipCpp->sipProtectVirt_deleteWidget(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QEvent* a0;
        sipKFontSizeAction *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KFontSizeAction, &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_KFontSizeAction, sipName_event, NULL);

    return NULL;
}


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

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_KFontSizeAction, &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_KFontSizeAction, sipName_eventFilter, NULL);

    return NULL;
}


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

    {
        const  ::KFontSizeAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFontSizeAction, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->fontSize();

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        int a0;
         ::KFontSizeAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KFontSizeAction, &sipCpp, &a0))
        {
            sipCpp->setFontSize(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QAction* a0;
        sipKFontSizeAction *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KFontSizeAction, &sipCpp, sipType_QAction, &a0))
        {
            sipCpp->sipProtectVirt_actionTriggered(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KSelectAction)
        return static_cast< ::KSelectAction *>(sipCpp);

    if (targetType == sipType_QWidgetAction)
        return static_cast< ::QWidgetAction *>(sipCpp);

    if (targetType == sipType_QAction)
        return static_cast< ::QAction *>(sipCpp);

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

    return sipCppV;
}


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

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


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

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


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

    {
         ::QObject* a0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

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

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1JH", sipType_QString,&a0, &a0State, sipType_QObject, &a1, sipOwner))
        {
            sipCpp = new sipKFontSizeAction(*a0,a1);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::QIcon* a0;
        const  ::QString* a1;
        int a1State = 0;
         ::QObject* a2;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9J1JH", sipType_QIcon, &a0, sipType_QString,&a1, &a1State, sipType_QObject, &a2, sipOwner))
        {
            sipCpp = new sipKFontSizeAction(*a0,*a1,a2);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KFontSizeAction[] = {{79, 255, 1}};


static PyMethodDef methods_KFontSizeAction[] = {
    {SIP_MLNAME_CAST(sipName_actionTriggered), (PyCFunction)meth_KFontSizeAction_actionTriggered, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_KFontSizeAction_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_KFontSizeAction_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_createWidget), (PyCFunction)meth_KFontSizeAction_createWidget, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_createdWidgets), (PyCFunction)meth_KFontSizeAction_createdWidgets, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_KFontSizeAction_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_deleteWidget), (PyCFunction)meth_KFontSizeAction_deleteWidget, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_KFontSizeAction_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_KFontSizeAction_event, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), (PyCFunction)meth_KFontSizeAction_eventFilter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_fontSize), meth_KFontSizeAction_fontSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_KFontSizeAction_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_KFontSizeAction_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_KFontSizeAction_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_KFontSizeAction_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setFontSize), meth_KFontSizeAction_setFontSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotToggled), (PyCFunction)meth_KFontSizeAction_slotToggled, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_KFontSizeAction_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_KFontSizeAction[] = {
    {"fontSizeChanged(int)", 0, 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_KFontSizeAction = {
    & ::KFontSizeAction::staticMetaObject,
    0,
    signals_KFontSizeAction,
    0
};


sipClassTypeDef sipTypeDef_KWidgetsAddons_KFontSizeAction = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_KFontSizeAction,
        {0},
        &plugin_KFontSizeAction
    },
    {
        sipNameNr_KFontSizeAction,
        {0, 0, 1},
        18, methods_KFontSizeAction,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KFontSizeAction,
    0,
    init_type_KFontSizeAction,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFontSizeAction,
    0,
    0,
    0,
    release_KFontSizeAction,
    cast_KFontSizeAction,
    0,
    0,
    0,
    0,
    0,
    0
};
