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

#include "sipAPInepomuk.h"

#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 12 "sipnepomukpart0.cpp"
#line 29 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/nepomuk/class.sip"
#include <nepomuk/class.h>
#line 15 "sipnepomukpart0.cpp"
#line 29 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/nepomuk/literal.sip"
#include <nepomuk/literal.h>
#line 18 "sipnepomukpart0.cpp"
#line 29 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/nepomuk/ontology.sip"
#include <nepomuk/ontology.h>
#line 21 "sipnepomukpart0.cpp"
#line 29 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/nepomuk/property.sip"
#include <nepomuk/property.h>
#line 24 "sipnepomukpart0.cpp"
#line 44 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/nepomuk/resource.sip"
#include <nepomuk/resource.h>
#line 27 "sipnepomukpart0.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/nepomuk/tag.sip"
#include <nepomuk/tag.h>
#line 30 "sipnepomukpart0.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/nepomuk/variant.sip"
#include <nepomuk/variant.h>
#line 33 "sipnepomukpart0.cpp"

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


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

#line 82 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/nepomuk/kratingwidget.sip"

    sipClass = NULL;

    if (dynamic_cast<KRatingWidget*>(sipCpp))
        sipClass = sipClass_KRatingWidget;
    else if (dynamic_cast<KTagCloudWidget*>(sipCpp))
        {
            sipClass = sipClass_KTagCloudWidget;
            if (dynamic_cast<Nepomuk::TagCloud*>(sipCpp))
                sipClass = sipClass_Nepomuk_TagCloud;
        }
    else if (dynamic_cast<KTagDisplayWidget*>(sipCpp))
        sipClass = sipClass_KTagDisplayWidget;
    else if (dynamic_cast<Nepomuk::ResourceManager*>(sipCpp))
        sipClass = sipClass_Nepomuk_ResourceManager;
    else if (dynamic_cast<Nepomuk::Service*>(sipCpp))
        sipClass = sipClass_Nepomuk_Service;
    else if (dynamic_cast<Nepomuk::TagWidget*>(sipCpp))
        sipClass = sipClass_Nepomuk_TagWidget;
#line 364 "sipnepomukpart0.cpp"

    return (sipClass ? sipClass->type : 0);
}
static sipEnumTypeDef enumTypes[] = {
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Nepomuk__ErrorCode, {0}}, sipNameNr_ErrorCode, 4, NULL},
};


/*
 * This defines each type in this module.
 */
static sipTypeDef *typesTable[] = {
    &pyqt4Type_nepomuk_KRatingPainter.super.ctd_base,
    &pyqt4Type_nepomuk_KRatingWidget.super.ctd_base,
    &pyqt4Type_nepomuk_KTagCloudWidget.super.ctd_base,
    &pyqt4Type_nepomuk_KTagDisplayWidget.super.ctd_base,
    &pyqt4Type_nepomuk_Nepomuk.super.ctd_base,
    &enumTypes[0].etd_base,
    &pyqt4Type_nepomuk_Nepomuk_Resource.super.ctd_base,
    &pyqt4Type_nepomuk_Nepomuk_ResourceManager.super.ctd_base,
    &pyqt4Type_nepomuk_Nepomuk_Service.super.ctd_base,
    &pyqt4Type_nepomuk_Nepomuk_Tag.super.ctd_base,
    &pyqt4Type_nepomuk_Nepomuk_TagCloud.super.ctd_base,
    &pyqt4Type_nepomuk_Nepomuk_TagWidget.super.ctd_base,
    &pyqt4Type_nepomuk_Nepomuk_Thing.super.ctd_base,
    &pyqt4Type_nepomuk_Nepomuk_Types.super.ctd_base,
    &pyqt4Type_nepomuk_Nepomuk_Types_Class.super.ctd_base,
    &pyqt4Type_nepomuk_Nepomuk_Types_Entity.super.ctd_base,
    &pyqt4Type_nepomuk_Nepomuk_Types_Literal.super.ctd_base,
    &pyqt4Type_nepomuk_Nepomuk_Types_Ontology.super.ctd_base,
    &pyqt4Type_nepomuk_Nepomuk_Types_Property.super.ctd_base,
    &pyqt4Type_nepomuk_Nepomuk_Variant.super.ctd_base,
    &pyqt4MappedTypeDef_nepomuk_QList_0200Nepomuk_Resource.super.mtd_base,
    &pyqt4MappedTypeDef_nepomuk_QList_0200Nepomuk_Tag.super.mtd_base,
    &pyqt4MappedTypeDef_nepomuk_QList_0200Nepomuk_Types_Class.super.mtd_base,
    &pyqt4MappedTypeDef_nepomuk_QList_0200Nepomuk_Types_Property.super.mtd_base,
    &pyqt4MappedTypeDef_nepomuk_QList_0200Nepomuk_Variant.super.mtd_base,
    &pyqt4MappedTypeDef_nepomuk_QList_0200QDate.super.mtd_base,
    &pyqt4MappedTypeDef_nepomuk_QList_0200QTime.super.mtd_base,
};


/* This defines the modules that this module needs to import. */
static sipImportedModuleDef importsTable[] = {
    {"PyQt4.QtCore", 0, NULL},
    {"PyQt4.QtNetwork", 0, NULL},
    {"PyQt4.QtGui", 0, NULL},
    {"PyKDE4.kdecore", -1, NULL},
    {"PyKDE4.soprano", -1, NULL},
    {NULL, -1, NULL}
};


/* This defines the class sub-convertors that this module defines. */
static sipSubClassConvertorDef convertorsTable[] = {
    {sipSubClass_KRatingWidget, {111, 0, 0}, NULL},
    {NULL, {0, 0, 0}, NULL}
};


