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

#include "sipAPIktexteditor.h"

#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/ktexteditor/movingrange.sip"
#include <ktexteditor/movingrange.h>
#line 12 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart3.cpp"

#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/ktexteditor/movingrange.sip"
#include <ktexteditor/movingrange.h>
#line 16 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart3.cpp"


extern "C" {static int slot_KTextEditor_MovingRange_InsertBehaviors___bool__(PyObject *);}
static int slot_KTextEditor_MovingRange_InsertBehaviors___bool__(PyObject *sipSelf)
{
    KTextEditor::MovingRange::InsertBehaviors *sipCpp = reinterpret_cast<KTextEditor::MovingRange::InsertBehaviors *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KTextEditor_MovingRange_InsertBehaviors));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 389 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KTextEditor::MovingRange::InsertBehaviors::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 38 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart3.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KTextEditor_MovingRange_InsertBehaviors___ne__(PyObject *,PyObject *);}
static PyObject *slot_KTextEditor_MovingRange_InsertBehaviors___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KTextEditor::MovingRange::InsertBehaviors *sipCpp = reinterpret_cast<KTextEditor::MovingRange::InsertBehaviors *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KTextEditor_MovingRange_InsertBehaviors));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KTextEditor::MovingRange::InsertBehaviors* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KTextEditor_MovingRange_InsertBehaviors, &a0, &a0State))
        {
            bool sipRes = 0;

#line 380 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KTextEditor::MovingRange::InsertBehaviors::Int() != a0->operator KTextEditor::MovingRange::InsertBehaviors::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 72 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart3.cpp"
            sipReleaseType(const_cast<KTextEditor::MovingRange::InsertBehaviors *>(a0),sipType_KTextEditor_MovingRange_InsertBehaviors,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_ktexteditor,ne_slot,sipType_KTextEditor_MovingRange_InsertBehaviors,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KTextEditor_MovingRange_InsertBehaviors___eq__(PyObject *,PyObject *);}
static PyObject *slot_KTextEditor_MovingRange_InsertBehaviors___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KTextEditor::MovingRange::InsertBehaviors *sipCpp = reinterpret_cast<KTextEditor::MovingRange::InsertBehaviors *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KTextEditor_MovingRange_InsertBehaviors));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KTextEditor::MovingRange::InsertBehaviors* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KTextEditor_MovingRange_InsertBehaviors, &a0, &a0State))
        {
            bool sipRes = 0;

#line 371 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KTextEditor::MovingRange::InsertBehaviors::Int() == a0->operator KTextEditor::MovingRange::InsertBehaviors::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 112 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart3.cpp"
            sipReleaseType(const_cast<KTextEditor::MovingRange::InsertBehaviors *>(a0),sipType_KTextEditor_MovingRange_InsertBehaviors,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_ktexteditor,eq_slot,sipType_KTextEditor_MovingRange_InsertBehaviors,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KTextEditor_MovingRange_InsertBehaviors___invert__(PyObject *);}
static PyObject *slot_KTextEditor_MovingRange_InsertBehaviors___invert__(PyObject *sipSelf)
{
    KTextEditor::MovingRange::InsertBehaviors *sipCpp = reinterpret_cast<KTextEditor::MovingRange::InsertBehaviors *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KTextEditor_MovingRange_InsertBehaviors));

    if (!sipCpp)
        return 0;


    {
        {
            KTextEditor::MovingRange::InsertBehaviors*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KTextEditor::MovingRange::InsertBehaviors(~(*sipCpp));
            Py_END_ALLOW_THREADS

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

    return 0;
}


extern "C" {static PyObject *slot_KTextEditor_MovingRange_InsertBehaviors___and__(PyObject *,PyObject *);}
static PyObject *slot_KTextEditor_MovingRange_InsertBehaviors___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KTextEditor::MovingRange::InsertBehaviors* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KTextEditor_MovingRange_InsertBehaviors, &a0, &a0State, &a1))
        {
            KTextEditor::MovingRange::InsertBehaviors*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KTextEditor::MovingRange::InsertBehaviors((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KTextEditor_MovingRange_InsertBehaviors,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_ktexteditor,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KTextEditor_MovingRange_InsertBehaviors___xor__(PyObject *,PyObject *);}
static PyObject *slot_KTextEditor_MovingRange_InsertBehaviors___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KTextEditor::MovingRange::InsertBehaviors* a0;
        int a0State = 0;
        KTextEditor::MovingRange::InsertBehaviors* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KTextEditor_MovingRange_InsertBehaviors, &a0, &a0State, sipType_KTextEditor_MovingRange_InsertBehaviors, &a1, &a1State))
        {
            KTextEditor::MovingRange::InsertBehaviors*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KTextEditor::MovingRange::InsertBehaviors((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KTextEditor_MovingRange_InsertBehaviors,a0State);
            sipReleaseType(a1,sipType_KTextEditor_MovingRange_InsertBehaviors,a1State);

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

    {
        KTextEditor::MovingRange::InsertBehaviors* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KTextEditor_MovingRange_InsertBehaviors, &a0, &a0State, &a1))
        {
            KTextEditor::MovingRange::InsertBehaviors*sipRes = 0;

#line 365 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KTextEditor::MovingRange::InsertBehaviors(*a0 ^ a1);
#line 221 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart3.cpp"
            sipReleaseType(a0,sipType_KTextEditor_MovingRange_InsertBehaviors,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_ktexteditor,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KTextEditor_MovingRange_InsertBehaviors___or__(PyObject *,PyObject *);}
static PyObject *slot_KTextEditor_MovingRange_InsertBehaviors___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KTextEditor::MovingRange::InsertBehaviors* a0;
        int a0State = 0;
        KTextEditor::MovingRange::InsertBehaviors* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KTextEditor_MovingRange_InsertBehaviors, &a0, &a0State, sipType_KTextEditor_MovingRange_InsertBehaviors, &a1, &a1State))
        {
            KTextEditor::MovingRange::InsertBehaviors*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KTextEditor::MovingRange::InsertBehaviors((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KTextEditor_MovingRange_InsertBehaviors,a0State);
            sipReleaseType(a1,sipType_KTextEditor_MovingRange_InsertBehaviors,a1State);

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

    {
        KTextEditor::MovingRange::InsertBehaviors* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KTextEditor_MovingRange_InsertBehaviors, &a0, &a0State, &a1))
        {
            KTextEditor::MovingRange::InsertBehaviors*sipRes = 0;

#line 360 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KTextEditor::MovingRange::InsertBehaviors(*a0 | a1);
#line 273 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart3.cpp"
            sipReleaseType(a0,sipType_KTextEditor_MovingRange_InsertBehaviors,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_ktexteditor,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KTextEditor_MovingRange_InsertBehaviors___int__(PyObject *);}
static PyObject *slot_KTextEditor_MovingRange_InsertBehaviors___int__(PyObject *sipSelf)
{
    KTextEditor::MovingRange::InsertBehaviors *sipCpp = reinterpret_cast<KTextEditor::MovingRange::InsertBehaviors *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KTextEditor_MovingRange_InsertBehaviors));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KTextEditor_MovingRange_InsertBehaviors___ixor__(PyObject *,PyObject *);}
static PyObject *slot_KTextEditor_MovingRange_InsertBehaviors___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KTextEditor_MovingRange_InsertBehaviors)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KTextEditor::MovingRange::InsertBehaviors *sipCpp = reinterpret_cast<KTextEditor::MovingRange::InsertBehaviors *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KTextEditor_MovingRange_InsertBehaviors));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KTextEditor::MovingRange::InsertBehaviors* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KTextEditor_MovingRange_InsertBehaviors, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KTextEditor::MovingRange::InsertBehaviors::operator^=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KTextEditor_MovingRange_InsertBehaviors,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KTextEditor_MovingRange_InsertBehaviors___ior__(PyObject *,PyObject *);}
static PyObject *slot_KTextEditor_MovingRange_InsertBehaviors___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KTextEditor_MovingRange_InsertBehaviors)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KTextEditor::MovingRange::InsertBehaviors *sipCpp = reinterpret_cast<KTextEditor::MovingRange::InsertBehaviors *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KTextEditor_MovingRange_InsertBehaviors));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KTextEditor::MovingRange::InsertBehaviors* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KTextEditor_MovingRange_InsertBehaviors, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KTextEditor::MovingRange::InsertBehaviors::operator|=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KTextEditor_MovingRange_InsertBehaviors,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KTextEditor_MovingRange_InsertBehaviors___iand__(PyObject *,PyObject *);}
static PyObject *slot_KTextEditor_MovingRange_InsertBehaviors___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KTextEditor_MovingRange_InsertBehaviors)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KTextEditor::MovingRange::InsertBehaviors *sipCpp = reinterpret_cast<KTextEditor::MovingRange::InsertBehaviors *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KTextEditor_MovingRange_InsertBehaviors));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KTextEditor::MovingRange::InsertBehaviors::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    delete reinterpret_cast<KTextEditor::MovingRange::InsertBehaviors *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KTextEditor_MovingRange_InsertBehaviors(void *, SIP_SSIZE_T, const void *);}
static void assign_KTextEditor_MovingRange_InsertBehaviors(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KTextEditor::MovingRange::InsertBehaviors *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KTextEditor::MovingRange::InsertBehaviors *>(sipSrc);
}


extern "C" {static void *array_KTextEditor_MovingRange_InsertBehaviors(SIP_SSIZE_T);}
static void *array_KTextEditor_MovingRange_InsertBehaviors(SIP_SSIZE_T sipNrElem)
{
    return new KTextEditor::MovingRange::InsertBehaviors[sipNrElem];
}


