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

#include "sipAPIdnssd.h"

#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 12 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/dnssd/sipdnssdpart0.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/dnssd/servicebase.sip"
#include <dnssd/servicebase.h>
#line 15 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/dnssd/sipdnssdpart0.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 18 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/dnssd/sipdnssdpart0.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 21 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/dnssd/sipdnssdpart0.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 24 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/dnssd/sipdnssdpart0.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/dnssd/sipdnssdpart0.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 30 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/dnssd/sipdnssdpart0.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/dnssd/sipdnssdpart0.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 36 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/dnssd/sipdnssdpart0.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 39 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/dnssd/sipdnssdpart0.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 42 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/dnssd/sipdnssdpart0.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 45 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/dnssd/sipdnssdpart0.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 48 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/dnssd/sipdnssdpart0.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 51 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/dnssd/sipdnssdpart0.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 54 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/dnssd/sipdnssdpart0.cpp"
#line 139 "/usr/share/sip/PyQt4/QtCore/qmap.sip"
#include <qmap.h>
#line 57 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/dnssd/sipdnssdpart0.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 60 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/dnssd/sipdnssdpart0.cpp"

/* Define the strings used by this module. */
const char sipStrings_dnssd[] = {
    'D', 'N', 'S', 'S', 'D', ':', ':', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 'M', 'o', 'd', 'e', 'l', ':', ':', 'A', 'd', 'd', 'i', 't', 'i', 'o', 'n', 'a', 'l', 'R', 'o', 'l', 'e', 's', 0,
    'D', 'N', 'S', 'S', 'D', ':', ':', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 'M', 'o', 'd', 'e', 'l', ':', ':', 'M', 'o', 'd', 'e', 'l', 'C', 'o', 'l', 'u', 'm', 'n', 's', 0,
    'K', 'S', 'h', 'a', 'r', 'e', 'd', 'P', 't', 'r', '<', 'D', 'N', 'S', 'S', 'D', ':', ':', 'R', 'e', 'm', 'o', 't', 'e', 'S', 'e', 'r', 'v', 'i', 'c', 'e', '>', 0,
    'Q', 'L', 'i', 's', 't', '<', 'D', 'N', 'S', 'S', 'D', ':', ':', 'R', 'e', 'm', 'o', 't', 'e', 'S', 'e', 'r', 'v', 'i', 'c', 'e', ':', ':', 'P', 't', 'r', '>', 0,
    'D', 'N', 'S', 'S', 'D', ':', ':', 'D', 'o', 'm', 'a', 'i', 'n', 'B', 'r', 'o', 'w', 's', 'e', 'r', ':', ':', 'D', 'o', 'm', 'a', 'i', 'n', 'T', 'y', 'p', 'e', 0,
    'D', 'N', 'S', 'S', 'D', ':', ':', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 'B', 'r', 'o', 'w', 's', 'e', 'r', ':', ':', 'S', 't', 'a', 't', 'e', 0,
    'D', 'N', 'S', 'S', 'D', ':', ':', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 'T', 'y', 'p', 'e', 'B', 'r', 'o', 'w', 's', 'e', 'r', 0,
    'D', 'N', 'S', 'S', 'D', ':', ':', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 'B', 'r', 'o', 'w', 's', 'e', 'r', 0,
    'D', 'N', 'S', 'S', 'D', ':', ':', 'R', 'e', 'm', 'o', 't', 'e', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 0,
    'D', 'N', 'S', 'S', 'D', ':', ':', 'P', 'u', 'b', 'l', 'i', 'c', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 0,
    'D', 'N', 'S', 'S', 'D', ':', ':', 'D', 'o', 'm', 'a', 'i', 'n', 'B', 'r', 'o', 'w', 's', 'e', 'r', 0,
    's', 'u', 'p', 'p', 'o', 'r', 't', 'e', 'd', 'D', 'r', 'o', 'p', 'A', 'c', 't', 'i', 'o', 'n', 's', 0,
    'D', 'N', 'S', 'S', 'D', ':', ':', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 'M', 'o', 'd', 'e', 'l', 0,
    'd', 'e', 'f', 'a', 'u', 'l', 't', 'B', 'u', 't', 't', 'o', 'n', 'N', 'u', 'm', 'b', 'e', 'r', 0,
    's', 'e', 'r', 'v', 'i', 'c', 'e', 'T', 'y', 'p', 'e', 'R', 'e', 'm', 'o', 'v', 'e', 'd', 0,
    'D', 'N', 'S', 'S', 'D', ':', ':', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 'B', 'a', 's', 'e', 0,
    'D', 'N', 'S', 'S', 'D', ':', ':', 'D', 'o', 'm', 'a', 'i', 'n', 'M', 'o', 'd', 'e', 'l', 0,
    'e', 's', 'c', 'a', 'p', 'e', 'B', 'u', 't', 't', 'o', 'n', 'N', 'u', 'm', 'b', 'e', 'r', 0,
    's', 'e', 'r', 'v', 'i', 'c', 'e', 'T', 'y', 'p', 'e', 'A', 'd', 'd', 'e', 'd', 0,
    'g', 'e', 't', 'L', 'o', 'c', 'a', 'l', 'H', 'o', 's', 't', 'N', 'a', 'm', 'e', 0,
    'd', 'i', 's', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'N', 'o', 't', 'i', 'f', 'y', 0,
    'r', 'e', 's', 'o', 'l', 'v', 'e', 'H', 'o', 's', 't', 'N', 'a', 'm', 'e', 0,
    'i', 's', 'A', 'u', 't', 'o', 'R', 'e', 's', 'o', 'l', 'v', 'i', 'n', 'g', 0,
    'a', 's', 'p', 'e', 'c', 't', 'R', 'a', 't', 'i', 'o', 'M', 'o', 'd', 'e', 0,
    'd', 'e', 'v', 'i', 'c', 'e', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 0,
    'S', 'e', 'r', 'v', 'i', 'c', 'e', 'P', 't', 'r', 'R', 'o', 'l', 'e', 0,
    's', 'e', 'r', 'v', 'i', 'c', 'e', 'R', 'e', 'm', 'o', 'v', 'e', 'd', 0,
    's', 'e', 't', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 'N', 'a', 'm', 'e', 0,
    's', 'e', 'l', 'e', 'c', 't', 'e', 'd', 'F', 'i', 'l', 't', 'e', 'r', 0,
    'd', 'o', 'm', 'a', 'i', 'n', 'R', 'e', 'm', 'o', 'v', 'e', 'd', 0,
    't', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'M', 'o', 'd', 'e', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'C', 'o', 'l', 'u', 'm', 'n', 's', 0,
    'i', 'n', 's', 'e', 'r', 't', 'C', 'o', 'l', 'u', 'm', 'n', 's', 0,
    's', 'e', 't', 'H', 'e', 'a', 'd', 'e', 'r', 'D', 'a', 't', 'a', 0,
    's', 'e', 'r', 'v', 'i', 'c', 'e', 'A', 'd', 'd', 'e', 'd', 0,
    'r', 'e', 's', 'o', 'l', 'v', 'e', 'A', 's', 'y', 'n', 'c', 0,
    'v', 'i', 'r', 't', 'u', 'a', 'l', '_', 'h', 'o', 'o', 'k', 0,
    'p', 'u', 'b', 'l', 'i', 's', 'h', 'A', 's', 'y', 'n', 'c', 0,
    's', 'e', 'r', 'v', 'i', 'c', 'e', 'T', 'y', 'p', 'e', 's', 0,
    's', 'o', 'u', 'r', 'c', 'e', 'R', 'e', 'g', 'i', 'o', 'n', 0,
    't', 'a', 'r', 'g', 'e', 't', 'O', 'f', 'f', 's', 'e', 't', 0,
    'b', 'o', 'u', 'n', 'd', 'i', 'n', 'g', 'R', 'e', 'c', 't', 0,
    'm', 'i', 'd', 'L', 'i', 'n', 'e', 'W', 'i', 'd', 't', 'h', 0,
    'c', 'a', 'n', 'F', 'e', 't', 'c', 'h', 'M', 'o', 'r', 'e', 0,
    'd', 'r', 'o', 'p', 'M', 'i', 'm', 'e', 'D', 'a', 't', 'a', 0,
    'P', 'y', 'K', 'D', 'E', '4', '.', 'd', 'n', 's', 's', 'd', 0,
    'U', 'n', 's', 'u', 'p', 'p', 'o', 'r', 't', 'e', 'd', 0,
    's', 'e', 't', 'S', 'u', 'b', 'T', 'y', 'p', 'e', 's', 0,
    's', 'e', 't', 'T', 'e', 'x', 't', 'D', 'a', 't', 'a', 0,
    'i', 's', 'P', 'u', 'b', 'l', 'i', 's', 'h', 'e', 'd', 0,
    'd', 'o', 'm', 'a', 'i', 'n', 'A', 'd', 'd', 'e', 'd', 0,
    's', 't', 'a', 'r', 't', 'B', 'r', 'o', 'w', 's', 'e', 0,
    'e', 'r', 'r', 'o', 'r', 'C', 'o', 'l', 'u', 'm', 'n', 0,
    's', 'e', 'r', 'v', 'i', 'c', 'e', 'N', 'a', 'm', 'e', 0,
    'i', 's', 'A', 'v', 'a', 'i', 'l', 'a', 'b', 'l', 'e', 0,
    'b', 'u', 't', 't', 'o', 'n', '2', 'T', 'e', 'x', 't', 0,
    'b', 'u', 't', 't', 'o', 'n', '1', 'T', 'e', 'x', 't', 0,
    'c', 'u', 's', 't', 'o', 'm', 'E', 'v', 'e', 'n', 't', 0,
    'e', 'v', 'e', 'n', 't', 'F', 'i', 'l', 't', 'e', 'r', 0,
    's', 'e', 't', 'I', 't', 'e', 'm', 'D', 'a', 't', 'a', 0,
    'h', 'a', 's', 'C', 'h', 'i', 'l', 'd', 'r', 'e', 'n', 0,
    'c', 'o', 'l', 'u', 'm', 'n', 'C', 'o', 'u', 'n', 't', 0,
    'i', 's', 'R', 'e', 's', 'o', 'l', 'v', 'e', 'd', 0,
    'P', 'u', 'b', 'l', 'i', 's', 'h', 'i', 'n', 'g', 0,
    'f', 'i', 'e', 'l', 'd', 'W', 'i', 'd', 't', 'h', 0,
    'c', 'h', 'i', 'l', 'd', 'E', 'v', 'e', 'n', 't', 0,
    't', 'i', 'm', 'e', 'r', 'E', 'v', 'e', 'n', 't', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'R', 'o', 'w', 's', 0,
    'i', 'n', 's', 'e', 'r', 't', 'R', 'o', 'w', 's', 0,
    'h', 'e', 'a', 'd', 'e', 'r', 'D', 'a', 't', 'a', 0,
    'p', 'u', 'b', 'l', 'i', 's', 'h', 'e', 'd', 0,
    'e', 'r', 'r', 'o', 'r', 'L', 'i', 'n', 'e', 0,
    's', 'e', 't', 'D', 'o', 'm', 'a', 'i', 'n', 0,
    'o', 'p', 'e', 'r', 'a', 't', 'i', 'o', 'n', 0,
    'l', 'i', 'n', 'e', 'W', 'i', 'd', 't', 'h', 0,
    'd', 'i', 'r', 'e', 'c', 't', 'o', 'r', 'y', 0,
    'a', 'l', 'i', 'g', 'n', 'm', 'e', 'n', 't', 0,
    'i', 's', 'R', 'u', 'n', 'n', 'i', 'n', 'g', 0,
    'p', 'r', 'e', 'c', 'i', 's', 'i', 'o', 'n', 0,
    'f', 'e', 't', 'c', 'h', 'M', 'o', 'r', 'e', 0,
    'm', 'i', 'm', 'e', 'T', 'y', 'p', 'e', 's', 0,
    't', 'e', 'x', 't', 'D', 'a', 't', 'a', 0,
    's', 'u', 'b', 't', 'y', 'p', 'e', 's', 0,
    'B', 'r', 'o', 'w', 's', 'i', 'n', 'g', 0,
    'e', 'r', 'r', 'o', 'r', 'M', 's', 'g', 0,
    's', 'e', 'r', 'v', 'i', 'c', 'e', 's', 0,
    'h', 'o', 's', 't', 'N', 'a', 'm', 'e', 0,
    'f', 'i', 'l', 'l', 'R', 'u', 'l', 'e', 0,
    't', 'a', 'b', 'A', 'r', 'r', 'a', 'y', 0,
    't', 'a', 'b', 'S', 't', 'o', 'p', 's', 0,
    'u', 's', 'e', 'r', 'D', 'a', 't', 'a', 0,
    's', 'h', 'o', 'r', 't', 'c', 'u', 't', 0,
    'r', 'e', 's', 'o', 'l', 'v', 'e', 'd', 0,
    'b', 'e', 'h', 'a', 'v', 'i', 'o', 'r', 0,
    'p', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    'f', 'i', 'l', 'l', 'C', 'h', 'a', 'r', 0,
    'm', 'i', 'm', 'e', 'D', 'a', 't', 'a', 0,
    'i', 't', 'e', 'm', 'D', 'a', 't', 'a', 0,
    'r', 'o', 'w', 'C', 'o', 'u', 'n', 't', 0,
    'h', 'a', 's', 'I', 'n', 'd', 'e', 'x', 0,
    'f', 'i', 'n', 'i', 's', 'h', 'e', 'd', 0,
    'W', 'o', 'r', 'k', 'i', 'n', 'g', 0,
    'p', 'u', 'b', 'l', 'i', 's', 'h', 0,
    'd', 'o', 'm', 'a', 'i', 'n', 's', 0,
    'e', 'x', 'p', 'o', 's', 'e', 'd', 0,
    'b', 'u', 't', 't', 'o', 'n', '2', 0,
    'b', 'u', 't', 't', 'o', 'n', '1', 0,
    'q', 'u', 'a', 'l', 'i', 't', 'y', 0,
    'y', 'M', 'a', 'r', 'g', 'i', 'n', 0,
    'x', 'M', 'a', 'r', 'g', 'i', 'n', 0,
    'c', 'a', 'p', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'P', 'o', 'r', 't', 0,
    'o', 'p', 't', 'i', 'o', 'n', 's', 0,
    'r', 'e', 's', 'o', 'l', 'v', 'e', 0,
    's', 'e', 't', 'T', 'y', 'p', 'e', 0,
    's', 'e', 't', 'D', 'a', 't', 'a', 0,
    'f', 'i', 'l', 't', 'e', 'r', 's', 0,
    'S', 't', 'o', 'p', 'p', 'e', 'd', 0,
    'd', 'o', 'm', 'a', 'i', 'n', 0,
    'y', 'R', 'o', 'u', 'n', 'd', 0,
    'x', 'R', 'o', 'u', 'n', 'd', 0,
    'l', 'a', 'y', 'e', 'r', 's', 0,
    's', 'u', 'n', 'k', 'e', 'n', 0,
    'o', 'p', 't', 'i', 'o', 'n', 0,
    'p', 'r', 'o', 'p', 'e', 'r', 0,
    'v', 'a', 'l', 'u', 'e', '9', 0,
    'v', 'a', 'l', 'u', 'e', '8', 0,
    'v', 'a', 'l', 'u', 'e', '7', 0,
    'v', 'a', 'l', 'u', 'e', '6', 0,
    'v', 'a', 'l', 'u', 'e', '5', 0,
    'v', 'a', 'l', 'u', 'e', '4', 0,
    'v', 'a', 'l', 'u', 'e', '3', 0,
    'v', 'a', 'l', 'u', 'e', '2', 0,
    'v', 'a', 'l', 'u', 'e', '1', 0,
    'v', 'a', 'l', 'u', 'e', '0', 0,
    's', 'y', 'm', 'b', 'o', 'l', 0,
    's', 'u', 'f', 'f', 'i', 'x', 0,
    'p', 'r', 'e', 'f', 'i', 'x', 0,
    'f', 'o', 'r', 'm', 'a', 't', 0,
    'r', 'e', 'v', 'e', 'r', 't', 0,
    's', 'u', 'b', 'm', 'i', 't', 0,
    'a', 'c', 't', 'i', 'o', 'n', 0,
    'c', 'o', 'l', 'u', 'm', 'n', 0,
    'f', 'i', 'l', 't', 'e', 'r', 0,
    'p', 'a', 'r', 'e', 'n', 't', 0,
    '_', '_', 'n', 'e', '_', '_', 0,
    '_', '_', 'e', 'q', '_', '_', 0,
    'D', 'N', 'S', 'S', 'D', 0,
    'b', 'r', 'u', 's', 'h', 0,
    'h', 'i', 'n', 't', 's', 0,
    'm', 'a', 't', 'c', 'h', 0,
    'b', 'u', 'd', 'd', 'y', 0,
    'i', 'n', 'd', 'e', 'x', 0,
    'f', 'l', 'a', 'g', 's', 0,
    'e', 'v', 'e', 'n', 't', 0,
    'm', 's', 'e', 'c', 's', 0,
    's', 't', 'a', 't', 'e', 0,
    'H', 'o', 's', 't', 0,
    'p', 'o', 'r', 't', 0,
    'm', 'o', 'd', 'e', 0,
    'n', 'a', 'm', 'e', 0,
    'b', 'a', 's', 'e', 0,
    'f', 'i', 'l', 'l', 0,
    'f', 'r', 'o', 'm', 0,
    's', 'p', 'a', 'n', 0,
    's', 'o', 'r', 't', 0,
    'd', 'a', 't', 'a', 0,
    't', 'y', 'p', 'e', 0,
    's', 't', 'o', 'p', 0,
    'p', 'e', 'n', 0,
    'e', 'n', 'd', 0,
    'p', 'o', 's', 0,
    's', 'w', 0,
    's', 'y', 0,
    's', 'x', 0,
    't', 'o', 0,
};