/* This defines this module. */
sipExportedModuleDef sipModuleAPI_nepomuk = {
    0,
    SIP_API_MINOR_NR,
    sipNameNr_PyKDE4_nepomuk,
    0,
    -1,
    sipStrings_nepomuk,
    importsTable,
    NULL,
    27,
    typesTable,
    NULL,
    0,
    NULL,
    0,
    NULL,
    NULL,
    convertorsTable,
    {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL},
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    0,
    0,
    0
};


/* The SIP API and the APIs of any imported modules. */
const sipAPIDef *sipAPI_nepomuk;
const sipExportedModuleDef *sipModuleAPI_nepomuk_QtCore;
const sipExportedModuleDef *sipModuleAPI_nepomuk_QtNetwork;
const sipExportedModuleDef *sipModuleAPI_nepomuk_QtGui;
const sipExportedModuleDef *sipModuleAPI_nepomuk_kdecore;
const sipExportedModuleDef *sipModuleAPI_nepomuk_soprano;

sip_qt_metaobject_func sip_nepomuk_qt_metaobject;
sip_qt_metacall_func sip_nepomuk_qt_metacall;
sip_qt_metacast_func sip_nepomuk_qt_metacast;


/* The Python module initialisation function. */
#if PY_MAJOR_VERSION >= 3
#define SIP_MODULE_ENTRY        PyInit_nepomuk
#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        initnepomuk
#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.nepomuk",
        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_nepomuk, sip_methods);
#else
    sipModule = Py_InitModule(const_cast<char *>(sipName_PyKDE4_nepomuk), sip_methods);
#endif

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

    sipModuleDict = PyModule_GetDict(sipModule);

    /* Import the SIP module and get it's API. */
#if PY_VERSION_HEX >= 0x02050000
    sip_sipmod = PyImport_ImportModule("sip");
#else
    sip_sipmod = PyImport_ImportModule(const_cast<char *>("sip"));
#endif

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

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

    if (sip_capiobj == NULL || !PyCObject_Check(sip_capiobj))
    {
        Py_DECREF(sip_sipmod);
        SIP_MODULE_DISCARD(sipModule);
        SIP_MODULE_RETURN(NULL);
    }

    sipAPI_nepomuk = reinterpret_cast<const sipAPIDef *>(PyCObject_AsVoidPtr(sip_capiobj));

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

    sip_nepomuk_qt_metaobject = (sip_qt_metaobject_func)sipImportSymbol("qtcore_qt_metaobject");
    sip_nepomuk_qt_metacall = (sip_qt_metacall_func)sipImportSymbol("qtcore_qt_metacall");
    sip_nepomuk_qt_metacast = (sip_qt_metacast_func)sipImportSymbol("qtcore_qt_metacast");

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

    /* Get the APIs of the modules that this one is dependent on. */
    sipModuleAPI_nepomuk_QtCore = sipModuleAPI_nepomuk.em_imports[0].im_module;
    sipModuleAPI_nepomuk_QtNetwork = sipModuleAPI_nepomuk.em_imports[1].im_module;
    sipModuleAPI_nepomuk_QtGui = sipModuleAPI_nepomuk.em_imports[2].im_module;
    sipModuleAPI_nepomuk_kdecore = sipModuleAPI_nepomuk.em_imports[3].im_module;
    sipModuleAPI_nepomuk_soprano = sipModuleAPI_nepomuk.em_imports[4].im_module;

    SIP_MODULE_RETURN(sipModule);
}

#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 591 "sipnepomukpart0.cpp"

#line 29 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/nepomuk/property.sip"
#include <nepomuk/property.h>
#line 595 "sipnepomukpart0.cpp"
#line 29 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/nepomuk/class.sip"
#include <nepomuk/class.h>
#line 598 "sipnepomukpart0.cpp"
#line 44 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/nepomuk/resource.sip"
#include <nepomuk/resource.h>
#line 601 "sipnepomukpart0.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/nepomuk/tag.sip"
#include <nepomuk/tag.h>
#line 604 "sipnepomukpart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 607 "sipnepomukpart0.cpp"
#line 190 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 610 "sipnepomukpart0.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/nepomuk/variant.sip"
#include <nepomuk/variant.h>
#line 613 "sipnepomukpart0.cpp"


