/*
 * Module code.
 *
 * Generated by SIP 4.12.4 on Fri Dec 30 00:39:49 2011
 *
 * 
 *  This file is part of PyKDE4.
 * 
 *  PyKDE4 is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU Lesser General Public License as
 *  published by the Free Software Foundation; either version 2.1 of
 *  the License, or (at your option) any later version.
 * 
 *  PyKDE4 is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 * 
 *  You should have received a copy of the GNU General Public License
 *  along with this program.  If not, see <http:www.gnu.org/licenses/>.
 * 
 */

#include "sipAPIktexteditor.h"

#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 29 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"

#line 30 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/view.sip"
#include <ktexteditor/view.h>

#include <ktexteditor/codecompletioninterface.h>
#include <ktexteditor/sessionconfiginterface.h>
#include <ktexteditor/texthintinterface.h>
#line 37 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"


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


extern "C" {static void *array_QList_0101KTextEditor_View(SIP_SSIZE_T);}
static void *array_QList_0101KTextEditor_View(SIP_SSIZE_T sipNrElem)
{
    return new QList<KTextEditor::View *>[sipNrElem];
}


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


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



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

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

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

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

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<KTextEditor::View *> *ql = new QList<KTextEditor::View *>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        KTextEditor::View *t = reinterpret_cast<KTextEditor::View *>(sipConvertToType(itm, sipType_KTextEditor_View, sipTransferObj, 0, 0, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            delete ql;
            return 0;
        }

        ql->append(t);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 122 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0101KTextEditor_View(void *, PyObject *);}
