/*
 * Module code.
 *
 * Generated by SIP 4.12.4 on Fri Dec 30 00:26:00 2011
 */

#include "sipAPIdnssd.h"

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/dnssd/remoteservice.sip"
#include <dnssd/remoteservice.h>
#line 12 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/dnssd/sipdnssdpart3.cpp"

#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 16 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/dnssd/sipdnssdpart3.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 19 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/dnssd/sipdnssdpart3.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 22 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/dnssd/sipdnssdpart3.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 25 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/dnssd/sipdnssdpart3.cpp"
#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/dnssd/sipdnssdpart3.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 31 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/dnssd/sipdnssdpart3.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 34 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/dnssd/sipdnssdpart3.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 37 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/dnssd/sipdnssdpart3.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 40 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/dnssd/sipdnssdpart3.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/dnssd/sipdnssdpart3.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 46 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/dnssd/sipdnssdpart3.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/dnssd/sipdnssdpart3.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 52 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/dnssd/sipdnssdpart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/dnssd/servicebase.sip"
#include <dnssd/servicebase.h>
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/dnssd/sipdnssdpart3.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 58 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/dnssd/sipdnssdpart3.cpp"
#line 77 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 61 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/dnssd/sipdnssdpart3.cpp"


class sipDNSSD_RemoteService : public DNSSD::RemoteService
{
public:
    sipDNSSD_RemoteService(const QString&,const QString&,const QString&);
    virtual ~sipDNSSD_RemoteService();

    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 char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    void sipProtectVirt_virtual_hook(bool,int,void *);

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

    char sipPyMethods[8];
};

sipDNSSD_RemoteService::sipDNSSD_RemoteService(const QString& a0,const QString& a1,const QString& a2): DNSSD::RemoteService(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipDNSSD_RemoteService::metaObject() const
{
    return sip_dnssd_qt_metaobject(sipPySelf,sipType_DNSSD_RemoteService);
}

int sipDNSSD_RemoteService::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = DNSSD::RemoteService::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_dnssd_qt_metacall(sipPySelf,sipType_DNSSD_RemoteService,_c,_id,_a);

    return _id;
}

void *sipDNSSD_RemoteService::qt_metacast(const char *_clname)
{
    return (sip_dnssd_qt_metacast && sip_dnssd_qt_metacast(sipPySelf,sipType_DNSSD_RemoteService,_clname)) ? this : DNSSD::RemoteService::qt_metacast(_clname);
}

void sipDNSSD_RemoteService::virtual_hook(int a0,void *a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        DNSSD::RemoteService::virtual_hook(a0,a1);
        return;
    }

    extern void sipVH_dnssd_0(sip_gilstate_t,PyObject *,int,void *);

    sipVH_dnssd_0(sipGILState,sipMeth,a0,a1);
}

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

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

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

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *,QEvent *);

    return ((sipVH_QtCore_5)(sipModuleAPI_dnssd_QtCore->em_virthandlers[5]))(sipGILState,sipMeth,a0);
}

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

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

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

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    return ((sipVH_QtCore_18)(sipModuleAPI_dnssd_QtCore->em_virthandlers[18]))(sipGILState,sipMeth,a0,a1);
}

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

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

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

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t,PyObject *,QTimerEvent *);

    ((sipVH_QtCore_9)(sipModuleAPI_dnssd_QtCore->em_virthandlers[9]))(sipGILState,sipMeth,a0);
}

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

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

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

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t,PyObject *,QChildEvent *);

    ((sipVH_QtCore_25)(sipModuleAPI_dnssd_QtCore->em_virthandlers[25]))(sipGILState,sipMeth,a0);
}

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

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

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

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_dnssd_QtCore->em_virthandlers[17]))(sipGILState,sipMeth,a0);
}

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

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

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

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_dnssd_QtCore->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

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

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

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

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_dnssd_QtCore->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

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

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

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

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

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

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

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