extern "C" {static void assign_QList_0200Nepomuk_Variant(void *, const void*);}
static void assign_QList_0200Nepomuk_Variant(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<QList<Nepomuk::Variant> *>(sipDst) = *reinterpret_cast<const QList<Nepomuk::Variant> *>(sipSrc);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_0200Nepomuk_Variant(void *, int);}
static void release_QList_0200Nepomuk_Variant(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<Nepomuk::Variant> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QList_0200Nepomuk_Variant(PyObject *, void **, int *, PyObject *);}
static int convertTo_QList_0200Nepomuk_Variant(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QList<Nepomuk::Variant> **sipCppPtr = reinterpret_cast<QList<Nepomuk::Variant> **>(sipCppPtrV);

#line 74 "/usr/local/share/py-sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *itm = PySequence_ITEM(sipPy, i);
            bool ok = (itm && sipCanConvertToType(itm, sipType_Nepomuk_Variant, SIP_NOT_NONE));

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<Nepomuk::Variant> *ql = new QList<Nepomuk::Variant>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        int state;
        Nepomuk::Variant *t = reinterpret_cast<Nepomuk::Variant *>(sipConvertToType(itm, sipType_Nepomuk_Variant, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            sipReleaseType(t, sipType_Nepomuk_Variant, state);

            delete ql;
            return 0;
        }

        ql->append(*t);

        sipReleaseType(t, sipType_Nepomuk_Variant, state);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 689 "sipnepomukpart0.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0200Nepomuk_Variant(void *, PyObject *);}
static PyObject *convertFrom_QList_0200Nepomuk_Variant(void *sipCppV,PyObject *sipTransferObj)
{
   QList<Nepomuk::Variant> *sipCpp = reinterpret_cast<QList<Nepomuk::Variant> *>(sipCppV);

#line 47 "/usr/local/share/py-sip/QtCore/qlist.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        Nepomuk::Variant *t = new Nepomuk::Variant(sipCpp->at(i));
        PyObject *tobj;

        if ((tobj = sipConvertFromNewType(t, sipType_Nepomuk_Variant, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            delete t;

            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 723 "sipnepomukpart0.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_nepomuk_QList_0200Nepomuk_Variant = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_215,
        {0}
    },
    release_QList_0200Nepomuk_Variant,
    convertTo_QList_0200Nepomuk_Variant,
    convertFrom_QList_0200Nepomuk_Variant
},
    assign_QList_0200Nepomuk_Variant
};


extern "C" {static void assign_QList_0200QTime(void *, const void*);}
static void assign_QList_0200QTime(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<QList<QTime> *>(sipDst) = *reinterpret_cast<const QList<QTime> *>(sipSrc);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_0200QTime(void *, int);}
static void release_QList_0200QTime(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<QTime> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QList_0200QTime(PyObject *, void **, int *, PyObject *);}
static int convertTo_QList_0200QTime(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QList<QTime> **sipCppPtr = reinterpret_cast<QList<QTime> **>(sipCppPtrV);

#line 74 "/usr/local/share/py-sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *itm = PySequence_ITEM(sipPy, i);
            bool ok = (itm && sipCanConvertToType(itm, sipType_QTime, SIP_NOT_NONE));

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<QTime> *ql = new QList<QTime>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        int state;
        QTime *t = reinterpret_cast<QTime *>(sipConvertToType(itm, sipType_QTime, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            sipReleaseType(t, sipType_QTime, state);

            delete ql;
            return 0;
        }

        ql->append(*t);

        sipReleaseType(t, sipType_QTime, state);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 818 "sipnepomukpart0.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0200QTime(void *, PyObject *);}
static PyObject *convertFrom_QList_0200QTime(void *sipCppV,PyObject *sipTransferObj)
{
   QList<QTime> *sipCpp = reinterpret_cast<QList<QTime> *>(sipCppV);

#line 47 "/usr/local/share/py-sip/QtCore/qlist.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        QTime *t = new QTime(sipCpp->at(i));
        PyObject *tobj;

        if ((tobj = sipConvertFromNewType(t, sipType_QTime, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            delete t;

            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 852 "sipnepomukpart0.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_nepomuk_QList_0200QTime = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_2114,
        {0}
    },
    release_QList_0200QTime,
    convertTo_QList_0200QTime,
    convertFrom_QList_0200QTime
},
    assign_QList_0200QTime
};


extern "C" {static void assign_QList_0200QDate(void *, const void*);}
static void assign_QList_0200QDate(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<QList<QDate> *>(sipDst) = *reinterpret_cast<const QList<QDate> *>(sipSrc);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_0200QDate(void *, int);}
static void release_QList_0200QDate(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<QDate> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QList_0200QDate(PyObject *, void **, int *, PyObject *);}
static int convertTo_QList_0200QDate(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QList<QDate> **sipCppPtr = reinterpret_cast<QList<QDate> **>(sipCppPtrV);

#line 74 "/usr/local/share/py-sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *itm = PySequence_ITEM(sipPy, i);
            bool ok = (itm && sipCanConvertToType(itm, sipType_QDate, SIP_NOT_NONE));

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<QDate> *ql = new QList<QDate>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        int state;
        QDate *t = reinterpret_cast<QDate *>(sipConvertToType(itm, sipType_QDate, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            sipReleaseType(t, sipType_QDate, state);

            delete ql;
            return 0;
        }

        ql->append(*t);

        sipReleaseType(t, sipType_QDate, state);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 947 "sipnepomukpart0.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0200QDate(void *, PyObject *);}
static PyObject *convertFrom_QList_0200QDate(void *sipCppV,PyObject *sipTransferObj)
{
   QList<QDate> *sipCpp = reinterpret_cast<QList<QDate> *>(sipCppV);

#line 47 "/usr/local/share/py-sip/QtCore/qlist.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        QDate *t = new QDate(sipCpp->at(i));
        PyObject *tobj;

        if ((tobj = sipConvertFromNewType(t, sipType_QDate, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            delete t;

            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 981 "sipnepomukpart0.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_nepomuk_QList_0200QDate = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_2127,
        {0}
    },
    release_QList_0200QDate,
    convertTo_QList_0200QDate,
    convertFrom_QList_0200QDate
},
    assign_QList_0200QDate
};


extern "C" {static void assign_QList_0200Nepomuk_Tag(void *, const void*);}
static void assign_QList_0200Nepomuk_Tag(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<QList<Nepomuk::Tag> *>(sipDst) = *reinterpret_cast<const QList<Nepomuk::Tag> *>(sipSrc);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_0200Nepomuk_Tag(void *, int);}
static void release_QList_0200Nepomuk_Tag(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<Nepomuk::Tag> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QList_0200Nepomuk_Tag(PyObject *, void **, int *, PyObject *);}
static int convertTo_QList_0200Nepomuk_Tag(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QList<Nepomuk::Tag> **sipCppPtr = reinterpret_cast<QList<Nepomuk::Tag> **>(sipCppPtrV);

#line 74 "/usr/local/share/py-sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *itm = PySequence_ITEM(sipPy, i);
            bool ok = (itm && sipCanConvertToType(itm, sipType_Nepomuk_Tag, SIP_NOT_NONE));

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<Nepomuk::Tag> *ql = new QList<Nepomuk::Tag>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        int state;
        Nepomuk::Tag *t = reinterpret_cast<Nepomuk::Tag *>(sipConvertToType(itm, sipType_Nepomuk_Tag, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            sipReleaseType(t, sipType_Nepomuk_Tag, state);

            delete ql;
            return 0;
        }

        ql->append(*t);

        sipReleaseType(t, sipType_Nepomuk_Tag, state);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 1076 "sipnepomukpart0.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0200Nepomuk_Tag(void *, PyObject *);}
static PyObject *convertFrom_QList_0200Nepomuk_Tag(void *sipCppV,PyObject *sipTransferObj)
{
   QList<Nepomuk::Tag> *sipCpp = reinterpret_cast<QList<Nepomuk::Tag> *>(sipCppV);

#line 47 "/usr/local/share/py-sip/QtCore/qlist.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        Nepomuk::Tag *t = new Nepomuk::Tag(sipCpp->at(i));
        PyObject *tobj;

        if ((tobj = sipConvertFromNewType(t, sipType_Nepomuk_Tag, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            delete t;

            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 1110 "sipnepomukpart0.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_nepomuk_QList_0200Nepomuk_Tag = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_485,
        {0}
    },
    release_QList_0200Nepomuk_Tag,
    convertTo_QList_0200Nepomuk_Tag,
    convertFrom_QList_0200Nepomuk_Tag
},
    assign_QList_0200Nepomuk_Tag
};


extern "C" {static void assign_QList_0200Nepomuk_Resource(void *, const void*);}
static void assign_QList_0200Nepomuk_Resource(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<QList<Nepomuk::Resource> *>(sipDst) = *reinterpret_cast<const QList<Nepomuk::Resource> *>(sipSrc);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_0200Nepomuk_Resource(void *, int);}
static void release_QList_0200Nepomuk_Resource(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<Nepomuk::Resource> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QList_0200Nepomuk_Resource(PyObject *, void **, int *, PyObject *);}
static int convertTo_QList_0200Nepomuk_Resource(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QList<Nepomuk::Resource> **sipCppPtr = reinterpret_cast<QList<Nepomuk::Resource> **>(sipCppPtrV);

#line 74 "/usr/local/share/py-sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *itm = PySequence_ITEM(sipPy, i);
            bool ok = (itm && sipCanConvertToType(itm, sipType_Nepomuk_Resource, SIP_NOT_NONE));

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<Nepomuk::Resource> *ql = new QList<Nepomuk::Resource>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        int state;
        Nepomuk::Resource *t = reinterpret_cast<Nepomuk::Resource *>(sipConvertToType(itm, sipType_Nepomuk_Resource, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            sipReleaseType(t, sipType_Nepomuk_Resource, state);

            delete ql;
            return 0;
        }

        ql->append(*t);

        sipReleaseType(t, sipType_Nepomuk_Resource, state);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 1205 "sipnepomukpart0.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0200Nepomuk_Resource(void *, PyObject *);}
static PyObject *convertFrom_QList_0200Nepomuk_Resource(void *sipCppV,PyObject *sipTransferObj)
{
   QList<Nepomuk::Resource> *sipCpp = reinterpret_cast<QList<Nepomuk::Resource> *>(sipCppV);

#line 47 "/usr/local/share/py-sip/QtCore/qlist.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        Nepomuk::Resource *t = new Nepomuk::Resource(sipCpp->at(i));
        PyObject *tobj;

        if ((tobj = sipConvertFromNewType(t, sipType_Nepomuk_Resource, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            delete t;

            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 1239 "sipnepomukpart0.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_nepomuk_QList_0200Nepomuk_Resource = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_90,
        {0}
    },
    release_QList_0200Nepomuk_Resource,
    convertTo_QList_0200Nepomuk_Resource,
    convertFrom_QList_0200Nepomuk_Resource
},
    assign_QList_0200Nepomuk_Resource
};


extern "C" {static void assign_QList_0200Nepomuk_Types_Class(void *, const void*);}
static void assign_QList_0200Nepomuk_Types_Class(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<QList<Nepomuk::Types::Class> *>(sipDst) = *reinterpret_cast<const QList<Nepomuk::Types::Class> *>(sipSrc);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_0200Nepomuk_Types_Class(void *, int);}
static void release_QList_0200Nepomuk_Types_Class(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<Nepomuk::Types::Class> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QList_0200Nepomuk_Types_Class(PyObject *, void **, int *, PyObject *);}
static int convertTo_QList_0200Nepomuk_Types_Class(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QList<Nepomuk::Types::Class> **sipCppPtr = reinterpret_cast<QList<Nepomuk::Types::Class> **>(sipCppPtrV);

#line 74 "/usr/local/share/py-sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *itm = PySequence_ITEM(sipPy, i);
            bool ok = (itm && sipCanConvertToType(itm, sipType_Nepomuk_Types_Class, SIP_NOT_NONE));

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<Nepomuk::Types::Class> *ql = new QList<Nepomuk::Types::Class>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        int state;
        Nepomuk::Types::Class *t = reinterpret_cast<Nepomuk::Types::Class *>(sipConvertToType(itm, sipType_Nepomuk_Types_Class, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            sipReleaseType(t, sipType_Nepomuk_Types_Class, state);

            delete ql;
            return 0;
        }

        ql->append(*t);

        sipReleaseType(t, sipType_Nepomuk_Types_Class, state);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 1334 "sipnepomukpart0.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0200Nepomuk_Types_Class(void *, PyObject *);}
static PyObject *convertFrom_QList_0200Nepomuk_Types_Class(void *sipCppV,PyObject *sipTransferObj)
{
   QList<Nepomuk::Types::Class> *sipCpp = reinterpret_cast<QList<Nepomuk::Types::Class> *>(sipCppV);

#line 47 "/usr/local/share/py-sip/QtCore/qlist.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        Nepomuk::Types::Class *t = new Nepomuk::Types::Class(sipCpp->at(i));
        PyObject *tobj;

        if ((tobj = sipConvertFromNewType(t, sipType_Nepomuk_Types_Class, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            delete t;

            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 1368 "sipnepomukpart0.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_nepomuk_QList_0200Nepomuk_Types_Class = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_32,
        {0}
    },
    release_QList_0200Nepomuk_Types_Class,
    convertTo_QList_0200Nepomuk_Types_Class,
    convertFrom_QList_0200Nepomuk_Types_Class
},
    assign_QList_0200Nepomuk_Types_Class
};


extern "C" {static void assign_QList_0200Nepomuk_Types_Property(void *, const void*);}
static void assign_QList_0200Nepomuk_Types_Property(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<QList<Nepomuk::Types::Property> *>(sipDst) = *reinterpret_cast<const QList<Nepomuk::Types::Property> *>(sipSrc);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_0200Nepomuk_Types_Property(void *, int);}
static void release_QList_0200Nepomuk_Types_Property(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<Nepomuk::Types::Property> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QList_0200Nepomuk_Types_Property(PyObject *, void **, int *, PyObject *);}
static int convertTo_QList_0200Nepomuk_Types_Property(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QList<Nepomuk::Types::Property> **sipCppPtr = reinterpret_cast<QList<Nepomuk::Types::Property> **>(sipCppPtrV);

#line 74 "/usr/local/share/py-sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *itm = PySequence_ITEM(sipPy, i);
            bool ok = (itm && sipCanConvertToType(itm, sipType_Nepomuk_Types_Property, SIP_NOT_NONE));

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<Nepomuk::Types::Property> *ql = new QList<Nepomuk::Types::Property>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        int state;
        Nepomuk::Types::Property *t = reinterpret_cast<Nepomuk::Types::Property *>(sipConvertToType(itm, sipType_Nepomuk_Types_Property, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            sipReleaseType(t, sipType_Nepomuk_Types_Property, state);

            delete ql;
            return 0;
        }

        ql->append(*t);

        sipReleaseType(t, sipType_Nepomuk_Types_Property, state);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 1463 "sipnepomukpart0.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0200Nepomuk_Types_Property(void *, PyObject *);}
static PyObject *convertFrom_QList_0200Nepomuk_Types_Property(void *sipCppV,PyObject *sipTransferObj)
{
   QList<Nepomuk::Types::Property> *sipCpp = reinterpret_cast<QList<Nepomuk::Types::Property> *>(sipCppV);

#line 47 "/usr/local/share/py-sip/QtCore/qlist.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        Nepomuk::Types::Property *t = new Nepomuk::Types::Property(sipCpp->at(i));
        PyObject *tobj;

        if ((tobj = sipConvertFromNewType(t, sipType_Nepomuk_Types_Property, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            delete t;

            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 1497 "sipnepomukpart0.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_nepomuk_QList_0200Nepomuk_Types_Property = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_0,
        {0}
    },
    release_QList_0200Nepomuk_Types_Property,
    convertTo_QList_0200Nepomuk_Types_Property,
    convertFrom_QList_0200Nepomuk_Types_Property
},
    assign_QList_0200Nepomuk_Types_Property
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/nepomuk/variant.sip"
#include <nepomuk/variant.h>
#line 1520 "sipnepomukpart0.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 1524 "sipnepomukpart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 1527 "sipnepomukpart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 1530 "sipnepomukpart0.cpp"
#line 190 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 1533 "sipnepomukpart0.cpp"
#line 321 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 1536 "sipnepomukpart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 1539 "sipnepomukpart0.cpp"
#line 44 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/nepomuk/resource.sip"
#include <nepomuk/resource.h>
#line 1542 "sipnepomukpart0.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 1573 "sipnepomukpart0.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 1576 "sipnepomukpart0.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 1579 "sipnepomukpart0.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 1582 "sipnepomukpart0.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 1585 "sipnepomukpart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 1588 "sipnepomukpart0.cpp"
#line 708 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <qlist.h>
#line 102 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservice.sip"
#include <qlist.h>
#line 81 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kmimetype.sip"
#include <qlist.h>
#line 61 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
#include <qlist.h>
#line 65 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksycocaentry.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 1641 "sipnepomukpart0.cpp"
#line 136 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 1644 "sipnepomukpart0.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kplugininfo.sip"
#include <kplugininfo.h>
#line 1647 "sipnepomukpart0.cpp"
#line 36 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kprotocolinfo.sip"
#include <kprotocolinfo.h>
#line 1650 "sipnepomukpart0.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 1653 "sipnepomukpart0.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 1656 "sipnepomukpart0.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kserviceaction.sip"
#include <kserviceaction.h>
#line 1659 "sipnepomukpart0.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 1662 "sipnepomukpart0.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 1665 "sipnepomukpart0.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 1668 "sipnepomukpart0.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kautosavefile.sip"
#include <kautosavefile.h>
#line 1671 "sipnepomukpart0.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 1674 "sipnepomukpart0.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 1677 "sipnepomukpart0.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kaboutdata.sip"
#include <kaboutdata.h>
#line 1680 "sipnepomukpart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 1683 "sipnepomukpart0.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/klocale.sip"
#include <klocale.h>
#line 1686 "sipnepomukpart0.cpp"
#line 57 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktcpsocket.sip"
#include <ktcpsocket.h>
#line 1689 "sipnepomukpart0.cpp"
#line 79 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktcpsocket.sip"
#include <ktcpsocket.h>
#line 1692 "sipnepomukpart0.cpp"
#line 83 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kuser.sip"
#include <kuser.h>
#line 1695 "sipnepomukpart0.cpp"
#line 34 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kuser.sip"
#include <kuser.h>
#line 1698 "sipnepomukpart0.cpp"
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 1713 "sipnepomukpart0.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/klockfile.sip"
#include <klockfile.h>
#line 1716 "sipnepomukpart0.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kmimetype.sip"
#include <kmimetype.h>
#line 1719 "sipnepomukpart0.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservice.sip"
#include <kservice.h>
#line 1722 "sipnepomukpart0.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicegroup.sip"
#include <kservicegroup.h>
#line 1725 "sipnepomukpart0.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
#include <kservicetype.h>
#line 1728 "sipnepomukpart0.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksharedconfig.sip"
#include <ksharedconfig.h>
#line 1731 "sipnepomukpart0.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksycocaentry.sip"
#include <ksycocaentry.h>
#line 1734 "sipnepomukpart0.cpp"
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 1749 "sipnepomukpart0.cpp"
#line 29 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/nepomuk/property.sip"
#include <nepomuk/property.h>
#line 1752 "sipnepomukpart0.cpp"
#line 29 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/nepomuk/class.sip"
#include <nepomuk/class.h>
#line 1755 "sipnepomukpart0.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/nepomuk/tag.sip"
#include <nepomuk/tag.h>
#line 1758 "sipnepomukpart0.cpp"


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

    {
        qlonglong a0;
        Nepomuk::Variant *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        double a0;
        Nepomuk::Variant *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bd",&sipSelf,sipType_Nepomuk_Variant,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->append(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QDate * a0;
        int a0State = 0;
        Nepomuk::Variant *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_Nepomuk_Variant,&sipCpp,sipType_QDate,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->append(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QDate *>(a0),sipType_QDate,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QTime * a0;
        int a0State = 0;
        Nepomuk::Variant *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_Nepomuk_Variant,&sipCpp,sipType_QTime,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->append(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QTime *>(a0),sipType_QTime,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QDateTime * a0;
        int a0State = 0;
        Nepomuk::Variant *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_Nepomuk_Variant,&sipCpp,sipType_QDateTime,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->append(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QDateTime *>(a0),sipType_QDateTime,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QUrl * a0;
        Nepomuk::Variant *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_Nepomuk_Variant,&sipCpp,sipType_QUrl,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->append(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const Nepomuk::Resource * a0;
        Nepomuk::Variant *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_Nepomuk_Variant,&sipCpp,sipType_Nepomuk_Resource,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->append(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const Nepomuk::Variant * a0;
        Nepomuk::Variant *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Nepomuk::Variant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isValid();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Nepomuk::Variant *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Nepomuk_Variant,&sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->type();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Nepomuk::Variant *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Nepomuk_Variant,&sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->simpleType();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Nepomuk::Variant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isList();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Nepomuk::Variant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isInt();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Nepomuk::Variant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isInt64();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Nepomuk::Variant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isUnsignedInt();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Nepomuk::Variant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isUnsignedInt64();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Nepomuk::Variant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isBool();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Nepomuk::Variant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isDouble();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Nepomuk::Variant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isString();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Nepomuk::Variant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isDate();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Nepomuk::Variant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isTime();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Nepomuk::Variant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isDateTime();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Nepomuk::Variant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isUrl();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Nepomuk::Variant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isResource();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Nepomuk::Variant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isIntList();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Nepomuk::Variant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isInt64List();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Nepomuk::Variant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isUnsignedIntList();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Nepomuk::Variant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isUnsignedInt64List();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Nepomuk::Variant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isBoolList();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Nepomuk::Variant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isDoubleList();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Nepomuk::Variant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isStringList();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Nepomuk::Variant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isDateList();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Nepomuk::Variant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isTimeList();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Nepomuk::Variant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isDateTimeList();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Nepomuk::Variant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isUrlList();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Nepomuk::Variant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isResourceList();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Nepomuk::Variant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->variant());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Nepomuk::Variant *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Nepomuk_Variant,&sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toInt();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Nepomuk::Variant *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Nepomuk_Variant,&sipCpp))
        {
            qlonglong sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toInt64();
            Py_END_ALLOW_THREADS

            return PyLong_FromLongLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Nepomuk::Variant *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Nepomuk_Variant,&sipCpp))
        {
            uint sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toUnsignedInt();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Nepomuk::Variant *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Nepomuk_Variant,&sipCpp))
        {
            qulonglong sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toUnsignedInt64();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLongLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Nepomuk::Variant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toBool();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Nepomuk::Variant *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Nepomuk_Variant,&sipCpp))
        {
            double sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toDouble();
            Py_END_ALLOW_THREADS

            return PyFloat_FromDouble(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Nepomuk::Variant *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        Nepomuk::Variant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDate(sipCpp->toDate());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Nepomuk::Variant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QTime(sipCpp->toTime());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Nepomuk::Variant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDateTime(sipCpp->toDateTime());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Nepomuk::Variant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QUrl(sipCpp->toUrl());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Nepomuk::Variant *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Nepomuk_Variant,&sipCpp))
        {
            Nepomuk::Resource *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Nepomuk::Resource(sipCpp->toResource());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Nepomuk::Variant *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Nepomuk_Variant,&sipCpp))
        {
            QList<int> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<int>(sipCpp->toIntList());
            Py_END_ALLOW_THREADS

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_QList_1800,NULL);
            delete sipRes;

            return sipResObj;
        }
    }

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

    return NULL;
}


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

    {
        Nepomuk::Variant *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Nepomuk_Variant,&sipCpp))
        {
            QList<uint> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<uint>(sipCpp->toUnsignedIntList());
            Py_END_ALLOW_THREADS

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_QList_1900,NULL);
            delete sipRes;

            return sipResObj;
        }
    }

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

    return NULL;
}


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

    {
        Nepomuk::Variant *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Nepomuk_Variant,&sipCpp))
        {
            QList<qreal> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<qreal>(sipCpp->toDoubleList());
            Py_END_ALLOW_THREADS

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_QList_2400,NULL);
            delete sipRes;

            return sipResObj;
        }
    }

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

    return NULL;
}


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

    {
        Nepomuk::Variant *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        Nepomuk::Variant *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Nepomuk_Variant,&sipCpp))
        {
            QList<QDate> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QDate>(sipCpp->toDateList());
            Py_END_ALLOW_THREADS

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_QList_0200QDate,NULL);
            delete sipRes;

            return sipResObj;
        }
    }

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

    return NULL;
}


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

    {
        Nepomuk::Variant *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Nepomuk_Variant,&sipCpp))
        {
            QList<QTime> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QTime>(sipCpp->toTimeList());
            Py_END_ALLOW_THREADS

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_QList_0200QTime,NULL);
            delete sipRes;

            return sipResObj;
        }
    }

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

    return NULL;
}


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

    {
        Nepomuk::Variant *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Nepomuk_Variant,&sipCpp))
        {
            QList<QDateTime> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QDateTime>(sipCpp->toDateTimeList());
            Py_END_ALLOW_THREADS

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_QList_0200QDateTime,NULL);
            delete sipRes;

            return sipResObj;
        }
    }

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

    return NULL;
}


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

    {
        Nepomuk::Variant *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Nepomuk_Variant,&sipCpp))
        {
            QList<QUrl> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QUrl>(sipCpp->toUrlList());
            Py_END_ALLOW_THREADS

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_QList_0200QUrl,NULL);
            delete sipRes;

            return sipResObj;
        }
    }

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

    return NULL;
}


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

    {
        Nepomuk::Variant *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Nepomuk_Variant,&sipCpp))
        {
            QList<Nepomuk::Resource> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<Nepomuk::Resource>(sipCpp->toResourceList());
            Py_END_ALLOW_THREADS

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_QList_0200Nepomuk_Resource,NULL);
            delete sipRes;

            return sipResObj;
        }
    }

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

    return NULL;
}


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

    {
        Nepomuk::Variant *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Nepomuk_Variant,&sipCpp))
        {
            QList<Nepomuk::Variant> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<Nepomuk::Variant>(sipCpp->toVariantList());
            Py_END_ALLOW_THREADS

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_QList_0200Nepomuk_Variant,NULL);
            delete sipRes;

            return sipResObj;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1i",sipType_QString,&a0,&a0State,&a1))
        {
            Nepomuk::Variant *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Nepomuk::Variant(Nepomuk::Variant::fromString(*a0,a1));
            Py_END_ALLOW_THREADS

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

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

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

    return NULL;
}


