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

#include "sipAPIktexteditor.h"

#line 62 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/ktexteditor/containerinterface.sip"
#include <ktexteditor/containerinterface.h>
#line 12 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"

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

#include <ktexteditor/codecompletioninterface.h>
#include <ktexteditor/sessionconfiginterface.h>
#include <ktexteditor/texthintinterface.h>
#include <ktexteditor/annotationinterface.h>
#include <ktexteditor/configinterface.h>
#include <ktexteditor/templateinterface.h>
#include <ktexteditor/templateinterface2.h>
#line 24 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"


class sipKTextEditor_ViewBarContainer : public KTextEditor::ViewBarContainer
{
public:
    sipKTextEditor_ViewBarContainer();
    sipKTextEditor_ViewBarContainer(const KTextEditor::ViewBarContainer&);
    virtual ~sipKTextEditor_ViewBarContainer();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void deleteViewBarForView(KTextEditor::View*,KTextEditor::ViewBarContainer::Position);
    void hideViewBarForView(KTextEditor::View*,KTextEditor::ViewBarContainer::Position);
    void showViewBarForView(KTextEditor::View*,KTextEditor::ViewBarContainer::Position);
    void addViewBarToLayout(KTextEditor::View*,QWidget*,KTextEditor::ViewBarContainer::Position);
    QWidget* getViewBarParent(KTextEditor::View*,KTextEditor::ViewBarContainer::Position);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[5];
};