void sipVH_dnssd_28(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, int a0,void*a1)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "iV", a0, a1);
}

 ::QModelIndex sipVH_dnssd_27(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, int a0,int a1,const  ::QModelIndex& a2)
{
     ::QModelIndex sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "iiN", a0, a1, new  ::QModelIndex(a2), sipType_QModelIndex, NULL);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "H5", sipType_QModelIndex, &sipRes);

    return sipRes;
}

int sipVH_dnssd_26(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QModelIndex& a0)
{
    int sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "N", new  ::QModelIndex(a0), sipType_QModelIndex, NULL);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "i", &sipRes);

    return sipRes;
}

 ::QVariant sipVH_dnssd_25(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QModelIndex& a0,int a1)
{
     ::QVariant sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "Ni", new  ::QModelIndex(a0), sipType_QModelIndex, NULL, a1);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "H5", sipType_QVariant, &sipRes);

    return sipRes;
}

bool sipVH_dnssd_24(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QModelIndex& a0,const  ::QVariant& a1,int a2)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "NNi", new  ::QModelIndex(a0), sipType_QModelIndex, NULL, new  ::QVariant(a1), sipType_QVariant, NULL, a2);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "b", &sipRes);

    return sipRes;
}

 ::QVariant sipVH_dnssd_23(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, int a0, ::Qt::Orientation a1,int a2)
{
     ::QVariant sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "iFi", a0, a1, sipType_Qt_Orientation, a2);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "H5", sipType_QVariant, &sipRes);

    return sipRes;
}