static PyObject *convertFrom_QList_0101KTextEditor_View(void *sipCppV,PyObject *sipTransferObj)
{
   QList<KTextEditor::View *> *sipCpp = reinterpret_cast<QList<KTextEditor::View *> *>(sipCppV);

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

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

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

        // The explicit (void *) cast allows KTextEditor::View to be const.
        if ((tobj = sipConvertFromType((void *)t, sipType_KTextEditor_View, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 155 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
}


sipMappedTypeDef sipTypeDef_ktexteditor_QList_0101KTextEditor_View = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_2086,
        {0}
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0101KTextEditor_View,
    array_QList_0101KTextEditor_View,
    copy_QList_0101KTextEditor_View,
    release_QList_0101KTextEditor_View,
    convertTo_QList_0101KTextEditor_View,
    convertFrom_QList_0101KTextEditor_View
};

#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 186 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"

#line 30 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/commandinterface.sip"
#include <ktexteditor/commandinterface.h>
#line 190 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"


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


extern "C" {static void *array_QList_0101KTextEditor_Command(SIP_SSIZE_T);}
static void *array_QList_0101KTextEditor_Command(SIP_SSIZE_T sipNrElem)
{
    return new QList<KTextEditor::Command *>[sipNrElem];
}


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


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



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

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

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

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

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<KTextEditor::Command *> *ql = new QList<KTextEditor::Command *>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        KTextEditor::Command *t = reinterpret_cast<KTextEditor::Command *>(sipConvertToType(itm, sipType_KTextEditor_Command, sipTransferObj, 0, 0, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            delete ql;
            return 0;
        }

        ql->append(t);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 275 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0101KTextEditor_Command(void *, PyObject *);}
static PyObject *convertFrom_QList_0101KTextEditor_Command(void *sipCppV,PyObject *sipTransferObj)
{
   QList<KTextEditor::Command *> *sipCpp = reinterpret_cast<QList<KTextEditor::Command *> *>(sipCppV);

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

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

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

        // The explicit (void *) cast allows KTextEditor::Command to be const.
        if ((tobj = sipConvertFromType((void *)t, sipType_KTextEditor_Command, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 308 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
}


sipMappedTypeDef sipTypeDef_ktexteditor_QList_0101KTextEditor_Command = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_1719,
        {0}
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0101KTextEditor_Command,
    array_QList_0101KTextEditor_Command,
    copy_QList_0101KTextEditor_Command,
    release_QList_0101KTextEditor_Command,
    convertTo_QList_0101KTextEditor_Command,
    convertFrom_QList_0101KTextEditor_Command
};

#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 339 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 343 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"


extern "C" {static void assign_QList_0101KAction(void *, SIP_SSIZE_T, const void *);}
static void assign_QList_0101KAction(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QList<KAction *> *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QList<KAction *> *>(sipSrc);
}


extern "C" {static void *array_QList_0101KAction(SIP_SSIZE_T);}
static void *array_QList_0101KAction(SIP_SSIZE_T sipNrElem)
{
    return new QList<KAction *>[sipNrElem];
}


extern "C" {static void *copy_QList_0101KAction(const void *, SIP_SSIZE_T);}
static void *copy_QList_0101KAction(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QList<KAction *>(reinterpret_cast<const QList<KAction *> *>(sipSrc)[sipSrcIdx]);
}


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



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

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

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

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

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<KAction *> *ql = new QList<KAction *>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        KAction *t = reinterpret_cast<KAction *>(sipConvertToType(itm, sipType_KAction, sipTransferObj, 0, 0, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            delete ql;
            return 0;
        }

        ql->append(t);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 428 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
}


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

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

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

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

        // The explicit (void *) cast allows KAction to be const.
        if ((tobj = sipConvertFromType((void *)t, sipType_KAction, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 461 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
}


sipMappedTypeDef sipTypeDef_ktexteditor_QList_0101KAction = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_5723,
        {0}
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0101KAction,
    array_QList_0101KAction,
    copy_QList_0101KAction,
    release_QList_0101KAction,
    convertTo_QList_0101KAction,
    convertFrom_QList_0101KAction
};

#line 340 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 492 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"

#line 30 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/attribute.sip"
#include <ktexteditor/attribute.h>
#line 496 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"


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


extern "C" {static void *array_KSharedPtr_0100KTextEditor_Attribute(SIP_SSIZE_T);}
static void *array_KSharedPtr_0100KTextEditor_Attribute(SIP_SSIZE_T sipNrElem)
{
    return new KSharedPtr<KTextEditor::Attribute>[sipNrElem];
}


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


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



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

#line 357 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/typedefs.sip"
    // Convert a Python instance to a Ptr on the heap.
    if (sipIsErr == NULL) {
        return 1;
    }
    
    int iserr = 0;
    KTextEditor::Attribute *cpp = (KTextEditor::Attribute *)sipForceConvertToType(sipPy, sipType_KTextEditor_Attribute, NULL, 0, NULL, &iserr);

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

    *sipCppPtr = new KSharedPtr<KTextEditor::Attribute> (cpp);

    return 1;
#line 554 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
}


extern "C" {static PyObject *convertFrom_KSharedPtr_0100KTextEditor_Attribute(void *, PyObject *);}
static PyObject *convertFrom_KSharedPtr_0100KTextEditor_Attribute(void *sipCppV,PyObject *sipTransferObj)
{
   KSharedPtr<KTextEditor::Attribute> *sipCpp = reinterpret_cast<KSharedPtr<KTextEditor::Attribute> *>(sipCppV);

#line 344 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/typedefs.sip"
    // Convert to a Python instance

    if (!sipCpp)
        return NULL;

    KSharedPtr<KTextEditor::Attribute> *cPtr = new KSharedPtr<KTextEditor::Attribute> (*(KSharedPtr<KTextEditor::Attribute> *)sipCpp);
    KTextEditor::Attribute *cpp = cPtr->data ();
    PyObject *obj = sipConvertFromType(cpp, sipType_KTextEditor_Attribute, sipTransferObj);

    return obj;
#line 574 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
}


sipMappedTypeDef sipTypeDef_ktexteditor_KSharedPtr_0100KTextEditor_Attribute = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_924,
        {0}
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_KSharedPtr_0100KTextEditor_Attribute,
    array_KSharedPtr_0100KTextEditor_Attribute,
    copy_KSharedPtr_0100KTextEditor_Attribute,
    release_KSharedPtr_0100KTextEditor_Attribute,
    convertTo_KSharedPtr_0100KTextEditor_Attribute,
    convertFrom_KSharedPtr_0100KTextEditor_Attribute
};

#line 30 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/view.sip"
#include <ktexteditor/view.h>

#include <ktexteditor/codecompletioninterface.h>
#include <ktexteditor/sessionconfiginterface.h>
#include <ktexteditor/texthintinterface.h>
#line 609 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"

#line 35 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 613 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 30 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/texthintinterface.sip"
#include <ktexteditor/texthintinterface.h>
#line 616 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 30 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sessionconfiginterface.sip"
#include <ktexteditor/sessionconfiginterface.h>
#line 619 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 30 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/codecompletioninterface.sip"
#include <ktexteditor/codecompletioninterface.h>
#line 622 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 625 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 30 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/range.sip"
#include <ktexteditor/range.h>
#line 628 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 30 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/cursor.sip"
#include <ktexteditor/cursor.h>
#line 631 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 634 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 31 "/usr/local/share/py-sip/QtGui/qmenu.sip"
#include <qmenu.h>
#line 637 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 30 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.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>
#line 648 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 651 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 39 "/usr/local/share/py-sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 654 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 657 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 660 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 39 "/usr/local/share/py-sip/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 663 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 33 "/usr/local/share/py-sip/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 666 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 669 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 31 "/usr/local/share/py-sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 672 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 675 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 678 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 681 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 684 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 687 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 690 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 31 "/usr/local/share/py-sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 693 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 31 "/usr/local/share/py-sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 696 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 699 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 702 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 705 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 708 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 499 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 711 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 714 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 459 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 717 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 448 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 720 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 542 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 723 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 593 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 726 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 566 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 729 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 582 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 732 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 645 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 735 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 291 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 738 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 470 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 741 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 426 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 744 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 413 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 747 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 400 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 750 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 386 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 753 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 367 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 756 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 339 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 759 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 270 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 762 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 231 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 765 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 31 "/usr/local/share/py-sip/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 768 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 61 "/usr/local/share/py-sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 771 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 36 "/usr/local/share/py-sip/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 774 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 777 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 31 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 780 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 31 "/usr/local/share/py-sip/QtGui/qlayout.sip"
#include <qlayout.h>
#line 783 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 786 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 789 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 792 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 795 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 798 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 801 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 804 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 807 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 810 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 813 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 816 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 819 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 822 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 825 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 828 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdeui/kxmlguiclient.sip"
#include <kxmlguiclient.h>
#line 831 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 206 "/usr/local/share/py-sip/QtXml/qdom.sip"
#include <qdom.h>
#line 834 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kcomponentdata.sip"
#include <kcomponentdata.h>
#line 837 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdeui/kxmlguiclient.sip"
#include <kxmlguiclient.h>
#line 840 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 843 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdeui/kxmlguibuilder.sip"
#include <kxmlguibuilder.h>
#line 846 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 849 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdeui/kxmlguifactory.sip"
#include <kxmlguifactory.h>
#line 852 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdeui/kactioncollection.sip"
#include <kactioncollection.h>
#line 855 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 325 "/usr/local/share/py-sip/QtXml/qdom.sip"
#include <qdom.h>
#line 858 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"


class sipKTextEditor_View : public KTextEditor::View
{
public:
    sipKTextEditor_View(QWidget *);
    virtual ~sipKTextEditor_View();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtectVirt_setComponentData(bool,const KComponentData&);
    void sipProtectVirt_setXMLFile(bool,const QString&,bool,bool);
    void sipProtectVirt_setLocalXMLFile(bool,const QString&);
    void sipProtectVirt_setXML(bool,const QString&,bool);
    void sipProtectVirt_setDOMDocument(bool,const QDomDocument&,bool);
    void sipProtectVirt_stateChanged(bool,const QString&,KXMLGUIClient::ReverseStateChange);
    void sipProtect_loadStandardsXmlFile();
    QObject * sipProtect_sender() const;
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    bool sipProtectVirt_event(bool,QEvent *);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent *);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent *);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent *);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent *);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent *);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent *);
    void sipProtectVirt_enterEvent(bool,QEvent *);
    void sipProtectVirt_leaveEvent(bool,QEvent *);
    void sipProtectVirt_paintEvent(bool,QPaintEvent *);
    void sipProtectVirt_moveEvent(bool,QMoveEvent *);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent *);
    void sipProtectVirt_closeEvent(bool,QCloseEvent *);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent *);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent *);
    void sipProtectVirt_actionEvent(bool,QActionEvent *);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent *);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent *);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent *);
    void sipProtectVirt_dropEvent(bool,QDropEvent *);
    void sipProtectVirt_showEvent(bool,QShowEvent *);
    void sipProtectVirt_hideEvent(bool,QHideEvent *);
    void sipProtectVirt_changeEvent(bool,QEvent *);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent *);
    void sipProtect_resetInputContext();
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    void sipProtectVirt_enabledChange(bool,bool);
    void sipProtectVirt_paletteChange(bool,const QPalette&);
    void sipProtectVirt_fontChange(bool,const QFont&);
    void sipProtectVirt_windowActivationChange(bool,bool);
    void sipProtectVirt_languageChange(bool);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    KTextEditor::Document * document() const;
    QString viewMode() const;
    KTextEditor::View::EditMode viewEditMode() const;
    void setContextMenu(QMenu *);
    QMenu * contextMenu() const;
    QMenu * defaultContextMenu(QMenu *) const;
    bool setCursorPosition(KTextEditor::Cursor);
    KTextEditor::Cursor cursorPosition() const;
    KTextEditor::Cursor cursorPositionVirtual() const;
    QPoint cursorToCoordinate(const KTextEditor::Cursor&) const;
    QPoint cursorPositionCoordinates() const;
    bool mouseTrackingEnabled() const;
    bool setMouseTrackingEnabled(bool);
    bool setSelection(const KTextEditor::Range&);
    bool setSelection(const KTextEditor::Cursor&,int,bool);
    bool selection() const;
    const KTextEditor::Range& selectionRange() const;
    QString selectionText() const;
    bool removeSelection();
    bool removeSelectionText();
    bool setBlockSelection(bool);
    bool blockSelection() const;
    bool insertText(const QString&);
    int devType() const;
    void setVisible(bool);
    QSize sizeHint() const;
    QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    QPaintEngine * paintEngine() const;
    bool event(QEvent *);
    void mousePressEvent(QMouseEvent *);
    void mouseReleaseEvent(QMouseEvent *);
    void mouseDoubleClickEvent(QMouseEvent *);
    void mouseMoveEvent(QMouseEvent *);
    void wheelEvent(QWheelEvent *);
    void keyPressEvent(QKeyEvent *);
    void keyReleaseEvent(QKeyEvent *);
    void focusInEvent(QFocusEvent *);
    void focusOutEvent(QFocusEvent *);
    void enterEvent(QEvent *);
    void leaveEvent(QEvent *);
    void paintEvent(QPaintEvent *);
    void moveEvent(QMoveEvent *);
    void resizeEvent(QResizeEvent *);
    void closeEvent(QCloseEvent *);
    void contextMenuEvent(QContextMenuEvent *);
    void tabletEvent(QTabletEvent *);
    void actionEvent(QActionEvent *);
    void dragEnterEvent(QDragEnterEvent *);
    void dragMoveEvent(QDragMoveEvent *);
    void dragLeaveEvent(QDragLeaveEvent *);
    void dropEvent(QDropEvent *);
    void showEvent(QShowEvent *);
    void hideEvent(QHideEvent *);
    void changeEvent(QEvent *);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void inputMethodEvent(QInputMethodEvent *);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    void enabledChange(bool);
    void paletteChange(const QPalette&);
    void fontChange(const QFont&);
    void windowActivationChange(bool);
    void languageChange();
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);
    QAction * action(const QDomElement&) const;
    KActionCollection * actionCollection() const;
    KComponentData componentData() const;
    QDomDocument domDocument() const;
    QString xmlFile() const;
    QString localXMLFile() const;
    void setComponentData(const KComponentData&);
    void setXMLFile(const QString&,bool,bool);
    void setLocalXMLFile(const QString&);
    void setXML(const QString&,bool);
    void setDOMDocument(const QDomDocument&,bool);
    void stateChanged(const QString&,KXMLGUIClient::ReverseStateChange);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[82];
};