sipKTextEditor_ViewBarContainer::sipKTextEditor_ViewBarContainer(): KTextEditor::ViewBarContainer(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

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

void sipKTextEditor_ViewBarContainer::deleteViewBarForView(KTextEditor::View*a0,KTextEditor::ViewBarContainer::Position a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_ViewBarContainer,sipName_deleteViewBarForView);

    if (!sipMeth)
        return;

    extern void sipVH_ktexteditor_81(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KTextEditor::View*,KTextEditor::ViewBarContainer::Position);

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

void sipKTextEditor_ViewBarContainer::hideViewBarForView(KTextEditor::View*a0,KTextEditor::ViewBarContainer::Position a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,sipName_ViewBarContainer,sipName_hideViewBarForView);

    if (!sipMeth)
        return;

    extern void sipVH_ktexteditor_81(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KTextEditor::View*,KTextEditor::ViewBarContainer::Position);

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

void sipKTextEditor_ViewBarContainer::showViewBarForView(KTextEditor::View*a0,KTextEditor::ViewBarContainer::Position a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,sipName_ViewBarContainer,sipName_showViewBarForView);

    if (!sipMeth)
        return;

    extern void sipVH_ktexteditor_81(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KTextEditor::View*,KTextEditor::ViewBarContainer::Position);

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

void sipKTextEditor_ViewBarContainer::addViewBarToLayout(KTextEditor::View*a0,QWidget*a1,KTextEditor::ViewBarContainer::Position a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,sipName_ViewBarContainer,sipName_addViewBarToLayout);

    if (!sipMeth)
        return;

    extern void sipVH_ktexteditor_82(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KTextEditor::View*,QWidget*,KTextEditor::ViewBarContainer::Position);

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

QWidget* sipKTextEditor_ViewBarContainer::getViewBarParent(KTextEditor::View*a0,KTextEditor::ViewBarContainer::Position a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,sipName_ViewBarContainer,sipName_getViewBarParent);

    if (!sipMeth)
        return 0;

    extern QWidget* sipVH_ktexteditor_83(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KTextEditor::View*,KTextEditor::ViewBarContainer::Position);

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


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

    {
        KTextEditor::View* a0;
        KTextEditor::ViewBarContainer::Position a1;
        KTextEditor::ViewBarContainer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8E", &sipSelf, sipType_KTextEditor_ViewBarContainer, &sipCpp, sipType_KTextEditor_View, &a0, sipType_KTextEditor_ViewBarContainer_Position, &a1))
        {
            QWidget*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_ViewBarContainer, sipName_getViewBarParent);
                return NULL;
            }

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

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

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

    return NULL;
}


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

    {
        KTextEditor::View* a0;
        QWidget* a1;
        KTextEditor::ViewBarContainer::Position a2;
        KTextEditor::ViewBarContainer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8E", &sipSelf, sipType_KTextEditor_ViewBarContainer, &sipCpp, sipType_KTextEditor_View, &a0, sipType_QWidget, &a1, sipType_KTextEditor_ViewBarContainer_Position, &a2))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_ViewBarContainer, sipName_addViewBarToLayout);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->addViewBarToLayout(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_ViewBarContainer, sipName_addViewBarToLayout, NULL);

    return NULL;
}


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

    {
        KTextEditor::View* a0;
        KTextEditor::ViewBarContainer::Position a1;
        KTextEditor::ViewBarContainer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8E", &sipSelf, sipType_KTextEditor_ViewBarContainer, &sipCpp, sipType_KTextEditor_View, &a0, sipType_KTextEditor_ViewBarContainer_Position, &a1))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_ViewBarContainer, sipName_showViewBarForView);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->showViewBarForView(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_ViewBarContainer, sipName_showViewBarForView, NULL);

    return NULL;
}


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

    {
        KTextEditor::View* a0;
        KTextEditor::ViewBarContainer::Position a1;
        KTextEditor::ViewBarContainer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8E", &sipSelf, sipType_KTextEditor_ViewBarContainer, &sipCpp, sipType_KTextEditor_View, &a0, sipType_KTextEditor_ViewBarContainer_Position, &a1))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_ViewBarContainer, sipName_hideViewBarForView);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->hideViewBarForView(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_ViewBarContainer, sipName_hideViewBarForView, NULL);

    return NULL;
}


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

    {
        KTextEditor::View* a0;
        KTextEditor::ViewBarContainer::Position a1;
        KTextEditor::ViewBarContainer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8E", &sipSelf, sipType_KTextEditor_ViewBarContainer, &sipCpp, sipType_KTextEditor_View, &a0, sipType_KTextEditor_ViewBarContainer_Position, &a1))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_ViewBarContainer, sipName_deleteViewBarForView);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->deleteViewBarForView(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_ViewBarContainer, sipName_deleteViewBarForView, NULL);

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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

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


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const KTextEditor::ViewBarContainer* a0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KTextEditor_ViewBarContainer[] = {
    {SIP_MLNAME_CAST(sipName_addViewBarToLayout), meth_KTextEditor_ViewBarContainer_addViewBarToLayout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deleteViewBarForView), meth_KTextEditor_ViewBarContainer_deleteViewBarForView, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getViewBarParent), meth_KTextEditor_ViewBarContainer_getViewBarParent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideViewBarForView), meth_KTextEditor_ViewBarContainer_hideViewBarForView, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showViewBarForView), meth_KTextEditor_ViewBarContainer_showViewBarForView, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KTextEditor_ViewBarContainer[] = {
    {sipName_BottomBar, static_cast<int>(KTextEditor::ViewBarContainer::BottomBar), 74},
    {sipName_LeftBar, static_cast<int>(KTextEditor::ViewBarContainer::LeftBar), 74},
    {sipName_RightBar, static_cast<int>(KTextEditor::ViewBarContainer::RightBar), 74},
    {sipName_TopBar, static_cast<int>(KTextEditor::ViewBarContainer::TopBar), 74},
};


