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

#include "sipAPIktexteditor.h"

#line 30 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/ktexteditor/cursorfeedback.sip"
#include <ktexteditor/cursorfeedback.h>
#line 29 "sipktexteditorpart5.cpp"

#line 30 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/ktexteditor/smartcursor.sip"
#include <ktexteditor/smartcursor.h>
#line 33 "sipktexteditorpart5.cpp"


class sipKTextEditor_SmartCursorWatcher : public KTextEditor::SmartCursorWatcher
{
public:
    sipKTextEditor_SmartCursorWatcher();
    sipKTextEditor_SmartCursorWatcher(const KTextEditor::SmartCursorWatcher&);
    virtual ~sipKTextEditor_SmartCursorWatcher();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void positionChanged(KTextEditor::SmartCursor *);
    void positionDeleted(KTextEditor::SmartCursor *);
    void characterDeleted(KTextEditor::SmartCursor *,bool);
    void characterInserted(KTextEditor::SmartCursor *,bool);
    void deleted(KTextEditor::SmartCursor *);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[5];
};

sipKTextEditor_SmartCursorWatcher::sipKTextEditor_SmartCursorWatcher(): KTextEditor::SmartCursorWatcher(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

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

void sipKTextEditor_SmartCursorWatcher::positionChanged(KTextEditor::SmartCursor *a0)
{
    extern void sipVH_ktexteditor_77(sip_gilstate_t,PyObject *,KTextEditor::SmartCursor *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_positionChanged);

    if (!meth)
    {
        KTextEditor::SmartCursorWatcher::positionChanged(a0);
        return;
    }

    sipVH_ktexteditor_77(sipGILState,meth,a0);
}

void sipKTextEditor_SmartCursorWatcher::positionDeleted(KTextEditor::SmartCursor *a0)
{
    extern void sipVH_ktexteditor_77(sip_gilstate_t,PyObject *,KTextEditor::SmartCursor *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_positionDeleted);

    if (!meth)
    {
        KTextEditor::SmartCursorWatcher::positionDeleted(a0);
        return;
    }

    sipVH_ktexteditor_77(sipGILState,meth,a0);
}

void sipKTextEditor_SmartCursorWatcher::characterDeleted(KTextEditor::SmartCursor *a0,bool a1)
{
    extern void sipVH_ktexteditor_78(sip_gilstate_t,PyObject *,KTextEditor::SmartCursor *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_characterDeleted);

    if (!meth)
    {
        KTextEditor::SmartCursorWatcher::characterDeleted(a0,a1);
        return;
    }

    sipVH_ktexteditor_78(sipGILState,meth,a0,a1);
}

void sipKTextEditor_SmartCursorWatcher::characterInserted(KTextEditor::SmartCursor *a0,bool a1)
{
    extern void sipVH_ktexteditor_78(sip_gilstate_t,PyObject *,KTextEditor::SmartCursor *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_characterInserted);

    if (!meth)
    {
        KTextEditor::SmartCursorWatcher::characterInserted(a0,a1);
        return;
    }

    sipVH_ktexteditor_78(sipGILState,meth,a0,a1);
}

void sipKTextEditor_SmartCursorWatcher::deleted(KTextEditor::SmartCursor *a0)
{
    extern void sipVH_ktexteditor_77(sip_gilstate_t,PyObject *,KTextEditor::SmartCursor *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_deleted);

    if (!meth)
    {
        KTextEditor::SmartCursorWatcher::deleted(a0);
        return;
    }

    sipVH_ktexteditor_77(sipGILState,meth,a0);
}


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

    {
        KTextEditor::SmartCursorWatcher *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->wantsDirectChanges();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        KTextEditor::SmartCursorWatcher *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_KTextEditor_SmartCursorWatcher,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setWantsDirectChanges(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_SmartCursorWatcher_positionChanged(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_SmartCursorWatcher_positionChanged(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KTextEditor::SmartCursor * a0;
        KTextEditor::SmartCursorWatcher *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KTextEditor_SmartCursorWatcher,&sipCpp,sipType_KTextEditor_SmartCursor,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTextEditor::SmartCursorWatcher::positionChanged(a0) : sipCpp->positionChanged(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_SmartCursorWatcher_positionDeleted(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_SmartCursorWatcher_positionDeleted(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KTextEditor::SmartCursor * a0;
        KTextEditor::SmartCursorWatcher *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KTextEditor_SmartCursorWatcher,&sipCpp,sipType_KTextEditor_SmartCursor,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTextEditor::SmartCursorWatcher::positionDeleted(a0) : sipCpp->positionDeleted(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_SmartCursorWatcher_characterDeleted(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_SmartCursorWatcher_characterDeleted(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KTextEditor::SmartCursor * a0;
        bool a1;
        KTextEditor::SmartCursorWatcher *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8b",&sipSelf,sipType_KTextEditor_SmartCursorWatcher,&sipCpp,sipType_KTextEditor_SmartCursor,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTextEditor::SmartCursorWatcher::characterDeleted(a0,a1) : sipCpp->characterDeleted(a0,a1));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_SmartCursorWatcher_characterInserted(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_SmartCursorWatcher_characterInserted(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KTextEditor::SmartCursor * a0;
        bool a1;
        KTextEditor::SmartCursorWatcher *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8b",&sipSelf,sipType_KTextEditor_SmartCursorWatcher,&sipCpp,sipType_KTextEditor_SmartCursor,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTextEditor::SmartCursorWatcher::characterInserted(a0,a1) : sipCpp->characterInserted(a0,a1));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_SmartCursorWatcher_deleted(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_SmartCursorWatcher_deleted(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KTextEditor::SmartCursor * a0;
        KTextEditor::SmartCursorWatcher *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KTextEditor_SmartCursorWatcher,&sipCpp,sipType_KTextEditor_SmartCursor,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTextEditor::SmartCursorWatcher::deleted(a0) : sipCpp->deleted(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    return NULL;
}


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

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKTextEditor_SmartCursorWatcher *>(sipCppV);
    else
        delete reinterpret_cast<KTextEditor::SmartCursorWatcher *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KTextEditor_SmartCursorWatcher(void *, const void*);}
static void assign_KTextEditor_SmartCursorWatcher(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<KTextEditor::SmartCursorWatcher *>(sipDst) = *reinterpret_cast<const KTextEditor::SmartCursorWatcher *>(sipSrc);
}


extern "C" {static void dealloc_KTextEditor_SmartCursorWatcher(sipSimpleWrapper *);}
static void dealloc_KTextEditor_SmartCursorWatcher(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKTextEditor_SmartCursorWatcher *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KTextEditor_SmartCursorWatcher(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KTextEditor_SmartCursorWatcher(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KTextEditor_SmartCursorWatcher(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipKTextEditor_SmartCursorWatcher *sipCpp = 0;

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

    if (!sipCpp)
    {
        const KTextEditor::SmartCursorWatcher * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_KTextEditor_SmartCursorWatcher,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKTextEditor_SmartCursorWatcher(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


static PyMethodDef methods_KTextEditor_SmartCursorWatcher[] = {
    {SIP_MLNAME_CAST(sipName_characterDeleted), meth_KTextEditor_SmartCursorWatcher_characterDeleted, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_characterInserted), meth_KTextEditor_SmartCursorWatcher_characterInserted, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deleted), meth_KTextEditor_SmartCursorWatcher_deleted, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_positionChanged), meth_KTextEditor_SmartCursorWatcher_positionChanged, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_positionDeleted), meth_KTextEditor_SmartCursorWatcher_positionDeleted, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setWantsDirectChanges), meth_KTextEditor_SmartCursorWatcher_setWantsDirectChanges, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wantsDirectChanges), meth_KTextEditor_SmartCursorWatcher_wantsDirectChanges, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_ktexteditor_KTextEditor_SmartCursorWatcher = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KTextEditor__SmartCursorWatcher,
        {0}
    },
    sipNameNr_SmartCursorWatcher,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {1, 255, 0},
    0,
    0,
    7, methods_KTextEditor_SmartCursorWatcher,
    0, 0,
    0, 0,
    init_KTextEditor_SmartCursorWatcher,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KTextEditor_SmartCursorWatcher,
    release_KTextEditor_SmartCursorWatcher,
    cast_KTextEditor_SmartCursorWatcher,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_KTextEditor_SmartCursorWatcher,
    0,
    0,
    0
};

#line 30 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/ktexteditor/cursor.sip"
#include <ktexteditor/cursor.h>
#line 504 "sipktexteditorpart5.cpp"

#line 30 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/ktexteditor/range.sip"
#include <ktexteditor/range.h>
#line 508 "sipktexteditorpart5.cpp"
#line 30 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/ktexteditor/smartcursor.sip"
#include <ktexteditor/smartcursor.h>
#line 511 "sipktexteditorpart5.cpp"


class sipKTextEditor_Cursor : public KTextEditor::Cursor
{
public:
    sipKTextEditor_Cursor();
    sipKTextEditor_Cursor(int,int);
    sipKTextEditor_Cursor(const KTextEditor::Cursor&);
    virtual ~sipKTextEditor_Cursor();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtectVirt_setRange(bool,KTextEditor::Range *);
    void sipProtect_cursorChangedDirectly(const KTextEditor::Cursor&);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool isValid() const;
    bool isSmartCursor() const;
    KTextEditor::SmartCursor * toSmartCursor() const;
    void setPosition(const KTextEditor::Cursor&);
    int line() const;
    void setLine(int);
    void setColumn(int);
    void setRange(KTextEditor::Range *);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[8];
};

sipKTextEditor_Cursor::sipKTextEditor_Cursor(): KTextEditor::Cursor(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKTextEditor_Cursor::sipKTextEditor_Cursor(int a0,int a1): KTextEditor::Cursor(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

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

bool sipKTextEditor_Cursor::isValid() const
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_isValid);

    if (!meth)
        return KTextEditor::Cursor::isValid();

    return ((sipVH_QtCore_1)(sipModuleAPI_ktexteditor_QtCore->em_virthandlers[1]))(sipGILState,meth);
}

bool sipKTextEditor_Cursor::isSmartCursor() const
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_isSmartCursor);

    if (!meth)
        return KTextEditor::Cursor::isSmartCursor();

    return ((sipVH_QtCore_1)(sipModuleAPI_ktexteditor_QtCore->em_virthandlers[1]))(sipGILState,meth);
}

KTextEditor::SmartCursor * sipKTextEditor_Cursor::toSmartCursor() const
{
    extern KTextEditor::SmartCursor * sipVH_ktexteditor_37(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_toSmartCursor);

    if (!meth)
        return KTextEditor::Cursor::toSmartCursor();

    return sipVH_ktexteditor_37(sipGILState,meth);
}

void sipKTextEditor_Cursor::setPosition(const KTextEditor::Cursor& a0)
{
    extern void sipVH_ktexteditor_80(sip_gilstate_t,PyObject *,const KTextEditor::Cursor&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_setPosition);

    if (!meth)
    {
        KTextEditor::Cursor::setPosition(a0);
        return;
    }

    sipVH_ktexteditor_80(sipGILState,meth,a0);
}

int sipKTextEditor_Cursor::line() const
{
    typedef int (*sipVH_QtCore_8)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_line);

    if (!meth)
        return KTextEditor::Cursor::line();

    return ((sipVH_QtCore_8)(sipModuleAPI_ktexteditor_QtCore->em_virthandlers[8]))(sipGILState,meth);
}

void sipKTextEditor_Cursor::setLine(int a0)
{
    typedef void (*sipVH_QtNetwork_1)(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_setLine);

    if (!meth)
    {
        KTextEditor::Cursor::setLine(a0);
        return;
    }

    ((sipVH_QtNetwork_1)(sipModuleAPI_ktexteditor_QtNetwork->em_virthandlers[1]))(sipGILState,meth,a0);
}

void sipKTextEditor_Cursor::setColumn(int a0)
{
    typedef void (*sipVH_QtNetwork_1)(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_setColumn);

    if (!meth)
    {
        KTextEditor::Cursor::setColumn(a0);
        return;
    }

    ((sipVH_QtNetwork_1)(sipModuleAPI_ktexteditor_QtNetwork->em_virthandlers[1]))(sipGILState,meth,a0);
}

void sipKTextEditor_Cursor::setRange(KTextEditor::Range *a0)
{
    extern void sipVH_ktexteditor_79(sip_gilstate_t,PyObject *,KTextEditor::Range *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_setRange);

    if (!meth)
    {
        KTextEditor::Cursor::setRange(a0);
        return;
    }

    sipVH_ktexteditor_79(sipGILState,meth,a0);
}

void sipKTextEditor_Cursor::sipProtectVirt_setRange(bool sipSelfWasArg,KTextEditor::Range *a0)
{
    (sipSelfWasArg ? KTextEditor::Cursor::setRange(a0) : setRange(a0));
}

void sipKTextEditor_Cursor::sipProtect_cursorChangedDirectly(const KTextEditor::Cursor& a0)
{
    KTextEditor::Cursor::cursorChangedDirectly(a0);
}


extern "C" {static PyObject *meth_KTextEditor_Cursor_isValid(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_Cursor_isValid(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KTextEditor::Cursor *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KTextEditor::Cursor::isValid() : sipCpp->isValid());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_Cursor_isSmartCursor(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_Cursor_isSmartCursor(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KTextEditor::Cursor *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KTextEditor::Cursor::isSmartCursor() : sipCpp->isSmartCursor());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_Cursor_toSmartCursor(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_Cursor_toSmartCursor(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KTextEditor::Cursor *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KTextEditor_Cursor,&sipCpp))
        {
            KTextEditor::SmartCursor *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KTextEditor::Cursor::toSmartCursor() : sipCpp->toSmartCursor());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KTextEditor::Cursor *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KTextEditor::Cursor(KTextEditor::Cursor::invalid());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KTextEditor::Cursor *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KTextEditor::Cursor(KTextEditor::Cursor::start());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_Cursor_setPosition(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_Cursor_setPosition(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KTextEditor_Cursor,&sipCpp,sipType_KTextEditor_Cursor,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTextEditor::Cursor::setPosition(*a0) : sipCpp->setPosition(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_Cursor_line(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_Cursor_line(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KTextEditor::Cursor *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KTextEditor::Cursor::line() : sipCpp->line());
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_Cursor_setLine(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_Cursor_setLine(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        KTextEditor::Cursor *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bi",&sipSelf,sipType_KTextEditor_Cursor,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTextEditor::Cursor::setLine(a0) : sipCpp->setLine(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KTextEditor::Cursor *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->column();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_Cursor_setColumn(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_Cursor_setColumn(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        KTextEditor::Cursor *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bi",&sipSelf,sipType_KTextEditor_Cursor,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTextEditor::Cursor::setColumn(a0) : sipCpp->setColumn(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KTextEditor::Cursor *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->atStartOfLine();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KTextEditor::Cursor *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->atStartOfDocument();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KTextEditor_Cursor,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->position(a0,a1);
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KTextEditor::Cursor *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->range();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_Cursor_setRange(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_Cursor_setRange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KTextEditor::Range * a0;
        sipKTextEditor_Cursor *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KTextEditor_Cursor,&sipCpp,sipType_KTextEditor_Range,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_setRange(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KTextEditor_Cursor,&sipCpp,sipType_KTextEditor_Cursor,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_cursorChangedDirectly(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    return NULL;
}


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

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKTextEditor_Cursor *>(sipCppV);
    else
        delete reinterpret_cast<KTextEditor::Cursor *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KTextEditor_Cursor(void *, const void*);}
static void assign_KTextEditor_Cursor(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<KTextEditor::Cursor *>(sipDst) = *reinterpret_cast<const KTextEditor::Cursor *>(sipSrc);
}


extern "C" {static void dealloc_KTextEditor_Cursor(sipSimpleWrapper *);}
static void dealloc_KTextEditor_Cursor(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKTextEditor_Cursor *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KTextEditor_Cursor(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KTextEditor_Cursor(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KTextEditor_Cursor(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipKTextEditor_Cursor *sipCpp = 0;

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

    if (!sipCpp)
    {
        int a0;
        int a1;

        if (sipParseArgs(sipArgsParsed,sipArgs,"ii",&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKTextEditor_Cursor(a0,a1);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const KTextEditor::Cursor * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_KTextEditor_Cursor,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKTextEditor_Cursor(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


static PyMethodDef methods_KTextEditor_Cursor[] = {
    {SIP_MLNAME_CAST(sipName_atStartOfDocument), meth_KTextEditor_Cursor_atStartOfDocument, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_atStartOfLine), meth_KTextEditor_Cursor_atStartOfLine, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_column), meth_KTextEditor_Cursor_column, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_cursorChangedDirectly), meth_KTextEditor_Cursor_cursorChangedDirectly, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_invalid), meth_KTextEditor_Cursor_invalid, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isSmartCursor), meth_KTextEditor_Cursor_isSmartCursor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isValid), meth_KTextEditor_Cursor_isValid, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_line), meth_KTextEditor_Cursor_line, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_position), meth_KTextEditor_Cursor_position, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_range), meth_KTextEditor_Cursor_range, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setColumn), meth_KTextEditor_Cursor_setColumn, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLine), meth_KTextEditor_Cursor_setLine, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPosition), meth_KTextEditor_Cursor_setPosition, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRange), meth_KTextEditor_Cursor_setRange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_start), meth_KTextEditor_Cursor_start, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toSmartCursor), meth_KTextEditor_Cursor_toSmartCursor, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_ktexteditor_KTextEditor_Cursor = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KTextEditor__Cursor,
        {0}
    },
    sipNameNr_Cursor,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {1, 255, 0},
    0,
    0,
    16, methods_KTextEditor_Cursor,
    0, 0,
    0, 0,
    init_KTextEditor_Cursor,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KTextEditor_Cursor,
    release_KTextEditor_Cursor,
    cast_KTextEditor_Cursor,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_KTextEditor_Cursor,
    0,
    0,
    0
};

#line 31 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/ktexteditor/containerinterface.sip"
#include <ktexteditor/containerinterface.h>
#line 1328 "sipktexteditorpart5.cpp"

#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 1332 "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:
    void setContainer(QObject *);
    QObject * container();

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);
}

void sipKTextEditor_ContainerInterface::setContainer(QObject *a0)
{
    typedef void (*sipVH_QtGui_230)(sip_gilstate_t,PyObject *,QObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_ContainerInterface,sipName_setContainer);

    if (!meth)
        return;

    ((sipVH_QtGui_230)(sipModuleAPI_ktexteditor_QtGui->em_virthandlers[230]))(sipGILState,meth,a0);
}

QObject * sipKTextEditor_ContainerInterface::container()
{
    extern QObject * sipVH_ktexteditor_81(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,sipName_ContainerInterface,sipName_container);

    if (!meth)
        return 0;

    return sipVH_ktexteditor_81(sipGILState,meth);
}


extern "C" {static PyObject *meth_KTextEditor_ContainerInterface_setContainer(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_ContainerInterface_setContainer(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KTextEditor_ContainerInterface,&sipCpp,sipType_QObject,&a0))
        {
            if (sipSelfWasArg)
            {
                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(sipArgsParsed,sipName_ContainerInterface,sipName_setContainer);

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_ContainerInterface_container(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_ContainerInterface_container(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KTextEditor::ContainerInterface *sipCpp;

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

            if (sipSelfWasArg)
            {
                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(sipArgsParsed,sipName_ContainerInterface,sipName_container);

    return NULL;
}


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

    return NULL;
}


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

    if (state & 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 *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KTextEditor_ContainerInterface(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KTextEditor_ContainerInterface(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KTextEditor_ContainerInterface(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipKTextEditor_ContainerInterface *sipCpp = 0;

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

    if (!sipCpp)
    {
        const KTextEditor::ContainerInterface * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_KTextEditor_ContainerInterface,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKTextEditor_ContainerInterface(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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 pyqt4Type_ktexteditor_KTextEditor_ContainerInterface = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_KTextEditor__ContainerInterface,
        {0}
    },
    sipNameNr_ContainerInterface,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {1, 255, 0},
    0,
    0,
    2, methods_KTextEditor_ContainerInterface,
    0, 0,
    0, 0,
    init_KTextEditor_ContainerInterface,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KTextEditor_ContainerInterface,
    release_KTextEditor_ContainerInterface,
    cast_KTextEditor_ContainerInterface,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 30 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/ktexteditor/configpage.sip"
#include <ktexteditor/configpage.h>
#line 1600 "sipktexteditorpart5.cpp"

#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 1604 "sipktexteditorpart5.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 1607 "sipktexteditorpart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 1610 "sipktexteditorpart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 1613 "sipktexteditorpart5.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 1616 "sipktexteditorpart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 1619 "sipktexteditorpart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 1622 "sipktexteditorpart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 1625 "sipktexteditorpart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 1628 "sipktexteditorpart5.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 1631 "sipktexteditorpart5.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1634 "sipktexteditorpart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 1637 "sipktexteditorpart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 1640 "sipktexteditorpart5.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 1643 "sipktexteditorpart5.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 1646 "sipktexteditorpart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 1649 "sipktexteditorpart5.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1652 "sipktexteditorpart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 1655 "sipktexteditorpart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 1658 "sipktexteditorpart5.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1663 "sipktexteditorpart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1666 "sipktexteditorpart5.cpp"
#line 424 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1669 "sipktexteditorpart5.cpp"
#line 412 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1672 "sipktexteditorpart5.cpp"
#line 508 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1675 "sipktexteditorpart5.cpp"
#line 562 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1678 "sipktexteditorpart5.cpp"
#line 533 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1681 "sipktexteditorpart5.cpp"
#line 550 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1684 "sipktexteditorpart5.cpp"
#line 618 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1687 "sipktexteditorpart5.cpp"
#line 247 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1690 "sipktexteditorpart5.cpp"
#line 436 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1693 "sipktexteditorpart5.cpp"
#line 388 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1696 "sipktexteditorpart5.cpp"
#line 374 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1699 "sipktexteditorpart5.cpp"
#line 360 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1702 "sipktexteditorpart5.cpp"
#line 345 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1705 "sipktexteditorpart5.cpp"
#line 325 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1708 "sipktexteditorpart5.cpp"
#line 296 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1711 "sipktexteditorpart5.cpp"
#line 225 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1714 "sipktexteditorpart5.cpp"
#line 184 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1717 "sipktexteditorpart5.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 1720 "sipktexteditorpart5.cpp"
#line 74 "/usr/local/share/py-sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 1723 "sipktexteditorpart5.cpp"
#line 47 "/usr/local/share/py-sip/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 1726 "sipktexteditorpart5.cpp"
#line 136 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#include <qlist.h>
#line 66 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qlist.h>
#line 229 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 520 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 1787 "sipktexteditorpart5.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 1790 "sipktexteditorpart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 1793 "sipktexteditorpart5.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 1796 "sipktexteditorpart5.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 1799 "sipktexteditorpart5.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1804 "sipktexteditorpart5.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 1807 "sipktexteditorpart5.cpp"
#line 99 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 1810 "sipktexteditorpart5.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 1813 "sipktexteditorpart5.cpp"
#line 165 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 1816 "sipktexteditorpart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 1819 "sipktexteditorpart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qdockwidget.sip"
#include <qdockwidget.h>
#line 1822 "sipktexteditorpart5.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 1825 "sipktexteditorpart5.cpp"
#line 334 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 1828 "sipktexteditorpart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 56 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 1833 "sipktexteditorpart5.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qprinterinfo.h>
#line 1836 "sipktexteditorpart5.cpp"
#line 202 "/usr/local/share/py-sip/QtGui/qstandarditemmodel.sip"
#include <qstandarditemmodel.h>
#line 1839 "sipktexteditorpart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 1842 "sipktexteditorpart5.cpp"
#line 66 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 1845 "sipktexteditorpart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 114 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 1850 "sipktexteditorpart5.cpp"
#line 65 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 88 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 1855 "sipktexteditorpart5.cpp"
#line 149 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 175 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 1860 "sipktexteditorpart5.cpp"
#line 83 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 101 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 1865 "sipktexteditorpart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 1868 "sipktexteditorpart5.cpp"
#line 75 "/usr/local/share/py-sip/QtGui/qundostack.sip"
#include <qundostack.h>
#line 1871 "sipktexteditorpart5.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 1874 "sipktexteditorpart5.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qprinter.sip"
#include <qprinter.h>
#line 1877 "sipktexteditorpart5.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#line 1880 "sipktexteditorpart5.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qlayout.sip"
#include <qlayout.h>
#line 1883 "sipktexteditorpart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 1886 "sipktexteditorpart5.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1889 "sipktexteditorpart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 1892 "sipktexteditorpart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 1895 "sipktexteditorpart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 1898 "sipktexteditorpart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 1901 "sipktexteditorpart5.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1904 "sipktexteditorpart5.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1907 "sipktexteditorpart5.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 1910 "sipktexteditorpart5.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 1941 "sipktexteditorpart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 1944 "sipktexteditorpart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 1947 "sipktexteditorpart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 1950 "sipktexteditorpart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 1953 "sipktexteditorpart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 1956 "sipktexteditorpart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 1959 "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 public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    bool sipProtectVirt_event(bool,QEvent *);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent *);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent *);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent *);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent *);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent *);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent *);
    void sipProtectVirt_enterEvent(bool,QEvent *);
    void sipProtectVirt_leaveEvent(bool,QEvent *);
    void sipProtectVirt_paintEvent(bool,QPaintEvent *);
    void sipProtectVirt_moveEvent(bool,QMoveEvent *);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent *);
    void sipProtectVirt_closeEvent(bool,QCloseEvent *);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent *);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent *);
    void sipProtectVirt_actionEvent(bool,QActionEvent *);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent *);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent *);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent *);
    void sipProtectVirt_dropEvent(bool,QDropEvent *);
    void sipProtectVirt_showEvent(bool,QShowEvent *);
    void sipProtectVirt_hideEvent(bool,QHideEvent *);
    void sipProtectVirt_changeEvent(bool,QEvent *);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent *);
    void sipProtect_resetInputContext();
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    void sipProtectVirt_enabledChange(bool,bool);
    void sipProtectVirt_paletteChange(bool,const QPalette&);
    void sipProtectVirt_fontChange(bool,const QFont&);
    void sipProtectVirt_windowActivationChange(bool,bool);
    void sipProtectVirt_languageChange(bool);

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

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 && sip_ktexteditor_qt_metacast(sipPySelf,sipType_KTextEditor_ConfigPage,_clname)) ? this : KTextEditor::ConfigPage::qt_metacast(_clname);
}

void sipKTextEditor_ConfigPage::apply()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_ConfigPage,sipName_apply);

    if (!meth)
        return;

    ((sipVH_QtCore_5)(sipModuleAPI_ktexteditor_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipKTextEditor_ConfigPage::reset()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,sipName_ConfigPage,sipName_reset);

    if (!meth)
        return;

    ((sipVH_QtCore_5)(sipModuleAPI_ktexteditor_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipKTextEditor_ConfigPage::defaults()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,sipName_ConfigPage,sipName_defaults);

    if (!meth)
        return;

    ((sipVH_QtCore_5)(sipModuleAPI_ktexteditor_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

int sipKTextEditor_ConfigPage::devType() const
{
    typedef int (*sipVH_QtCore_8)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return ((sipVH_QtCore_8)(sipModuleAPI_ktexteditor_QtCore->em_virthandlers[8]))(sipGILState,meth);
}

void sipKTextEditor_ConfigPage::setVisible(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_setVisible);

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

    ((sipVH_QtGui_7)(sipModuleAPI_ktexteditor_QtGui->em_virthandlers[7]))(sipGILState,meth,a0);
}

QSize sipKTextEditor_ConfigPage::sizeHint() const
{
    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

QSize sipKTextEditor_ConfigPage::minimumSizeHint() const
{
    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

int sipKTextEditor_ConfigPage::heightForWidth(int a0) const
{
    typedef int (*sipVH_QtGui_29)(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return ((sipVH_QtGui_29)(sipModuleAPI_ktexteditor_QtGui->em_virthandlers[29]))(sipGILState,meth,a0);
}

QPaintEngine * sipKTextEditor_ConfigPage::paintEngine() const
{
    typedef QPaintEngine * (*sipVH_QtGui_28)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

bool sipKTextEditor_ConfigPage::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_event);

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

    return ((sipVH_QtCore_13)(sipModuleAPI_ktexteditor_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

void sipKTextEditor_ConfigPage::mousePressEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_mousePressEvent);

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

    ((sipVH_QtGui_27)(sipModuleAPI_ktexteditor_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipKTextEditor_ConfigPage::mouseReleaseEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_mouseReleaseEvent);

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

    ((sipVH_QtGui_27)(sipModuleAPI_ktexteditor_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipKTextEditor_ConfigPage::mouseDoubleClickEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

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

    ((sipVH_QtGui_27)(sipModuleAPI_ktexteditor_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipKTextEditor_ConfigPage::mouseMoveEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_mouseMoveEvent);

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

    ((sipVH_QtGui_27)(sipModuleAPI_ktexteditor_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipKTextEditor_ConfigPage::wheelEvent(QWheelEvent *a0)
{
    typedef void (*sipVH_QtGui_5)(sip_gilstate_t,PyObject *,QWheelEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_wheelEvent);

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

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

void sipKTextEditor_ConfigPage::keyPressEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_keyPressEvent);

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

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

void sipKTextEditor_ConfigPage::keyReleaseEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_keyReleaseEvent);

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

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

void sipKTextEditor_ConfigPage::focusInEvent(QFocusEvent *a0)
{
    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QFocusEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_focusInEvent);

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

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

void sipKTextEditor_ConfigPage::focusOutEvent(QFocusEvent *a0)
{
    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QFocusEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_focusOutEvent);

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

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

void sipKTextEditor_ConfigPage::enterEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_enterEvent);

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

    ((sipVH_QtCore_19)(sipModuleAPI_ktexteditor_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKTextEditor_ConfigPage::leaveEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_leaveEvent);

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

    ((sipVH_QtCore_19)(sipModuleAPI_ktexteditor_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKTextEditor_ConfigPage::paintEvent(QPaintEvent *a0)
{
    typedef void (*sipVH_QtGui_3)(sip_gilstate_t,PyObject *,QPaintEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_paintEvent);

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

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

void sipKTextEditor_ConfigPage::moveEvent(QMoveEvent *a0)
{
    typedef void (*sipVH_QtGui_24)(sip_gilstate_t,PyObject *,QMoveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_moveEvent);

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

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

void sipKTextEditor_ConfigPage::resizeEvent(QResizeEvent *a0)
{
    typedef void (*sipVH_QtGui_2)(sip_gilstate_t,PyObject *,QResizeEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_resizeEvent);

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

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

void sipKTextEditor_ConfigPage::closeEvent(QCloseEvent *a0)
{
    typedef void (*sipVH_QtGui_23)(sip_gilstate_t,PyObject *,QCloseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_closeEvent);

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

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

void sipKTextEditor_ConfigPage::contextMenuEvent(QContextMenuEvent *a0)
{
    typedef void (*sipVH_QtGui_22)(sip_gilstate_t,PyObject *,QContextMenuEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_contextMenuEvent);

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

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

void sipKTextEditor_ConfigPage::tabletEvent(QTabletEvent *a0)
{
    typedef void (*sipVH_QtGui_21)(sip_gilstate_t,PyObject *,QTabletEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_tabletEvent);

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

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

void sipKTextEditor_ConfigPage::actionEvent(QActionEvent *a0)
{
    typedef void (*sipVH_QtGui_20)(sip_gilstate_t,PyObject *,QActionEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_actionEvent);

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

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

void sipKTextEditor_ConfigPage::dragEnterEvent(QDragEnterEvent *a0)
{
    typedef void (*sipVH_QtGui_19)(sip_gilstate_t,PyObject *,QDragEnterEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_dragEnterEvent);

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

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

void sipKTextEditor_ConfigPage::dragMoveEvent(QDragMoveEvent *a0)
{
    typedef void (*sipVH_QtGui_18)(sip_gilstate_t,PyObject *,QDragMoveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_dragMoveEvent);

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

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

void sipKTextEditor_ConfigPage::dragLeaveEvent(QDragLeaveEvent *a0)
{
    typedef void (*sipVH_QtGui_17)(sip_gilstate_t,PyObject *,QDragLeaveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_dragLeaveEvent);

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

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

void sipKTextEditor_ConfigPage::dropEvent(QDropEvent *a0)
{
    typedef void (*sipVH_QtGui_16)(sip_gilstate_t,PyObject *,QDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_dropEvent);

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

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

void sipKTextEditor_ConfigPage::showEvent(QShowEvent *a0)
{
    typedef void (*sipVH_QtGui_1)(sip_gilstate_t,PyObject *,QShowEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_showEvent);

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

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

void sipKTextEditor_ConfigPage::hideEvent(QHideEvent *a0)
{
    typedef void (*sipVH_QtGui_0)(sip_gilstate_t,PyObject *,QHideEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_hideEvent);

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

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

void sipKTextEditor_ConfigPage::changeEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_changeEvent);

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

    ((sipVH_QtCore_19)(sipModuleAPI_ktexteditor_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

int sipKTextEditor_ConfigPage::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    typedef int (*sipVH_QtGui_15)(sip_gilstate_t,PyObject *,QPaintDevice::PaintDeviceMetric);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKTextEditor_ConfigPage::inputMethodEvent(QInputMethodEvent *a0)
{
    typedef void (*sipVH_QtGui_14)(sip_gilstate_t,PyObject *,QInputMethodEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_inputMethodEvent);

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

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

QVariant sipKTextEditor_ConfigPage::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    typedef QVariant (*sipVH_QtGui_13)(sip_gilstate_t,PyObject *,Qt::InputMethodQuery);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

bool sipKTextEditor_ConfigPage::focusNextPrevChild(bool a0)
{
    typedef bool (*sipVH_QtGui_12)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_focusNextPrevChild);

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

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

void sipKTextEditor_ConfigPage::enabledChange(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_enabledChange);

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

    ((sipVH_QtGui_7)(sipModuleAPI_ktexteditor_QtGui->em_virthandlers[7]))(sipGILState,meth,a0);
}

void sipKTextEditor_ConfigPage::paletteChange(const QPalette& a0)
{
    typedef void (*sipVH_QtGui_11)(sip_gilstate_t,PyObject *,const QPalette&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_paletteChange);

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

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

void sipKTextEditor_ConfigPage::fontChange(const QFont& a0)
{
    typedef void (*sipVH_QtGui_10)(sip_gilstate_t,PyObject *,const QFont&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_fontChange);

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

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

void sipKTextEditor_ConfigPage::windowActivationChange(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_windowActivationChange);

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

    ((sipVH_QtGui_7)(sipModuleAPI_ktexteditor_QtGui->em_virthandlers[7]))(sipGILState,meth,a0);
}

void sipKTextEditor_ConfigPage::languageChange()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_languageChange);

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

    ((sipVH_QtCore_5)(sipModuleAPI_ktexteditor_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_eventFilter);

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

    return ((sipVH_QtCore_21)(sipModuleAPI_ktexteditor_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

void sipKTextEditor_ConfigPage::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_timerEvent);

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

    ((sipVH_QtCore_3)(sipModuleAPI_ktexteditor_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKTextEditor_ConfigPage::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_childEvent);

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

    ((sipVH_QtCore_20)(sipModuleAPI_ktexteditor_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKTextEditor_ConfigPage::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_customEvent);

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

    ((sipVH_QtCore_19)(sipModuleAPI_ktexteditor_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKTextEditor_ConfigPage::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_connectNotify);

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

    ((sipVH_QtCore_18)(sipModuleAPI_ktexteditor_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKTextEditor_ConfigPage::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_disconnectNotify);

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

    ((sipVH_QtCore_18)(sipModuleAPI_ktexteditor_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

    {
        char * a0;
        sipKTextEditor_ConfigPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KTextEditor_ConfigPage,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 3236 "sipktexteditorpart5.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_ConfigPage_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_ConfigPage_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKTextEditor_ConfigPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KTextEditor_ConfigPage,&sipCpp,sipType_QTimerEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_ConfigPage_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_ConfigPage_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKTextEditor_ConfigPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KTextEditor_ConfigPage,&sipCpp,sipType_QChildEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_ConfigPage_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_ConfigPage_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKTextEditor_ConfigPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KTextEditor_ConfigPage,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_ConfigPage_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_ConfigPage_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKTextEditor_ConfigPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KTextEditor_ConfigPage,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_ConfigPage_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_ConfigPage_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKTextEditor_ConfigPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KTextEditor_ConfigPage,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_ConfigPage_event(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_ConfigPage_event(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKTextEditor_ConfigPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KTextEditor_ConfigPage,&sipCpp,sipType_QEvent,&a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_ConfigPage_mousePressEvent(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_ConfigPage_mousePressEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipKTextEditor_ConfigPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KTextEditor_ConfigPage,&sipCpp,sipType_QMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_ConfigPage_mouseReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_ConfigPage_mouseReleaseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipKTextEditor_ConfigPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KTextEditor_ConfigPage,&sipCpp,sipType_QMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_ConfigPage_mouseDoubleClickEvent(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_ConfigPage_mouseDoubleClickEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipKTextEditor_ConfigPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KTextEditor_ConfigPage,&sipCpp,sipType_QMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_ConfigPage_mouseMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_ConfigPage_mouseMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipKTextEditor_ConfigPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KTextEditor_ConfigPage,&sipCpp,sipType_QMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_ConfigPage_wheelEvent(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_ConfigPage_wheelEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent * a0;
        sipKTextEditor_ConfigPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KTextEditor_ConfigPage,&sipCpp,sipType_QWheelEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_ConfigPage_keyPressEvent(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_ConfigPage_keyPressEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipKTextEditor_ConfigPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KTextEditor_ConfigPage,&sipCpp,sipType_QKeyEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_ConfigPage_keyReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_ConfigPage_keyReleaseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipKTextEditor_ConfigPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KTextEditor_ConfigPage,&sipCpp,sipType_QKeyEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_ConfigPage_focusInEvent(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_ConfigPage_focusInEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipKTextEditor_ConfigPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KTextEditor_ConfigPage,&sipCpp,sipType_QFocusEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_ConfigPage_focusOutEvent(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_ConfigPage_focusOutEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipKTextEditor_ConfigPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KTextEditor_ConfigPage,&sipCpp,sipType_QFocusEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_ConfigPage_enterEvent(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_ConfigPage_enterEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKTextEditor_ConfigPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KTextEditor_ConfigPage,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_ConfigPage_leaveEvent(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_ConfigPage_leaveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKTextEditor_ConfigPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KTextEditor_ConfigPage,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_ConfigPage_paintEvent(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_ConfigPage_paintEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent * a0;
        sipKTextEditor_ConfigPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KTextEditor_ConfigPage,&sipCpp,sipType_QPaintEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_ConfigPage_moveEvent(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_ConfigPage_moveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent * a0;
        sipKTextEditor_ConfigPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KTextEditor_ConfigPage,&sipCpp,sipType_QMoveEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_ConfigPage_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_ConfigPage_resizeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent * a0;
        sipKTextEditor_ConfigPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KTextEditor_ConfigPage,&sipCpp,sipType_QResizeEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_ConfigPage_closeEvent(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_ConfigPage_closeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent * a0;
        sipKTextEditor_ConfigPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KTextEditor_ConfigPage,&sipCpp,sipType_QCloseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_ConfigPage_contextMenuEvent(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_ConfigPage_contextMenuEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent * a0;
        sipKTextEditor_ConfigPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KTextEditor_ConfigPage,&sipCpp,sipType_QContextMenuEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_ConfigPage_tabletEvent(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_ConfigPage_tabletEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent * a0;
        sipKTextEditor_ConfigPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KTextEditor_ConfigPage,&sipCpp,sipType_QTabletEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_ConfigPage_actionEvent(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_ConfigPage_actionEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent * a0;
        sipKTextEditor_ConfigPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KTextEditor_ConfigPage,&sipCpp,sipType_QActionEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_ConfigPage_dragEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_ConfigPage_dragEnterEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent * a0;
        sipKTextEditor_ConfigPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KTextEditor_ConfigPage,&sipCpp,sipType_QDragEnterEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_ConfigPage_dragMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_ConfigPage_dragMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent * a0;
        sipKTextEditor_ConfigPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KTextEditor_ConfigPage,&sipCpp,sipType_QDragMoveEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_ConfigPage_dragLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_ConfigPage_dragLeaveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent * a0;
        sipKTextEditor_ConfigPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KTextEditor_ConfigPage,&sipCpp,sipType_QDragLeaveEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_ConfigPage_dropEvent(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_ConfigPage_dropEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent * a0;
        sipKTextEditor_ConfigPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KTextEditor_ConfigPage,&sipCpp,sipType_QDropEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_ConfigPage_showEvent(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_ConfigPage_showEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent * a0;
        sipKTextEditor_ConfigPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KTextEditor_ConfigPage,&sipCpp,sipType_QShowEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_ConfigPage_hideEvent(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_ConfigPage_hideEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent * a0;
        sipKTextEditor_ConfigPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KTextEditor_ConfigPage,&sipCpp,sipType_QHideEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_ConfigPage_changeEvent(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_ConfigPage_changeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKTextEditor_ConfigPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KTextEditor_ConfigPage,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_ConfigPage_metric(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_ConfigPage_metric(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        sipKTextEditor_ConfigPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pE",&sipSelf,sipType_KTextEditor_ConfigPage,&sipCpp,sipType_QPaintDevice_PaintDeviceMetric,&a0))
        {
            int sipRes;

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

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_ConfigPage_inputMethodEvent(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_ConfigPage_inputMethodEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent * a0;
        sipKTextEditor_ConfigPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KTextEditor_ConfigPage,&sipCpp,sipType_QInputMethodEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipKTextEditor_ConfigPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KTextEditor_ConfigPage,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_resetInputContext();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipKTextEditor_ConfigPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KTextEditor_ConfigPage,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_updateMicroFocus();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p|mbb",&sipSelf,sipType_KTextEditor_ConfigPage,&sipCpp,&a0,&a1,&a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_create(a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p|bb",&sipSelf,sipType_KTextEditor_ConfigPage,&sipCpp,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_destroy(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_ConfigPage_focusNextPrevChild(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_ConfigPage_focusNextPrevChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipKTextEditor_ConfigPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KTextEditor_ConfigPage,&sipCpp,&a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipKTextEditor_ConfigPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KTextEditor_ConfigPage,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_focusNextChild();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipKTextEditor_ConfigPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KTextEditor_ConfigPage,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_focusPreviousChild();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_ConfigPage_enabledChange(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_ConfigPage_enabledChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipKTextEditor_ConfigPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KTextEditor_ConfigPage,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_enabledChange(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_ConfigPage_paletteChange(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_ConfigPage_paletteChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPalette * a0;
        sipKTextEditor_ConfigPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KTextEditor_ConfigPage,&sipCpp,sipType_QPalette,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paletteChange(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_ConfigPage_fontChange(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_ConfigPage_fontChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QFont * a0;
        sipKTextEditor_ConfigPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KTextEditor_ConfigPage,&sipCpp,sipType_QFont,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_fontChange(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_ConfigPage_windowActivationChange(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_ConfigPage_windowActivationChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipKTextEditor_ConfigPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KTextEditor_ConfigPage,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_windowActivationChange(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_ConfigPage_languageChange(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_ConfigPage_languageChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipKTextEditor_ConfigPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KTextEditor_ConfigPage,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_languageChange(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_ConfigPage_apply(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_ConfigPage_apply(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KTextEditor::ConfigPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KTextEditor_ConfigPage,&sipCpp))
        {
            if (sipSelfWasArg)
            {
                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(sipArgsParsed,sipName_ConfigPage,sipName_apply);

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_ConfigPage_reset(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_ConfigPage_reset(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KTextEditor::ConfigPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KTextEditor_ConfigPage,&sipCpp))
        {
            if (sipSelfWasArg)
            {
                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(sipArgsParsed,sipName_ConfigPage,sipName_reset);

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_ConfigPage_defaults(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_ConfigPage_defaults(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KTextEditor::ConfigPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KTextEditor_ConfigPage,&sipCpp))
        {
            if (sipSelfWasArg)
            {
                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(sipArgsParsed,sipName_ConfigPage,sipName_defaults);

    return NULL;
}


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

    if (targetType == sipType_KTextEditor_ConfigPage)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QWidget)->ctd_cast((QWidget *)(KTextEditor::ConfigPage *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKTextEditor_ConfigPage *>(sipCppV);
    else
        delete reinterpret_cast<KTextEditor::ConfigPage *>(sipCppV);

    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 *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KTextEditor_ConfigPage(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KTextEditor_ConfigPage(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KTextEditor_ConfigPage(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipKTextEditor_ConfigPage *sipCpp = 0;

    if (!sipCpp)
    {
        QWidget * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J8",sipType_QWidget,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKTextEditor_ConfigPage(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


static PyMethodDef methods_KTextEditor_ConfigPage[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), meth_KTextEditor_ConfigPage_actionEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_apply), meth_KTextEditor_ConfigPage_apply, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_KTextEditor_ConfigPage_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KTextEditor_ConfigPage_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_KTextEditor_ConfigPage_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KTextEditor_ConfigPage_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_KTextEditor_ConfigPage_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_create), meth_KTextEditor_ConfigPage_create, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KTextEditor_ConfigPage_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_defaults), meth_KTextEditor_ConfigPage_defaults, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), meth_KTextEditor_ConfigPage_destroy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KTextEditor_ConfigPage_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_KTextEditor_ConfigPage_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_KTextEditor_ConfigPage_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_KTextEditor_ConfigPage_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_KTextEditor_ConfigPage_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enabledChange), meth_KTextEditor_ConfigPage_enabledChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), meth_KTextEditor_ConfigPage_enterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_KTextEditor_ConfigPage_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_KTextEditor_ConfigPage_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), meth_KTextEditor_ConfigPage_focusNextChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), meth_KTextEditor_ConfigPage_focusNextPrevChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_KTextEditor_ConfigPage_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), meth_KTextEditor_ConfigPage_focusPreviousChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fontChange), meth_KTextEditor_ConfigPage_fontChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_KTextEditor_ConfigPage_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), meth_KTextEditor_ConfigPage_inputMethodEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_KTextEditor_ConfigPage_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), meth_KTextEditor_ConfigPage_keyReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_languageChange), meth_KTextEditor_ConfigPage_languageChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), meth_KTextEditor_ConfigPage_leaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), meth_KTextEditor_ConfigPage_metric, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_KTextEditor_ConfigPage_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_KTextEditor_ConfigPage_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_KTextEditor_ConfigPage_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_KTextEditor_ConfigPage_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), meth_KTextEditor_ConfigPage_moveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_KTextEditor_ConfigPage_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paletteChange), meth_KTextEditor_ConfigPage_paletteChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KTextEditor_ConfigPage_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_reset), meth_KTextEditor_ConfigPage_reset, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resetInputContext), meth_KTextEditor_ConfigPage_resetInputContext, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_KTextEditor_ConfigPage_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_KTextEditor_ConfigPage_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tabletEvent), meth_KTextEditor_ConfigPage_tabletEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KTextEditor_ConfigPage_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), meth_KTextEditor_ConfigPage_updateMicroFocus, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_KTextEditor_ConfigPage_wheelEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowActivationChange), meth_KTextEditor_ConfigPage_windowActivationChange, METH_VARARGS, NULL}
};


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


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

#line 30 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/ktexteditor/configinterface.sip"
#include <ktexteditor/configinterface.h>
#line 4784 "sipktexteditorpart5.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 4788 "sipktexteditorpart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 4791 "sipktexteditorpart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 4794 "sipktexteditorpart5.cpp"


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

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

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()
{
    sipCommonDtor(sipPySelf);
}

QStringList sipKTextEditor_ConfigInterface::configKeys() const
{
    typedef QStringList (*sipVH_QtCore_23)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QStringList();

    return ((sipVH_QtCore_23)(sipModuleAPI_ktexteditor_QtCore->em_virthandlers[23]))(sipGILState,meth);
}

QVariant sipKTextEditor_ConfigInterface::configValue(const QString& a0)
{
    extern QVariant sipVH_ktexteditor_83(sip_gilstate_t,PyObject *,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QVariant();

    return sipVH_ktexteditor_83(sipGILState,meth,a0);
}

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,sipName_ConfigInterface,sipName_setConfigValue);

    if (!meth)
        return;

    sipVH_ktexteditor_82(sipGILState,meth,a0,a1);
}


extern "C" {static PyObject *meth_KTextEditor_ConfigInterface_configKeys(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_ConfigInterface_configKeys(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KTextEditor::ConfigInterface *sipCpp;

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

            if (sipSelfWasArg)
            {
                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(sipArgsParsed,sipName_ConfigInterface,sipName_configKeys);

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_ConfigInterface_configValue(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_ConfigInterface_configValue(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

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

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

            if (sipSelfWasArg)
            {
                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(sipArgsParsed,sipName_ConfigInterface,sipName_configValue);

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_ConfigInterface_setConfigValue(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_ConfigInterface_setConfigValue(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1J1",&sipSelf,sipType_KTextEditor_ConfigInterface,&sipCpp,sipType_QString,&a0,&a0State,sipType_QVariant,&a1,&a1State))
        {
            if (sipSelfWasArg)
            {
                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(sipArgsParsed,sipName_ConfigInterface,sipName_setConfigValue);

    return NULL;
}


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

    return NULL;
}


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

    if (state & 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 *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KTextEditor_ConfigInterface(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KTextEditor_ConfigInterface(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KTextEditor_ConfigInterface(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipKTextEditor_ConfigInterface *sipCpp = 0;

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

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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 pyqt4Type_ktexteditor_KTextEditor_ConfigInterface = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_KTextEditor__ConfigInterface,
        {0}
    },
    sipNameNr_ConfigInterface,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {1, 255, 0},
    0,
    0,
    3, methods_KTextEditor_ConfigInterface,
    0, 0,
    0, 0,
    init_KTextEditor_ConfigInterface,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KTextEditor_ConfigInterface,
    release_KTextEditor_ConfigInterface,
    cast_KTextEditor_ConfigInterface,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 61 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/ktexteditor/commandinterface.sip"
#include <ktexteditor/commandinterface.h>
#line 5105 "sipktexteditorpart5.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 5109 "sipktexteditorpart5.cpp"
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 5124 "sipktexteditorpart5.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 5127 "sipktexteditorpart5.cpp"
#line 30 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/ktexteditor/commandinterface.sip"
#include <ktexteditor/commandinterface.h>
#line 5130 "sipktexteditorpart5.cpp"
#line 30 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/ktexteditor/view.sip"
#include <ktexteditor/view.h>

#include <ktexteditor/codecompletioninterface.h>
#include <ktexteditor/sessionconfiginterface.h>
#include <ktexteditor/texthintinterface.h>
#line 5137 "sipktexteditorpart5.cpp"
#line 30 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/ktexteditor/document.sip"
#include <ktexteditor/document.h>

#include <ktexteditor/modificationinterface.h>
#include <ktexteditor/markinterface.h>
#include <ktexteditor/searchinterface.h>
#include <ktexteditor/sessionconfiginterface.h>
#include <ktexteditor/smartinterface.h>
#include <ktexteditor/templateinterface.h>
#include <ktexteditor/variableinterface.h>
#line 5148 "sipktexteditorpart5.cpp"
#line 30 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/ktexteditor/smartrange.sip"
#include <ktexteditor/smartrange.h>
#line 5151 "sipktexteditorpart5.cpp"
#line 30 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/ktexteditor/rangefeedback.sip"
#include <ktexteditor/rangefeedback.h>
#line 5154 "sipktexteditorpart5.cpp"
#line 60 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/ktexteditor/rangefeedback.sip"
#include <ktexteditor/rangefeedback.h>
#line 5157 "sipktexteditorpart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 5160 "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:
    bool registerCommand(KTextEditor::Command *);
    bool unregisterCommand(KTextEditor::Command *);
    KTextEditor::Command * queryCommand(const QString&) const;
    QList<KTextEditor::Command *> commands() const;
    QStringList commandList() const;

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);
}

bool sipKTextEditor_CommandInterface::registerCommand(KTextEditor::Command *a0)
{
    extern bool sipVH_ktexteditor_86(sip_gilstate_t,PyObject *,KTextEditor::Command *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_CommandInterface,sipName_registerCommand);

    if (!meth)
        return 0;

    return sipVH_ktexteditor_86(sipGILState,meth,a0);
}

bool sipKTextEditor_CommandInterface::unregisterCommand(KTextEditor::Command *a0)
{
    extern bool sipVH_ktexteditor_86(sip_gilstate_t,PyObject *,KTextEditor::Command *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,sipName_CommandInterface,sipName_unregisterCommand);

    if (!meth)
        return 0;

    return sipVH_ktexteditor_86(sipGILState,meth,a0);
}

KTextEditor::Command * sipKTextEditor_CommandInterface::queryCommand(const QString& a0) const
{
    extern KTextEditor::Command * sipVH_ktexteditor_85(sip_gilstate_t,PyObject *,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return 0;

    return sipVH_ktexteditor_85(sipGILState,meth,a0);
}

QList<KTextEditor::Command *> sipKTextEditor_CommandInterface::commands() const
{
    extern QList<KTextEditor::Command *> sipVH_ktexteditor_84(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return sipVH_ktexteditor_84(sipGILState,meth);
}

QStringList sipKTextEditor_CommandInterface::commandList() const
{
    typedef QStringList (*sipVH_QtCore_23)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QStringList();

    return ((sipVH_QtCore_23)(sipModuleAPI_ktexteditor_QtCore->em_virthandlers[23]))(sipGILState,meth);
}


extern "C" {static PyObject *meth_KTextEditor_CommandInterface_registerCommand(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_CommandInterface_registerCommand(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

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

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

            if (sipSelfWasArg)
            {
                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(sipArgsParsed,sipName_CommandInterface,sipName_registerCommand);

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_CommandInterface_unregisterCommand(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_CommandInterface_unregisterCommand(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

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

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

            if (sipSelfWasArg)
            {
                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(sipArgsParsed,sipName_CommandInterface,sipName_unregisterCommand);

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_CommandInterface_queryCommand(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_CommandInterface_queryCommand(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

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

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

            if (sipSelfWasArg)
            {
                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(sipArgsParsed,sipName_CommandInterface,sipName_queryCommand);

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_CommandInterface_commands(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_CommandInterface_commands(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KTextEditor::CommandInterface *sipCpp;

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

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

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

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

            return sipResObj;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KTextEditor_CommandInterface_commandList(PyObject *, PyObject *);}
static PyObject *meth_KTextEditor_CommandInterface_commandList(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KTextEditor::CommandInterface *sipCpp;

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

            if (sipSelfWasArg)
            {
                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(sipArgsParsed,sipName_CommandInterface,sipName_commandList);

    return NULL;
}


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

    return NULL;
}


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

    if (state & 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 *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KTextEditor_CommandInterface(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KTextEditor_CommandInterface(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KTextEditor_CommandInterface(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipKTextEditor_CommandInterface *sipCpp = 0;

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

    if (!sipCpp)
    {
        const KTextEditor::CommandInterface * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_KTextEditor_CommandInterface,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKTextEditor_CommandInterface(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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 pyqt4Type_ktexteditor_KTextEditor_CommandInterface = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_KTextEditor__CommandInterface,
        {0}
    },
    sipNameNr_CommandInterface,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {1, 255, 0},
    0,
    0,
    5, methods_KTextEditor_CommandInterface,
    0, 0,
    0, 0,
    init_KTextEditor_CommandInterface,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KTextEditor_CommandInterface,
    release_KTextEditor_CommandInterface,
    cast_KTextEditor_CommandInterface,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};