sipKTextEditor_View::sipKTextEditor_View(QWidget *a0): KTextEditor::View(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKTextEditor_View::metaObject() const
{
    return sip_ktexteditor_qt_metaobject(sipPySelf,sipType_KTextEditor_View);
}

int sipKTextEditor_View::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KTextEditor::View::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_ktexteditor_qt_metacall(sipPySelf,sipType_KTextEditor_View,_c,_id,_a);

    return _id;
}

void *sipKTextEditor_View::qt_metacast(const char *_clname)
{
    return (sip_ktexteditor_qt_metacast && sip_ktexteditor_qt_metacast(sipPySelf,sipType_KTextEditor_View,_clname)) ? this : KTextEditor::View::qt_metacast(_clname);
}

KTextEditor::Document * sipKTextEditor_View::document() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,sipName_View,sipName_document);

    if (!sipMeth)
        return 0;

    extern KTextEditor::Document * sipVH_ktexteditor_9(sip_gilstate_t,PyObject *);

    return sipVH_ktexteditor_9(sipGILState,sipMeth);
}

QString sipKTextEditor_View::viewMode() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QString();

    typedef QString (*sipVH_QtCore_62)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_62)(sipModuleAPI_ktexteditor_QtCore->em_virthandlers[62]))(sipGILState,sipMeth);
}

KTextEditor::View::EditMode sipKTextEditor_View::viewEditMode() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,sipName_View,sipName_viewEditMode);

    if (!sipMeth)
        return (KTextEditor::View::EditMode)0;

    extern KTextEditor::View::EditMode sipVH_ktexteditor_8(sip_gilstate_t,PyObject *);

    return sipVH_ktexteditor_8(sipGILState,sipMeth);
}

void sipKTextEditor_View::setContextMenu(QMenu *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,sipName_View,sipName_setContextMenu);

    if (!sipMeth)
        return;

    extern void sipVH_ktexteditor_7(sip_gilstate_t,PyObject *,QMenu *);

    sipVH_ktexteditor_7(sipGILState,sipMeth,a0);
}

QMenu * sipKTextEditor_View::contextMenu() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,sipName_View,sipName_contextMenu);

    if (!sipMeth)
        return 0;

    typedef QMenu * (*sipVH_QtGui_147)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtGui_147)(sipModuleAPI_ktexteditor_QtGui->em_virthandlers[147]))(sipGILState,sipMeth);
}

QMenu * sipKTextEditor_View::defaultContextMenu(QMenu *a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return 0;

    extern QMenu * sipVH_ktexteditor_6(sip_gilstate_t,PyObject *,QMenu *);

    return sipVH_ktexteditor_6(sipGILState,sipMeth,a0);
}

bool sipKTextEditor_View::setCursorPosition(KTextEditor::Cursor a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,sipName_View,sipName_setCursorPosition);

    if (!sipMeth)
        return 0;

    extern bool sipVH_ktexteditor_5(sip_gilstate_t,PyObject *,KTextEditor::Cursor);

    return sipVH_ktexteditor_5(sipGILState,sipMeth,a0);
}

KTextEditor::Cursor sipKTextEditor_View::cursorPosition() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,sipName_View,sipName_cursorPosition);

    if (!sipMeth)
        return KTextEditor::Cursor();

    extern KTextEditor::Cursor sipVH_ktexteditor_4(sip_gilstate_t,PyObject *);

    return sipVH_ktexteditor_4(sipGILState,sipMeth);
}

KTextEditor::Cursor sipKTextEditor_View::cursorPositionVirtual() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,sipName_View,sipName_cursorPositionVirtual);

    if (!sipMeth)
        return KTextEditor::Cursor();

    extern KTextEditor::Cursor sipVH_ktexteditor_4(sip_gilstate_t,PyObject *);

    return sipVH_ktexteditor_4(sipGILState,sipMeth);
}

QPoint sipKTextEditor_View::cursorToCoordinate(const KTextEditor::Cursor& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,sipName_View,sipName_cursorToCoordinate);

    if (!sipMeth)
        return QPoint();

    extern QPoint sipVH_ktexteditor_3(sip_gilstate_t,PyObject *,const KTextEditor::Cursor&);

    return sipVH_ktexteditor_3(sipGILState,sipMeth,a0);
}

QPoint sipKTextEditor_View::cursorPositionCoordinates() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,sipName_View,sipName_cursorPositionCoordinates);

    if (!sipMeth)
        return QPoint();

    typedef QPoint (*sipVH_kdeui_82)(sip_gilstate_t,PyObject *);

    return ((sipVH_kdeui_82)(sipModuleAPI_ktexteditor_kdeui->em_virthandlers[82]))(sipGILState,sipMeth);
}

bool sipKTextEditor_View::mouseTrackingEnabled() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,sipName_View,sipName_mouseTrackingEnabled);

    if (!sipMeth)
        return 0;

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_ktexteditor_QtCore->em_virthandlers[7]))(sipGILState,sipMeth);
}

bool sipKTextEditor_View::setMouseTrackingEnabled(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,sipName_View,sipName_setMouseTrackingEnabled);

    if (!sipMeth)
        return 0;

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t,PyObject *,bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_ktexteditor_QtGui->em_virthandlers[11]))(sipGILState,sipMeth,a0);
}

bool sipKTextEditor_View::setSelection(const KTextEditor::Range& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,sipName_View,sipName_setSelection);

    if (!sipMeth)
        return 0;

    extern bool sipVH_ktexteditor_2(sip_gilstate_t,PyObject *,const KTextEditor::Range&);

    return sipVH_ktexteditor_2(sipGILState,sipMeth,a0);
}

bool sipKTextEditor_View::setSelection(const KTextEditor::Cursor& a0,int a1,bool a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_setSelection);

    if (!sipMeth)
        return KTextEditor::View::setSelection(a0,a1,a2);

    extern bool sipVH_ktexteditor_1(sip_gilstate_t,PyObject *,const KTextEditor::Cursor&,int,bool);

    return sipVH_ktexteditor_1(sipGILState,sipMeth,a0,a1,a2);
}

bool sipKTextEditor_View::selection() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,sipName_View,sipName_selection);

    if (!sipMeth)
        return 0;

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_ktexteditor_QtCore->em_virthandlers[7]))(sipGILState,sipMeth);
}

const KTextEditor::Range& sipKTextEditor_View::selectionRange() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,sipName_View,sipName_selectionRange);

    if (!sipMeth)
        return *new KTextEditor::Range();

    extern const KTextEditor::Range& sipVH_ktexteditor_0(sip_gilstate_t,PyObject *);

    return sipVH_ktexteditor_0(sipGILState,sipMeth);
}

QString sipKTextEditor_View::selectionText() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,sipName_View,sipName_selectionText);

    if (!sipMeth)
        return QString();

    typedef QString (*sipVH_QtCore_62)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_62)(sipModuleAPI_ktexteditor_QtCore->em_virthandlers[62]))(sipGILState,sipMeth);
}

bool sipKTextEditor_View::removeSelection()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,sipName_View,sipName_removeSelection);

    if (!sipMeth)
        return 0;

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_ktexteditor_QtCore->em_virthandlers[7]))(sipGILState,sipMeth);
}

bool sipKTextEditor_View::removeSelectionText()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,sipName_View,sipName_removeSelectionText);

    if (!sipMeth)
        return 0;

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_ktexteditor_QtCore->em_virthandlers[7]))(sipGILState,sipMeth);
}

bool sipKTextEditor_View::setBlockSelection(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,sipName_View,sipName_setBlockSelection);

    if (!sipMeth)
        return 0;

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t,PyObject *,bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_ktexteditor_QtGui->em_virthandlers[11]))(sipGILState,sipMeth,a0);
}

bool sipKTextEditor_View::blockSelection() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,sipName_View,sipName_blockSelection);

    if (!sipMeth)
        return 0;

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_ktexteditor_QtCore->em_virthandlers[7]))(sipGILState,sipMeth);
}

bool sipKTextEditor_View::insertText(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_insertText);

    if (!sipMeth)
        return KTextEditor::View::insertText(a0);

    typedef bool (*sipVH_QtCore_28)(sip_gilstate_t,PyObject *,const QString&);

    return ((sipVH_QtCore_28)(sipModuleAPI_ktexteditor_QtCore->em_virthandlers[28]))(sipGILState,sipMeth,a0);
}

