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

#include "sipAPIpolkitqt.h"

#line 29 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/polkitqt/action.sip"
#include <PolicyKit/polkit-qt/action.h>
#line 12 "sippolkitqtpart5.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 16 "sippolkitqtpart5.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 19 "sippolkitqtpart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 22 "sippolkitqtpart5.cpp"
#line 136 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#include <qlist.h>
#line 66 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qlist.h>
#line 229 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 520 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 83 "sippolkitqtpart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 86 "sippolkitqtpart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 89 "sippolkitqtpart5.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 92 "sippolkitqtpart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 95 "sippolkitqtpart5.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 98 "sippolkitqtpart5.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 101 "sippolkitqtpart5.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 106 "sippolkitqtpart5.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 109 "sippolkitqtpart5.cpp"
#line 99 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 112 "sippolkitqtpart5.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 115 "sippolkitqtpart5.cpp"
#line 165 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 118 "sippolkitqtpart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 121 "sippolkitqtpart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qdockwidget.sip"
#include <qdockwidget.h>
#line 124 "sippolkitqtpart5.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 127 "sippolkitqtpart5.cpp"
#line 334 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 130 "sippolkitqtpart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 56 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 135 "sippolkitqtpart5.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qprinterinfo.h>
#line 138 "sippolkitqtpart5.cpp"
#line 202 "/usr/local/share/py-sip/QtGui/qstandarditemmodel.sip"
#include <qstandarditemmodel.h>
#line 141 "sippolkitqtpart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 144 "sippolkitqtpart5.cpp"
#line 66 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 147 "sippolkitqtpart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 114 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 152 "sippolkitqtpart5.cpp"
#line 65 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 88 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 157 "sippolkitqtpart5.cpp"
#line 149 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 175 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 162 "sippolkitqtpart5.cpp"
#line 83 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 101 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 167 "sippolkitqtpart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 170 "sippolkitqtpart5.cpp"
#line 75 "/usr/local/share/py-sip/QtGui/qundostack.sip"
#include <qundostack.h>
#line 173 "sippolkitqtpart5.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 176 "sippolkitqtpart5.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qprinter.sip"
#include <qprinter.h>
#line 179 "sippolkitqtpart5.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#line 182 "sippolkitqtpart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 185 "sippolkitqtpart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 188 "sippolkitqtpart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 191 "sippolkitqtpart5.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 194 "sippolkitqtpart5.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qmenu.sip"
#include <qmenu.h>
#line 197 "sippolkitqtpart5.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qactiongroup.sip"
#include <qactiongroup.h>
#line 200 "sippolkitqtpart5.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 203 "sippolkitqtpart5.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 206 "sippolkitqtpart5.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 237 "sippolkitqtpart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 240 "sippolkitqtpart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 243 "sippolkitqtpart5.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 246 "sippolkitqtpart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 249 "sippolkitqtpart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 252 "sippolkitqtpart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 255 "sippolkitqtpart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 258 "sippolkitqtpart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 261 "sippolkitqtpart5.cpp"


class sipPolkitQt_Action : public PolkitQt::Action
{
public:
    sipPolkitQt_Action(const QString&,QObject *);
    virtual ~sipPolkitQt_Action();

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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    bool sipProtectVirt_event(bool,QEvent *);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool event(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[7];
};

sipPolkitQt_Action::sipPolkitQt_Action(const QString& a0,QObject *a1): PolkitQt::Action(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipPolkitQt_Action::metaObject() const
{
    return sip_polkitqt_qt_metaobject(sipPySelf,sipType_PolkitQt_Action);
}

int sipPolkitQt_Action::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = PolkitQt::Action::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_polkitqt_qt_metacall(sipPySelf,sipType_PolkitQt_Action,_c,_id,_a);

    return _id;
}

void *sipPolkitQt_Action::qt_metacast(const char *_clname)
{
    return (sip_polkitqt_qt_metacast && sip_polkitqt_qt_metacast(sipPySelf,sipType_PolkitQt_Action,_clname)) ? this : PolkitQt::Action::qt_metacast(_clname);
}

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

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

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

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

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

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

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


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