bool sipVH_dnssd_22(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, int a0, ::Qt::Orientation a1,const  ::QVariant& a2,int a3)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "iFNi", a0, a1, sipType_Qt_Orientation, new  ::QVariant(a2), sipType_QVariant, NULL, a3);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "b", &sipRes);

    return sipRes;
}

QMap<int, ::QVariant> sipVH_dnssd_21(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QModelIndex& a0)
{
    QMap<int, ::QVariant> sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "N", new  ::QModelIndex(a0), sipType_QModelIndex, NULL);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "H5", sipType_QMap_1800_0100QVariant, &sipRes);

    return sipRes;
}

bool sipVH_dnssd_20(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QModelIndex& a0,const QMap<int, ::QVariant>& a1)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "NN", new  ::QModelIndex(a0), sipType_QModelIndex, NULL, new QMap<int, ::QVariant>(a1), sipType_QMap_1800_0100QVariant, NULL);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "b", &sipRes);

    return sipRes;
}

 ::QStringList sipVH_dnssd_19(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod)
{
     ::QStringList sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "");

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "H5", sipType_QStringList, &sipRes);

    return sipRes;
}

 ::QMimeData* sipVH_dnssd_18(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QModelIndexList& a0)
{
     ::QMimeData* sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "N", new  ::QModelIndexList(a0), sipType_QList_0100QModelIndex, NULL);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "H2", sipType_QMimeData, &sipRes);

    return sipRes;
}