int sipKTextEditor_View::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QWidget::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_ktexteditor_QtCore->em_virthandlers[6]))(sipGILState,sipMeth);
}

void sipKTextEditor_View::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QWidget::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t,PyObject *,bool);

    ((sipVH_QtGui_6)(sipModuleAPI_ktexteditor_QtGui->em_virthandlers[6]))(sipGILState,sipMeth,a0);
}

QSize sipKTextEditor_View::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QWidget::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_ktexteditor_QtGui->em_virthandlers[4]))(sipGILState,sipMeth);
}

QSize sipKTextEditor_View::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QWidget::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_ktexteditor_QtGui->em_virthandlers[4]))(sipGILState,sipMeth);
}

int sipKTextEditor_View::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QWidget::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t,PyObject *,int);

    return ((sipVH_QtGui_28)(sipModuleAPI_ktexteditor_QtGui->em_virthandlers[28]))(sipGILState,sipMeth,a0);
}

QPaintEngine * sipKTextEditor_View::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QWidget::paintEngine();

    typedef QPaintEngine * (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_ktexteditor_QtGui->em_virthandlers[27]))(sipGILState,sipMeth);
}

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

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

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

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

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

void sipKTextEditor_View::mousePressEvent(QMouseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QWidget::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QMouseEvent *);

    ((sipVH_QtGui_26)(sipModuleAPI_ktexteditor_QtGui->em_virthandlers[26]))(sipGILState,sipMeth,a0);
}

void sipKTextEditor_View::mouseReleaseEvent(QMouseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QWidget::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QMouseEvent *);

    ((sipVH_QtGui_26)(sipModuleAPI_ktexteditor_QtGui->em_virthandlers[26]))(sipGILState,sipMeth,a0);
}

void sipKTextEditor_View::mouseDoubleClickEvent(QMouseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QWidget::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QMouseEvent *);

    ((sipVH_QtGui_26)(sipModuleAPI_ktexteditor_QtGui->em_virthandlers[26]))(sipGILState,sipMeth,a0);
}

void sipKTextEditor_View::mouseMoveEvent(QMouseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QWidget::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QMouseEvent *);

    ((sipVH_QtGui_26)(sipModuleAPI_ktexteditor_QtGui->em_virthandlers[26]))(sipGILState,sipMeth,a0);
}

void sipKTextEditor_View::wheelEvent(QWheelEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QWidget::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t,PyObject *,QWheelEvent *);

    ((sipVH_QtGui_5)(sipModuleAPI_ktexteditor_QtGui->em_virthandlers[5]))(sipGILState,sipMeth,a0);
}

void sipKTextEditor_View::keyPressEvent(QKeyEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QWidget::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QKeyEvent *);

    ((sipVH_QtGui_25)(sipModuleAPI_ktexteditor_QtGui->em_virthandlers[25]))(sipGILState,sipMeth,a0);
}

void sipKTextEditor_View::keyReleaseEvent(QKeyEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QWidget::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QKeyEvent *);

    ((sipVH_QtGui_25)(sipModuleAPI_ktexteditor_QtGui->em_virthandlers[25]))(sipGILState,sipMeth,a0);
}

void sipKTextEditor_View::focusInEvent(QFocusEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QWidget::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t,PyObject *,QFocusEvent *);

    ((sipVH_QtGui_24)(sipModuleAPI_ktexteditor_QtGui->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

void sipKTextEditor_View::focusOutEvent(QFocusEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QWidget::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t,PyObject *,QFocusEvent *);

    ((sipVH_QtGui_24)(sipModuleAPI_ktexteditor_QtGui->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

void sipKTextEditor_View::enterEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QWidget::enterEvent(a0);
        return;
    }

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

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

void sipKTextEditor_View::leaveEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QWidget::leaveEvent(a0);
        return;
    }

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

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

void sipKTextEditor_View::paintEvent(QPaintEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QWidget::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t,PyObject *,QPaintEvent *);

    ((sipVH_QtGui_3)(sipModuleAPI_ktexteditor_QtGui->em_virthandlers[3]))(sipGILState,sipMeth,a0);
}

void sipKTextEditor_View::moveEvent(QMoveEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QWidget::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t,PyObject *,QMoveEvent *);

    ((sipVH_QtGui_23)(sipModuleAPI_ktexteditor_QtGui->em_virthandlers[23]))(sipGILState,sipMeth,a0);
}

void sipKTextEditor_View::resizeEvent(QResizeEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QWidget::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t,PyObject *,QResizeEvent *);

    ((sipVH_QtGui_2)(sipModuleAPI_ktexteditor_QtGui->em_virthandlers[2]))(sipGILState,sipMeth,a0);
}

void sipKTextEditor_View::closeEvent(QCloseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QWidget::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t,PyObject *,QCloseEvent *);

    ((sipVH_QtGui_22)(sipModuleAPI_ktexteditor_QtGui->em_virthandlers[22]))(sipGILState,sipMeth,a0);
}

void sipKTextEditor_View::contextMenuEvent(QContextMenuEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QWidget::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t,PyObject *,QContextMenuEvent *);

    ((sipVH_QtGui_21)(sipModuleAPI_ktexteditor_QtGui->em_virthandlers[21]))(sipGILState,sipMeth,a0);
}

void sipKTextEditor_View::tabletEvent(QTabletEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QWidget::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t,PyObject *,QTabletEvent *);

    ((sipVH_QtGui_20)(sipModuleAPI_ktexteditor_QtGui->em_virthandlers[20]))(sipGILState,sipMeth,a0);
}

void sipKTextEditor_View::actionEvent(QActionEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QWidget::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t,PyObject *,QActionEvent *);

    ((sipVH_QtGui_19)(sipModuleAPI_ktexteditor_QtGui->em_virthandlers[19]))(sipGILState,sipMeth,a0);
}

void sipKTextEditor_View::dragEnterEvent(QDragEnterEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QWidget::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t,PyObject *,QDragEnterEvent *);

    ((sipVH_QtGui_18)(sipModuleAPI_ktexteditor_QtGui->em_virthandlers[18]))(sipGILState,sipMeth,a0);
}

void sipKTextEditor_View::dragMoveEvent(QDragMoveEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QWidget::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t,PyObject *,QDragMoveEvent *);

    ((sipVH_QtGui_17)(sipModuleAPI_ktexteditor_QtGui->em_virthandlers[17]))(sipGILState,sipMeth,a0);
}

void sipKTextEditor_View::dragLeaveEvent(QDragLeaveEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QWidget::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t,PyObject *,QDragLeaveEvent *);

    ((sipVH_QtGui_16)(sipModuleAPI_ktexteditor_QtGui->em_virthandlers[16]))(sipGILState,sipMeth,a0);
}

void sipKTextEditor_View::dropEvent(QDropEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QWidget::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t,PyObject *,QDropEvent *);

    ((sipVH_QtGui_15)(sipModuleAPI_ktexteditor_QtGui->em_virthandlers[15]))(sipGILState,sipMeth,a0);
}

void sipKTextEditor_View::showEvent(QShowEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QWidget::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t,PyObject *,QShowEvent *);

    ((sipVH_QtGui_1)(sipModuleAPI_ktexteditor_QtGui->em_virthandlers[1]))(sipGILState,sipMeth,a0);
}

void sipKTextEditor_View::hideEvent(QHideEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QWidget::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t,PyObject *,QHideEvent *);

    ((sipVH_QtGui_0)(sipModuleAPI_ktexteditor_QtGui->em_virthandlers[0]))(sipGILState,sipMeth,a0);
}

void sipKTextEditor_View::changeEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QWidget::changeEvent(a0);
        return;
    }

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

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

int sipKTextEditor_View::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[55]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QWidget::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t,PyObject *,QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_ktexteditor_QtGui->em_virthandlers[14]))(sipGILState,sipMeth,a0);
}

void sipKTextEditor_View::inputMethodEvent(QInputMethodEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QWidget::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t,PyObject *,QInputMethodEvent *);

    ((sipVH_QtGui_13)(sipModuleAPI_ktexteditor_QtGui->em_virthandlers[13]))(sipGILState,sipMeth,a0);
}