extern "C" {static void *copy_KTextEditor_MovingRange_InsertBehaviors(const void *, SIP_SSIZE_T);}
static void *copy_KTextEditor_MovingRange_InsertBehaviors(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KTextEditor::MovingRange::InsertBehaviors(reinterpret_cast<const KTextEditor::MovingRange::InsertBehaviors *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KTextEditor_MovingRange_InsertBehaviors(sipSimpleWrapper *);}
static void dealloc_KTextEditor_MovingRange_InsertBehaviors(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KTextEditor_MovingRange_InsertBehaviors(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_KTextEditor_MovingRange_InsertBehaviors(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KTextEditor_MovingRange_InsertBehaviors(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KTextEditor::MovingRange::InsertBehaviors *sipCpp = 0;

    {
        const KTextEditor::MovingRange::InsertBehaviors* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_KTextEditor_MovingRange_InsertBehaviors, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KTextEditor::MovingRange::InsertBehaviors(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<KTextEditor::MovingRange::InsertBehaviors *>(a0),sipType_KTextEditor_MovingRange_InsertBehaviors,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KTextEditor::MovingRange::InsertBehaviors(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KTextEditor::MovingRange::InsertBehaviors();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_KTextEditor_MovingRange_InsertBehaviors(PyObject *, void **, int *, PyObject *);}
static int convertTo_KTextEditor_MovingRange_InsertBehaviors(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    KTextEditor::MovingRange::InsertBehaviors **sipCppPtr = reinterpret_cast<KTextEditor::MovingRange::InsertBehaviors **>(sipCppPtrV);

#line 398 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KTextEditor::MovingRange::InsertBehaviors is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KTextEditor_MovingRange_InsertBehavior)) ||
            sipCanConvertToType(sipPy, sipType_KTextEditor_MovingRange_InsertBehaviors, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KTextEditor_MovingRange_InsertBehavior)))
{
    *sipCppPtr = new KTextEditor::MovingRange::InsertBehaviors(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KTextEditor::MovingRange::InsertBehaviors *>(sipConvertToType(sipPy, sipType_KTextEditor_MovingRange_InsertBehaviors, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 557 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart3.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KTextEditor_MovingRange_InsertBehaviors[] = {
    {(void *)slot_KTextEditor_MovingRange_InsertBehaviors___bool__, bool_slot},
    {(void *)slot_KTextEditor_MovingRange_InsertBehaviors___ne__, ne_slot},
    {(void *)slot_KTextEditor_MovingRange_InsertBehaviors___eq__, eq_slot},
    {(void *)slot_KTextEditor_MovingRange_InsertBehaviors___invert__, invert_slot},
    {(void *)slot_KTextEditor_MovingRange_InsertBehaviors___and__, and_slot},
    {(void *)slot_KTextEditor_MovingRange_InsertBehaviors___xor__, xor_slot},
    {(void *)slot_KTextEditor_MovingRange_InsertBehaviors___or__, or_slot},
    {(void *)slot_KTextEditor_MovingRange_InsertBehaviors___int__, int_slot},
    {(void *)slot_KTextEditor_MovingRange_InsertBehaviors___ixor__, ixor_slot},
    {(void *)slot_KTextEditor_MovingRange_InsertBehaviors___ior__, ior_slot},
    {(void *)slot_KTextEditor_MovingRange_InsertBehaviors___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef sipTypeDef_ktexteditor_KTextEditor_MovingRange_InsertBehaviors = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KTextEditor__MovingRange__InsertBehaviors,
        {0}
    },
    {
        sipNameNr_InsertBehaviors,
        {49, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    slots_KTextEditor_MovingRange_InsertBehaviors,
    init_type_KTextEditor_MovingRange_InsertBehaviors,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KTextEditor_MovingRange_InsertBehaviors,
    assign_KTextEditor_MovingRange_InsertBehaviors,
    array_KTextEditor_MovingRange_InsertBehaviors,
    copy_KTextEditor_MovingRange_InsertBehaviors,
    release_KTextEditor_MovingRange_InsertBehaviors,
    0,
    convertTo_KTextEditor_MovingRange_InsertBehaviors,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0
};

#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/ktexteditor/movingrange.sip"
#include <ktexteditor/movingrange.h>
#line 633 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart3.cpp"

#line 30 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/ktexteditor/range.sip"
#include <ktexteditor/range.h>
#line 637 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart3.cpp"
#line 30 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/ktexteditor/cursor.sip"
#include <ktexteditor/cursor.h>
#line 640 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart3.cpp"
#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/ktexteditor/movingrangefeedback.sip"
#include <ktexteditor/movingrangefeedback.h>
#line 643 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart3.cpp"
#line 340 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 646 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart3.cpp"
#line 30 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/ktexteditor/attribute.sip"
#include <ktexteditor/attribute.h>
#line 649 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart3.cpp"
#line 30 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/ktexteditor/view.sip"
#include <ktexteditor/view.h>

#include <ktexteditor/codecompletioninterface.h>
#include <ktexteditor/sessionconfiginterface.h>
#include <ktexteditor/texthintinterface.h>
#include <ktexteditor/annotationinterface.h>
#include <ktexteditor/configinterface.h>
#include <ktexteditor/templateinterface.h>
#include <ktexteditor/templateinterface2.h>
#line 660 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart3.cpp"
#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/ktexteditor/movingcursor.sip"
#include <ktexteditor/movingcursor.h>
#line 663 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart3.cpp"
#line 30 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/ktexteditor/document.sip"
#include <ktexteditor/document.h>

#include <ktexteditor/modificationinterface.h>
#include <ktexteditor/markinterface.h>
#include <ktexteditor/searchinterface.h>
#include <ktexteditor/sessionconfiginterface.h>
#include <ktexteditor/smartinterface.h>
#include <ktexteditor/templateinterface.h>
#include <ktexteditor/variableinterface.h>
#include <ktexteditor/movinginterface.h>
#include <ktexteditor/annotationinterface.h>
#include <ktexteditor/highlightinterface.h>
#include <ktexteditor/configinterface.h>
#include <ktexteditor/modeinterface.h>
#include <ktexteditor/sessionconfiginterface.h>
#include <ktexteditor/recoveryinterface.h>

#line 682 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart3.cpp"
#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/ktexteditor/movingrange.sip"
#include <ktexteditor/movingrange.h>
#line 685 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart3.cpp"


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

    {
        KTextEditor::MovingRange::InsertBehaviors* a0;
        int a0State = 0;
        KTextEditor::MovingRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KTextEditor_MovingRange, &sipCpp, sipType_KTextEditor_MovingRange_InsertBehaviors, &a0, &a0State))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MovingRange, sipName_setInsertBehaviors);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setInsertBehaviors(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KTextEditor_MovingRange_InsertBehaviors,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KTextEditor::MovingRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTextEditor_MovingRange, &sipCpp))
        {
            KTextEditor::MovingRange::InsertBehaviors*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MovingRange, sipName_insertBehaviors);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KTextEditor::MovingRange::InsertBehaviors(sipCpp->insertBehaviors());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KTextEditor::MovingRange::EmptyBehavior a0;
        KTextEditor::MovingRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KTextEditor_MovingRange, &sipCpp, sipType_KTextEditor_MovingRange_EmptyBehavior, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MovingRange, sipName_setEmptyBehavior);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setEmptyBehavior(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KTextEditor::MovingRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTextEditor_MovingRange, &sipCpp))
        {
            KTextEditor::MovingRange::EmptyBehavior sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MovingRange, sipName_emptyBehavior);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->emptyBehavior();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KTextEditor_MovingRange_EmptyBehavior);
        }
    }

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

    return NULL;
}


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

    {
        const KTextEditor::MovingRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTextEditor_MovingRange, &sipCpp))
        {
            KTextEditor::Document*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MovingRange, sipName_document);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->document();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KTextEditor::Range* a0;
        KTextEditor::MovingRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KTextEditor_MovingRange, &sipCpp, sipType_KTextEditor_Range, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MovingRange, sipName_setRange);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setRange(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const KTextEditor::Cursor* a0;
        const KTextEditor::Cursor* a1;
        KTextEditor::MovingRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J9", &sipSelf, sipType_KTextEditor_MovingRange, &sipCpp, sipType_KTextEditor_Cursor, &a0, sipType_KTextEditor_Cursor, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setRange(*a0,*a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KTextEditor::MovingRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTextEditor_MovingRange, &sipCpp))
        {
            KTextEditor::MovingCursor*sipRes = 0;

#line 52 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/ktexteditor/movingrange.sip"
    // Returning a ref of this class is problematic.
    const KTextEditor::MovingCursor& cursor = sipCpp->start();
    sipRes = const_cast<KTextEditor::MovingCursor *>(&cursor);
#line 926 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart3.cpp"

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

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

    return NULL;
}


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

    {
        KTextEditor::MovingRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTextEditor_MovingRange, &sipCpp))
        {
            KTextEditor::MovingCursor*sipRes = 0;

#line 62 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/ktexteditor/movingrange.sip"
    // Returning a ref of this class is problematic.
    const KTextEditor::MovingCursor& cursor = sipCpp->end();
    sipRes = const_cast<KTextEditor::MovingCursor *>(&cursor);
#line 955 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart3.cpp"

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

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

    return NULL;
}


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

    {
        const KTextEditor::MovingRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTextEditor_MovingRange, &sipCpp))
        {
            KTextEditor::View*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MovingRange, sipName_view);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->view();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KTextEditor::View* a0;
        KTextEditor::MovingRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTextEditor_MovingRange, &sipCpp, sipType_KTextEditor_View, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MovingRange, sipName_setView);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setView(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KTextEditor::MovingRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTextEditor_MovingRange, &sipCpp))
        {
            KTextEditor::Attribute::Ptr*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MovingRange, sipName_attribute);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KTextEditor::Attribute::Ptr(sipCpp->attribute());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KTextEditor::Attribute::Ptr* a0;
        int a0State = 0;
        KTextEditor::MovingRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KTextEditor_MovingRange, &sipCpp, sipType_KSharedPtr_0100KTextEditor_Attribute,&a0, &a0State))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MovingRange, sipName_setAttribute);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAttribute(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KSharedPtr_0100KTextEditor_Attribute,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KTextEditor::MovingRange *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MovingRange, sipName_attributeOnlyForViews);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->attributeOnlyForViews();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        KTextEditor::MovingRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KTextEditor_MovingRange, &sipCpp, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MovingRange, sipName_setAttributeOnlyForViews);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAttributeOnlyForViews(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KTextEditor::MovingRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTextEditor_MovingRange, &sipCpp))
        {
            KTextEditor::MovingRangeFeedback*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MovingRange, sipName_feedback);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->feedback();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KTextEditor::MovingRangeFeedback* a0;
        KTextEditor::MovingRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTextEditor_MovingRange, &sipCpp, sipType_KTextEditor_MovingRangeFeedback, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MovingRange, sipName_setFeedback);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFeedback(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KTextEditor::MovingRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTextEditor_MovingRange, &sipCpp))
        {
            qreal sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MovingRange, sipName_zDepth);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->zDepth();
            Py_END_ALLOW_THREADS

            return PyFloat_FromDouble(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        qreal a0;
        KTextEditor::MovingRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_KTextEditor_MovingRange, &sipCpp, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MovingRange, sipName_setZDepth);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setZDepth(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KTextEditor::MovingRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTextEditor_MovingRange, &sipCpp))
        {
            KTextEditor::Range*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KTextEditor::Range(sipCpp->toRange());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KTextEditor::MovingRange *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isEmpty();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KTextEditor::Range* a0;
        const KTextEditor::MovingRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KTextEditor_MovingRange, &sipCpp, sipType_KTextEditor_Range, &a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const KTextEditor::Cursor* a0;
        const KTextEditor::MovingRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KTextEditor_MovingRange, &sipCpp, sipType_KTextEditor_Cursor, &a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        const KTextEditor::MovingRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KTextEditor_MovingRange, &sipCpp, &a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        const KTextEditor::MovingRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KTextEditor_MovingRange, &sipCpp, &a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KTextEditor::Range* a0;
        const KTextEditor::MovingRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KTextEditor_MovingRange, &sipCpp, sipType_KTextEditor_Range, &a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        const KTextEditor::MovingRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KTextEditor_MovingRange, &sipCpp, &a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        const KTextEditor::MovingRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KTextEditor_MovingRange, &sipCpp, &a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KTextEditor::MovingRange *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->onSingleLine();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    delete reinterpret_cast<KTextEditor::MovingRange *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KTextEditor_MovingRange(sipSimpleWrapper *);}