    {
        char * a0;
        sipPolkitQt_Action *sipCpp;

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

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

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipPolkitQt_Action *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipPolkitQt_Action *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipPolkitQt_Action *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipPolkitQt_Action *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipPolkitQt_Action *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipPolkitQt_Action *sipCpp;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        WId a0 = 0;
        PolkitQt::Action *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B|m",&sipSelf,sipType_PolkitQt_Action,&sipCpp,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->activate(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        PolkitQt::Action *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_PolkitQt_Action,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setChecked(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        PolkitQt::Action *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_PolkitQt_Action,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->revoke();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QString& a0def = QString();
        const QString * a0 = &a0def;
        int a0State = 0;
        PolkitQt::Action *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B|J1",&sipSelf,sipType_PolkitQt_Action,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPolkitAction(*a0);
            Py_END_ALLOW_THREADS

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        PolkitQt::Action *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_PolkitQt_Action,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->actionId());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        bool a0;
        PolkitQt::Action *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_PolkitQt_Action,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMasterVisible(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        PolkitQt::Action *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_PolkitQt_Action,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->masterVisible();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        PolkitQt::Action *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_PolkitQt_Action,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMasterEnabled(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        PolkitQt::Action *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_PolkitQt_Action,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->masterEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_PolkitQt_Action,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setText(*a0);
            Py_END_ALLOW_THREADS

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_PolkitQt_Action,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setToolTip(*a0);
            Py_END_ALLOW_THREADS

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_PolkitQt_Action,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setWhatsThis(*a0);
            Py_END_ALLOW_THREADS

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QIcon * a0;
        PolkitQt::Action *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_PolkitQt_Action,&sipCpp,sipType_QIcon,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setIcon(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        PolkitQt::Action *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_PolkitQt_Action,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSelfBlockedVisible(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        PolkitQt::Action *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_PolkitQt_Action,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->selfBlockedVisible();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        PolkitQt::Action *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_PolkitQt_Action,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSelfBlockedEnabled(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        PolkitQt::Action *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_PolkitQt_Action,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->selfBlockedEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_PolkitQt_Action,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSelfBlockedText(*a0);
            Py_END_ALLOW_THREADS

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        PolkitQt::Action *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_PolkitQt_Action,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->selfBlockedText());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_PolkitQt_Action,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSelfBlockedToolTip(*a0);
            Py_END_ALLOW_THREADS

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        PolkitQt::Action *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_PolkitQt_Action,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->selfBlockedToolTip());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_PolkitQt_Action,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSelfBlockedWhatsThis(*a0);
            Py_END_ALLOW_THREADS

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        PolkitQt::Action *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_PolkitQt_Action,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->selfBlockedWhatsThis());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QIcon * a0;
        PolkitQt::Action *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_PolkitQt_Action,&sipCpp,sipType_QIcon,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSelfBlockedIcon(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        PolkitQt::Action *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_PolkitQt_Action,&sipCpp))
        {
            QIcon *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QIcon(sipCpp->selfBlockedIcon());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        bool a0;
        PolkitQt::Action *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_PolkitQt_Action,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setNoVisible(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        PolkitQt::Action *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_PolkitQt_Action,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->noVisible();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        PolkitQt::Action *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_PolkitQt_Action,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setNoEnabled(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        PolkitQt::Action *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_PolkitQt_Action,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->noEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_PolkitQt_Action,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setNoText(*a0);
            Py_END_ALLOW_THREADS

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        PolkitQt::Action *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_PolkitQt_Action,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->noText());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_PolkitQt_Action,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setNoToolTip(*a0);
            Py_END_ALLOW_THREADS

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        PolkitQt::Action *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_PolkitQt_Action,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->noToolTip());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_PolkitQt_Action,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setNoWhatsThis(*a0);
            Py_END_ALLOW_THREADS

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        PolkitQt::Action *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_PolkitQt_Action,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->noWhatsThis());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QIcon * a0;
        PolkitQt::Action *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_PolkitQt_Action,&sipCpp,sipType_QIcon,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setNoIcon(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        PolkitQt::Action *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_PolkitQt_Action,&sipCpp))
        {
            QIcon *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QIcon(sipCpp->noIcon());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        bool a0;
        PolkitQt::Action *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_PolkitQt_Action,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAuthVisible(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        PolkitQt::Action *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_PolkitQt_Action,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->authVisible();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        PolkitQt::Action *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_PolkitQt_Action,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAuthEnabled(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        PolkitQt::Action *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_PolkitQt_Action,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->authEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_PolkitQt_Action,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAuthText(*a0);
            Py_END_ALLOW_THREADS

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        PolkitQt::Action *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_PolkitQt_Action,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->authText());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_PolkitQt_Action,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAuthToolTip(*a0);
            Py_END_ALLOW_THREADS

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        PolkitQt::Action *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_PolkitQt_Action,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->authToolTip());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_PolkitQt_Action,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAuthWhatsThis(*a0);
            Py_END_ALLOW_THREADS

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        PolkitQt::Action *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_PolkitQt_Action,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->authWhatsThis());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QIcon * a0;
        PolkitQt::Action *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_PolkitQt_Action,&sipCpp,sipType_QIcon,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAuthIcon(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        PolkitQt::Action *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_PolkitQt_Action,&sipCpp))
        {
            QIcon *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QIcon(sipCpp->authIcon());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        bool a0;
        PolkitQt::Action *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_PolkitQt_Action,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setYesVisible(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        PolkitQt::Action *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_PolkitQt_Action,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->yesVisible();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        PolkitQt::Action *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_PolkitQt_Action,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setYesEnabled(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        PolkitQt::Action *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_PolkitQt_Action,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->yesEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_PolkitQt_Action,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setYesText(*a0);
            Py_END_ALLOW_THREADS

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        PolkitQt::Action *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_PolkitQt_Action,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->yesText());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_PolkitQt_Action,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setYesToolTip(*a0);
            Py_END_ALLOW_THREADS

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        PolkitQt::Action *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_PolkitQt_Action,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->yesToolTip());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_PolkitQt_Action,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setYesWhatsThis(*a0);
            Py_END_ALLOW_THREADS

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        PolkitQt::Action *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_PolkitQt_Action,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->yesWhatsThis());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QIcon * a0;
        PolkitQt::Action *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_PolkitQt_Action,&sipCpp,sipType_QIcon,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setYesIcon(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        PolkitQt::Action *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_PolkitQt_Action,&sipCpp))
        {
            QIcon *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QIcon(sipCpp->yesIcon());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        qint64 a0;
        PolkitQt::Action *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bn",&sipSelf,sipType_PolkitQt_Action,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTargetPID(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        PolkitQt::Action *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_PolkitQt_Action,&sipCpp))
        {
            qint64 sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->targetPID();
            Py_END_ALLOW_THREADS

            return PyLong_FromLongLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        PolkitQt::Action *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_PolkitQt_Action,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isAllowed();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_PolkitQt_Action,&sipCpp,sipType_QString,&a0,&a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->is(*a0);
            Py_END_ALLOW_THREADS

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_PolkitQt_Action)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAction)->ctd_cast((QAction *)(PolkitQt::Action *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipPolkitQt_Action *>(sipCppV);
    else
        delete reinterpret_cast<PolkitQt::Action *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

    if (!sipCpp)
    {
        const QString& a0def = QString();
        const QString * a0 = &a0def;
        int a0State = 0;
        QObject * a1 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"|J1JH",sipType_QString,&a0,&a0State,sipType_QObject,&a1,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPolkitQt_Action(*a0,a1);
            Py_END_ALLOW_THREADS

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

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


static PyMethodDef methods_PolkitQt_Action[] = {
    {SIP_MLNAME_CAST(sipName_actionId), meth_PolkitQt_Action_actionId, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_activate), meth_PolkitQt_Action_activate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_authEnabled), meth_PolkitQt_Action_authEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_authIcon), meth_PolkitQt_Action_authIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_authText), meth_PolkitQt_Action_authText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_authToolTip), meth_PolkitQt_Action_authToolTip, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_authVisible), meth_PolkitQt_Action_authVisible, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_authWhatsThis), meth_PolkitQt_Action_authWhatsThis, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_PolkitQt_Action_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_PolkitQt_Action_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_PolkitQt_Action_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_PolkitQt_Action_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_PolkitQt_Action_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isAllowed), meth_PolkitQt_Action_isAllowed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_is_), meth_PolkitQt_Action_is_, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_masterEnabled), meth_PolkitQt_Action_masterEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_masterVisible), meth_PolkitQt_Action_masterVisible, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_noEnabled), meth_PolkitQt_Action_noEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_noIcon), meth_PolkitQt_Action_noIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_noText), meth_PolkitQt_Action_noText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_noToolTip), meth_PolkitQt_Action_noToolTip, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_noVisible), meth_PolkitQt_Action_noVisible, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_noWhatsThis), meth_PolkitQt_Action_noWhatsThis, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_PolkitQt_Action_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_revoke), meth_PolkitQt_Action_revoke, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selfBlockedEnabled), meth_PolkitQt_Action_selfBlockedEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selfBlockedIcon), meth_PolkitQt_Action_selfBlockedIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selfBlockedText), meth_PolkitQt_Action_selfBlockedText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selfBlockedToolTip), meth_PolkitQt_Action_selfBlockedToolTip, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selfBlockedVisible), meth_PolkitQt_Action_selfBlockedVisible, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selfBlockedWhatsThis), meth_PolkitQt_Action_selfBlockedWhatsThis, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAuthEnabled), meth_PolkitQt_Action_setAuthEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAuthIcon), meth_PolkitQt_Action_setAuthIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAuthText), meth_PolkitQt_Action_setAuthText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAuthToolTip), meth_PolkitQt_Action_setAuthToolTip, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAuthVisible), meth_PolkitQt_Action_setAuthVisible, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAuthWhatsThis), meth_PolkitQt_Action_setAuthWhatsThis, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setChecked), meth_PolkitQt_Action_setChecked, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIcon), meth_PolkitQt_Action_setIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMasterEnabled), meth_PolkitQt_Action_setMasterEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMasterVisible), meth_PolkitQt_Action_setMasterVisible, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setNoEnabled), meth_PolkitQt_Action_setNoEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setNoIcon), meth_PolkitQt_Action_setNoIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setNoText), meth_PolkitQt_Action_setNoText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setNoToolTip), meth_PolkitQt_Action_setNoToolTip, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setNoVisible), meth_PolkitQt_Action_setNoVisible, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setNoWhatsThis), meth_PolkitQt_Action_setNoWhatsThis, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPolkitAction), meth_PolkitQt_Action_setPolkitAction, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSelfBlockedEnabled), meth_PolkitQt_Action_setSelfBlockedEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSelfBlockedIcon), meth_PolkitQt_Action_setSelfBlockedIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSelfBlockedText), meth_PolkitQt_Action_setSelfBlockedText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSelfBlockedToolTip), meth_PolkitQt_Action_setSelfBlockedToolTip, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSelfBlockedVisible), meth_PolkitQt_Action_setSelfBlockedVisible, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSelfBlockedWhatsThis), meth_PolkitQt_Action_setSelfBlockedWhatsThis, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTargetPID), meth_PolkitQt_Action_setTargetPID, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setText), meth_PolkitQt_Action_setText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setToolTip), meth_PolkitQt_Action_setToolTip, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setWhatsThis), meth_PolkitQt_Action_setWhatsThis, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setYesEnabled), meth_PolkitQt_Action_setYesEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setYesIcon), meth_PolkitQt_Action_setYesIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setYesText), meth_PolkitQt_Action_setYesText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setYesToolTip), meth_PolkitQt_Action_setYesToolTip, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setYesVisible), meth_PolkitQt_Action_setYesVisible, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setYesWhatsThis), meth_PolkitQt_Action_setYesWhatsThis, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_targetPID), meth_PolkitQt_Action_targetPID, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_PolkitQt_Action_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_yesEnabled), meth_PolkitQt_Action_yesEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_yesIcon), meth_PolkitQt_Action_yesIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_yesText), meth_PolkitQt_Action_yesText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_yesToolTip), meth_PolkitQt_Action_yesToolTip, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_yesVisible), meth_PolkitQt_Action_yesVisible, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_yesWhatsThis), meth_PolkitQt_Action_yesWhatsThis, METH_VARARGS, NULL}
};


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


pyqt4ClassTypeDef pyqt4Type_polkitqt_PolkitQt_Action = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_PolkitQt__Action,
        {0}
    },
    sipNameNr_Action,
    -1,
    -1,
    {0, 255, 0},
    supers_PolkitQt_Action,
    0,
    72, methods_PolkitQt_Action,
    0, 0,
    0, 0,
    init_PolkitQt_Action,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_PolkitQt_Action,
    release_PolkitQt_Action,
    cast_PolkitQt_Action,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &PolkitQt::Action::staticMetaObject,
    0,
    pyqt4_signals_PolkitQt_Action
};