QVariant sipKTextEditor_View::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[57]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QWidget::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t,PyObject *,Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_ktexteditor_QtGui->em_virthandlers[12]))(sipGILState,sipMeth,a0);
}

bool sipKTextEditor_View::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QWidget::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t,PyObject *,bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_ktexteditor_QtGui->em_virthandlers[11]))(sipGILState,sipMeth,a0);
}

void sipKTextEditor_View::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[59],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        QWidget::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t,PyObject *,bool);

    ((sipVH_QtGui_6)(sipModuleAPI_ktexteditor_QtGui->em_virthandlers[6]))(sipGILState,sipMeth,a0);
}

void sipKTextEditor_View::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[60],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        QWidget::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t,PyObject *,const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_ktexteditor_QtGui->em_virthandlers[10]))(sipGILState,sipMeth,a0);
}

void sipKTextEditor_View::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[61],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        QWidget::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t,PyObject *,const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_ktexteditor_QtGui->em_virthandlers[9]))(sipGILState,sipMeth,a0);
}

void sipKTextEditor_View::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[62],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        QWidget::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t,PyObject *,bool);

    ((sipVH_QtGui_6)(sipModuleAPI_ktexteditor_QtGui->em_virthandlers[6]))(sipGILState,sipMeth,a0);
}

void sipKTextEditor_View::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[63],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        QWidget::languageChange();
        return;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

QAction * sipKTextEditor_View::action(const QDomElement& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[70]),sipPySelf,NULL,sipName_action);

    if (!sipMeth)
        return KXMLGUIClient::action(a0);

    typedef QAction * (*sipVH_kdeui_20)(sip_gilstate_t,PyObject *,const QDomElement&);

    return ((sipVH_kdeui_20)(sipModuleAPI_ktexteditor_kdeui->em_virthandlers[20]))(sipGILState,sipMeth,a0);
}

KActionCollection * sipKTextEditor_View::actionCollection() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[71]),sipPySelf,NULL,sipName_actionCollection);

    if (!sipMeth)
        return KXMLGUIClient::actionCollection();

    typedef KActionCollection * (*sipVH_kdeui_19)(sip_gilstate_t,PyObject *);

    return ((sipVH_kdeui_19)(sipModuleAPI_ktexteditor_kdeui->em_virthandlers[19]))(sipGILState,sipMeth);
}

KComponentData sipKTextEditor_View::componentData() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[72]),sipPySelf,NULL,sipName_componentData);

    if (!sipMeth)
        return KXMLGUIClient::componentData();

    typedef KComponentData (*sipVH_kdeui_18)(sip_gilstate_t,PyObject *);

    return ((sipVH_kdeui_18)(sipModuleAPI_ktexteditor_kdeui->em_virthandlers[18]))(sipGILState,sipMeth);
}

QDomDocument sipKTextEditor_View::domDocument() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[73]),sipPySelf,NULL,sipName_domDocument);

    if (!sipMeth)
        return KXMLGUIClient::domDocument();

    typedef QDomDocument (*sipVH_kdeui_17)(sip_gilstate_t,PyObject *);

    return ((sipVH_kdeui_17)(sipModuleAPI_ktexteditor_kdeui->em_virthandlers[17]))(sipGILState,sipMeth);
}

QString sipKTextEditor_View::xmlFile() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[74]),sipPySelf,NULL,sipName_xmlFile);

    if (!sipMeth)
        return KXMLGUIClient::xmlFile();

    typedef QString (*sipVH_QtCore_62)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_62)(sipModuleAPI_ktexteditor_QtCore->em_virthandlers[62]))(sipGILState,sipMeth);
}

QString sipKTextEditor_View::localXMLFile() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[75]),sipPySelf,NULL,sipName_localXMLFile);

    if (!sipMeth)
        return KXMLGUIClient::localXMLFile();

    typedef QString (*sipVH_QtCore_62)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_62)(sipModuleAPI_ktexteditor_QtCore->em_virthandlers[62]))(sipGILState,sipMeth);
}

void sipKTextEditor_View::setComponentData(const KComponentData& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[76],sipPySelf,NULL,sipName_setComponentData);

    if (!sipMeth)
    {
        KXMLGUIClient::setComponentData(a0);
        return;
    }

    typedef void (*sipVH_kdeui_16)(sip_gilstate_t,PyObject *,const KComponentData&);

    ((sipVH_kdeui_16)(sipModuleAPI_ktexteditor_kdeui->em_virthandlers[16]))(sipGILState,sipMeth,a0);
}

void sipKTextEditor_View::setXMLFile(const QString& a0,bool a1,bool a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[77],sipPySelf,NULL,sipName_setXMLFile);

    if (!sipMeth)
    {
        KXMLGUIClient::setXMLFile(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_kdeui_15)(sip_gilstate_t,PyObject *,const QString&,bool,bool);

    ((sipVH_kdeui_15)(sipModuleAPI_ktexteditor_kdeui->em_virthandlers[15]))(sipGILState,sipMeth,a0,a1,a2);
}

void sipKTextEditor_View::setLocalXMLFile(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[78],sipPySelf,NULL,sipName_setLocalXMLFile);

    if (!sipMeth)
    {
        KXMLGUIClient::setLocalXMLFile(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t,PyObject *,const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_ktexteditor_QtCore->em_virthandlers[33]))(sipGILState,sipMeth,a0);
}

void sipKTextEditor_View::setXML(const QString& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[79],sipPySelf,NULL,sipName_setXML);

    if (!sipMeth)
    {
        KXMLGUIClient::setXML(a0,a1);
        return;
    }

    typedef void (*sipVH_QtXml_24)(sip_gilstate_t,PyObject *,const QString&,bool);

    ((sipVH_QtXml_24)(sipModuleAPI_ktexteditor_QtXml->em_virthandlers[24]))(sipGILState,sipMeth,a0,a1);
}

void sipKTextEditor_View::setDOMDocument(const QDomDocument& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[80],sipPySelf,NULL,sipName_setDOMDocument);

    if (!sipMeth)
    {
        KXMLGUIClient::setDOMDocument(a0,a1);
        return;
    }

    typedef void (*sipVH_kdeui_14)(sip_gilstate_t,PyObject *,const QDomDocument&,bool);

    ((sipVH_kdeui_14)(sipModuleAPI_ktexteditor_kdeui->em_virthandlers[14]))(sipGILState,sipMeth,a0,a1);
}

void sipKTextEditor_View::stateChanged(const QString& a0,KXMLGUIClient::ReverseStateChange a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[81],sipPySelf,NULL,sipName_stateChanged);

    if (!sipMeth)
    {
        KXMLGUIClient::stateChanged(a0,a1);
        return;
    }

    typedef void (*sipVH_kdeui_13)(sip_gilstate_t,PyObject *,const QString&,KXMLGUIClient::ReverseStateChange);

    ((sipVH_kdeui_13)(sipModuleAPI_ktexteditor_kdeui->em_virthandlers[13]))(sipGILState,sipMeth,a0,a1);
}

void sipKTextEditor_View::sipProtectVirt_setComponentData(bool sipSelfWasArg,const KComponentData& a0)
{
    (sipSelfWasArg ? KXMLGUIClient::setComponentData(a0) : setComponentData(a0));
}

void sipKTextEditor_View::sipProtectVirt_setXMLFile(bool sipSelfWasArg,const QString& a0,bool a1,bool a2)
{
    (sipSelfWasArg ? KXMLGUIClient::setXMLFile(a0,a1,a2) : setXMLFile(a0,a1,a2));
}

void sipKTextEditor_View::sipProtectVirt_setLocalXMLFile(bool sipSelfWasArg,const QString& a0)
{
    (sipSelfWasArg ? KXMLGUIClient::setLocalXMLFile(a0) : setLocalXMLFile(a0));
}

void sipKTextEditor_View::sipProtectVirt_setXML(bool sipSelfWasArg,const QString& a0,bool a1)
{
    (sipSelfWasArg ? KXMLGUIClient::setXML(a0,a1) : setXML(a0,a1));
}

void sipKTextEditor_View::sipProtectVirt_setDOMDocument(bool sipSelfWasArg,const QDomDocument& a0,bool a1)
{
    (sipSelfWasArg ? KXMLGUIClient::setDOMDocument(a0,a1) : setDOMDocument(a0,a1));
}