static void dealloc_KTextEditor_MovingRange(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KTextEditor_MovingRange(sipGetAddress(sipSelf),0);
    }
}


static PyMethodDef methods_KTextEditor_MovingRange[] = {
    {SIP_MLNAME_CAST(sipName_attribute), meth_KTextEditor_MovingRange_attribute, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_attributeOnlyForViews), meth_KTextEditor_MovingRange_attributeOnlyForViews, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contains), meth_KTextEditor_MovingRange_contains, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_containsColumn), meth_KTextEditor_MovingRange_containsColumn, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_containsLine), meth_KTextEditor_MovingRange_containsLine, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_document), meth_KTextEditor_MovingRange_document, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_emptyBehavior), meth_KTextEditor_MovingRange_emptyBehavior, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_end), meth_KTextEditor_MovingRange_end, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_feedback), meth_KTextEditor_MovingRange_feedback, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_insertBehaviors), meth_KTextEditor_MovingRange_insertBehaviors, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isEmpty), meth_KTextEditor_MovingRange_isEmpty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_onSingleLine), meth_KTextEditor_MovingRange_onSingleLine, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_overlaps), meth_KTextEditor_MovingRange_overlaps, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_overlapsColumn), meth_KTextEditor_MovingRange_overlapsColumn, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_overlapsLine), meth_KTextEditor_MovingRange_overlapsLine, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAttribute), meth_KTextEditor_MovingRange_setAttribute, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAttributeOnlyForViews), meth_KTextEditor_MovingRange_setAttributeOnlyForViews, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setEmptyBehavior), meth_KTextEditor_MovingRange_setEmptyBehavior, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFeedback), meth_KTextEditor_MovingRange_setFeedback, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setInsertBehaviors), meth_KTextEditor_MovingRange_setInsertBehaviors, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRange), meth_KTextEditor_MovingRange_setRange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setView), meth_KTextEditor_MovingRange_setView, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setZDepth), meth_KTextEditor_MovingRange_setZDepth, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_start), meth_KTextEditor_MovingRange_start, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toRange), meth_KTextEditor_MovingRange_toRange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_view), meth_KTextEditor_MovingRange_view, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_zDepth), meth_KTextEditor_MovingRange_zDepth, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KTextEditor_MovingRange[] = {
    {sipName_AllowEmpty, static_cast<int>(KTextEditor::MovingRange::AllowEmpty), 50},
    {sipName_DoNotExpand, static_cast<int>(KTextEditor::MovingRange::DoNotExpand), 51},
    {sipName_ExpandLeft, static_cast<int>(KTextEditor::MovingRange::ExpandLeft), 51},
    {sipName_ExpandRight, static_cast<int>(KTextEditor::MovingRange::ExpandRight), 51},
    {sipName_InvalidateIfEmpty, static_cast<int>(KTextEditor::MovingRange::InvalidateIfEmpty), 50},
};