bool sipVH_dnssd_17(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QMimeData*a0, ::Qt::DropAction a1,int a2,int a3,const  ::QModelIndex& a4)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "DFiiN", const_cast< ::QMimeData *>(a0), sipType_QMimeData, NULL, a1, sipType_Qt_DropAction, a2, a3, new  ::QModelIndex(a4), sipType_QModelIndex, NULL);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "b", &sipRes);

    return sipRes;
}

 ::Qt::DropActions sipVH_dnssd_16(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod)
{
     ::Qt::DropActions sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "");

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "H5", sipType_Qt_DropActions, &sipRes);

    return sipRes;
}

bool sipVH_dnssd_15(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, int a0,int a1,const  ::QModelIndex& a2)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "iiN", a0, a1, new  ::QModelIndex(a2), sipType_QModelIndex, NULL);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "b", &sipRes);

    return sipRes;
}

void sipVH_dnssd_14(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QModelIndex& a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "N", new  ::QModelIndex(a0), sipType_QModelIndex, NULL);
}

bool sipVH_dnssd_13(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QModelIndex& a0)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "N", new  ::QModelIndex(a0), sipType_QModelIndex, NULL);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "b", &sipRes);

    return sipRes;
}

 ::Qt::ItemFlags sipVH_dnssd_12(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QModelIndex& a0)
{
     ::Qt::ItemFlags sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "N", new  ::QModelIndex(a0), sipType_QModelIndex, NULL);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "H5", sipType_Qt_ItemFlags, &sipRes);

    return sipRes;
}