void sipKTextEditor_View::sipProtectVirt_stateChanged(bool sipSelfWasArg,const QString& a0,KXMLGUIClient::ReverseStateChange a1)
{
    (sipSelfWasArg ? KXMLGUIClient::stateChanged(a0,a1) : stateChanged(a0,a1));
}

void sipKTextEditor_View::sipProtect_loadStandardsXmlFile()
{
    KXMLGUIClient::loadStandardsXmlFile();
}

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

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

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

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

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

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

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

bool sipKTextEditor_View::sipProtectVirt_event(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QWidget::event(a0) : event(a0));
}

void sipKTextEditor_View::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipKTextEditor_View::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipKTextEditor_View::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipKTextEditor_View::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipKTextEditor_View::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent *a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipKTextEditor_View::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QWidget::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipKTextEditor_View::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipKTextEditor_View::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipKTextEditor_View::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipKTextEditor_View::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipKTextEditor_View::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipKTextEditor_View::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent *a0)
{
    (sipSelfWasArg ? QWidget::paintEvent(a0) : paintEvent(a0));
}

void sipKTextEditor_View::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent *a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipKTextEditor_View::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent *a0)
{
    (sipSelfWasArg ? QWidget::resizeEvent(a0) : resizeEvent(a0));
}

void sipKTextEditor_View::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent *a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipKTextEditor_View::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent *a0)
{
    (sipSelfWasArg ? QWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipKTextEditor_View::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent *a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipKTextEditor_View::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent *a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipKTextEditor_View::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipKTextEditor_View::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipKTextEditor_View::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipKTextEditor_View::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent *a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipKTextEditor_View::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent *a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

void sipKTextEditor_View::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent *a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

void sipKTextEditor_View::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QWidget::changeEvent(a0) : changeEvent(a0));
}

int sipKTextEditor_View::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipKTextEditor_View::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent *a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipKTextEditor_View::sipProtect_resetInputContext()
{
    QWidget::resetInputContext();
}

void sipKTextEditor_View::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipKTextEditor_View::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipKTextEditor_View::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipKTextEditor_View::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipKTextEditor_View::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipKTextEditor_View::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

void sipKTextEditor_View::sipProtectVirt_enabledChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::enabledChange(a0) : enabledChange(a0));
}

void sipKTextEditor_View::sipProtectVirt_paletteChange(bool sipSelfWasArg,const QPalette& a0)
{
    (sipSelfWasArg ? QWidget::paletteChange(a0) : paletteChange(a0));
}

void sipKTextEditor_View::sipProtectVirt_fontChange(bool sipSelfWasArg,const QFont& a0)
{
    (sipSelfWasArg ? QWidget::fontChange(a0) : fontChange(a0));
}

void sipKTextEditor_View::sipProtectVirt_windowActivationChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::windowActivationChange(a0) : windowActivationChange(a0));
}