pyqt4ClassTypeDef sipTypeDef_ktexteditor_KTextEditor_ViewBarContainer = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_KTextEditor__ViewBarContainer,
        {0}
    },
    {
        sipNameNr_ViewBarContainer,
        {1, 255, 0},
        5, methods_KTextEditor_ViewBarContainer,
        4, enummembers_KTextEditor_ViewBarContainer,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KTextEditor_ViewBarContainer,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KTextEditor_ViewBarContainer,
    0,
    0,
    0,
    release_KTextEditor_ViewBarContainer,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 46 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/ktexteditor/containerinterface.sip"
#include <ktexteditor/containerinterface.h>
#line 462 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"

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

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

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

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


class sipKTextEditor_MdiContainer : public KTextEditor::MdiContainer
{
public:
    sipKTextEditor_MdiContainer();
    sipKTextEditor_MdiContainer(const KTextEditor::MdiContainer&);
    virtual ~sipKTextEditor_MdiContainer();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool closeView(KTextEditor::View*);
    KTextEditor::View* createView(KTextEditor::Document*);
    bool closeDocument(KTextEditor::Document*);
    KTextEditor::Document* createDocument();
    KTextEditor::View* activeView();
    void setActiveView(KTextEditor::View*);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[6];
};

sipKTextEditor_MdiContainer::sipKTextEditor_MdiContainer(): KTextEditor::MdiContainer(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

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

bool sipKTextEditor_MdiContainer::closeView(KTextEditor::View*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_MdiContainer,sipName_closeView);

    if (!sipMeth)
        return 0;

    extern bool sipVH_ktexteditor_84(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KTextEditor::View*);

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

KTextEditor::View* sipKTextEditor_MdiContainer::createView(KTextEditor::Document*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,sipName_MdiContainer,sipName_createView);

    if (!sipMeth)
        return 0;

    extern KTextEditor::View* sipVH_ktexteditor_85(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KTextEditor::Document*);

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

bool sipKTextEditor_MdiContainer::closeDocument(KTextEditor::Document*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,sipName_MdiContainer,sipName_closeDocument);

    if (!sipMeth)
        return 0;

    extern bool sipVH_ktexteditor_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KTextEditor::Document*);

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

KTextEditor::Document* sipKTextEditor_MdiContainer::createDocument()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,sipName_MdiContainer,sipName_createDocument);

    if (!sipMeth)
        return 0;

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

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

KTextEditor::View* sipKTextEditor_MdiContainer::activeView()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,sipName_MdiContainer,sipName_activeView);

    if (!sipMeth)
        return 0;

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

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