void sipVH_dnssd_11(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, int a0, ::Qt::SortOrder a1)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "iF", a0, a1, sipType_Qt_SortOrder);
}

 ::QModelIndex sipVH_dnssd_10(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QModelIndex& a0)
{
     ::QModelIndex sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "N", new  ::QModelIndex(a0), sipType_QModelIndex, NULL);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "H5", sipType_QModelIndex, &sipRes);

    return sipRes;
}

 ::QModelIndexList sipVH_dnssd_9(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QModelIndex& a0,int a1,const  ::QVariant& a2,int a3, ::Qt::MatchFlags a4)
{
     ::QModelIndexList sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "NiNiN", new  ::QModelIndex(a0), sipType_QModelIndex, NULL, a1, new  ::QVariant(a2), sipType_QVariant, NULL, a3, new  ::Qt::MatchFlags(a4), sipType_Qt_MatchFlags, NULL);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "H5", sipType_QList_0100QModelIndex, &sipRes);

    return sipRes;
}

 ::QSize sipVH_dnssd_8(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QModelIndex& a0)
{
     ::QSize sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "N", new  ::QModelIndex(a0), sipType_QModelIndex, NULL);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "H5", sipType_QSize, &sipRes);

    return sipRes;
}

bool sipVH_dnssd_7(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "");

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "b", &sipRes);

    return sipRes;
}

void sipVH_dnssd_6(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "");
}

bool sipVH_dnssd_5(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QEvent*a0)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D", a0, sipType_QEvent, NULL);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "b", &sipRes);

    return sipRes;
}

bool sipVH_dnssd_4(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QObject*a0, ::QEvent*a1)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "DD", a0, sipType_QObject, NULL, a1, sipType_QEvent, NULL);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "b", &sipRes);

    return sipRes;
}

void sipVH_dnssd_3(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QTimerEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QTimerEvent, NULL);
}

void sipVH_dnssd_2(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QChildEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QChildEvent, NULL);
}

void sipVH_dnssd_1(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QEvent, NULL);
}

void sipVH_dnssd_0(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const char*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "S", a0);
}


/* Convert to a sub-class if possible. */
extern "C" {static const sipTypeDef *sipSubClass_DNSSD_DomainBrowser(void **);}
static const sipTypeDef *sipSubClass_DNSSD_DomainBrowser(void **sipCppRet)
{
     ::QObject *sipCpp = reinterpret_cast< ::QObject *>(*sipCppRet);
    const sipTypeDef *sipType;

#line 66 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/dnssd/domainbrowser.sip"
    // CTSCC for subclasses of 'QObject'
    sipType = NULL;

    if (dynamic_cast<DNSSD::DomainBrowser*>(sipCpp))
        sipType = sipType_DNSSD_DomainBrowser;
    else if (dynamic_cast<DNSSD::PublicService*>(sipCpp))
        sipType = sipType_DNSSD_PublicService;
    else if (dynamic_cast<DNSSD::RemoteService*>(sipCpp))
        sipType = sipType_DNSSD_RemoteService;
    else if (dynamic_cast<DNSSD::ServiceBrowser*>(sipCpp))
        sipType = sipType_DNSSD_ServiceBrowser;
    else if (dynamic_cast<DNSSD::ServiceTypeBrowser*>(sipCpp))
        sipType = sipType_DNSSD_ServiceTypeBrowser;
    else if (dynamic_cast<DNSSD::DomainModel*>(sipCpp))
        sipType = sipType_DNSSD_DomainModel;
    else if (dynamic_cast<DNSSD::ServiceModel*>(sipCpp))
        sipType = sipType_DNSSD_ServiceModel;
#line 518 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/dnssd/sipdnssdpart0.cpp"

    return sipType;
}