void sipDNSSD_RemoteService::sipProtectVirt_virtual_hook(bool sipSelfWasArg,int a0,void *a1)
{
    (sipSelfWasArg ? DNSSD::RemoteService::virtual_hook(a0,a1) : virtual_hook(a0,a1));
}


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

    {
        sipDNSSD_RemoteService *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DNSSD_RemoteService, &sipCpp))
        {
            QObject *sipRes = 0;

#line 632 "/usr/local/share/py-sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp->sender());
        #else
            sipRes = helper(sipCpp->sipProtect_sender());
        #endif
#line 346 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/dnssd/sipdnssdpart3.cpp"

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

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

    return NULL;
}


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

    {
        char * a0;
        sipDNSSD_RemoteService *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_DNSSD_RemoteService, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 649 "/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)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp, a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 388 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/dnssd/sipdnssdpart3.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipDNSSD_RemoteService *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_DNSSD_RemoteService, &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(sipParseErr, sipName_RemoteService, sipName_timerEvent, NULL);

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipDNSSD_RemoteService *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_DNSSD_RemoteService, &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(sipParseErr, sipName_RemoteService, sipName_childEvent, NULL);

    return NULL;
}


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

    {
        QEvent * a0;
        sipDNSSD_RemoteService *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_DNSSD_RemoteService, &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(sipParseErr, sipName_RemoteService, sipName_customEvent, NULL);

    return NULL;
}


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

    {
        char * a0;
        sipDNSSD_RemoteService *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_DNSSD_RemoteService, &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(sipParseErr, sipName_RemoteService, sipName_connectNotify, NULL);

    return NULL;
}


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

    {
        char * a0;
        sipDNSSD_RemoteService *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_DNSSD_RemoteService, &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(sipParseErr, sipName_RemoteService, sipName_disconnectNotify, NULL);

    return NULL;
}


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

    {
        DNSSD::RemoteService *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DNSSD::RemoteService *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->resolve();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        DNSSD::RemoteService *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isResolved();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        void * a1;
        sipDNSSD_RemoteService *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Biv", &sipSelf, sipType_DNSSD_RemoteService, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_virtual_hook(sipSelfWasArg,a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_DNSSD_RemoteService)
        return ptr;

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

    if ((res = ((const sipClassTypeDef *)sipType_DNSSD_ServiceBase)->ctd_cast((DNSSD::ServiceBase *)(DNSSD::RemoteService *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipDNSSD_RemoteService *>(sipCppV);
    else
        delete reinterpret_cast<DNSSD::RemoteService *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_DNSSD_RemoteService(sipSimpleWrapper *);}
static void dealloc_DNSSD_RemoteService(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipDNSSD_RemoteService *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_DNSSD_RemoteService(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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

    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        const QString * a2;
        int a2State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J1J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDNSSD_RemoteService(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_DNSSD_RemoteService[] = {{134, 0, 0}, {6, 255, 1}};


static PyMethodDef methods_DNSSD_RemoteService[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), meth_DNSSD_RemoteService_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_DNSSD_RemoteService_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_DNSSD_RemoteService_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_DNSSD_RemoteService_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isResolved), meth_DNSSD_RemoteService_isResolved, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_DNSSD_RemoteService_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resolve), meth_DNSSD_RemoteService_resolve, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resolveAsync), meth_DNSSD_RemoteService_resolveAsync, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), meth_DNSSD_RemoteService_sender, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_DNSSD_RemoteService_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_virtual_hook), meth_DNSSD_RemoteService_virtual_hook, METH_VARARGS, NULL}
};


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


pyqt4ClassTypeDef sipTypeDef_dnssd_DNSSD_RemoteService = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_DNSSD__RemoteService,
        {0}
    },
    {
        sipNameNr_RemoteService,
        {0, 255, 0},
        11, methods_DNSSD_RemoteService,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_DNSSD_RemoteService,
    0,
    init_DNSSD_RemoteService,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DNSSD_RemoteService,
    0,
    0,
    0,
    release_DNSSD_RemoteService,
    cast_DNSSD_RemoteService,
    0,
    0,
    0
},
    &DNSSD::RemoteService::staticMetaObject,
    0,
    pyqt4_signals_DNSSD_RemoteService
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/dnssd/publicservice.sip"
#include <dnssd/publicservice.h>
#line 807 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/dnssd/sipdnssdpart3.cpp"

#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 811 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/dnssd/sipdnssdpart3.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 814 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/dnssd/sipdnssdpart3.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 817 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/dnssd/sipdnssdpart3.cpp"
#line 77 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 820 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/dnssd/sipdnssdpart3.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 823 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/dnssd/sipdnssdpart3.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 826 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/dnssd/sipdnssdpart3.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 829 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/dnssd/sipdnssdpart3.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 832 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/dnssd/sipdnssdpart3.cpp"
#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 835 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/dnssd/sipdnssdpart3.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 838 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/dnssd/sipdnssdpart3.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 841 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/dnssd/sipdnssdpart3.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 844 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/dnssd/sipdnssdpart3.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 847 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/dnssd/sipdnssdpart3.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 850 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/dnssd/sipdnssdpart3.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 853 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/dnssd/sipdnssdpart3.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 856 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/dnssd/sipdnssdpart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/dnssd/servicebase.sip"
#include <dnssd/servicebase.h>
#line 859 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/dnssd/sipdnssdpart3.cpp"