void sipKTextEditor_MdiContainer::setActiveView(KTextEditor::View*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,sipName_MdiContainer,sipName_setActiveView);

    if (!sipMeth)
        return;

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

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


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTextEditor_MdiContainer, &sipCpp, sipType_KTextEditor_View, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MdiContainer, sipName_setActiveView);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setActiveView(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_MdiContainer, sipName_setActiveView, NULL);

    return NULL;
}


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

    {
        KTextEditor::MdiContainer *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MdiContainer, sipName_activeView);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->activeView();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KTextEditor::MdiContainer *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MdiContainer, sipName_createDocument);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->createDocument();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MdiContainer, sipName_closeDocument);
                return NULL;
            }

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTextEditor_MdiContainer, &sipCpp, sipType_KTextEditor_Document, &a0))
        {
            KTextEditor::View*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MdiContainer, sipName_createView);
                return NULL;
            }

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

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

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

    return NULL;
}


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

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

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_MdiContainer, sipName_closeView);
                return NULL;
            }

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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

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


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const KTextEditor::MdiContainer* a0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KTextEditor_MdiContainer[] = {
    {SIP_MLNAME_CAST(sipName_activeView), meth_KTextEditor_MdiContainer_activeView, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeDocument), meth_KTextEditor_MdiContainer_closeDocument, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeView), meth_KTextEditor_MdiContainer_closeView, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createDocument), meth_KTextEditor_MdiContainer_createDocument, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createView), meth_KTextEditor_MdiContainer_createView, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setActiveView), meth_KTextEditor_MdiContainer_setActiveView, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_ktexteditor_KTextEditor_MdiContainer = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_KTextEditor__MdiContainer,
        {0}
    },
    {
        sipNameNr_MdiContainer,
        {1, 255, 0},
        6, methods_KTextEditor_MdiContainer,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KTextEditor_MdiContainer,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KTextEditor_MdiContainer,
    0,
    0,
    0,
    release_KTextEditor_MdiContainer,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 31 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/ktexteditor/containerinterface.sip"
#include <ktexteditor/containerinterface.h>
#line 968 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"

#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 972 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"


class sipKTextEditor_ContainerInterface : public KTextEditor::ContainerInterface
{
public:
    sipKTextEditor_ContainerInterface();
    sipKTextEditor_ContainerInterface(const KTextEditor::ContainerInterface&);
    virtual ~sipKTextEditor_ContainerInterface();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QObject* container();
    void setContainer(QObject*);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[2];
};

sipKTextEditor_ContainerInterface::sipKTextEditor_ContainerInterface(): KTextEditor::ContainerInterface(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

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

QObject* sipKTextEditor_ContainerInterface::container()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_ContainerInterface,sipName_container);

    if (!sipMeth)
        return 0;

    extern QObject* sipVH_ktexteditor_86(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

void sipKTextEditor_ContainerInterface::setContainer(QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,sipName_ContainerInterface,sipName_setContainer);

    if (!sipMeth)
        return;

    typedef void (*sipVH_QtGui_235)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*);

    ((sipVH_QtGui_235)(sipModuleAPI_ktexteditor_QtGui->em_virthandlers[235]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


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

    {
        QObject* a0;
        KTextEditor::ContainerInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTextEditor_ContainerInterface, &sipCpp, sipType_QObject, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_ContainerInterface, sipName_setContainer);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setContainer(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_ContainerInterface, sipName_setContainer, NULL);

    return NULL;
}


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

    {
        KTextEditor::ContainerInterface *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_ContainerInterface, sipName_container);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->container();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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

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


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const KTextEditor::ContainerInterface* a0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KTextEditor_ContainerInterface[] = {
    {SIP_MLNAME_CAST(sipName_container), meth_KTextEditor_ContainerInterface_container, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setContainer), meth_KTextEditor_ContainerInterface_setContainer, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_ktexteditor_KTextEditor_ContainerInterface = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_KTextEditor__ContainerInterface,
        {0}
    },
    {
        sipNameNr_ContainerInterface,
        {1, 255, 0},
        2, methods_KTextEditor_ContainerInterface,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KTextEditor_ContainerInterface,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KTextEditor_ContainerInterface,
    0,
    0,
    0,
    release_KTextEditor_ContainerInterface,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/ktexteditor/configpage.sip"
#include <ktexteditor/configpage.h>
#line 1240 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 1244 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1247 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 1250 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1253 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1256 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 1259 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 1262 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 1265 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 1268 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 1271 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 1274 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 1277 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 1280 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 1283 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 1286 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 1289 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 1292 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 1295 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 1298 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 1301 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1304 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 1307 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 1310 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1313 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1316 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1319 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1322 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1325 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1328 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1331 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1334 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1337 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1340 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1343 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1346 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1349 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1352 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1355 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1358 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1361 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1364 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1367 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 1370 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 1373 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 1376 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1379 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 1382 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 1385 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 1388 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1391 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 1394 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 1397 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 1400 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 1403 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 1406 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1409 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1412 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 1415 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1418 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1421 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 1424 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 1427 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 1430 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"


class sipKTextEditor_ConfigPage : public KTextEditor::ConfigPage
{
public:
    sipKTextEditor_ConfigPage(QWidget*);
    virtual ~sipKTextEditor_ConfigPage();

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

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void changeEvent(QEvent*);
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void resizeEvent(QResizeEvent*);
    void moveEvent(QMoveEvent*);
    void paintEvent(QPaintEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    bool event(QEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;
    void defaults();
    void reset();
    void apply();

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[50];
};

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

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

const QMetaObject *sipKTextEditor_ConfigPage::metaObject() const
{
    return sip_ktexteditor_qt_metaobject(sipPySelf,sipType_KTextEditor_ConfigPage);
}

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

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

    return _id;
}

void *sipKTextEditor_ConfigPage::qt_metacast(const char *_clname)
{
    return (sip_ktexteditor_qt_metacast(sipPySelf, sipType_KTextEditor_ConfigPage, _clname)) ? this : KTextEditor::ConfigPage::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if (!sipMeth)
    {
        KTextEditor::ConfigPage::languageChange();
        return;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if (!sipMeth)
        return KTextEditor::ConfigPage::focusNextPrevChild(a0);

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

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

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

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

    if (!sipMeth)
        return KTextEditor::ConfigPage::inputMethodQuery(a0);

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

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

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

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

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

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

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

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

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

    if (!sipMeth)
        return KTextEditor::ConfigPage::metric(a0);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if (!sipMeth)
        return KTextEditor::ConfigPage::event(a0);

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

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

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

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

    if (!sipMeth)
        return KTextEditor::ConfigPage::paintEngine();

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

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

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

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

    if (!sipMeth)
        return KTextEditor::ConfigPage::heightForWidth(a0);

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

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

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

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

    if (!sipMeth)
        return KTextEditor::ConfigPage::minimumSizeHint();

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

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

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

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

    if (!sipMeth)
        return KTextEditor::ConfigPage::sizeHint();

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

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

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

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

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

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

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

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

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

    if (!sipMeth)
        return KTextEditor::ConfigPage::devType();

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

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

void sipKTextEditor_ConfigPage::defaults()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,sipName_ConfigPage,sipName_defaults);

    if (!sipMeth)
        return;

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

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

void sipKTextEditor_ConfigPage::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,sipName_ConfigPage,sipName_reset);

    if (!sipMeth)
        return;

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

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

void sipKTextEditor_ConfigPage::apply()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,sipName_ConfigPage,sipName_apply);

    if (!sipMeth)
        return;

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

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


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

    {
        KTextEditor::ConfigPage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTextEditor_ConfigPage, &sipCpp))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_ConfigPage, sipName_apply);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->apply();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KTextEditor::ConfigPage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTextEditor_ConfigPage, &sipCpp))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_ConfigPage, sipName_reset);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->reset();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KTextEditor::ConfigPage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTextEditor_ConfigPage, &sipCpp))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_ConfigPage, sipName_defaults);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->defaults();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_KTextEditor_ConfigPage(void *, const sipTypeDef *);}