extern "C" {static PyObject *slot_Nepomuk_Variant___ne__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Nepomuk_Variant___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    Nepomuk::Variant *sipCpp = reinterpret_cast<Nepomuk::Variant *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Nepomuk_Variant));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const Nepomuk::Variant * a0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J9",sipType_Nepomuk_Variant,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->Nepomuk::Variant::operator!=(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_nepomuk,ne_slot,sipType_Nepomuk_Variant,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_Nepomuk_Variant___eq__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Nepomuk_Variant___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    Nepomuk::Variant *sipCpp = reinterpret_cast<Nepomuk::Variant *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Nepomuk_Variant));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const Nepomuk::Variant * a0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J9",sipType_Nepomuk_Variant,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->Nepomuk::Variant::operator==(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_nepomuk,eq_slot,sipType_Nepomuk_Variant,sipSelf,sipArg);
}


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

    return NULL;
}


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

    delete reinterpret_cast<Nepomuk::Variant *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_Nepomuk_Variant(void *, const void*);}
static void assign_Nepomuk_Variant(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<Nepomuk::Variant *>(sipDst) = *reinterpret_cast<const Nepomuk::Variant *>(sipSrc);
}


extern "C" {static void dealloc_Nepomuk_Variant(sipSimpleWrapper *);}
static void dealloc_Nepomuk_Variant(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_Nepomuk_Variant(sipSelf->u.cppPtr,0);
    }
}