pyqt4ClassTypeDef sipTypeDef_ktexteditor_KTextEditor_MovingRange = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_KTextEditor__MovingRange,
        {0}
    },
    {
        sipNameNr_MovingRange,
        {1, 255, 0},
        27, methods_KTextEditor_MovingRange,
        5, enummembers_KTextEditor_MovingRange,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KTextEditor_MovingRange,
    0,
    0,
    0,
    release_KTextEditor_MovingRange,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/ktexteditor/movinginterface.sip"
#include <ktexteditor/movinginterface.h>
#line 1691 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart3.cpp"

#line 30 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/ktexteditor/range.sip"
#include <ktexteditor/range.h>
#line 1695 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart3.cpp"
#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/ktexteditor/movingrange.sip"
#include <ktexteditor/movingrange.h>
#line 1698 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart3.cpp"
#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/ktexteditor/movingrange.sip"
#include <ktexteditor/movingrange.h>
#line 1701 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart3.cpp"
#line 30 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/ktexteditor/cursor.sip"
#include <ktexteditor/cursor.h>
#line 1704 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart3.cpp"
#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/ktexteditor/movingcursor.sip"
#include <ktexteditor/movingcursor.h>
#line 1707 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart3.cpp"


class sipKTextEditor_MovingInterface : public KTextEditor::MovingInterface
{
public:
    sipKTextEditor_MovingInterface();
    sipKTextEditor_MovingInterface(const KTextEditor::MovingInterface&);
    virtual ~sipKTextEditor_MovingInterface();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void transformRange(KTextEditor::Range&,KTextEditor::MovingRange::InsertBehaviors,KTextEditor::MovingRange::EmptyBehavior,qint64,qint64);
    void transformCursor(int&,int&,KTextEditor::MovingCursor::InsertBehavior,qint64,qint64);
    void transformCursor(KTextEditor::Cursor&,KTextEditor::MovingCursor::InsertBehavior,qint64,qint64);
    void unlockRevision(qint64);
    void lockRevision(qint64);
    qint64 lastSavedRevision() const;
    qint64 revision() const;
    KTextEditor::MovingRange* newMovingRange(const KTextEditor::Range&,KTextEditor::MovingRange::InsertBehaviors,KTextEditor::MovingRange::EmptyBehavior);
    KTextEditor::MovingCursor* newMovingCursor(const KTextEditor::Cursor&,KTextEditor::MovingCursor::InsertBehavior);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[9];
};

sipKTextEditor_MovingInterface::sipKTextEditor_MovingInterface(): KTextEditor::MovingInterface(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKTextEditor_MovingInterface::sipKTextEditor_MovingInterface(const KTextEditor::MovingInterface& a0): KTextEditor::MovingInterface(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

void sipKTextEditor_MovingInterface::transformRange(KTextEditor::Range& a0,KTextEditor::MovingRange::InsertBehaviors a1,KTextEditor::MovingRange::EmptyBehavior a2,qint64 a3,qint64 a4)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_MovingInterface,sipName_transformRange);

    if (!sipMeth)
        return;

    extern void sipVH_ktexteditor_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KTextEditor::Range&,KTextEditor::MovingRange::InsertBehaviors,KTextEditor::MovingRange::EmptyBehavior,PY_LONG_LONG,PY_LONG_LONG);

    sipVH_ktexteditor_36(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

void sipKTextEditor_MovingInterface::transformCursor(int& a0,int& a1,KTextEditor::MovingCursor::InsertBehavior a2,qint64 a3,qint64 a4)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,sipName_MovingInterface,sipName_transformCursor);

    if (!sipMeth)
        return;

    extern void sipVH_ktexteditor_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int&,int&,KTextEditor::MovingCursor::InsertBehavior,PY_LONG_LONG,PY_LONG_LONG);

    sipVH_ktexteditor_37(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

void sipKTextEditor_MovingInterface::transformCursor(KTextEditor::Cursor& a0,KTextEditor::MovingCursor::InsertBehavior a1,qint64 a2,qint64 a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,sipName_MovingInterface,sipName_transformCursor);

    if (!sipMeth)
        return;

    extern void sipVH_ktexteditor_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KTextEditor::Cursor&,KTextEditor::MovingCursor::InsertBehavior,PY_LONG_LONG,PY_LONG_LONG);

    sipVH_ktexteditor_38(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipKTextEditor_MovingInterface::unlockRevision(qint64 a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,sipName_MovingInterface,sipName_unlockRevision);

    if (!sipMeth)
        return;

    typedef void (*sipVH_QtNetwork_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, PY_LONG_LONG);

    ((sipVH_QtNetwork_2)(sipModuleAPI_ktexteditor_QtNetwork->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextEditor_MovingInterface::lockRevision(qint64 a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,sipName_MovingInterface,sipName_lockRevision);

    if (!sipMeth)
        return;

    typedef void (*sipVH_QtNetwork_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, PY_LONG_LONG);

    ((sipVH_QtNetwork_2)(sipModuleAPI_ktexteditor_QtNetwork->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

qint64 sipKTextEditor_MovingInterface::lastSavedRevision() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,sipName_MovingInterface,sipName_lastSavedRevision);

    if (!sipMeth)
        return 0;

    typedef PY_LONG_LONG (*sipVH_QtCore_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_22)(sipModuleAPI_ktexteditor_QtCore->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth);
}

qint64 sipKTextEditor_MovingInterface::revision() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,sipName_MovingInterface,sipName_revision);

    if (!sipMeth)
        return 0;

    typedef PY_LONG_LONG (*sipVH_QtCore_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_22)(sipModuleAPI_ktexteditor_QtCore->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth);
}

KTextEditor::MovingRange* sipKTextEditor_MovingInterface::newMovingRange(const KTextEditor::Range& a0,KTextEditor::MovingRange::InsertBehaviors a1,KTextEditor::MovingRange::EmptyBehavior a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,sipName_MovingInterface,sipName_newMovingRange);

    if (!sipMeth)
        return 0;

    extern KTextEditor::MovingRange* sipVH_ktexteditor_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KTextEditor::Range&,KTextEditor::MovingRange::InsertBehaviors,KTextEditor::MovingRange::EmptyBehavior);

    return sipVH_ktexteditor_39(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

KTextEditor::MovingCursor* sipKTextEditor_MovingInterface::newMovingCursor(const KTextEditor::Cursor& a0,KTextEditor::MovingCursor::InsertBehavior a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,sipName_MovingInterface,sipName_newMovingCursor);

    if (!sipMeth)
        return 0;

    extern KTextEditor::MovingCursor* sipVH_ktexteditor_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KTextEditor::Cursor&,KTextEditor::MovingCursor::InsertBehavior);

    return sipVH_ktexteditor_40(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}


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

    {
        const KTextEditor::Cursor* a0;
        KTextEditor::MovingCursor::InsertBehavior a1 = KTextEditor::MovingCursor::MoveOnInsert;
        KTextEditor::MovingInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9|E", &sipSelf, sipType_KTextEditor_MovingInterface, &sipCpp, sipType_KTextEditor_Cursor, &a0, sipType_KTextEditor_MovingCursor_InsertBehavior, &a1))
        {
            KTextEditor::MovingCursor*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MovingInterface, sipName_newMovingCursor);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->newMovingCursor(*a0,a1);
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KTextEditor::Range* a0;
        KTextEditor::MovingRange::InsertBehaviors a1def = KTextEditor::MovingRange::DoNotExpand;
        KTextEditor::MovingRange::InsertBehaviors* a1 = &a1def;
        int a1State = 0;
        KTextEditor::MovingRange::EmptyBehavior a2 = KTextEditor::MovingRange::AllowEmpty;
        KTextEditor::MovingInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9|J1E", &sipSelf, sipType_KTextEditor_MovingInterface, &sipCpp, sipType_KTextEditor_Range, &a0, sipType_KTextEditor_MovingRange_InsertBehaviors, &a1, &a1State, sipType_KTextEditor_MovingRange_EmptyBehavior, &a2))
        {
            KTextEditor::MovingRange*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MovingInterface, sipName_newMovingRange);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->newMovingRange(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_KTextEditor_MovingRange_InsertBehaviors,a1State);

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

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

    return NULL;
}


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

    {
        const KTextEditor::MovingInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTextEditor_MovingInterface, &sipCpp))
        {
            qint64 sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MovingInterface, sipName_revision);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->revision();
            Py_END_ALLOW_THREADS

            return PyLong_FromLongLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KTextEditor::MovingInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTextEditor_MovingInterface, &sipCpp))
        {
            qint64 sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MovingInterface, sipName_lastSavedRevision);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->lastSavedRevision();
            Py_END_ALLOW_THREADS

            return PyLong_FromLongLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        qint64 a0;
        KTextEditor::MovingInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_KTextEditor_MovingInterface, &sipCpp, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MovingInterface, sipName_lockRevision);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->lockRevision(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        qint64 a0;
        KTextEditor::MovingInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_KTextEditor_MovingInterface, &sipCpp, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MovingInterface, sipName_unlockRevision);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->unlockRevision(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KTextEditor::Cursor* a0;
        KTextEditor::MovingCursor::InsertBehavior a1;
        qint64 a2;
        qint64 a3 = -1;
        KTextEditor::MovingInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9En|n", &sipSelf, sipType_KTextEditor_MovingInterface, &sipCpp, sipType_KTextEditor_Cursor, &a0, sipType_KTextEditor_MovingCursor_InsertBehavior, &a1, &a2, &a3))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MovingInterface, sipName_transformCursor);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->transformCursor(*a0,a1,a2,a3);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        int a0;
        int a1;
        KTextEditor::MovingCursor::InsertBehavior a2;
        qint64 a3;
        qint64 a4 = -1;
        KTextEditor::MovingInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEn|n", &sipSelf, sipType_KTextEditor_MovingInterface, &sipCpp, sipType_KTextEditor_MovingCursor_InsertBehavior, &a2, &a3, &a4))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MovingInterface, sipName_transformCursor);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->transformCursor(a0,a1,a2,a3,a4);
            Py_END_ALLOW_THREADS

            return sipBuildResult(0,"(ii)",a0,a1);
        }
    }

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

    return NULL;
}


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

    {
        KTextEditor::Range* a0;
        KTextEditor::MovingRange::InsertBehaviors* a1;
        int a1State = 0;
        KTextEditor::MovingRange::EmptyBehavior a2;
        qint64 a3;
        qint64 a4 = -1;
        KTextEditor::MovingInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J1En|n", &sipSelf, sipType_KTextEditor_MovingInterface, &sipCpp, sipType_KTextEditor_Range, &a0, sipType_KTextEditor_MovingRange_InsertBehaviors, &a1, &a1State, sipType_KTextEditor_MovingRange_EmptyBehavior, &a2, &a3, &a4))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MovingInterface, sipName_transformRange);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->transformRange(*a0,*a1,a2,a3,a4);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_KTextEditor_MovingRange_InsertBehaviors,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKTextEditor_MovingInterface *>(sipCppV);
    else
        delete reinterpret_cast<KTextEditor::MovingInterface *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKTextEditor_MovingInterface();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const KTextEditor::MovingInterface* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_KTextEditor_MovingInterface, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKTextEditor_MovingInterface(*a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KTextEditor_MovingInterface[] = {
    {SIP_MLNAME_CAST(sipName_lastSavedRevision), meth_KTextEditor_MovingInterface_lastSavedRevision, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_lockRevision), meth_KTextEditor_MovingInterface_lockRevision, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_newMovingCursor), meth_KTextEditor_MovingInterface_newMovingCursor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_newMovingRange), meth_KTextEditor_MovingInterface_newMovingRange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_revision), meth_KTextEditor_MovingInterface_revision, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_transformCursor), meth_KTextEditor_MovingInterface_transformCursor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_transformRange), meth_KTextEditor_MovingInterface_transformRange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_unlockRevision), meth_KTextEditor_MovingInterface_unlockRevision, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_ktexteditor_KTextEditor_MovingInterface = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_KTextEditor__MovingInterface,
        {0}
    },
    {
        sipNameNr_MovingInterface,
        {1, 255, 0},
        8, methods_KTextEditor_MovingInterface,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KTextEditor_MovingInterface,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KTextEditor_MovingInterface,
    0,
    0,
    0,
    release_KTextEditor_MovingInterface,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/ktexteditor/movingcursor.sip"
#include <ktexteditor/movingcursor.h>
#line 2338 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart3.cpp"

#line 30 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/ktexteditor/cursor.sip"
#include <ktexteditor/cursor.h>
#line 2342 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart3.cpp"
#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/ktexteditor/movingrange.sip"
#include <ktexteditor/movingrange.h>
#line 2345 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart3.cpp"
#line 30 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/ktexteditor/document.sip"
#include <ktexteditor/document.h>

#include <ktexteditor/modificationinterface.h>
#include <ktexteditor/markinterface.h>
#include <ktexteditor/searchinterface.h>
#include <ktexteditor/sessionconfiginterface.h>
#include <ktexteditor/smartinterface.h>
#include <ktexteditor/templateinterface.h>
#include <ktexteditor/variableinterface.h>
#include <ktexteditor/movinginterface.h>
#include <ktexteditor/annotationinterface.h>
#include <ktexteditor/highlightinterface.h>
#include <ktexteditor/configinterface.h>
#include <ktexteditor/modeinterface.h>
#include <ktexteditor/sessionconfiginterface.h>
#include <ktexteditor/recoveryinterface.h>

#line 2364 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart3.cpp"


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

    {
        KTextEditor::MovingCursor::InsertBehavior a0;
        KTextEditor::MovingCursor *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KTextEditor_MovingCursor, &sipCpp, sipType_KTextEditor_MovingCursor_InsertBehavior, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MovingCursor, sipName_setInsertBehavior);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setInsertBehavior(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KTextEditor::MovingCursor *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTextEditor_MovingCursor, &sipCpp))
        {
            KTextEditor::MovingCursor::InsertBehavior sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MovingCursor, sipName_insertBehavior);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->insertBehavior();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KTextEditor_MovingCursor_InsertBehavior);
        }
    }

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

    return NULL;
}


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

    {
        const KTextEditor::MovingCursor *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTextEditor_MovingCursor, &sipCpp))
        {
            KTextEditor::Document*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MovingCursor, sipName_document);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->document();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KTextEditor::MovingCursor *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTextEditor_MovingCursor, &sipCpp))
        {
            KTextEditor::MovingRange*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MovingCursor, sipName_range);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->range();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KTextEditor::Cursor* a0;
        KTextEditor::MovingCursor *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KTextEditor_MovingCursor, &sipCpp, sipType_KTextEditor_Cursor, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MovingCursor, sipName_setPosition);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPosition(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        int a0;
        int a1;
        KTextEditor::MovingCursor *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_KTextEditor_MovingCursor, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPosition(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KTextEditor::MovingCursor *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTextEditor_MovingCursor, &sipCpp))
        {
            int sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MovingCursor, sipName_line);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->line();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KTextEditor::MovingCursor *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTextEditor_MovingCursor, &sipCpp))
        {
            int sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MovingCursor, sipName_column);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->column();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KTextEditor::MovingCursor *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTextEditor_MovingCursor, &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(sipParseErr, sipName_MovingCursor, sipName_isValid, NULL);

    return NULL;
}


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

    {
        const KTextEditor::MovingCursor *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isValidTextPosition();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        KTextEditor::MovingCursor *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KTextEditor_MovingCursor, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLine(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        KTextEditor::MovingCursor *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KTextEditor_MovingCursor, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setColumn(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KTextEditor::MovingCursor *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->atStartOfLine();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KTextEditor::MovingCursor *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->atEndOfLine();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KTextEditor::MovingCursor *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->atStartOfDocument();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KTextEditor::MovingCursor *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->atEndOfDocument();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KTextEditor::MovingCursor *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->gotoNextLine();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KTextEditor::MovingCursor *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->gotoPreviousLine();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        KTextEditor::MovingCursor::WrapBehavior a1 = KTextEditor::MovingCursor::Wrap;
        KTextEditor::MovingCursor *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi|E", &sipSelf, sipType_KTextEditor_MovingCursor, &sipCpp, &a0, sipType_KTextEditor_MovingCursor_WrapBehavior, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->move(a0,a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KTextEditor::MovingCursor *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTextEditor_MovingCursor, &sipCpp))
        {
            KTextEditor::Cursor*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KTextEditor::Cursor(sipCpp->toCursor());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    delete reinterpret_cast<KTextEditor::MovingCursor *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KTextEditor_MovingCursor(sipSimpleWrapper *);}
static void dealloc_KTextEditor_MovingCursor(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KTextEditor_MovingCursor(sipGetAddress(sipSelf),0);
    }
}


static PyMethodDef methods_KTextEditor_MovingCursor[] = {
    {SIP_MLNAME_CAST(sipName_atEndOfDocument), meth_KTextEditor_MovingCursor_atEndOfDocument, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_atEndOfLine), meth_KTextEditor_MovingCursor_atEndOfLine, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_atStartOfDocument), meth_KTextEditor_MovingCursor_atStartOfDocument, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_atStartOfLine), meth_KTextEditor_MovingCursor_atStartOfLine, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_column), meth_KTextEditor_MovingCursor_column, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_document), meth_KTextEditor_MovingCursor_document, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_gotoNextLine), meth_KTextEditor_MovingCursor_gotoNextLine, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_gotoPreviousLine), meth_KTextEditor_MovingCursor_gotoPreviousLine, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_insertBehavior), meth_KTextEditor_MovingCursor_insertBehavior, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isValid), meth_KTextEditor_MovingCursor_isValid, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isValidTextPosition), meth_KTextEditor_MovingCursor_isValidTextPosition, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_line), meth_KTextEditor_MovingCursor_line, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_move), meth_KTextEditor_MovingCursor_move, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_range), meth_KTextEditor_MovingCursor_range, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setColumn), meth_KTextEditor_MovingCursor_setColumn, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setInsertBehavior), meth_KTextEditor_MovingCursor_setInsertBehavior, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLine), meth_KTextEditor_MovingCursor_setLine, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPosition), meth_KTextEditor_MovingCursor_setPosition, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toCursor), meth_KTextEditor_MovingCursor_toCursor, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KTextEditor_MovingCursor[] = {
    {sipName_MoveOnInsert, static_cast<int>(KTextEditor::MovingCursor::MoveOnInsert), 46},
    {sipName_NoWrap, static_cast<int>(KTextEditor::MovingCursor::NoWrap), 47},
    {sipName_StayOnInsert, static_cast<int>(KTextEditor::MovingCursor::StayOnInsert), 46},
    {sipName_Wrap, static_cast<int>(KTextEditor::MovingCursor::Wrap), 47},
};