class sipDNSSD_PublicService : public DNSSD::PublicService
{
public:
    sipDNSSD_PublicService(const QString&,const QString&,uint,const QString&,const QStringList&);
    virtual ~sipDNSSD_PublicService();

    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 char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    void sipProtectVirt_virtual_hook(bool,int,void *);

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

    char sipPyMethods[8];
};

sipDNSSD_PublicService::sipDNSSD_PublicService(const QString& a0,const QString& a1,uint a2,const QString& a3,const QStringList& a4): DNSSD::PublicService(a0,a1,a2,a3,a4), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipDNSSD_PublicService::metaObject() const
{
    return sip_dnssd_qt_metaobject(sipPySelf,sipType_DNSSD_PublicService);
}

int sipDNSSD_PublicService::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = DNSSD::PublicService::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_dnssd_qt_metacall(sipPySelf,sipType_DNSSD_PublicService,_c,_id,_a);

    return _id;
}

void *sipDNSSD_PublicService::qt_metacast(const char *_clname)
{
    return (sip_dnssd_qt_metacast && sip_dnssd_qt_metacast(sipPySelf,sipType_DNSSD_PublicService,_clname)) ? this : DNSSD::PublicService::qt_metacast(_clname);
}

void sipDNSSD_PublicService::virtual_hook(int a0,void *a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        DNSSD::PublicService::virtual_hook(a0,a1);
        return;
    }

    extern void sipVH_dnssd_0(sip_gilstate_t,PyObject *,int,void *);

    sipVH_dnssd_0(sipGILState,sipMeth,a0,a1);
}

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

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

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

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *,QEvent *);

    return ((sipVH_QtCore_5)(sipModuleAPI_dnssd_QtCore->em_virthandlers[5]))(sipGILState,sipMeth,a0);
}

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

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

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

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    return ((sipVH_QtCore_18)(sipModuleAPI_dnssd_QtCore->em_virthandlers[18]))(sipGILState,sipMeth,a0,a1);
}

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

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

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

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t,PyObject *,QTimerEvent *);

    ((sipVH_QtCore_9)(sipModuleAPI_dnssd_QtCore->em_virthandlers[9]))(sipGILState,sipMeth,a0);
}

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

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

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

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t,PyObject *,QChildEvent *);

    ((sipVH_QtCore_25)(sipModuleAPI_dnssd_QtCore->em_virthandlers[25]))(sipGILState,sipMeth,a0);
}

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

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

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

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_dnssd_QtCore->em_virthandlers[17]))(sipGILState,sipMeth,a0);
}

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

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

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

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_dnssd_QtCore->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

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

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

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

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_dnssd_QtCore->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

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

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

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

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

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

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

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