static void *cast_KTextEditor_ConfigPage(void *sipCppV, const sipTypeDef *targetType)
{
    KTextEditor::ConfigPage *sipCpp = reinterpret_cast<KTextEditor::ConfigPage *>(sipCppV);

    if (targetType == sipType_QPaintDevice)
        return static_cast<QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KTextEditor_ConfigPage(void *, int);}
static void release_KTextEditor_ConfigPage(void *sipCppV,int)
{
    KTextEditor::ConfigPage *sipCpp = reinterpret_cast<KTextEditor::ConfigPage *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        QWidget* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKTextEditor_ConfigPage(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KTextEditor_ConfigPage[] = {{755, 2, 1}};


static PyMethodDef methods_KTextEditor_ConfigPage[] = {
    {SIP_MLNAME_CAST(sipName_apply), meth_KTextEditor_ConfigPage_apply, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_defaults), meth_KTextEditor_ConfigPage_defaults, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_reset), meth_KTextEditor_ConfigPage_reset, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KTextEditor_ConfigPage[] = {
    {"changed()", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_ktexteditor_KTextEditor_ConfigPage = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KTextEditor__ConfigPage,
        {0}
    },
    {
        sipNameNr_ConfigPage,
        {1, 255, 0},
        3, methods_KTextEditor_ConfigPage,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KTextEditor_ConfigPage,
    0,
    init_type_KTextEditor_ConfigPage,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KTextEditor_ConfigPage,
    0,
    0,
    0,
    release_KTextEditor_ConfigPage,
    cast_KTextEditor_ConfigPage,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KTextEditor::ConfigPage::staticMetaObject,
    0,
    signals_KTextEditor_ConfigPage,
};

#line 30 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/ktexteditor/configinterface.sip"
#include <ktexteditor/configinterface.h>
#line 2640 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"

#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 2644 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 2647 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 2650 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"


class sipKTextEditor_ConfigInterface : public KTextEditor::ConfigInterface
{
public:
    sipKTextEditor_ConfigInterface();
    sipKTextEditor_ConfigInterface(const KTextEditor::ConfigInterface&);
    virtual ~sipKTextEditor_ConfigInterface();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void setConfigValue(const QString&,const QVariant&);
    QVariant configValue(const QString&);
    QStringList configKeys() const;

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[3];
};

sipKTextEditor_ConfigInterface::sipKTextEditor_ConfigInterface(): KTextEditor::ConfigInterface(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

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

void sipKTextEditor_ConfigInterface::setConfigValue(const QString& a0,const QVariant& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_ConfigInterface,sipName_setConfigValue);

    if (!sipMeth)
        return;

    extern void sipVH_ktexteditor_87(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,const QVariant&);

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

QVariant sipKTextEditor_ConfigInterface::configValue(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,sipName_ConfigInterface,sipName_configValue);

    if (!sipMeth)
        return QVariant();

    extern QVariant sipVH_ktexteditor_88(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

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

QStringList sipKTextEditor_ConfigInterface::configKeys() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QStringList();

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

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


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

    {
        const KTextEditor::ConfigInterface *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_ConfigInterface, sipName_configKeys);
                return NULL;
            }

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

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

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

    return NULL;
}


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

    {
        const QString* a0;
        int a0State = 0;
        KTextEditor::ConfigInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KTextEditor_ConfigInterface, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QVariant*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_ConfigInterface, sipName_configValue);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->configValue(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

    {
        const QString* a0;
        int a0State = 0;
        const QVariant* a1;
        int a1State = 0;
        KTextEditor::ConfigInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_KTextEditor_ConfigInterface, &sipCpp, sipType_QString,&a0, &a0State, sipType_QVariant,&a1, &a1State))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_ConfigInterface, sipName_setConfigValue);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setConfigValue(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QVariant *>(a1),sipType_QVariant,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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

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


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const KTextEditor::ConfigInterface* a0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KTextEditor_ConfigInterface[] = {
    {SIP_MLNAME_CAST(sipName_configKeys), meth_KTextEditor_ConfigInterface_configKeys, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_configValue), meth_KTextEditor_ConfigInterface_configValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setConfigValue), meth_KTextEditor_ConfigInterface_setConfigValue, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_ktexteditor_KTextEditor_ConfigInterface = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_KTextEditor__ConfigInterface,
        {0}
    },
    {
        sipNameNr_ConfigInterface,
        {1, 255, 0},
        3, methods_KTextEditor_ConfigInterface,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KTextEditor_ConfigInterface,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KTextEditor_ConfigInterface,
    0,
    0,
    0,
    release_KTextEditor_ConfigInterface,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 83 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/ktexteditor/commandinterface.sip"
#include <ktexteditor/commandinterface.h>
#line 2977 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"

#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 2981 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 30 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/ktexteditor/view.sip"
#include <ktexteditor/view.h>

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


class sipKTextEditor_RangeCommand : public KTextEditor::RangeCommand
{
public:
    sipKTextEditor_RangeCommand();
    sipKTextEditor_RangeCommand(const KTextEditor::RangeCommand&);
    virtual ~sipKTextEditor_RangeCommand();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool supportsRange(const QString&);
    bool exec(KTextEditor::View*,const QString&,QString&,const KTextEditor::Range&);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[2];
};

sipKTextEditor_RangeCommand::sipKTextEditor_RangeCommand(): KTextEditor::RangeCommand(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

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

bool sipKTextEditor_RangeCommand::supportsRange(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_RangeCommand,sipName_supportsRange);

    if (!sipMeth)
        return 0;

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

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

bool sipKTextEditor_RangeCommand::exec(KTextEditor::View*a0,const QString& a1,QString& a2,const KTextEditor::Range& a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,sipName_RangeCommand,sipName_exec);

    if (!sipMeth)
        return 0;

    extern bool sipVH_ktexteditor_89(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KTextEditor::View*,const QString&,QString&,const KTextEditor::Range&);

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


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

    {
        KTextEditor::View* a0;
        const QString* a1;
        int a1State = 0;
        QString* a2;
        int a2State = 0;
        const KTextEditor::Range* a3;
        KTextEditor::RangeCommand *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J1J1J9", &sipSelf, sipType_KTextEditor_RangeCommand, &sipCpp, sipType_KTextEditor_View, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_KTextEditor_Range, &a3))
        {
            bool sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_RangeCommand, sipName_exec);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->exec(a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(a2,sipType_QString,a2State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const QString* a0;
        int a0State = 0;
        KTextEditor::RangeCommand *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KTextEditor_RangeCommand, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_RangeCommand, sipName_supportsRange);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->supportsRange(*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_RangeCommand, sipName_supportsRange, NULL);

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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

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


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const KTextEditor::RangeCommand* a0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KTextEditor_RangeCommand[] = {
    {SIP_MLNAME_CAST(sipName_exec), meth_KTextEditor_RangeCommand_exec, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_supportsRange), meth_KTextEditor_RangeCommand_supportsRange, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_ktexteditor_KTextEditor_RangeCommand = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_KTextEditor__RangeCommand,
        {0}
    },
    {
        sipNameNr_RangeCommand,
        {1, 255, 0},
        2, methods_KTextEditor_RangeCommand,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KTextEditor_RangeCommand,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KTextEditor_RangeCommand,
    0,
    0,
    0,
    release_KTextEditor_RangeCommand,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 65 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/ktexteditor/commandinterface.sip"
#include <ktexteditor/commandinterface.h>
#line 3274 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"

#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 3278 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 3281 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 30 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/ktexteditor/commandinterface.sip"
#include <ktexteditor/commandinterface.h>
#line 3284 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 3287 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"


class sipKTextEditor_CommandInterface : public KTextEditor::CommandInterface
{
public:
    sipKTextEditor_CommandInterface();
    sipKTextEditor_CommandInterface(const KTextEditor::CommandInterface&);
    virtual ~sipKTextEditor_CommandInterface();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QStringList commandList() const;
    QList<KTextEditor::Command*> commands() const;
    KTextEditor::Command* queryCommand(const QString&) const;
    bool unregisterCommand(KTextEditor::Command*);
    bool registerCommand(KTextEditor::Command*);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[5];
};

sipKTextEditor_CommandInterface::sipKTextEditor_CommandInterface(): KTextEditor::CommandInterface(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

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

QStringList sipKTextEditor_CommandInterface::commandList() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QStringList();

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

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

QList<KTextEditor::Command*> sipKTextEditor_CommandInterface::commands() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QList<KTextEditor::Command*>();

    extern QList<KTextEditor::Command*> sipVH_ktexteditor_90(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

KTextEditor::Command* sipKTextEditor_CommandInterface::queryCommand(const QString& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return 0;

    extern KTextEditor::Command* sipVH_ktexteditor_91(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

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

bool sipKTextEditor_CommandInterface::unregisterCommand(KTextEditor::Command*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,sipName_CommandInterface,sipName_unregisterCommand);

    if (!sipMeth)
        return 0;

    extern bool sipVH_ktexteditor_92(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KTextEditor::Command*);

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

bool sipKTextEditor_CommandInterface::registerCommand(KTextEditor::Command*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,sipName_CommandInterface,sipName_registerCommand);

    if (!sipMeth)
        return 0;

    extern bool sipVH_ktexteditor_92(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KTextEditor::Command*);

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


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

    {
        KTextEditor::Command* a0;
        KTextEditor::CommandInterface *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_CommandInterface, sipName_registerCommand);
                return NULL;
            }

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KTextEditor::Command* a0;
        KTextEditor::CommandInterface *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_CommandInterface, sipName_unregisterCommand);
                return NULL;
            }

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const QString* a0;
        int a0State = 0;
        const KTextEditor::CommandInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KTextEditor_CommandInterface, &sipCpp, sipType_QString,&a0, &a0State))
        {
            KTextEditor::Command*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_CommandInterface, sipName_queryCommand);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->queryCommand(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

    {
        const KTextEditor::CommandInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTextEditor_CommandInterface, &sipCpp))
        {
            QList<KTextEditor::Command*>*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_CommandInterface, sipName_commands);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<KTextEditor::Command*>(sipCpp->commands());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KTextEditor::CommandInterface *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_CommandInterface, sipName_commandList);
                return NULL;
            }

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

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

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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

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


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const KTextEditor::CommandInterface* a0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KTextEditor_CommandInterface[] = {
    {SIP_MLNAME_CAST(sipName_commandList), meth_KTextEditor_CommandInterface_commandList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_commands), meth_KTextEditor_CommandInterface_commands, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_queryCommand), meth_KTextEditor_CommandInterface_queryCommand, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_registerCommand), meth_KTextEditor_CommandInterface_registerCommand, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_unregisterCommand), meth_KTextEditor_CommandInterface_unregisterCommand, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_ktexteditor_KTextEditor_CommandInterface = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_KTextEditor__CommandInterface,
        {0}
    },
    {
        sipNameNr_CommandInterface,
        {1, 255, 0},
        5, methods_KTextEditor_CommandInterface,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KTextEditor_CommandInterface,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KTextEditor_CommandInterface,
    0,
    0,
    0,
    release_KTextEditor_CommandInterface,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 47 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/ktexteditor/commandinterface.sip"
#include <ktexteditor/commandinterface.h>
#line 3713 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"

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

#include <ktexteditor/codecompletioninterface.h>
#include <ktexteditor/sessionconfiginterface.h>
#include <ktexteditor/texthintinterface.h>
#include <ktexteditor/annotationinterface.h>
#include <ktexteditor/configinterface.h>
#include <ktexteditor/templateinterface.h>
#include <ktexteditor/templateinterface2.h>
#line 3725 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 3728 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 31 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kcompletion.sip"
#include <kcompletion.h>
#line 3731 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 3734 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/ktexteditor/sipktexteditorpart5.cpp"


class sipKTextEditor_CommandExtension : public KTextEditor::CommandExtension
{
public:
    sipKTextEditor_CommandExtension();
    sipKTextEditor_CommandExtension(const KTextEditor::CommandExtension&);
    virtual ~sipKTextEditor_CommandExtension();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void processText(KTextEditor::View*,const QString&);
    bool wantsToProcessText(const QString&);
    KCompletion* completionObject(KTextEditor::View*,const QString&);
    void flagCompletions(QStringList&);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[4];
};

sipKTextEditor_CommandExtension::sipKTextEditor_CommandExtension(): KTextEditor::CommandExtension(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

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

void sipKTextEditor_CommandExtension::processText(KTextEditor::View*a0,const QString& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_CommandExtension,sipName_processText);

    if (!sipMeth)
        return;

    extern void sipVH_ktexteditor_93(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KTextEditor::View*,const QString&);

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

bool sipKTextEditor_CommandExtension::wantsToProcessText(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,sipName_CommandExtension,sipName_wantsToProcessText);

    if (!sipMeth)
        return 0;

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

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

KCompletion* sipKTextEditor_CommandExtension::completionObject(KTextEditor::View*a0,const QString& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,sipName_CommandExtension,sipName_completionObject);

    if (!sipMeth)
        return 0;

    extern KCompletion* sipVH_ktexteditor_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KTextEditor::View*,const QString&);

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

void sipKTextEditor_CommandExtension::flagCompletions(QStringList& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,sipName_CommandExtension,sipName_flagCompletions);

    if (!sipMeth)
        return;

    extern void sipVH_ktexteditor_95(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStringList&);

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


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

    {
        QStringList* a0;
        int a0State = 0;
        KTextEditor::CommandExtension *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KTextEditor_CommandExtension, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_CommandExtension, sipName_flagCompletions);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->flagCompletions(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KTextEditor::View* a0;
        const QString* a1;
        int a1State = 0;
        KTextEditor::CommandExtension *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J1", &sipSelf, sipType_KTextEditor_CommandExtension, &sipCpp, sipType_KTextEditor_View, &a0, sipType_QString,&a1, &a1State))
        {
            KCompletion*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_CommandExtension, sipName_completionObject);
                return NULL;
            }

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

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

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

    return NULL;
}


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

    {
        const QString* a0;
        int a0State = 0;
        KTextEditor::CommandExtension *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KTextEditor_CommandExtension, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_CommandExtension, sipName_wantsToProcessText);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->wantsToProcessText(*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_CommandExtension, sipName_wantsToProcessText, NULL);

    return NULL;
}


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

    {
        KTextEditor::View* a0;
        const QString* a1;
        int a1State = 0;
        KTextEditor::CommandExtension *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J1", &sipSelf, sipType_KTextEditor_CommandExtension, &sipCpp, sipType_KTextEditor_View, &a0, sipType_QString,&a1, &a1State))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_CommandExtension, sipName_processText);
                return NULL;
            }

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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

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


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const KTextEditor::CommandExtension* a0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KTextEditor_CommandExtension[] = {
    {SIP_MLNAME_CAST(sipName_completionObject), meth_KTextEditor_CommandExtension_completionObject, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_flagCompletions), meth_KTextEditor_CommandExtension_flagCompletions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_processText), meth_KTextEditor_CommandExtension_processText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wantsToProcessText), meth_KTextEditor_CommandExtension_wantsToProcessText, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_ktexteditor_KTextEditor_CommandExtension = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_KTextEditor__CommandExtension,
        {0}
    },
    {
        sipNameNr_CommandExtension,
        {1, 255, 0},
        4, methods_KTextEditor_CommandExtension,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KTextEditor_CommandExtension,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KTextEditor_CommandExtension,
    0,
    0,
    0,
    release_KTextEditor_CommandExtension,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};