pyqt4ClassTypeDef sipTypeDef_ktexteditor_KTextEditor_MovingCursor = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_KTextEditor__MovingCursor,
        {0}
    },
    {
        sipNameNr_MovingCursor,
        {1, 255, 0},
        19, methods_KTextEditor_MovingCursor,
        4, enummembers_KTextEditor_MovingCursor,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KTextEditor_MovingCursor,
    0,
    0,
    0,
    release_KTextEditor_MovingCursor,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/ktexteditor/modificationinterface.sip"
#include <ktexteditor/modificationinterface.h>
#line 3054 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart3.cpp"

#line 30 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/ktexteditor/document.sip"
#include <ktexteditor/document.h>

#include <ktexteditor/modificationinterface.h>
#include <ktexteditor/markinterface.h>
#include <ktexteditor/searchinterface.h>
#include <ktexteditor/sessionconfiginterface.h>
#include <ktexteditor/smartinterface.h>
#include <ktexteditor/templateinterface.h>
#include <ktexteditor/variableinterface.h>
#include <ktexteditor/movinginterface.h>
#include <ktexteditor/annotationinterface.h>
#include <ktexteditor/highlightinterface.h>
#include <ktexteditor/configinterface.h>
#include <ktexteditor/modeinterface.h>
#include <ktexteditor/sessionconfiginterface.h>
#include <ktexteditor/recoveryinterface.h>

#line 3074 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart3.cpp"
#line 30 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/ktexteditor/view.sip"
#include <ktexteditor/view.h>

#include <ktexteditor/codecompletioninterface.h>
#include <ktexteditor/sessionconfiginterface.h>
#include <ktexteditor/texthintinterface.h>
#include <ktexteditor/annotationinterface.h>
#include <ktexteditor/configinterface.h>
#include <ktexteditor/templateinterface.h>
#include <ktexteditor/templateinterface2.h>
#line 3085 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart3.cpp"


class sipKTextEditor_ModificationInterface : public KTextEditor::ModificationInterface
{
public:
    sipKTextEditor_ModificationInterface();
    sipKTextEditor_ModificationInterface(const KTextEditor::ModificationInterface&);
    virtual ~sipKTextEditor_ModificationInterface();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void modifiedOnDisk(KTextEditor::Document*,bool,KTextEditor::ModificationInterface::ModifiedOnDiskReason);
    void slotModifiedOnDisk(KTextEditor::View*);
    void setModifiedOnDiskWarning(bool);
    void setModifiedOnDisk(KTextEditor::ModificationInterface::ModifiedOnDiskReason);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[4];
};

sipKTextEditor_ModificationInterface::sipKTextEditor_ModificationInterface(): KTextEditor::ModificationInterface(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKTextEditor_ModificationInterface::sipKTextEditor_ModificationInterface(const KTextEditor::ModificationInterface& a0): KTextEditor::ModificationInterface(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

void sipKTextEditor_ModificationInterface::modifiedOnDisk(KTextEditor::Document*a0,bool a1,KTextEditor::ModificationInterface::ModifiedOnDiskReason a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_ModificationInterface,sipName_modifiedOnDisk);

    if (!sipMeth)
        return;

    extern void sipVH_ktexteditor_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KTextEditor::Document*,bool,KTextEditor::ModificationInterface::ModifiedOnDiskReason);

    sipVH_ktexteditor_45(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKTextEditor_ModificationInterface::slotModifiedOnDisk(KTextEditor::View*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,sipName_ModificationInterface,sipName_slotModifiedOnDisk);

    if (!sipMeth)
        return;

    extern void sipVH_ktexteditor_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KTextEditor::View*);

    sipVH_ktexteditor_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextEditor_ModificationInterface::setModifiedOnDiskWarning(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,sipName_ModificationInterface,sipName_setModifiedOnDiskWarning);

    if (!sipMeth)
        return;

    typedef void (*sipVH_QtNetwork_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtNetwork_1)(sipModuleAPI_ktexteditor_QtNetwork->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextEditor_ModificationInterface::setModifiedOnDisk(KTextEditor::ModificationInterface::ModifiedOnDiskReason a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,sipName_ModificationInterface,sipName_setModifiedOnDisk);

    if (!sipMeth)
        return;

    extern void sipVH_ktexteditor_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KTextEditor::ModificationInterface::ModifiedOnDiskReason);

    sipVH_ktexteditor_46(sipGILState, 0, sipPySelf, sipMeth, a0);
}


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

    {
        KTextEditor::ModificationInterface::ModifiedOnDiskReason a0;
        KTextEditor::ModificationInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KTextEditor_ModificationInterface, &sipCpp, sipType_KTextEditor_ModificationInterface_ModifiedOnDiskReason, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_ModificationInterface, sipName_setModifiedOnDisk);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setModifiedOnDisk(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        KTextEditor::ModificationInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KTextEditor_ModificationInterface, &sipCpp, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_ModificationInterface, sipName_setModifiedOnDiskWarning);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setModifiedOnDiskWarning(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KTextEditor::View* a0 = 0;
        KTextEditor::ModificationInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J8", &sipSelf, sipType_KTextEditor_ModificationInterface, &sipCpp, sipType_KTextEditor_View, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_ModificationInterface, sipName_slotModifiedOnDisk);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotModifiedOnDisk(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KTextEditor::Document* a0;
        bool a1;
        KTextEditor::ModificationInterface::ModifiedOnDiskReason a2;
        KTextEditor::ModificationInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8bE", &sipSelf, sipType_KTextEditor_ModificationInterface, &sipCpp, sipType_KTextEditor_Document, &a0, &a1, sipType_KTextEditor_ModificationInterface_ModifiedOnDiskReason, &a2))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_ModificationInterface, sipName_modifiedOnDisk);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->modifiedOnDisk(a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKTextEditor_ModificationInterface *>(sipCppV);
    else
        delete reinterpret_cast<KTextEditor::ModificationInterface *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKTextEditor_ModificationInterface();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const KTextEditor::ModificationInterface* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_KTextEditor_ModificationInterface, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKTextEditor_ModificationInterface(*a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KTextEditor_ModificationInterface[] = {
    {SIP_MLNAME_CAST(sipName_modifiedOnDisk), meth_KTextEditor_ModificationInterface_modifiedOnDisk, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setModifiedOnDisk), meth_KTextEditor_ModificationInterface_setModifiedOnDisk, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setModifiedOnDiskWarning), meth_KTextEditor_ModificationInterface_setModifiedOnDiskWarning, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotModifiedOnDisk), meth_KTextEditor_ModificationInterface_slotModifiedOnDisk, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KTextEditor_ModificationInterface[] = {
    {sipName_OnDiskCreated, static_cast<int>(KTextEditor::ModificationInterface::OnDiskCreated), 44},
    {sipName_OnDiskDeleted, static_cast<int>(KTextEditor::ModificationInterface::OnDiskDeleted), 44},
    {sipName_OnDiskModified, static_cast<int>(KTextEditor::ModificationInterface::OnDiskModified), 44},
    {sipName_OnDiskUnmodified, static_cast<int>(KTextEditor::ModificationInterface::OnDiskUnmodified), 44},
};


pyqt4ClassTypeDef sipTypeDef_ktexteditor_KTextEditor_ModificationInterface = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_KTextEditor__ModificationInterface,
        {0}
    },
    {
        sipNameNr_ModificationInterface,
        {1, 255, 0},
        4, methods_KTextEditor_ModificationInterface,
        4, enummembers_KTextEditor_ModificationInterface,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KTextEditor_ModificationInterface,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KTextEditor_ModificationInterface,
    0,
    0,
    0,
    release_KTextEditor_ModificationInterface,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/ktexteditor/modeinterface.sip"
#include <ktexteditor/modeinterface.h>
#line 3464 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart3.cpp"

#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 3468 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart3.cpp"
#line 30 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/ktexteditor/cursor.sip"
#include <ktexteditor/cursor.h>
#line 3471 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 3474 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart3.cpp"


class sipKTextEditor_ModeInterface : public KTextEditor::ModeInterface
{
public:
    sipKTextEditor_ModeInterface();
    sipKTextEditor_ModeInterface(const KTextEditor::ModeInterface&);
    virtual ~sipKTextEditor_ModeInterface();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QString modeAt(const KTextEditor::Cursor&);
    QStringList allPossibleModes() const;

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[2];
};

sipKTextEditor_ModeInterface::sipKTextEditor_ModeInterface(): KTextEditor::ModeInterface(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKTextEditor_ModeInterface::sipKTextEditor_ModeInterface(const KTextEditor::ModeInterface& a0): KTextEditor::ModeInterface(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

QString sipKTextEditor_ModeInterface::modeAt(const KTextEditor::Cursor& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_ModeInterface,sipName_modeAt);

    if (!sipMeth)
        return QString();

    extern QString sipVH_ktexteditor_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KTextEditor::Cursor&);

    return sipVH_ktexteditor_47(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QStringList sipKTextEditor_ModeInterface::allPossibleModes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,sipName_ModeInterface,sipName_allPossibleModes);

    if (!sipMeth)
        return QStringList();

    typedef QStringList (*sipVH_QtCore_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_27)(sipModuleAPI_ktexteditor_QtCore->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}


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

    {
        const KTextEditor::ModeInterface *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_ModeInterface, sipName_allPossibleModes);
                return NULL;
            }

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

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

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

    return NULL;
}


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

    {
        const KTextEditor::Cursor* a0;
        KTextEditor::ModeInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KTextEditor_ModeInterface, &sipCpp, sipType_KTextEditor_Cursor, &a0))
        {
            QString*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_ModeInterface, sipName_modeAt);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->modeAt(*a0));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKTextEditor_ModeInterface *>(sipCppV);
    else
        delete reinterpret_cast<KTextEditor::ModeInterface *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKTextEditor_ModeInterface();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const KTextEditor::ModeInterface* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_KTextEditor_ModeInterface, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKTextEditor_ModeInterface(*a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KTextEditor_ModeInterface[] = {
    {SIP_MLNAME_CAST(sipName_allPossibleModes), meth_KTextEditor_ModeInterface_allPossibleModes, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_modeAt), meth_KTextEditor_ModeInterface_modeAt, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_ktexteditor_KTextEditor_ModeInterface = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_KTextEditor__ModeInterface,
        {0}
    },
    {
        sipNameNr_ModeInterface,
        {1, 255, 0},
        2, methods_KTextEditor_ModeInterface,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KTextEditor_ModeInterface,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KTextEditor_ModeInterface,
    0,
    0,
    0,
    release_KTextEditor_ModeInterface,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 138 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/ktexteditor/markinterface.sip"
#include <qhash.h>
#line 3743 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart3.cpp"

#line 30 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/ktexteditor/markinterface.sip"
#include <ktexteditor/markinterface.h>
#line 3747 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart3.cpp"


extern "C" {static void assign_QHash_1800_0101KTextEditor_Mark(void *, SIP_SSIZE_T, const void *);}
static void assign_QHash_1800_0101KTextEditor_Mark(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QHash<int,KTextEditor::Mark*> *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QHash<int,KTextEditor::Mark*> *>(sipSrc);
}


extern "C" {static void *array_QHash_1800_0101KTextEditor_Mark(SIP_SSIZE_T);}
static void *array_QHash_1800_0101KTextEditor_Mark(SIP_SSIZE_T sipNrElem)
{
    return new QHash<int,KTextEditor::Mark*>[sipNrElem];
}


extern "C" {static void *copy_QHash_1800_0101KTextEditor_Mark(const void *, SIP_SSIZE_T);}
static void *copy_QHash_1800_0101KTextEditor_Mark(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QHash<int,KTextEditor::Mark*>(reinterpret_cast<const QHash<int,KTextEditor::Mark*> *>(sipSrc)[sipSrcIdx]);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QHash_1800_0101KTextEditor_Mark(void *, int);}
static void release_QHash_1800_0101KTextEditor_Mark(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QHash<int,KTextEditor::Mark*> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QHash_1800_0101KTextEditor_Mark(PyObject *, void **, int *, PyObject *);}
static int convertTo_QHash_1800_0101KTextEditor_Mark(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QHash<int,KTextEditor::Mark*> **sipCppPtr = reinterpret_cast<QHash<int,KTextEditor::Mark*> **>(sipCppPtrV);

#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/ktexteditor/markinterface.sip"
    PyObject *t1obj, *t2obj;
    SIP_SSIZE_T i = 0;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PyDict_Check(sipPy))
            return 0;

        while (PyDict_Next(sipPy, &i, &t1obj, &t2obj))
        {
#if PY_MAJOR_VERSION >= 3
            if (!PyNumber_Check (t1obj))
#else
            if (!PyInt_Check (t1obj))
#endif
                return 0;

            if (!sipCanConvertToInstance(t2obj, sipClass_KTextEditor_Mark, SIP_NOT_NONE))
                return 0;
        } 

        return 1;
    }

    QHash<int, KTextEditor::Mark*> *qm = new QHash<int, KTextEditor::Mark*>;
 
    while (PyDict_Next(sipPy, &i, &t1obj, &t2obj))
    {
        int state2;

#if PY_MAJOR_VERSION >= 3
        int t1 = PyLong_AsLong (t1obj);
#else
        int t1 = PyInt_AS_LONG (t1obj);
#endif
        KTextEditor::Mark *t2 = reinterpret_cast<KTextEditor::Mark *>(sipConvertToInstance(t2obj, sipClass_KTextEditor_Mark, sipTransferObj, SIP_NOT_NONE, &state2, sipIsErr));
 
        if (*sipIsErr)
        {
            sipReleaseInstance(t2, sipClass_KTextEditor_Mark, state2);

            delete qm;
            return 0;
        }

        qm->insert(t1, t2);

        sipReleaseInstance(t2, sipClass_KTextEditor_Mark, state2);
    }
 
    *sipCppPtr = qm;
 
    return sipGetState(sipTransferObj);
#line 3842 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart3.cpp"
}


