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

#include "sipAPIKItemModels.h"

#include <qobject.h>
#include <qabstractitemmodel.h>
#include <qitemselectionmodel.h>
#include <qitemselectionmodel.h>
#include <qcoreevent.h>
#include <qcoreevent.h>
#include <qcoreevent.h>
#include <qmetaobject.h>
#include <qmimedata.h>
#include <qnamespace.h>
#include <qhash.h>
#include <qbytearray.h>
#include <qnamespace.h>
#include <qsize.h>
#include <qlist.h>
#include <qvariant.h>
#include <qnamespace.h>
#include <qnamespace.h>
#include <qstringlist.h>
#include <qmap.h>
#include <qabstractitemmodel.h>

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

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

bool sipVH_KItemModels_34(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QItemSelection& a0, ::QItemSelectionModel::SelectionFlags a1)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "NN", new  ::QItemSelection(a0), sipType_QItemSelection, NULL, new  ::QItemSelectionModel::SelectionFlags(a1), sipType_QItemSelectionModel_SelectionFlags, NULL);

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

    return sipRes;
}

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

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

    return sipRes;
}

void sipVH_KItemModels_32(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QAbstractItemModel*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QAbstractItemModel, NULL);
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

QHash<int, ::QByteArray> sipVH_KItemModels_11(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod)
{
    QHash<int, ::QByteArray> sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "");

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

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

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

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

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

    return sipRes;
}

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

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

    return sipRes;
}

void sipVH_KItemModels_2(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QItemSelection& a0, ::QItemSelectionModel::SelectionFlags a1)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "NN", new  ::QItemSelection(a0), sipType_QItemSelection, NULL, new  ::QItemSelectionModel::SelectionFlags(a1), sipType_QItemSelectionModel_SelectionFlags, NULL);
}

void sipVH_KItemModels_1(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QModelIndex& a0, ::QItemSelectionModel::SelectionFlags a1)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "NN", new  ::QModelIndex(a0), sipType_QModelIndex, NULL, new  ::QItemSelectionModel::SelectionFlags(a1), sipType_QItemSelectionModel_SelectionFlags, NULL);
}

void sipVH_KItemModels_0(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "");
}
static sipEnumTypeDef enumTypes[] = {
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_KSelectionProxyModel__FilterBehavior, {0}, 0}, sipNameNr_FilterBehavior, 10, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_KBreadcrumbSelectionModel__BreadcrumbTarget, {0}, 0}, sipNameNr_BreadcrumbTarget, 0, NULL},
};


/*
 * This defines each type in this module.
 */
sipTypeDef *sipExportedTypes_KItemModels[] = {
    &sipTypeDef_KItemModels_KBreadcrumbSelectionModel.ctd_base,
    &enumTypes[1].etd_base,
    &sipTypeDef_KItemModels_KCheckableProxyModel.ctd_base,
    &sipTypeDef_KItemModels_KConcatenateRowsProxyModel.ctd_base,
    &sipTypeDef_KItemModels_KDescendantsProxyModel.ctd_base,
    &sipTypeDef_KItemModels_KExtraColumnsProxyModel.ctd_base,
    &sipTypeDef_KItemModels_KLinkItemSelectionModel.ctd_base,
    &sipTypeDef_KItemModels_KModelIndexProxyMapper.ctd_base,
    &sipTypeDef_KItemModels_KRearrangeColumnsProxyModel.ctd_base,
    &sipTypeDef_KItemModels_KRecursiveFilterProxyModel.ctd_base,
    &sipTypeDef_KItemModels_KSelectionProxyModel.ctd_base,
    &enumTypes[0].etd_base,
};


/* This defines the types that this module needs to import from QtCore. */
sipImportedTypeDef sipImportedTypes_KItemModels_QtCore[] = {
    {"QAbstractItemModel"},
    {"QAbstractProxyModel"},
    {"QChildEvent"},
    {"QDataStream"},
    {"QEvent"},
    {"QHash<int,QByteArray>"},
    {"QIdentityProxyModel"},
    {"QItemSelection"},
    {"QItemSelectionModel"},
    {"QItemSelectionModel::SelectionFlags"},
    {"QList<QModelIndex>"},
    {"QList<QPersistentModelIndex>"},
    {"QMap<int,QVariant>"},
    {"QMetaMethod"},
    {"QMimeData"},
    {"QModelIndex"},
    {"QObject"},
    {"QSize"},
    {"QSortFilterProxyModel"},
    {"QString"},
    {"QStringList"},
    {"QTimerEvent"},
    {"QVariant"},
    {"QVector<int>"},
    {"Qt::DropAction"},
    {"Qt::DropActions"},
    {"Qt::ItemFlags"},
    {"Qt::MatchFlags"},
    {"Qt::Orientation"},
    {"Qt::SortOrder"},
    {NULL}
};


/*
 * This defines the virtual error handlers that this module needs to import
 * from QtCore.
 */
sipImportedVirtErrorHandlerDef sipImportedVirtErrorHandlers_KItemModels_QtCore[] = {
    {"PyQt5"},
    {NULL}
};


/* This defines the modules that this module needs to import. */
static sipImportedModuleDef importsTable[] = {
    {"PyQt5.QtCore", sipImportedTypes_KItemModels_QtCore, sipImportedVirtErrorHandlers_KItemModels_QtCore, NULL},
    {NULL, NULL, NULL, NULL}
};


/* This defines this module. */
sipExportedModuleDef sipModuleAPI_KItemModels = {
    0,
    SIP_API_MINOR_NR,
    sipNameNr_PyKF5_KItemModels,
    0,
    sipStrings_KItemModels,
    importsTable,
    NULL,
    12,
    sipExportedTypes_KItemModels,
    NULL,
    0,
    NULL,
    0,
    NULL,
    NULL,
    NULL,
    {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL},
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL
};


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

sip_qt_metaobject_func sip_KItemModels_qt_metaobject;
sip_qt_metacall_func sip_KItemModels_qt_metacall;
sip_qt_metacast_func sip_KItemModels_qt_metacast;


/* The Python module initialisation function. */
#if PY_MAJOR_VERSION >= 3
#define SIP_MODULE_ENTRY        PyInit_KItemModels
#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        initKItemModels
#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,
        "PyKF5.KItemModels",
        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_PyKF5_KItemModels, sip_methods);
#else
    sipModule = Py_InitModule(const_cast<char *>(sipName_PyKF5_KItemModels), sip_methods);
#endif

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

    sipModuleDict = PyModule_GetDict(sipModule);

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

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

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

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

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

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

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

    sip_KItemModels_qt_metaobject = (sip_qt_metaobject_func)sipImportSymbol("qtcore_qt_metaobject");
    sip_KItemModels_qt_metacall = (sip_qt_metacall_func)sipImportSymbol("qtcore_qt_metacall");
    sip_KItemModels_qt_metacast = (sip_qt_metacast_func)sipImportSymbol("qtcore_qt_metacast");

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

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

    SIP_MODULE_RETURN(sipModule);
}