extern "C" {static void *init_Nepomuk_Variant(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_Nepomuk_Variant(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    Nepomuk::Variant *sipCpp = 0;

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Nepomuk::Variant();
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const Nepomuk::Variant * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_Nepomuk_Variant,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Nepomuk::Variant(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const QVariant * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1",sipType_QVariant,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Nepomuk::Variant(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);
        }
    }

    if (!sipCpp)
    {
        qlonglong a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"n",&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Nepomuk::Variant(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        double a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"d",&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Nepomuk::Variant(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const QString * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1",sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Nepomuk::Variant(*a0);
            Py_END_ALLOW_THREADS

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

    if (!sipCpp)
    {
        const QDate * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1",sipType_QDate,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Nepomuk::Variant(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QDate *>(a0),sipType_QDate,a0State);
        }
    }

    if (!sipCpp)
    {
        const QTime * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1",sipType_QTime,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Nepomuk::Variant(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QTime *>(a0),sipType_QTime,a0State);
        }
    }

    if (!sipCpp)
    {
        const QDateTime * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1",sipType_QDateTime,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Nepomuk::Variant(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QDateTime *>(a0),sipType_QDateTime,a0State);
        }
    }

    if (!sipCpp)
    {
        const QUrl * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_QUrl,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Nepomuk::Variant(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const Nepomuk::Resource * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_Nepomuk_Resource,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Nepomuk::Variant(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const QList<int> * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1",sipType_QList_1800,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Nepomuk::Variant(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QList<int> *>(a0),sipType_QList_1800,a0State);
        }
    }

    if (!sipCpp)
    {
        const QList<uint> * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1",sipType_QList_1900,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Nepomuk::Variant(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QList<uint> *>(a0),sipType_QList_1900,a0State);
        }
    }

    if (!sipCpp)
    {
        const QList<qreal> * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1",sipType_QList_2400,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Nepomuk::Variant(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QList<qreal> *>(a0),sipType_QList_2400,a0State);
        }
    }

    if (!sipCpp)
    {
        const QStringList * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1",sipType_QStringList,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Nepomuk::Variant(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);
        }
    }

    if (!sipCpp)
    {
        const QList<QDate> * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1",sipType_QList_0200QDate,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Nepomuk::Variant(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QList<QDate> *>(a0),sipType_QList_0200QDate,a0State);
        }
    }

    if (!sipCpp)
    {
        const QList<QTime> * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1",sipType_QList_0200QTime,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Nepomuk::Variant(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QList<QTime> *>(a0),sipType_QList_0200QTime,a0State);
        }
    }

    if (!sipCpp)
    {
        const QList<QDateTime> * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1",sipType_QList_0200QDateTime,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Nepomuk::Variant(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QList<QDateTime> *>(a0),sipType_QList_0200QDateTime,a0State);
        }
    }

    if (!sipCpp)
    {
        const QList<QUrl> * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1",sipType_QList_0200QUrl,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Nepomuk::Variant(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QList<QUrl> *>(a0),sipType_QList_0200QUrl,a0State);
        }
    }

    if (!sipCpp)
    {
        const QList<Nepomuk::Resource> * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1",sipType_QList_0200Nepomuk_Resource,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Nepomuk::Variant(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QList<Nepomuk::Resource> *>(a0),sipType_QList_0200Nepomuk_Resource,a0State);
        }
    }

    if (!sipCpp)
    {
        const QList<Nepomuk::Variant> * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1",sipType_QList_0200Nepomuk_Variant,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Nepomuk::Variant(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QList<Nepomuk::Variant> *>(a0),sipType_QList_0200Nepomuk_Variant,a0State);
        }
    }

    return sipCpp;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Nepomuk_Variant[] = {
    {(void *)slot_Nepomuk_Variant___ne__, ne_slot},
    {(void *)slot_Nepomuk_Variant___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_Nepomuk_Variant[] = {
    {SIP_MLNAME_CAST(sipName_append), meth_Nepomuk_Variant_append, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fromString), meth_Nepomuk_Variant_fromString, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isBool), meth_Nepomuk_Variant_isBool, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isBoolList), meth_Nepomuk_Variant_isBoolList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isDate), meth_Nepomuk_Variant_isDate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isDateList), meth_Nepomuk_Variant_isDateList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isDateTime), meth_Nepomuk_Variant_isDateTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isDateTimeList), meth_Nepomuk_Variant_isDateTimeList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isDouble), meth_Nepomuk_Variant_isDouble, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isDoubleList), meth_Nepomuk_Variant_isDoubleList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isInt), meth_Nepomuk_Variant_isInt, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isInt64), meth_Nepomuk_Variant_isInt64, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isInt64List), meth_Nepomuk_Variant_isInt64List, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isIntList), meth_Nepomuk_Variant_isIntList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isList), meth_Nepomuk_Variant_isList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isResource), meth_Nepomuk_Variant_isResource, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isResourceList), meth_Nepomuk_Variant_isResourceList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isString), meth_Nepomuk_Variant_isString, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isStringList), meth_Nepomuk_Variant_isStringList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isTime), meth_Nepomuk_Variant_isTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isTimeList), meth_Nepomuk_Variant_isTimeList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isUnsignedInt), meth_Nepomuk_Variant_isUnsignedInt, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isUnsignedInt64), meth_Nepomuk_Variant_isUnsignedInt64, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isUnsignedInt64List), meth_Nepomuk_Variant_isUnsignedInt64List, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isUnsignedIntList), meth_Nepomuk_Variant_isUnsignedIntList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isUrl), meth_Nepomuk_Variant_isUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isUrlList), meth_Nepomuk_Variant_isUrlList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isValid), meth_Nepomuk_Variant_isValid, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_simpleType), meth_Nepomuk_Variant_simpleType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toBool), meth_Nepomuk_Variant_toBool, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toDate), meth_Nepomuk_Variant_toDate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toDateList), meth_Nepomuk_Variant_toDateList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toDateTime), meth_Nepomuk_Variant_toDateTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toDateTimeList), meth_Nepomuk_Variant_toDateTimeList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toDouble), meth_Nepomuk_Variant_toDouble, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toDoubleList), meth_Nepomuk_Variant_toDoubleList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toInt), meth_Nepomuk_Variant_toInt, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toInt64), meth_Nepomuk_Variant_toInt64, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toIntList), meth_Nepomuk_Variant_toIntList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toResource), meth_Nepomuk_Variant_toResource, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toResourceList), meth_Nepomuk_Variant_toResourceList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toString), meth_Nepomuk_Variant_toString, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toStringList), meth_Nepomuk_Variant_toStringList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toTime), meth_Nepomuk_Variant_toTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toTimeList), meth_Nepomuk_Variant_toTimeList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toUnsignedInt), meth_Nepomuk_Variant_toUnsignedInt, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toUnsignedInt64), meth_Nepomuk_Variant_toUnsignedInt64, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toUnsignedIntList), meth_Nepomuk_Variant_toUnsignedIntList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toUrl), meth_Nepomuk_Variant_toUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toUrlList), meth_Nepomuk_Variant_toUrlList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toVariantList), meth_Nepomuk_Variant_toVariantList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_type), meth_Nepomuk_Variant_type, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_variant), meth_Nepomuk_Variant_variant, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_nepomuk_Nepomuk_Variant = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Nepomuk__Variant,
        {0}
    },
    sipNameNr_Variant,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {4, 255, 0},
    0,
    slots_Nepomuk_Variant,
    53, methods_Nepomuk_Variant,
    0, 0,
    0, 0,
    init_Nepomuk_Variant,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Nepomuk_Variant,
    release_Nepomuk_Variant,
    cast_Nepomuk_Variant,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_Nepomuk_Variant,
    0,
    0,
    0
};