extern "C" {static PyObject *convertFrom_QHash_1800_0101KTextEditor_Mark(void *, PyObject *);}
static PyObject *convertFrom_QHash_1800_0101KTextEditor_Mark(void *sipCppV, PyObject *sipTransferObj)
{
   QHash<int,KTextEditor::Mark*> *sipCpp = reinterpret_cast<QHash<int,KTextEditor::Mark*> *>(sipCppV);

#line 142 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/ktexteditor/markinterface.sip"
    // Create the dictionary.
    PyObject *d = PyDict_New();

    if (!d)
        return NULL;

    // Set the dictionary elements.
    QHash<int, KTextEditor::Mark*>::const_iterator i = sipCpp->constBegin();

    while (i != sipCpp->constEnd())
    {
        int t1 = i.key();
        KTextEditor::Mark *t2 = i.value();

#if PY_MAJOR_VERSION >= 3
        PyObject *t1obj = PyLong_FromLong ((long)t1);
#else
        PyObject *t1obj = PyInt_FromLong ((long)t1);
#endif
        PyObject *t2obj = sipConvertFromNewInstance(t2, sipClass_KTextEditor_Mark, sipTransferObj);

        if (t2obj == NULL || PyDict_SetItem(d, t1obj, t2obj) < 0)
        {
            Py_DECREF(d);

            if (t1obj)
                Py_DECREF(t1obj);

            if (t2obj)
                Py_DECREF(t2obj);
            else
                delete t2;

            return NULL;
        }

        Py_DECREF(t1obj);
        Py_DECREF(t2obj);

        ++i;
    }

    return d;
#line 3895 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart3.cpp"
}