/* Convert to a sub-class if possible. */
extern "C" {static const sipTypeDef *sipSubClass_DNSSD_ServiceBase(void **);}
static const sipTypeDef *sipSubClass_DNSSD_ServiceBase(void **sipCppRet)
{
     ::DNSSD::ServiceBase *sipCpp = reinterpret_cast< ::DNSSD::ServiceBase *>(*sipCppRet);
    const sipTypeDef *sipType;

#line 51 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/dnssd/servicebase.sip"
    // CTSCC for subclasses of 'ServiceBase'
    sipType = NULL;

    if (dynamic_cast<DNSSD::ServiceBase*>(sipCpp))
        {
        sipType = sipType_DNSSD_ServiceBase;
        if (dynamic_cast<DNSSD::PublicService*>(sipCpp))
            sipType = sipType_DNSSD_PublicService;
        else if (dynamic_cast<DNSSD::RemoteService*>(sipCpp))
            sipType = sipType_DNSSD_RemoteService;
        }
#line 543 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/dnssd/sipdnssdpart0.cpp"

    return sipType;
}
static sipEnumTypeDef enumTypes[] = {
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_DNSSD__ServiceModel__ModelColumns, {0}, 0}, sipNameNr_ModelColumns, 9, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_DNSSD__ServiceModel__AdditionalRoles, {0}, 0}, sipNameNr_AdditionalRoles, 9, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_DNSSD__ServiceBrowser__State, {0}, 0}, sipNameNr_State, 7, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_DNSSD__DomainBrowser__DomainType, {0}, 0}, sipNameNr_DomainType, 1, NULL},
};


/*
 * This defines each type in this module.
 */
sipTypeDef *sipExportedTypes_dnssd[] = {
    &sipTypeDef_dnssd_DNSSD.ctd_base,
    &sipTypeDef_dnssd_DNSSD_DomainBrowser.ctd_base,
    &enumTypes[3].etd_base,
    &sipTypeDef_dnssd_DNSSD_DomainModel.ctd_base,
    &sipTypeDef_dnssd_DNSSD_PublicService.ctd_base,
    &sipTypeDef_dnssd_DNSSD_RemoteService.ctd_base,
    &sipTypeDef_dnssd_DNSSD_ServiceBase.ctd_base,
    &sipTypeDef_dnssd_DNSSD_ServiceBrowser.ctd_base,
    &enumTypes[2].etd_base,
    &sipTypeDef_dnssd_DNSSD_ServiceModel.ctd_base,
    &enumTypes[1].etd_base,
    &enumTypes[0].etd_base,
    &sipTypeDef_dnssd_DNSSD_ServiceTypeBrowser.ctd_base,
    &sipTypeDef_dnssd_KSharedPtr_0100DNSSD_RemoteService.mtd_base,
    &sipTypeDef_dnssd_QList_0100DNSSD_RemoteService_Ptr.mtd_base,
};


/*
 * These define each typedef in this module.
 */
static sipTypedefDef typedefsTable[] = {
    {"DNSSD::RemoteService::List", "QList<DNSSD::RemoteService::Ptr>"},
    {"DNSSD::RemoteService::Ptr", "KSharedPtr<DNSSD::RemoteService>"},
};


/* This defines the types that this module needs to import from QtCore. */
sipImportedTypeDef sipImportedTypes_dnssd_QtCore[] = {
    {"QAbstractItemModel"},
    {"QChildEvent"},
    {"QEvent"},
    {"QList<QModelIndex>"},
    {"QMap<int,QVariant>"},
    {"QMimeData"},
    {"QModelIndex"},
    {"QObject"},
    {"QSize"},
    {"QString"},
    {"QStringList"},
    {"QTimerEvent"},
    {"QVariant"},
    {"Qt::DropAction"},
    {"Qt::DropActions"},
    {"Qt::ItemFlags"},
    {"Qt::MatchFlags"},
    {"Qt::Orientation"},
    {"Qt::SortOrder"},
    {NULL}
};


/* This defines the types that this module needs to import from QtNetwork. */
sipImportedTypeDef sipImportedTypes_dnssd_QtNetwork[] = {
    {"QHostAddress"},
    {NULL}
};


/* This defines the types that this module needs to import from kdecore. */
sipImportedTypeDef sipImportedTypes_dnssd_kdecore[] = {
    {"KShared"},
    {NULL}
};


/* This defines the types that this module needs to import from kdeui. */
sipImportedTypeDef sipImportedTypes_dnssd_kdeui[] = {
    {"QMap<QString,QByteArray>"},
    {NULL}
};