void sipDNSSD_PublicService::sipProtectVirt_virtual_hook(bool sipSelfWasArg,int a0,void *a1)
{
    (sipSelfWasArg ? DNSSD::PublicService::virtual_hook(a0,a1) : virtual_hook(a0,a1));
}


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

    {
        sipDNSSD_PublicService *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DNSSD_PublicService, &sipCpp))
        {
            QObject *sipRes = 0;

#line 632 "/usr/local/share/py-sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp->sender());
        #else
            sipRes = helper(sipCpp->sipProtect_sender());
        #endif
#line 1144 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/dnssd/sipdnssdpart3.cpp"

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

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

    return NULL;
}


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

    {
        char * a0;
        sipDNSSD_PublicService *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_DNSSD_PublicService, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 649 "/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)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp, a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 1186 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/dnssd/sipdnssdpart3.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipDNSSD_PublicService *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_DNSSD_PublicService, &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(sipParseErr, sipName_PublicService, sipName_timerEvent, NULL);

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipDNSSD_PublicService *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_DNSSD_PublicService, &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(sipParseErr, sipName_PublicService, sipName_childEvent, NULL);

    return NULL;
}


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

    {
        QEvent * a0;
        sipDNSSD_PublicService *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_DNSSD_PublicService, &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(sipParseErr, sipName_PublicService, sipName_customEvent, NULL);

    return NULL;
}


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

    {
        char * a0;
        sipDNSSD_PublicService *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_DNSSD_PublicService, &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(sipParseErr, sipName_PublicService, sipName_connectNotify, NULL);

    return NULL;
}


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

    {
        char * a0;
        sipDNSSD_PublicService *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_DNSSD_PublicService, &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(sipParseErr, sipName_PublicService, sipName_disconnectNotify, NULL);

    return NULL;
}


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

    {
        DNSSD::PublicService *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DNSSD::PublicService *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->publish();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        DNSSD::PublicService *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isPublished();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        DNSSD::PublicService *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_DNSSD_PublicService, &sipCpp, sipType_QMap_0100QString_0100QByteArray,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTextData(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QMap<QString,QByteArray> *>(a0),sipType_QMap_0100QString_0100QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_DNSSD_PublicService, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setServiceName(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_DNSSD_PublicService, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setType(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QStringList * a0;
        int a0State = 0;
        DNSSD::PublicService *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_DNSSD_PublicService, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSubTypes(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        unsigned short a0;
        DNSSD::PublicService *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bt", &sipSelf, sipType_DNSSD_PublicService, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPort(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_DNSSD_PublicService, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDomain(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DNSSD::PublicService *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DNSSD_PublicService, &sipCpp))
        {
            QStringList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->subtypes());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        int a0;
        void * a1;
        sipDNSSD_PublicService *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Biv", &sipSelf, sipType_DNSSD_PublicService, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_virtual_hook(sipSelfWasArg,a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_DNSSD_PublicService)
        return ptr;

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

    if ((res = ((const sipClassTypeDef *)sipType_DNSSD_ServiceBase)->ctd_cast((DNSSD::ServiceBase *)(DNSSD::PublicService *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipDNSSD_PublicService *>(sipCppV);
    else
        delete reinterpret_cast<DNSSD::PublicService *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_DNSSD_PublicService(sipSimpleWrapper *);}
static void dealloc_DNSSD_PublicService(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipDNSSD_PublicService *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_DNSSD_PublicService(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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

    {
        const QString& a0def = QString();
        const QString * a0 = &a0def;
        int a0State = 0;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;
        uint a2 = 0;
        const QString& a3def = QString();
        const QString * a3 = &a3def;
        int a3State = 0;
        const QStringList& a4def = QStringList();
        const QStringList * a4 = &a4def;
        int a4State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|J1J1uJ1J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, &a2, sipType_QString,&a3, &a3State, sipType_QStringList,&a4, &a4State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDNSSD_PublicService(*a0,*a1,a2,*a3,*a4);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);
            sipReleaseType(const_cast<QStringList *>(a4),sipType_QStringList,a4State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_DNSSD_PublicService[] = {{134, 0, 0}, {6, 255, 1}};


static PyMethodDef methods_DNSSD_PublicService[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), meth_DNSSD_PublicService_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_DNSSD_PublicService_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_DNSSD_PublicService_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_DNSSD_PublicService_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isPublished), meth_DNSSD_PublicService_isPublished, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_publish), meth_DNSSD_PublicService_publish, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_publishAsync), meth_DNSSD_PublicService_publishAsync, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_DNSSD_PublicService_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), meth_DNSSD_PublicService_sender, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDomain), meth_DNSSD_PublicService_setDomain, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPort), meth_DNSSD_PublicService_setPort, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setServiceName), meth_DNSSD_PublicService_setServiceName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSubTypes), meth_DNSSD_PublicService_setSubTypes, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTextData), meth_DNSSD_PublicService_setTextData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setType), meth_DNSSD_PublicService_setType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_stop), meth_DNSSD_PublicService_stop, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_subtypes), meth_DNSSD_PublicService_subtypes, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_DNSSD_PublicService_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_virtual_hook), meth_DNSSD_PublicService_virtual_hook, METH_VARARGS, NULL}
};


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


pyqt4ClassTypeDef sipTypeDef_dnssd_DNSSD_PublicService = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_DNSSD__PublicService,
        {0}
    },
    {
        sipNameNr_PublicService,
        {0, 255, 0},
        19, methods_DNSSD_PublicService,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_DNSSD_PublicService,
    0,
    init_DNSSD_PublicService,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DNSSD_PublicService,
    0,
    0,
    0,
    release_DNSSD_PublicService,
    cast_DNSSD_PublicService,
    0,
    0,
    0
},
    &DNSSD::PublicService::staticMetaObject,
    0,
    pyqt4_signals_DNSSD_PublicService
};