sipMappedTypeDef sipTypeDef_ktexteditor_QHash_1800_0101KTextEditor_Mark = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_2248,
        {0}
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QHash_1800_0101KTextEditor_Mark,
    array_QHash_1800_0101KTextEditor_Mark,
    copy_QHash_1800_0101KTextEditor_Mark,
    release_QHash_1800_0101KTextEditor_Mark,
    convertTo_QHash_1800_0101KTextEditor_Mark,
    convertFrom_QHash_1800_0101KTextEditor_Mark
};

#line 45 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/ktexteditor/markinterface.sip"
#include <ktexteditor/markinterface.h>
#line 3926 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart3.cpp"

#line 30 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/ktexteditor/document.sip"
#include <ktexteditor/document.h>

#include <ktexteditor/modificationinterface.h>
#include <ktexteditor/markinterface.h>
#include <ktexteditor/searchinterface.h>
#include <ktexteditor/sessionconfiginterface.h>
#include <ktexteditor/smartinterface.h>
#include <ktexteditor/templateinterface.h>
#include <ktexteditor/variableinterface.h>
#include <ktexteditor/movinginterface.h>
#include <ktexteditor/annotationinterface.h>
#include <ktexteditor/highlightinterface.h>
#include <ktexteditor/configinterface.h>
#include <ktexteditor/modeinterface.h>
#include <ktexteditor/sessionconfiginterface.h>
#include <ktexteditor/recoveryinterface.h>

#line 3946 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart3.cpp"
#line 30 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/ktexteditor/markinterface.sip"
#include <ktexteditor/markinterface.h>
#line 3949 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 3952 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 3955 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart3.cpp"
#line 138 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/ktexteditor/markinterface.sip"
#include <qhash.h>
#line 3958 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart3.cpp"


class sipKTextEditor_MarkInterface : public KTextEditor::MarkInterface
{
public:
    sipKTextEditor_MarkInterface();
    sipKTextEditor_MarkInterface(const KTextEditor::MarkInterface&);
    virtual ~sipKTextEditor_MarkInterface();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void markChanged(KTextEditor::Document*,KTextEditor::Mark,KTextEditor::MarkInterface::MarkChangeAction);
    uint editableMarks() const;
    void setEditableMarks(uint);
    QString markDescription(KTextEditor::MarkInterface::MarkTypes) const;
    void setMarkDescription(KTextEditor::MarkInterface::MarkTypes,const QString&);
    QPixmap markPixmap(KTextEditor::MarkInterface::MarkTypes) const;
    void setMarkPixmap(KTextEditor::MarkInterface::MarkTypes,const QPixmap&);
    void marksChanged(KTextEditor::Document*);
    void clearMarks();
    const QHash<int,KTextEditor::Mark*>& marks();
    void removeMark(int,uint);
    void addMark(int,uint);
    void clearMark(int);
    void setMark(int,uint);
    uint mark(int);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[15];
};