void sipKTextEditor_View::sipProtectVirt_languageChange(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QWidget::languageChange() : languageChange());
}


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

    {
        const KComponentData * a0;
        sipKTextEditor_View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KTextEditor_View, &sipCpp, sipType_KComponentData, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_setComponentData(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        bool a1 = 0;
        bool a2 = 1;
        sipKTextEditor_View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|bb", &sipSelf, sipType_KTextEditor_View, &sipCpp, sipType_QString,&a0, &a0State, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_setXMLFile(sipSelfWasArg,*a0,a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        sipKTextEditor_View *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        bool a1 = 0;
        sipKTextEditor_View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|b", &sipSelf, sipType_KTextEditor_View, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_setXML(sipSelfWasArg,*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QDomDocument * a0;
        bool a1 = 0;
        sipKTextEditor_View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9|b", &sipSelf, sipType_KTextEditor_View, &sipCpp, sipType_QDomDocument, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_setDOMDocument(sipSelfWasArg,*a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        KXMLGUIClient::ReverseStateChange a1 = KXMLGUIClient::StateNoReverse;
        sipKTextEditor_View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|E", &sipSelf, sipType_KTextEditor_View, &sipCpp, sipType_QString,&a0, &a0State, sipType_KXMLGUIClient_ReverseStateChange, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_stateChanged(sipSelfWasArg,*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipKTextEditor_View *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipKTextEditor_View *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        char * a0;
        sipKTextEditor_View *sipCpp;

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

#line 649 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp, a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 2963 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipKTextEditor_View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTextEditor_View, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipKTextEditor_View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTextEditor_View, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKTextEditor_View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTextEditor_View, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKTextEditor_View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KTextEditor_View, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKTextEditor_View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KTextEditor_View, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKTextEditor_View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTextEditor_View, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipKTextEditor_View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTextEditor_View, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipKTextEditor_View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTextEditor_View, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipKTextEditor_View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTextEditor_View, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipKTextEditor_View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTextEditor_View, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QWheelEvent * a0;
        sipKTextEditor_View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTextEditor_View, &sipCpp, sipType_QWheelEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QKeyEvent * a0;
        sipKTextEditor_View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTextEditor_View, &sipCpp, sipType_QKeyEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QKeyEvent * a0;
        sipKTextEditor_View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTextEditor_View, &sipCpp, sipType_QKeyEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QFocusEvent * a0;
        sipKTextEditor_View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTextEditor_View, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QFocusEvent * a0;
        sipKTextEditor_View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTextEditor_View, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKTextEditor_View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTextEditor_View, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKTextEditor_View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTextEditor_View, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QPaintEvent * a0;
        sipKTextEditor_View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTextEditor_View, &sipCpp, sipType_QPaintEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QMoveEvent * a0;
        sipKTextEditor_View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTextEditor_View, &sipCpp, sipType_QMoveEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QResizeEvent * a0;
        sipKTextEditor_View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTextEditor_View, &sipCpp, sipType_QResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QCloseEvent * a0;
        sipKTextEditor_View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTextEditor_View, &sipCpp, sipType_QCloseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QContextMenuEvent * a0;
        sipKTextEditor_View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTextEditor_View, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QTabletEvent * a0;
        sipKTextEditor_View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTextEditor_View, &sipCpp, sipType_QTabletEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QActionEvent * a0;
        sipKTextEditor_View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTextEditor_View, &sipCpp, sipType_QActionEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QDragEnterEvent * a0;
        sipKTextEditor_View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTextEditor_View, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QDragMoveEvent * a0;
        sipKTextEditor_View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTextEditor_View, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QDragLeaveEvent * a0;
        sipKTextEditor_View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTextEditor_View, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QDropEvent * a0;
        sipKTextEditor_View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTextEditor_View, &sipCpp, sipType_QDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QShowEvent * a0;
        sipKTextEditor_View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTextEditor_View, &sipCpp, sipType_QShowEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QHideEvent * a0;
        sipKTextEditor_View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTextEditor_View, &sipCpp, sipType_QHideEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKTextEditor_View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTextEditor_View, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QPaintDevice::PaintDeviceMetric a0;
        sipKTextEditor_View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KTextEditor_View, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QInputMethodEvent * a0;
        sipKTextEditor_View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTextEditor_View, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipKTextEditor_View *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipKTextEditor_View *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        WId a0 = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipKTextEditor_View *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|mbb", &sipSelf, sipType_KTextEditor_View, &sipCpp, &a0, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_create(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_View, sipName_create, NULL);

    return NULL;
}


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

    {
        bool a0 = 1;
        bool a1 = 1;
        sipKTextEditor_View *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_KTextEditor_View, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_destroy(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_View, sipName_destroy, NULL);

    return NULL;
}


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

    {
        bool a0;
        sipKTextEditor_View *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipKTextEditor_View *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_focusNextChild();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipKTextEditor_View *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_focusPreviousChild();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        sipKTextEditor_View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KTextEditor_View, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_enabledChange(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QPalette * a0;
        sipKTextEditor_View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KTextEditor_View, &sipCpp, sipType_QPalette, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paletteChange(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QFont * a0;
        sipKTextEditor_View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KTextEditor_View, &sipCpp, sipType_QFont, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_fontChange(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        sipKTextEditor_View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KTextEditor_View, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_windowActivationChange(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipKTextEditor_View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTextEditor_View, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_languageChange(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KTextEditor::View *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_View, 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_View, sipName_document, NULL);

    return NULL;
}


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

    {
        KTextEditor::View *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isActiveView();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KTextEditor::View *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_View, sipName_viewMode);
                return NULL;
            }

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

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

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

    return NULL;
}


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

    {
        KTextEditor::View *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_View, sipName_viewEditMode);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->viewEditMode();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KTextEditor_View_EditMode);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTextEditor_View, &sipCpp, sipType_QMenu, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_View, sipName_setContextMenu);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setContextMenu(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_View, sipName_setContextMenu, NULL);

    return NULL;
}


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

    {
        KTextEditor::View *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_View, sipName_contextMenu);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->contextMenu();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J8", &sipSelf, sipType_KTextEditor_View, &sipCpp, sipType_QMenu, &a0))
        {
            QMenu *sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_View, sipName_defaultContextMenu);
                return NULL;
            }

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

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

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

    return NULL;
}


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

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

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_View, sipName_setCursorPosition);
                return NULL;
            }

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KTextEditor::View *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_View, sipName_cursorPosition);
                return NULL;
            }

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

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

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

    return NULL;
}


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

    {
        KTextEditor::View *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_View, sipName_cursorPositionVirtual);
                return NULL;
            }

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

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

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

    return NULL;
}


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

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

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_View, sipName_cursorToCoordinate);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPoint(sipCpp->cursorToCoordinate(*a0));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KTextEditor::View *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_View, sipName_cursorPositionCoordinates);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPoint(sipCpp->cursorPositionCoordinates());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KTextEditor::View *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_View, sipName_mouseTrackingEnabled);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->mouseTrackingEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        KTextEditor::View *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_View, sipName_setMouseTrackingEnabled);
                return NULL;
            }

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_View, sipName_setSelection);
                return NULL;
            }

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

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const KTextEditor::Cursor * a0;
        int a1;
        bool a2 = 1;
        KTextEditor::View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9i|b", &sipSelf, sipType_KTextEditor_View, &sipCpp, sipType_KTextEditor_Cursor, &a0, &a1, &a2))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KTextEditor::View::setSelection(*a0,a1,a2) : sipCpp->setSelection(*a0,a1,a2));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KTextEditor::View *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_View, sipName_selection);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->selection();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KTextEditor::View *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_View, sipName_selectionRange);
                return NULL;
            }

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

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

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

    return NULL;
}


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

    {
        KTextEditor::View *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_View, sipName_selectionText);
                return NULL;
            }

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

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

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

    return NULL;
}


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

    {
        KTextEditor::View *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_View, sipName_removeSelection);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->removeSelection();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KTextEditor::View *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_View, sipName_removeSelectionText);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->removeSelectionText();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        KTextEditor::View *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_View, sipName_setBlockSelection);
                return NULL;
            }

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KTextEditor::View *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_View, sipName_blockSelection);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->blockSelection();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        KTextEditor::View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KTextEditor_View, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KTextEditor::View::insertText(*a0) : sipCpp->insertText(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KTextEditor::View *sipCpp;

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

#line 113 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/view.sip"
    Py_BEGIN_ALLOW_THREADS
    sipRes = dynamic_cast<KTextEditor::CodeCompletionInterface*>(sipCpp);
    Py_END_ALLOW_THREADS
#line 5057 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"

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

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

    return NULL;
}


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

    {
        KTextEditor::View *sipCpp;

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

#line 120 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/view.sip"
    Py_BEGIN_ALLOW_THREADS
    sipRes = dynamic_cast<KTextEditor::SessionConfigInterface*>(sipCpp);
    Py_END_ALLOW_THREADS
#line 5086 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"

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

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

    return NULL;
}


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

    {
        KTextEditor::View *sipCpp;

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

#line 127 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/view.sip"
    Py_BEGIN_ALLOW_THREADS
    sipRes = dynamic_cast<KTextEditor::TextHintInterface*>(sipCpp);
    Py_END_ALLOW_THREADS
#line 5115 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"

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

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

    return NULL;
}


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

    if (targetType == sipType_KTextEditor_View)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QWidget)->ctd_cast((QWidget *)(KTextEditor::View *)ptr,targetType)) != NULL)
        return res;

    if ((res = ((const sipClassTypeDef *)sipType_KXMLGUIClient)->ctd_cast((KXMLGUIClient *)(KTextEditor::View *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        QWidget * a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKTextEditor_View(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KTextEditor_View[] = {{748, 2, 0}, {355, 7, 1}};


static PyMethodDef methods_KTextEditor_View[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), meth_KTextEditor_View_actionEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_blockSelection), meth_KTextEditor_View_blockSelection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_KTextEditor_View_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KTextEditor_View_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_KTextEditor_View_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_codeCompletionInterface), meth_KTextEditor_View_codeCompletionInterface, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KTextEditor_View_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenu), meth_KTextEditor_View_contextMenu, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_KTextEditor_View_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_KTextEditor_View_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_cursorPosition), meth_KTextEditor_View_cursorPosition, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_cursorPositionCoordinates), meth_KTextEditor_View_cursorPositionCoordinates, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_cursorPositionVirtual), meth_KTextEditor_View_cursorPositionVirtual, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_cursorToCoordinate), meth_KTextEditor_View_cursorToCoordinate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KTextEditor_View_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_defaultContextMenu), meth_KTextEditor_View_defaultContextMenu, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_KTextEditor_View_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KTextEditor_View_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_document), meth_KTextEditor_View_document, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_KTextEditor_View_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_KTextEditor_View_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_KTextEditor_View_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_KTextEditor_View_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enabledChange), meth_KTextEditor_View_enabledChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), meth_KTextEditor_View_enterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_KTextEditor_View_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_KTextEditor_View_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), meth_KTextEditor_View_focusNextChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), meth_KTextEditor_View_focusNextPrevChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_KTextEditor_View_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), meth_KTextEditor_View_focusPreviousChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fontChange), meth_KTextEditor_View_fontChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_KTextEditor_View_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), meth_KTextEditor_View_inputMethodEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_insertText), meth_KTextEditor_View_insertText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isActiveView), meth_KTextEditor_View_isActiveView, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_KTextEditor_View_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), meth_KTextEditor_View_keyReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_languageChange), meth_KTextEditor_View_languageChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), meth_KTextEditor_View_leaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_loadStandardsXmlFile), meth_KTextEditor_View_loadStandardsXmlFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), meth_KTextEditor_View_metric, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_KTextEditor_View_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_KTextEditor_View_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_KTextEditor_View_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_KTextEditor_View_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseTrackingEnabled), meth_KTextEditor_View_mouseTrackingEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), meth_KTextEditor_View_moveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_KTextEditor_View_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paletteChange), meth_KTextEditor_View_paletteChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KTextEditor_View_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeSelection), meth_KTextEditor_View_removeSelection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeSelectionText), meth_KTextEditor_View_removeSelectionText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resetInputContext), meth_KTextEditor_View_resetInputContext, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_KTextEditor_View_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selection), meth_KTextEditor_View_selection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectionRange), meth_KTextEditor_View_selectionRange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectionText), meth_KTextEditor_View_selectionText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), meth_KTextEditor_View_sender, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sessionConfigInterface), meth_KTextEditor_View_sessionConfigInterface, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setBlockSelection), meth_KTextEditor_View_setBlockSelection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setComponentData), meth_KTextEditor_View_setComponentData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setContextMenu), meth_KTextEditor_View_setContextMenu, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCursorPosition), meth_KTextEditor_View_setCursorPosition, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDOMDocument), meth_KTextEditor_View_setDOMDocument, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLocalXMLFile), meth_KTextEditor_View_setLocalXMLFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMouseTrackingEnabled), meth_KTextEditor_View_setMouseTrackingEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSelection), meth_KTextEditor_View_setSelection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setXML), meth_KTextEditor_View_setXML, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setXMLFile), meth_KTextEditor_View_setXMLFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_KTextEditor_View_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_stateChanged), meth_KTextEditor_View_stateChanged, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tabletEvent), meth_KTextEditor_View_tabletEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_textHintInterface), meth_KTextEditor_View_textHintInterface, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KTextEditor_View_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), meth_KTextEditor_View_updateMicroFocus, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_viewEditMode), meth_KTextEditor_View_viewEditMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_viewMode), meth_KTextEditor_View_viewMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_KTextEditor_View_wheelEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowActivationChange), meth_KTextEditor_View_windowActivationChange, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KTextEditor_View[] = {
    {sipName_EditInsert, KTextEditor::View::EditInsert, 55},
    {sipName_EditOverwrite, KTextEditor::View::EditOverwrite, 55},
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KTextEditor_View[] = {
    {"selectionChanged(KTextEditor::View *)", 0, 0},
    {"mousePositionChanged(KTextEditor::View *,KTextEditor::Cursor)", 0, 0},
    {"horizontalScrollPositionChanged(KTextEditor::View *)", 0, 0},
    {"verticalScrollPositionChanged(KTextEditor::View *,KTextEditor::Cursor)", 0, 0},
    {"cursorPositionChanged(KTextEditor::View *,KTextEditor::Cursor)", 0, 0},
    {"contextMenuAboutToShow(KTextEditor::View *,QMenu *)", 0, 0},
    {"textInserted(KTextEditor::View *,KTextEditor::Cursor,QString)", 0, 0},
    {"informationMessage(KTextEditor::View *,QString)", 0, 0},
    {"viewEditModeChanged(KTextEditor::View *,KTextEditor::View::EditMode)", 0, 0},
    {"viewModeChanged(KTextEditor::View *)", 0, 0},
    {"focusOut(KTextEditor::View *)", 0, 0},
    {"focusIn(KTextEditor::View *)", 0, 0},
    {0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_ktexteditor_KTextEditor_View = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KTextEditor__View,
        {0}
    },
    {
        sipNameNr_View,
        {1, 255, 0},
        80, methods_KTextEditor_View,
        2, enummembers_KTextEditor_View,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KTextEditor_View,
    0,
    init_KTextEditor_View,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KTextEditor_View,
    0,
    0,
    0,
    release_KTextEditor_View,
    cast_KTextEditor_View,
    0,
    0,
    0
},
    &KTextEditor::View::staticMetaObject,
    0,
    pyqt4_signals_KTextEditor_View
};

#line 30 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/variableinterface.sip"
#include <ktexteditor/variableinterface.h>
#line 5362 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"

#line 30 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.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>
#line 5374 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 5377 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"


class sipKTextEditor_VariableInterface : public KTextEditor::VariableInterface
{
public:
    sipKTextEditor_VariableInterface();
    virtual ~sipKTextEditor_VariableInterface();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QString variable(const QString&) const;
    void variableChanged(KTextEditor::Document *,const QString&,const QString&);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[2];
};

sipKTextEditor_VariableInterface::sipKTextEditor_VariableInterface(): KTextEditor::VariableInterface(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

QString sipKTextEditor_VariableInterface::variable(const QString& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,sipName_VariableInterface,sipName_variable);

    if (!sipMeth)
        return QString();

    typedef QString (*sipVH_QtCore_0)(sip_gilstate_t,PyObject *,const QString&);

    return ((sipVH_QtCore_0)(sipModuleAPI_ktexteditor_QtCore->em_virthandlers[0]))(sipGILState,sipMeth,a0);
}

void sipKTextEditor_VariableInterface::variableChanged(KTextEditor::Document *a0,const QString& a1,const QString& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,sipName_VariableInterface,sipName_variableChanged);

    if (!sipMeth)
        return;

    extern void sipVH_ktexteditor_10(sip_gilstate_t,PyObject *,KTextEditor::Document *,const QString&,const QString&);

    sipVH_ktexteditor_10(sipGILState,sipMeth,a0,a1,a2);
}


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

    {
        const QString * a0;
        int a0State = 0;
        KTextEditor::VariableInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KTextEditor_VariableInterface, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QString *sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_VariableInterface, sipName_variable);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->variable(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

    {
        KTextEditor::Document * a0;
        const QString * a1;
        int a1State = 0;
        const QString * a2;
        int a2State = 0;
        KTextEditor::VariableInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J1J1", &sipSelf, sipType_KTextEditor_VariableInterface, &sipCpp, sipType_KTextEditor_Document, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_VariableInterface, sipName_variableChanged);
                return NULL;
            }

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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

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


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KTextEditor_VariableInterface[] = {
    {SIP_MLNAME_CAST(sipName_variable), meth_KTextEditor_VariableInterface_variable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_variableChanged), meth_KTextEditor_VariableInterface_variableChanged, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_ktexteditor_KTextEditor_VariableInterface = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_KTextEditor__VariableInterface,
        {0}
    },
    {
        sipNameNr_VariableInterface,
        {1, 255, 0},
        2, methods_KTextEditor_VariableInterface,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_KTextEditor_VariableInterface,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KTextEditor_VariableInterface,
    0,
    0,
    0,
    release_KTextEditor_VariableInterface,
    cast_KTextEditor_VariableInterface,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 30 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/texthintinterface.sip"
#include <ktexteditor/texthintinterface.h>
#line 5641 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"

#line 30 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/cursor.sip"
#include <ktexteditor/cursor.h>
#line 5645 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 5648 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/ktexteditor/sipktexteditorpart1.cpp"


class sipKTextEditor_TextHintInterface : public KTextEditor::TextHintInterface
{
public:
    sipKTextEditor_TextHintInterface();
    virtual ~sipKTextEditor_TextHintInterface();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void enableTextHints(int);
    void disableTextHints();
    void needTextHint(const KTextEditor::Cursor&,QString&);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[3];
};

sipKTextEditor_TextHintInterface::sipKTextEditor_TextHintInterface(): KTextEditor::TextHintInterface(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

void sipKTextEditor_TextHintInterface::enableTextHints(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_TextHintInterface,sipName_enableTextHints);

    if (!sipMeth)
        return;

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

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

void sipKTextEditor_TextHintInterface::disableTextHints()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,sipName_TextHintInterface,sipName_disableTextHints);

    if (!sipMeth)
        return;

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

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

void sipKTextEditor_TextHintInterface::needTextHint(const KTextEditor::Cursor& a0,QString& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,sipName_TextHintInterface,sipName_needTextHint);

    if (!sipMeth)
        return;

    extern void sipVH_ktexteditor_11(sip_gilstate_t,PyObject *,const KTextEditor::Cursor&,QString&);

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


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

    {
        int a0;
        KTextEditor::TextHintInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KTextEditor_TextHintInterface, &sipCpp, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_TextHintInterface, sipName_enableTextHints);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->enableTextHints(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_TextHintInterface, sipName_enableTextHints, NULL);

    return NULL;
}


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

    {
        KTextEditor::TextHintInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTextEditor_TextHintInterface, &sipCpp))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_TextHintInterface, sipName_disableTextHints);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->disableTextHints();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KTextEditor::Cursor * a0;
        QString * a1;
        int a1State = 0;
        KTextEditor::TextHintInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J1", &sipSelf, sipType_KTextEditor_TextHintInterface, &sipCpp, sipType_KTextEditor_Cursor, &a0, sipType_QString,&a1, &a1State))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_TextHintInterface, sipName_needTextHint);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->needTextHint(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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

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


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KTextEditor_TextHintInterface[] = {
    {SIP_MLNAME_CAST(sipName_disableTextHints), meth_KTextEditor_TextHintInterface_disableTextHints, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enableTextHints), meth_KTextEditor_TextHintInterface_enableTextHints, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_needTextHint), meth_KTextEditor_TextHintInterface_needTextHint, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_ktexteditor_KTextEditor_TextHintInterface = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_KTextEditor__TextHintInterface,
        {0}
    },
    {
        sipNameNr_TextHintInterface,
        {1, 255, 0},
        3, methods_KTextEditor_TextHintInterface,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_KTextEditor_TextHintInterface,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KTextEditor_TextHintInterface,
    0,
    0,
    0,
    release_KTextEditor_TextHintInterface,
    cast_KTextEditor_TextHintInterface,
    0,
    0,
    0
},
    0,
    0,
    0
};