/* This defines the modules that this module needs to import. */
static sipImportedModuleDef importsTable[] = {
    {"PyQt4.QtCore", sipImportedTypes_dnssd_QtCore, NULL, NULL},
    {"PyQt4.QtNetwork", sipImportedTypes_dnssd_QtNetwork, NULL, NULL},
    {"PyQt4.QtGui", NULL, NULL, NULL},
    {"PyKDE4.kdecore", sipImportedTypes_dnssd_kdecore, NULL, NULL},
    {"PyQt4.QtSvg", NULL, NULL, NULL},
    {"PyQt4.QtXml", NULL, NULL, NULL},
    {"PyKDE4.kdeui", sipImportedTypes_dnssd_kdeui, NULL, NULL},
    {NULL, NULL, NULL, NULL}
};


/* This defines the class sub-convertors that this module defines. */
static sipSubClassConvertorDef convertorsTable[] = {
    {sipSubClass_DNSSD_DomainBrowser, {7, 0, 0}, NULL},
    {sipSubClass_DNSSD_ServiceBase, {6, 255, 0}, NULL},
    {NULL, {0, 0, 0}, NULL}
};


/* This defines this module. */
sipExportedModuleDef sipModuleAPI_dnssd = {
    0,
    SIP_API_MINOR_NR,
    sipNameNr_PyKDE4_dnssd,
    0,
    sipStrings_dnssd,
    importsTable,
    NULL,
    15,
    sipExportedTypes_dnssd,
    NULL,
    0,
    NULL,
    2,
    typedefsTable,
    NULL,
    convertorsTable,
    {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL},
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL
};


/* The SIP API and the APIs of any imported modules. */
const sipAPIDef *sipAPI_dnssd;

sip_qt_metaobject_func sip_dnssd_qt_metaobject;
sip_qt_metacall_func sip_dnssd_qt_metacall;
sip_qt_metacast_func sip_dnssd_qt_metacast;


/* The Python module initialisation function. */
#if PY_MAJOR_VERSION >= 3
#define SIP_MODULE_ENTRY        PyInit_dnssd
#define SIP_MODULE_TYPE         PyObject *
#define SIP_MODULE_DISCARD(r)   Py_DECREF(r)
#define SIP_MODULE_RETURN(r)    return (r)
#else
#define SIP_MODULE_ENTRY        initdnssd
#define SIP_MODULE_TYPE         void
#define SIP_MODULE_DISCARD(r)
#define SIP_MODULE_RETURN(r)    return
#endif

#if defined(SIP_STATIC_MODULE)
extern "C" SIP_MODULE_TYPE SIP_MODULE_ENTRY()
#else
PyMODINIT_FUNC SIP_MODULE_ENTRY()
#endif
{
    static PyMethodDef sip_methods[] = {
        {0, 0, 0, 0}
    };

#if PY_MAJOR_VERSION >= 3
    static PyModuleDef sip_module_def = {
        PyModuleDef_HEAD_INIT,
        "PyKDE4.dnssd",
        NULL,
        -1,
        sip_methods,
        NULL,
        NULL,
        NULL,
        NULL
    };
#endif

    PyObject *sipModule, *sipModuleDict;
    PyObject *sip_sipmod, *sip_capiobj;

    /* Initialise the module and get it's dictionary. */
#if PY_MAJOR_VERSION >= 3
    sipModule = PyModule_Create(&sip_module_def);
#elif PY_VERSION_HEX >= 0x02050000
    sipModule = Py_InitModule(sipName_PyKDE4_dnssd, sip_methods);
#else
    sipModule = Py_InitModule(const_cast<char *>(sipName_PyKDE4_dnssd), sip_methods);
#endif

    if (sipModule == NULL)
        SIP_MODULE_RETURN(NULL);

    sipModuleDict = PyModule_GetDict(sipModule);

    /* Get the SIP module's API. */
#if PY_VERSION_HEX >= 0x02050000
    sip_sipmod = PyImport_ImportModule(SIP_MODULE_NAME);
#else
    sip_sipmod = PyImport_ImportModule(const_cast<char *>(SIP_MODULE_NAME));
#endif

    if (sip_sipmod == NULL)
    {
        SIP_MODULE_DISCARD(sipModule);
        SIP_MODULE_RETURN(NULL);
    }

    sip_capiobj = PyDict_GetItemString(PyModule_GetDict(sip_sipmod), "_C_API");
    Py_DECREF(sip_sipmod);

#if defined(SIP_USE_PYCAPSULE)
    if (sip_capiobj == NULL || !PyCapsule_CheckExact(sip_capiobj))
#else
    if (sip_capiobj == NULL || !PyCObject_Check(sip_capiobj))
#endif
    {
        SIP_MODULE_DISCARD(sipModule);
        SIP_MODULE_RETURN(NULL);
    }

#if defined(SIP_USE_PYCAPSULE)
    sipAPI_dnssd = reinterpret_cast<const sipAPIDef *>(PyCapsule_GetPointer(sip_capiobj, SIP_MODULE_NAME "._C_API"));
#else
    sipAPI_dnssd = reinterpret_cast<const sipAPIDef *>(PyCObject_AsVoidPtr(sip_capiobj));
#endif

#if defined(SIP_USE_PYCAPSULE)
    if (sipAPI_dnssd == NULL)
    {
        SIP_MODULE_DISCARD(sipModule);
        SIP_MODULE_RETURN(NULL);
    }
#endif

    /* Export the module and publish it's API. */
    if (sipExportModule(&sipModuleAPI_dnssd,SIP_API_MAJOR_NR,SIP_API_MINOR_NR,0) < 0)
    {
        SIP_MODULE_DISCARD(sipModule);
        SIP_MODULE_RETURN(0);
    }

    sip_dnssd_qt_metaobject = (sip_qt_metaobject_func)sipImportSymbol("qtcore_qt_metaobject");
    sip_dnssd_qt_metacall = (sip_qt_metacall_func)sipImportSymbol("qtcore_qt_metacall");
    sip_dnssd_qt_metacast = (sip_qt_metacast_func)sipImportSymbol("qtcore_qt_metacast");

    if (!sip_dnssd_qt_metacast)
        Py_FatalError("Unable to import qtcore_qt_metacast");

    /* Initialise the module now all its dependencies have been set up. */
    if (sipInitModule(&sipModuleAPI_dnssd,sipModuleDict) < 0)
    {
        SIP_MODULE_DISCARD(sipModule);
        SIP_MODULE_RETURN(0);
    }

    SIP_MODULE_RETURN(sipModule);
}