sipKTextEditor_MarkInterface::sipKTextEditor_MarkInterface(): KTextEditor::MarkInterface(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKTextEditor_MarkInterface::sipKTextEditor_MarkInterface(const KTextEditor::MarkInterface& a0): KTextEditor::MarkInterface(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

void sipKTextEditor_MarkInterface::markChanged(KTextEditor::Document*a0,KTextEditor::Mark a1,KTextEditor::MarkInterface::MarkChangeAction a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_MarkInterface,sipName_markChanged);

    if (!sipMeth)
        return;

    extern void sipVH_ktexteditor_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KTextEditor::Document*,KTextEditor::Mark,KTextEditor::MarkInterface::MarkChangeAction);

    sipVH_ktexteditor_48(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

uint sipKTextEditor_MarkInterface::editableMarks() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,sipName_MarkInterface,sipName_editableMarks);

    if (!sipMeth)
        return 0;

    extern uint sipVH_ktexteditor_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_ktexteditor_49(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKTextEditor_MarkInterface::setEditableMarks(uint a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,sipName_MarkInterface,sipName_setEditableMarks);

    if (!sipMeth)
        return;

    extern void sipVH_ktexteditor_50(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, uint);

    sipVH_ktexteditor_50(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QString sipKTextEditor_MarkInterface::markDescription(KTextEditor::MarkInterface::MarkTypes a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,sipName_MarkInterface,sipName_markDescription);

    if (!sipMeth)
        return QString();

    extern QString sipVH_ktexteditor_51(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KTextEditor::MarkInterface::MarkTypes);

    return sipVH_ktexteditor_51(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextEditor_MarkInterface::setMarkDescription(KTextEditor::MarkInterface::MarkTypes a0,const QString& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,sipName_MarkInterface,sipName_setMarkDescription);

    if (!sipMeth)
        return;

    extern void sipVH_ktexteditor_52(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KTextEditor::MarkInterface::MarkTypes,const QString&);

    sipVH_ktexteditor_52(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

QPixmap sipKTextEditor_MarkInterface::markPixmap(KTextEditor::MarkInterface::MarkTypes a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,sipName_MarkInterface,sipName_markPixmap);

    if (!sipMeth)
        return QPixmap();

    extern QPixmap sipVH_ktexteditor_53(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KTextEditor::MarkInterface::MarkTypes);

    return sipVH_ktexteditor_53(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextEditor_MarkInterface::setMarkPixmap(KTextEditor::MarkInterface::MarkTypes a0,const QPixmap& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,sipName_MarkInterface,sipName_setMarkPixmap);

    if (!sipMeth)
        return;

    extern void sipVH_ktexteditor_54(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KTextEditor::MarkInterface::MarkTypes,const QPixmap&);

    sipVH_ktexteditor_54(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKTextEditor_MarkInterface::marksChanged(KTextEditor::Document*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,sipName_MarkInterface,sipName_marksChanged);

    if (!sipMeth)
        return;

    extern void sipVH_ktexteditor_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KTextEditor::Document*);

    sipVH_ktexteditor_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextEditor_MarkInterface::clearMarks()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,sipName_MarkInterface,sipName_clearMarks);

    if (!sipMeth)
        return;

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_ktexteditor_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

const QHash<int,KTextEditor::Mark*>& sipKTextEditor_MarkInterface::marks()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,sipName_MarkInterface,sipName_marks);

    if (!sipMeth)
        return *new QHash<int,KTextEditor::Mark*>();

    extern const QHash<int,KTextEditor::Mark*>& sipVH_ktexteditor_55(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_ktexteditor_55(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKTextEditor_MarkInterface::removeMark(int a0,uint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,sipName_MarkInterface,sipName_removeMark);

    if (!sipMeth)
        return;

    extern void sipVH_ktexteditor_56(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,uint);

    sipVH_ktexteditor_56(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKTextEditor_MarkInterface::addMark(int a0,uint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,sipName_MarkInterface,sipName_addMark);

    if (!sipMeth)
        return;

    extern void sipVH_ktexteditor_56(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,uint);

    sipVH_ktexteditor_56(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKTextEditor_MarkInterface::clearMark(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,sipName_MarkInterface,sipName_clearMark);

    if (!sipMeth)
        return;

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_ktexteditor_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextEditor_MarkInterface::setMark(int a0,uint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,sipName_MarkInterface,sipName_setMark);

    if (!sipMeth)
        return;

    extern void sipVH_ktexteditor_56(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,uint);

    sipVH_ktexteditor_56(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

uint sipKTextEditor_MarkInterface::mark(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,sipName_MarkInterface,sipName_mark);

    if (!sipMeth)
        return 0;

    extern uint sipVH_ktexteditor_57(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_ktexteditor_57(sipGILState, 0, sipPySelf, sipMeth, a0);
}


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

    {
        int a0;
        KTextEditor::MarkInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KTextEditor_MarkInterface, &sipCpp, &a0))
        {
            uint sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MarkInterface, sipName_mark);
                return NULL;
            }

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

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        uint a1;
        KTextEditor::MarkInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Biu", &sipSelf, sipType_KTextEditor_MarkInterface, &sipCpp, &a0, &a1))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MarkInterface, sipName_setMark);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMark(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        KTextEditor::MarkInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KTextEditor_MarkInterface, &sipCpp, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MarkInterface, sipName_clearMark);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->clearMark(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        uint a1;
        KTextEditor::MarkInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Biu", &sipSelf, sipType_KTextEditor_MarkInterface, &sipCpp, &a0, &a1))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MarkInterface, sipName_addMark);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->addMark(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        uint a1;
        KTextEditor::MarkInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Biu", &sipSelf, sipType_KTextEditor_MarkInterface, &sipCpp, &a0, &a1))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MarkInterface, sipName_removeMark);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeMark(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KTextEditor::MarkInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTextEditor_MarkInterface, &sipCpp))
        {
            QHash<int,KTextEditor::Mark*>*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MarkInterface, sipName_marks);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QHash<int,KTextEditor::Mark*>(sipCpp->marks());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KTextEditor::MarkInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTextEditor_MarkInterface, &sipCpp))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MarkInterface, sipName_clearMarks);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->clearMarks();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KTextEditor::MarkInterface::reservedMarkersCount();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KTextEditor::Document* a0;
        KTextEditor::MarkInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTextEditor_MarkInterface, &sipCpp, sipType_KTextEditor_Document, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MarkInterface, sipName_marksChanged);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->marksChanged(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KTextEditor::MarkInterface::MarkTypes a0;
        const QPixmap* a1;
        KTextEditor::MarkInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ9", &sipSelf, sipType_KTextEditor_MarkInterface, &sipCpp, sipType_KTextEditor_MarkInterface_MarkTypes, &a0, sipType_QPixmap, &a1))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MarkInterface, sipName_setMarkPixmap);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMarkPixmap(a0,*a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KTextEditor::MarkInterface::MarkTypes a0;
        const KTextEditor::MarkInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KTextEditor_MarkInterface, &sipCpp, sipType_KTextEditor_MarkInterface_MarkTypes, &a0))
        {
            QPixmap*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MarkInterface, sipName_markPixmap);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPixmap(sipCpp->markPixmap(a0));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KTextEditor::MarkInterface::MarkTypes a0;
        const QString* a1;
        int a1State = 0;
        KTextEditor::MarkInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ1", &sipSelf, sipType_KTextEditor_MarkInterface, &sipCpp, sipType_KTextEditor_MarkInterface_MarkTypes, &a0, sipType_QString,&a1, &a1State))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MarkInterface, sipName_setMarkDescription);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMarkDescription(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KTextEditor::MarkInterface::MarkTypes a0;
        const KTextEditor::MarkInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KTextEditor_MarkInterface, &sipCpp, sipType_KTextEditor_MarkInterface_MarkTypes, &a0))
        {
            QString*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MarkInterface, sipName_markDescription);
                return NULL;
            }

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

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

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

    return NULL;
}


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

    {
        uint a0;
        KTextEditor::MarkInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bu", &sipSelf, sipType_KTextEditor_MarkInterface, &sipCpp, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MarkInterface, sipName_setEditableMarks);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setEditableMarks(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KTextEditor::MarkInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTextEditor_MarkInterface, &sipCpp))
        {
            uint sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MarkInterface, sipName_editableMarks);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->editableMarks();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KTextEditor::Document* a0;
        KTextEditor::Mark* a1;
        KTextEditor::MarkInterface::MarkChangeAction a2;
        KTextEditor::MarkInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9E", &sipSelf, sipType_KTextEditor_MarkInterface, &sipCpp, sipType_KTextEditor_Document, &a0, sipType_KTextEditor_Mark, &a1, sipType_KTextEditor_MarkInterface_MarkChangeAction, &a2))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MarkInterface, sipName_markChanged);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->markChanged(a0,*a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKTextEditor_MarkInterface *>(sipCppV);
    else
        delete reinterpret_cast<KTextEditor::MarkInterface *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKTextEditor_MarkInterface();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const KTextEditor::MarkInterface* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_KTextEditor_MarkInterface, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKTextEditor_MarkInterface(*a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KTextEditor_MarkInterface[] = {
    {SIP_MLNAME_CAST(sipName_addMark), meth_KTextEditor_MarkInterface_addMark, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clearMark), meth_KTextEditor_MarkInterface_clearMark, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clearMarks), meth_KTextEditor_MarkInterface_clearMarks, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_editableMarks), meth_KTextEditor_MarkInterface_editableMarks, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mark), meth_KTextEditor_MarkInterface_mark, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_markChanged), meth_KTextEditor_MarkInterface_markChanged, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_markDescription), meth_KTextEditor_MarkInterface_markDescription, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_markPixmap), meth_KTextEditor_MarkInterface_markPixmap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_marks), meth_KTextEditor_MarkInterface_marks, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_marksChanged), meth_KTextEditor_MarkInterface_marksChanged, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeMark), meth_KTextEditor_MarkInterface_removeMark, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_reservedMarkersCount), meth_KTextEditor_MarkInterface_reservedMarkersCount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setEditableMarks), meth_KTextEditor_MarkInterface_setEditableMarks, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMark), meth_KTextEditor_MarkInterface_setMark, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMarkDescription), meth_KTextEditor_MarkInterface_setMarkDescription, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMarkPixmap), meth_KTextEditor_MarkInterface_setMarkPixmap, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KTextEditor_MarkInterface[] = {
    {sipName_Bookmark, static_cast<int>(KTextEditor::MarkInterface::Bookmark), 40},
    {sipName_BreakpointActive, static_cast<int>(KTextEditor::MarkInterface::BreakpointActive), 40},
    {sipName_BreakpointDisabled, static_cast<int>(KTextEditor::MarkInterface::BreakpointDisabled), 40},
    {sipName_BreakpointReached, static_cast<int>(KTextEditor::MarkInterface::BreakpointReached), 40},
    {sipName_Error, static_cast<int>(KTextEditor::MarkInterface::Error), 40},
    {sipName_Execution, static_cast<int>(KTextEditor::MarkInterface::Execution), 40},
    {sipName_MarkAdded, static_cast<int>(KTextEditor::MarkInterface::MarkAdded), 39},
    {sipName_MarkRemoved, static_cast<int>(KTextEditor::MarkInterface::MarkRemoved), 39},
    {sipName_Warning, static_cast<int>(KTextEditor::MarkInterface::Warning), 40},
    {sipName_markType01, static_cast<int>(KTextEditor::MarkInterface::markType01), 40},
    {sipName_markType02, static_cast<int>(KTextEditor::MarkInterface::markType02), 40},
    {sipName_markType03, static_cast<int>(KTextEditor::MarkInterface::markType03), 40},
    {sipName_markType04, static_cast<int>(KTextEditor::MarkInterface::markType04), 40},
    {sipName_markType05, static_cast<int>(KTextEditor::MarkInterface::markType05), 40},
    {sipName_markType06, static_cast<int>(KTextEditor::MarkInterface::markType06), 40},
    {sipName_markType07, static_cast<int>(KTextEditor::MarkInterface::markType07), 40},
    {sipName_markType08, static_cast<int>(KTextEditor::MarkInterface::markType08), 40},
    {sipName_markType09, static_cast<int>(KTextEditor::MarkInterface::markType09), 40},
    {sipName_markType10, static_cast<int>(KTextEditor::MarkInterface::markType10), 40},
    {sipName_markType11, static_cast<int>(KTextEditor::MarkInterface::markType11), 40},
    {sipName_markType12, static_cast<int>(KTextEditor::MarkInterface::markType12), 40},
    {sipName_markType13, static_cast<int>(KTextEditor::MarkInterface::markType13), 40},
    {sipName_markType14, static_cast<int>(KTextEditor::MarkInterface::markType14), 40},
    {sipName_markType15, static_cast<int>(KTextEditor::MarkInterface::markType15), 40},
    {sipName_markType16, static_cast<int>(KTextEditor::MarkInterface::markType16), 40},
    {sipName_markType17, static_cast<int>(KTextEditor::MarkInterface::markType17), 40},
    {sipName_markType18, static_cast<int>(KTextEditor::MarkInterface::markType18), 40},
    {sipName_markType19, static_cast<int>(KTextEditor::MarkInterface::markType19), 40},
    {sipName_markType20, static_cast<int>(KTextEditor::MarkInterface::markType20), 40},
    {sipName_markType21, static_cast<int>(KTextEditor::MarkInterface::markType21), 40},
    {sipName_markType22, static_cast<int>(KTextEditor::MarkInterface::markType22), 40},
    {sipName_markType23, static_cast<int>(KTextEditor::MarkInterface::markType23), 40},
    {sipName_markType24, static_cast<int>(KTextEditor::MarkInterface::markType24), 40},
    {sipName_markType25, static_cast<int>(KTextEditor::MarkInterface::markType25), 40},
    {sipName_markType26, static_cast<int>(KTextEditor::MarkInterface::markType26), 40},
    {sipName_markType27, static_cast<int>(KTextEditor::MarkInterface::markType27), 40},
    {sipName_markType28, static_cast<int>(KTextEditor::MarkInterface::markType28), 40},
    {sipName_markType29, static_cast<int>(KTextEditor::MarkInterface::markType29), 40},
    {sipName_markType30, static_cast<int>(KTextEditor::MarkInterface::markType30), 40},
    {sipName_markType31, static_cast<int>(KTextEditor::MarkInterface::markType31), 40},
    {sipName_markType32, static_cast<int>(KTextEditor::MarkInterface::markType32), 40},
};


pyqt4ClassTypeDef sipTypeDef_ktexteditor_KTextEditor_MarkInterface = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_KTextEditor__MarkInterface,
        {0}
    },
    {
        sipNameNr_MarkInterface,
        {1, 255, 0},
        16, methods_KTextEditor_MarkInterface,
        41, enummembers_KTextEditor_MarkInterface,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KTextEditor_MarkInterface,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KTextEditor_MarkInterface,
    0,
    0,
    0,
    release_KTextEditor_MarkInterface,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};