#line 340 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 811 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/dnssd/sipdnssdpart0.cpp"

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/dnssd/remoteservice.sip"
#include <dnssd/remoteservice.h>
#line 815 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/dnssd/sipdnssdpart0.cpp"


extern "C" {static void assign_KSharedPtr_0100DNSSD_RemoteService(void *, SIP_SSIZE_T, const void *);}
static void assign_KSharedPtr_0100DNSSD_RemoteService(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KSharedPtr< ::DNSSD::RemoteService> *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KSharedPtr< ::DNSSD::RemoteService> *>(sipSrc);
}


extern "C" {static void *array_KSharedPtr_0100DNSSD_RemoteService(SIP_SSIZE_T);}
static void *array_KSharedPtr_0100DNSSD_RemoteService(SIP_SSIZE_T sipNrElem)
{
    return new KSharedPtr< ::DNSSD::RemoteService>[sipNrElem];
}


extern "C" {static void *copy_KSharedPtr_0100DNSSD_RemoteService(const void *, SIP_SSIZE_T);}
static void *copy_KSharedPtr_0100DNSSD_RemoteService(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KSharedPtr< ::DNSSD::RemoteService>(reinterpret_cast<const KSharedPtr< ::DNSSD::RemoteService> *>(sipSrc)[sipSrcIdx]);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_KSharedPtr_0100DNSSD_RemoteService(void *, int);}
static void release_KSharedPtr_0100DNSSD_RemoteService(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<KSharedPtr< ::DNSSD::RemoteService> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_KSharedPtr_0100DNSSD_RemoteService(PyObject *, void **, int *, PyObject *);}
static int convertTo_KSharedPtr_0100DNSSD_RemoteService(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *)
{
    KSharedPtr< ::DNSSD::RemoteService> **sipCppPtr = reinterpret_cast<KSharedPtr< ::DNSSD::RemoteService> **>(sipCppPtrV);

#line 357 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
    // Convert a Python instance to a Ptr on the heap.
    if (sipIsErr == NULL) {
        return 1;
    }
    
    int iserr = 0;
    DNSSD::RemoteService *cpp = (DNSSD::RemoteService *)sipForceConvertToType(sipPy, sipType_DNSSD_RemoteService, NULL, 0, NULL, &iserr);

    if (iserr)
    {
        *sipIsErr = 1;
        return 0;
    }

    *sipCppPtr = new KSharedPtr<DNSSD::RemoteService> (cpp);

    return 1;
#line 873 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/dnssd/sipdnssdpart0.cpp"
}


extern "C" {static PyObject *convertFrom_KSharedPtr_0100DNSSD_RemoteService(void *, PyObject *);}
static PyObject *convertFrom_KSharedPtr_0100DNSSD_RemoteService(void *sipCppV, PyObject *sipTransferObj)
{
   KSharedPtr< ::DNSSD::RemoteService> *sipCpp = reinterpret_cast<KSharedPtr< ::DNSSD::RemoteService> *>(sipCppV);

#line 344 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
    // Convert to a Python instance

    if (!sipCpp)
        return NULL;

    KSharedPtr<DNSSD::RemoteService> *cPtr = new KSharedPtr<DNSSD::RemoteService> (*(KSharedPtr<DNSSD::RemoteService> *)sipCpp);
    DNSSD::RemoteService *cpp = cPtr->data ();
    PyObject *obj = sipConvertFromType(cpp, sipType_DNSSD_RemoteService, sipTransferObj);

    return obj;
#line 893 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/dnssd/sipdnssdpart0.cpp"
}


sipMappedTypeDef sipTypeDef_dnssd_KSharedPtr_0100DNSSD_RemoteService = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_71,     /* KSharedPtr<DNSSD::RemoteService> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_KSharedPtr_0100DNSSD_RemoteService,
    array_KSharedPtr_0100DNSSD_RemoteService,
    copy_KSharedPtr_0100DNSSD_RemoteService,
    release_KSharedPtr_0100DNSSD_RemoteService,
    convertTo_KSharedPtr_0100DNSSD_RemoteService,
    convertFrom_KSharedPtr_0100DNSSD_RemoteService
};
