/*
 * Interface wrapper code.
 *
 * Generated by SIP 6.15.2
 *
 * Copyright (c) 2023 Riverbank Computing Limited <info@riverbankcomputing.com>
 * 
 * This file is part of QScintilla.
 * 
 * This file may be used under the terms of the GNU General Public License
 * version 3.0 as published by the Free Software Foundation and appearing in
 * the file LICENSE included in the packaging of this file.  Please review the
 * following information to ensure the GNU General Public License version 3.0
 * requirements will be met: http://www.gnu.org/copyleft/gpl.html.
 * 
 * If you do not wish to use this file under the terms of the GPL version 3.0
 * then you may purchase a commercial license.  For more information contact
 * info@riverbankcomputing.com.
 * 
 * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
 * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 */

#include "sipAPIQsci.h"

#line 24 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/sip/qscilexer.sip"
#include <Qsci/qscilexer.h>
#line 29 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexer.cpp"

#line 28 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qobject.sip"
#include <qobject.h>
#line 33 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexer.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qsettings.sip"
#include <qsettings.h>
#line 36 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexer.cpp"
#line 24 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qstring.sip"
#include <qstring.h>
#line 39 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexer.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtGui/qcolor.sip"
#include <qcolor.h>
#line 42 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexer.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtGui/qfont.sip"
#include <qfont.h>
#line 45 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexer.cpp"
#line 24 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/sip/qsciabstractapis.sip"
#include <Qsci/qsciabstractapis.h>
#line 48 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexer.cpp"
#line 24 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/sip/qsciscintilla.sip"
#include <Qsci/qsciscintilla.h>
#line 51 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexer.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 54 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexer.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 154 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 59 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexer.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 62 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexer.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 65 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexer.cpp"
#line 277 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 68 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexer.cpp"
#line 254 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 71 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexer.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qvariant.sip"
#include <qvariant.h>
#line 74 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexer.cpp"
#line 28 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 77 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexer.cpp"
#line 30 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 80 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexer.cpp"
#line 135 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 83 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexer.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 154 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qtextstream.sip"
#include <qtextstream.h>
#line 88 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexer.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qthread.sip"
#include <qthread.h>
#line 91 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexer.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qanystringview.sip"
#include <qanystringview.h>
#line 94 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexer.cpp"
#line 25 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qflags.sip"
#include <qglobal.h>
#line 97 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexer.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 100 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexer.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 103 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexer.cpp"


class sipQsciLexer : public ::QsciLexer
{
public:
    sipQsciLexer(::QObject*);
    virtual ~sipQsciLexer();

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

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool writeProperties(::QSettings&, const ::QString&) const SIP_OVERRIDE;
    bool readProperties(::QSettings&, const ::QString&) SIP_OVERRIDE;
    void setPaper(const ::QColor&, int) SIP_OVERRIDE;
    void setFont(const ::QFont&, int) SIP_OVERRIDE;
    void setEolFill(bool, int) SIP_OVERRIDE;
    void setColor(const ::QColor&, int) SIP_OVERRIDE;
    void setAutoIndentStyle(int) SIP_OVERRIDE;
    const char* wordCharacters() const SIP_OVERRIDE;
    int styleBitsNeeded() const SIP_OVERRIDE;
    void refreshProperties() SIP_OVERRIDE;
    int defaultStyle() const SIP_OVERRIDE;
    ::QColor defaultPaper(int) const SIP_OVERRIDE;
    ::QFont defaultFont(int) const SIP_OVERRIDE;
    bool defaultEolFill(int) const SIP_OVERRIDE;
    ::QColor defaultColor(int) const SIP_OVERRIDE;
    ::QColor paper(int) const SIP_OVERRIDE;
    ::QString description(int) const SIP_OVERRIDE;
    const char* keywords(int) const SIP_OVERRIDE;
    int indentationGuideView() const SIP_OVERRIDE;
    ::QFont font(int) const SIP_OVERRIDE;
    bool eolFill(int) const SIP_OVERRIDE;
    ::QColor color(int) const SIP_OVERRIDE;
    bool caseSensitive() const SIP_OVERRIDE;
    int braceStyle() const SIP_OVERRIDE;
    const char* blockStartKeyword(int*) const SIP_OVERRIDE;
    const char* blockStart(int*) const SIP_OVERRIDE;
    int blockLookback() const SIP_OVERRIDE;
    const char* blockEnd(int*) const SIP_OVERRIDE;
    ::QStringList autoCompletionWordSeparators() const SIP_OVERRIDE;
    const char* autoCompletionFillups() const SIP_OVERRIDE;
    int lexerId() const SIP_OVERRIDE;
    const char* lexer() const SIP_OVERRIDE;
    const char* language() const SIP_OVERRIDE;
    bool event(::QEvent*) SIP_OVERRIDE;
    bool eventFilter(::QObject*, ::QEvent*) SIP_OVERRIDE;
    void timerEvent(::QTimerEvent*) SIP_OVERRIDE;
    void childEvent(::QChildEvent*) SIP_OVERRIDE;
    void customEvent(::QEvent*) SIP_OVERRIDE;
    void connectNotify(const ::QMetaMethod&) SIP_OVERRIDE;
    void disconnectNotify(const ::QMetaMethod&) SIP_OVERRIDE;

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[40];
};

sipQsciLexer::sipQsciLexer(::QObject*a0): ::QsciLexer(a0), sipPySelf(SIP_NULLPTR)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQsciLexer::~sipQsciLexer()
{
    sipInstanceDestroyedEx(&sipPySelf);
}

const QMetaObject *sipQsciLexer::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_Qsci_qt_metaobject(sipPySelf, sipType_QsciLexer);

    return ::QsciLexer::metaObject();
}

int sipQsciLexer::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = ::QsciLexer::qt_metacall(_c, _id, _a);

    if (_id >= 0)
    {
        SIP_BLOCK_THREADS
        _id = sip_Qsci_qt_metacall(sipPySelf, sipType_QsciLexer, _c, _id, _a);
        SIP_UNBLOCK_THREADS
    }

    return _id;
}

void *sipQsciLexer::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_Qsci_qt_metacast(sipPySelf, sipType_QsciLexer, _clname, &sipCpp) ? sipCpp : ::QsciLexer::qt_metacast(_clname));
}

bool sipQsciLexer::writeProperties(::QSettings& a0, const ::QString& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[0]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_writeProperties);

    if (!sipMeth)
        return ::QsciLexer::writeProperties(a0, a1);

    extern bool sipVH_Qsci_77(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QSettings&, const ::QString&);

    return sipVH_Qsci_77(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQsciLexer::readProperties(::QSettings& a0, const ::QString& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[1], &sipPySelf, SIP_NULLPTR, sipName_readProperties);

    if (!sipMeth)
        return ::QsciLexer::readProperties(a0, a1);

    extern bool sipVH_Qsci_77(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QSettings&, const ::QString&);

    return sipVH_Qsci_77(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQsciLexer::setPaper(const ::QColor& a0, int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[2], &sipPySelf, SIP_NULLPTR, sipName_setPaper);

    if (!sipMeth)
    {
        ::QsciLexer::setPaper(a0, a1);
        return;
    }

    extern void sipVH_Qsci_74(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::QColor&, int);

    sipVH_Qsci_74(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQsciLexer::setFont(const ::QFont& a0, int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[3], &sipPySelf, SIP_NULLPTR, sipName_setFont);

    if (!sipMeth)
    {
        ::QsciLexer::setFont(a0, a1);
        return;
    }

    extern void sipVH_Qsci_76(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::QFont&, int);

    sipVH_Qsci_76(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQsciLexer::setEolFill(bool a0, int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[4], &sipPySelf, SIP_NULLPTR, sipName_setEolFill);

    if (!sipMeth)
    {
        ::QsciLexer::setEolFill(a0, a1);
        return;
    }

    extern void sipVH_Qsci_75(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool, int);

    sipVH_Qsci_75(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQsciLexer::setColor(const ::QColor& a0, int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[5], &sipPySelf, SIP_NULLPTR, sipName_setColor);

    if (!sipMeth)
    {
        ::QsciLexer::setColor(a0, a1);
        return;
    }

    extern void sipVH_Qsci_74(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::QColor&, int);

    sipVH_Qsci_74(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQsciLexer::setAutoIndentStyle(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[6], &sipPySelf, SIP_NULLPTR, sipName_setAutoIndentStyle);

    if (!sipMeth)
    {
        ::QsciLexer::setAutoIndentStyle(a0);
        return;
    }

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

    sipVH_Qsci_48(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

const char* sipQsciLexer::wordCharacters() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[7]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_wordCharacters);

    if (!sipMeth)
        return ::QsciLexer::wordCharacters();

    extern const char* sipVH_Qsci_65(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_Qsci_65(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, -369);
}

int sipQsciLexer::styleBitsNeeded() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[8]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_styleBitsNeeded);

    if (!sipMeth)
        return ::QsciLexer::styleBitsNeeded();

    extern int sipVH_Qsci_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_Qsci_32(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQsciLexer::refreshProperties()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[9], &sipPySelf, SIP_NULLPTR, sipName_refreshProperties);

    if (!sipMeth)
    {
        ::QsciLexer::refreshProperties();
        return;
    }

    extern void sipVH_Qsci_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_Qsci_47(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQsciLexer::defaultStyle() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[10]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_defaultStyle);

    if (!sipMeth)
        return ::QsciLexer::defaultStyle();

    extern int sipVH_Qsci_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_Qsci_32(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

::QColor sipQsciLexer::defaultPaper(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[11]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_defaultPaper);

    if (!sipMeth)
        return ::QsciLexer::defaultPaper(a0);

    extern ::QColor sipVH_Qsci_69(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_Qsci_69(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

::QFont sipQsciLexer::defaultFont(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[12]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_defaultFont);

    if (!sipMeth)
        return ::QsciLexer::defaultFont(a0);

    extern ::QFont sipVH_Qsci_71(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_Qsci_71(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQsciLexer::defaultEolFill(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[13]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_defaultEolFill);

    if (!sipMeth)
        return ::QsciLexer::defaultEolFill(a0);

    extern bool sipVH_Qsci_70(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_Qsci_70(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

::QColor sipQsciLexer::defaultColor(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[14]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_defaultColor);

    if (!sipMeth)
        return ::QsciLexer::defaultColor(a0);

    extern ::QColor sipVH_Qsci_69(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_Qsci_69(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

::QColor sipQsciLexer::paper(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[15]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_paper);

    if (!sipMeth)
        return ::QsciLexer::paper(a0);

    extern ::QColor sipVH_Qsci_69(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_Qsci_69(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

::QString sipQsciLexer::description(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[16]), const_cast<sipSimpleWrapper **>(&sipPySelf), sipName_QsciLexer, sipName_description);

    if (!sipMeth)
        return ::QString();

    extern ::QString sipVH_Qsci_73(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_Qsci_73(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

const char* sipQsciLexer::keywords(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[17]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_keywords);

    if (!sipMeth)
        return ::QsciLexer::keywords(a0);

    extern const char* sipVH_Qsci_72(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int, int);

    return sipVH_Qsci_72(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, -370);
}

int sipQsciLexer::indentationGuideView() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[18]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_indentationGuideView);

    if (!sipMeth)
        return ::QsciLexer::indentationGuideView();

    extern int sipVH_Qsci_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_Qsci_32(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

::QFont sipQsciLexer::font(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[19]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_font);

    if (!sipMeth)
        return ::QsciLexer::font(a0);

    extern ::QFont sipVH_Qsci_71(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_Qsci_71(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQsciLexer::eolFill(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[20]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_eolFill);

    if (!sipMeth)
        return ::QsciLexer::eolFill(a0);

    extern bool sipVH_Qsci_70(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_Qsci_70(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

::QColor sipQsciLexer::color(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[21]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_color);

    if (!sipMeth)
        return ::QsciLexer::color(a0);

    extern ::QColor sipVH_Qsci_69(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_Qsci_69(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQsciLexer::caseSensitive() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[22]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_caseSensitive);

    if (!sipMeth)
        return ::QsciLexer::caseSensitive();

    extern bool sipVH_Qsci_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_Qsci_7(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQsciLexer::braceStyle() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[23]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_braceStyle);

    if (!sipMeth)
        return ::QsciLexer::braceStyle();

    extern int sipVH_Qsci_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_Qsci_32(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

const char* sipQsciLexer::blockStartKeyword(int*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[24]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_blockStartKeyword);

    if (!sipMeth)
        return ::QsciLexer::blockStartKeyword(a0);

    extern const char* sipVH_Qsci_68(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int*, int);

    return sipVH_Qsci_68(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, -371);
}

const char* sipQsciLexer::blockStart(int*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[25]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_blockStart);

    if (!sipMeth)
        return ::QsciLexer::blockStart(a0);

    extern const char* sipVH_Qsci_68(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int*, int);

    return sipVH_Qsci_68(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, -372);
}

int sipQsciLexer::blockLookback() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[26]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_blockLookback);

    if (!sipMeth)
        return ::QsciLexer::blockLookback();

    extern int sipVH_Qsci_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_Qsci_32(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

const char* sipQsciLexer::blockEnd(int*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[27]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_blockEnd);

    if (!sipMeth)
        return ::QsciLexer::blockEnd(a0);

    extern const char* sipVH_Qsci_68(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int*, int);

    return sipVH_Qsci_68(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, -373);
}

::QStringList sipQsciLexer::autoCompletionWordSeparators() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[28]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_autoCompletionWordSeparators);

    if (!sipMeth)
        return ::QsciLexer::autoCompletionWordSeparators();

    extern ::QStringList sipVH_Qsci_67(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_Qsci_67(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

const char* sipQsciLexer::autoCompletionFillups() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[29]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_autoCompletionFillups);

    if (!sipMeth)
        return ::QsciLexer::autoCompletionFillups();

    extern const char* sipVH_Qsci_66(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_Qsci_66(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, -374);
}

int sipQsciLexer::lexerId() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[30]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_lexerId);

    if (!sipMeth)
        return ::QsciLexer::lexerId();

    extern int sipVH_Qsci_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_Qsci_32(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

const char* sipQsciLexer::lexer() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[31]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_lexer);

    if (!sipMeth)
        return ::QsciLexer::lexer();

    extern const char* sipVH_Qsci_65(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_Qsci_65(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, -375);
}

const char* sipQsciLexer::language() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[32]), const_cast<sipSimpleWrapper **>(&sipPySelf), sipName_QsciLexer, sipName_language);

    if (!sipMeth)
        return 0;

    extern const char* sipVH_Qsci_65(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_Qsci_65(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, -376);
}

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

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[33], &sipPySelf, SIP_NULLPTR, sipName_event);

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

    extern bool sipVH_Qsci_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QEvent*);

    return sipVH_Qsci_2(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[34], &sipPySelf, SIP_NULLPTR, sipName_eventFilter);

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

    extern bool sipVH_Qsci_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QObject*, ::QEvent*);

    return sipVH_Qsci_35(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

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

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[35], &sipPySelf, SIP_NULLPTR, sipName_timerEvent);

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

    extern void sipVH_Qsci_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QTimerEvent*);

    sipVH_Qsci_36(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[36], &sipPySelf, SIP_NULLPTR, sipName_childEvent);

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

    extern void sipVH_Qsci_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QChildEvent*);

    sipVH_Qsci_37(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[37], &sipPySelf, SIP_NULLPTR, sipName_customEvent);

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

    extern void sipVH_Qsci_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QEvent*);

    sipVH_Qsci_11(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQsciLexer::connectNotify(const ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[38], &sipPySelf, SIP_NULLPTR, sipName_connectNotify);

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

    extern void sipVH_Qsci_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::QMetaMethod&);

    sipVH_Qsci_38(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQsciLexer::disconnectNotify(const ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[39], &sipPySelf, SIP_NULLPTR, sipName_disconnectNotify);

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

    extern void sipVH_Qsci_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::QMetaMethod&);

    sipVH_Qsci_38(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}


PyDoc_STRVAR(doc_QsciLexer_language, "language(self) -> str");

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

    {
        const ::QsciLexer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QsciLexer, &sipCpp))
        {
            const char*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QsciLexer, sipName_language);
                return SIP_NULLPTR;
            }

            sipRes = sipCpp->language();

            if (sipRes == SIP_NULLPTR)
            {
                Py_INCREF(Py_None);
                return Py_None;
            }

            return PyUnicode_DecodeASCII(sipRes, strlen(sipRes), SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexer, sipName_language, doc_QsciLexer_language);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexer_lexer, "lexer(self) -> str");

extern "C" {static PyObject *meth_QsciLexer_lexer(PyObject *, PyObject *);}
static PyObject *meth_QsciLexer_lexer(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QsciLexer)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const ::QsciLexer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QsciLexer, &sipCpp))
        {
            const char*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->::QsciLexer::lexer() : sipCpp->lexer());

            if (sipRes == SIP_NULLPTR)
            {
                Py_INCREF(Py_None);
                return Py_None;
            }

            return PyUnicode_DecodeASCII(sipRes, strlen(sipRes), SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexer, sipName_lexer, doc_QsciLexer_lexer);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexer_lexerId, "lexerId(self) -> int");

extern "C" {static PyObject *meth_QsciLexer_lexerId(PyObject *, PyObject *);}
static PyObject *meth_QsciLexer_lexerId(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QsciLexer)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const ::QsciLexer *sipCpp;

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

            sipRes = (sipSelfWasArg ? sipCpp->::QsciLexer::lexerId() : sipCpp->lexerId());

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexer, sipName_lexerId, doc_QsciLexer_lexerId);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexer_apis, "apis(self) -> QsciAbstractAPIs|None");

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

    {
        const ::QsciLexer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QsciLexer, &sipCpp))
        {
            ::QsciAbstractAPIs*sipRes;

            sipRes = sipCpp->apis();

            return sipConvertFromType(sipRes, sipType_QsciAbstractAPIs, SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexer, sipName_apis, doc_QsciLexer_apis);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexer_autoCompletionFillups, "autoCompletionFillups(self) -> bytes");

extern "C" {static PyObject *meth_QsciLexer_autoCompletionFillups(PyObject *, PyObject *);}
static PyObject *meth_QsciLexer_autoCompletionFillups(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QsciLexer)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const ::QsciLexer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QsciLexer, &sipCpp))
        {
            const char*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->::QsciLexer::autoCompletionFillups() : sipCpp->autoCompletionFillups());

            if (sipRes == SIP_NULLPTR)
            {
                Py_INCREF(Py_None);
                return Py_None;
            }

            return PyBytes_FromString(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexer, sipName_autoCompletionFillups, doc_QsciLexer_autoCompletionFillups);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexer_autoCompletionWordSeparators, "autoCompletionWordSeparators(self) -> list[str]");

extern "C" {static PyObject *meth_QsciLexer_autoCompletionWordSeparators(PyObject *, PyObject *);}
static PyObject *meth_QsciLexer_autoCompletionWordSeparators(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QsciLexer)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const ::QsciLexer *sipCpp;

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

            sipRes = new ::QStringList((sipSelfWasArg ? sipCpp->::QsciLexer::autoCompletionWordSeparators() : sipCpp->autoCompletionWordSeparators()));

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

    sipNoMethod(sipParseErr, sipName_QsciLexer, sipName_autoCompletionWordSeparators, doc_QsciLexer_autoCompletionWordSeparators);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexer_autoIndentStyle, "autoIndentStyle(self) -> int");

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

    {
        ::QsciLexer *sipCpp;

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

            sipRes = sipCpp->autoIndentStyle();

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexer, sipName_autoIndentStyle, doc_QsciLexer_autoIndentStyle);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexer_blockEnd, "blockEnd(self) -> (bytes, int)");

extern "C" {static PyObject *meth_QsciLexer_blockEnd(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QsciLexer_blockEnd(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QsciLexer)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const ::QsciLexer *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, SIP_NULLPTR, "B", &sipSelf, sipType_QsciLexer, &sipCpp))
        {
            const char*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->::QsciLexer::blockEnd(&a0) : sipCpp->blockEnd(&a0));

            return sipBuildResult(0, "(si)", sipRes, a0);
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexer, sipName_blockEnd, doc_QsciLexer_blockEnd);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexer_blockLookback, "blockLookback(self) -> int");

extern "C" {static PyObject *meth_QsciLexer_blockLookback(PyObject *, PyObject *);}
static PyObject *meth_QsciLexer_blockLookback(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QsciLexer)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const ::QsciLexer *sipCpp;

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

            sipRes = (sipSelfWasArg ? sipCpp->::QsciLexer::blockLookback() : sipCpp->blockLookback());

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexer, sipName_blockLookback, doc_QsciLexer_blockLookback);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexer_blockStart, "blockStart(self) -> (bytes, int)");

extern "C" {static PyObject *meth_QsciLexer_blockStart(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QsciLexer_blockStart(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QsciLexer)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const ::QsciLexer *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, SIP_NULLPTR, "B", &sipSelf, sipType_QsciLexer, &sipCpp))
        {
            const char*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->::QsciLexer::blockStart(&a0) : sipCpp->blockStart(&a0));

            return sipBuildResult(0, "(si)", sipRes, a0);
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexer, sipName_blockStart, doc_QsciLexer_blockStart);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexer_blockStartKeyword, "blockStartKeyword(self) -> (bytes, int)");

extern "C" {static PyObject *meth_QsciLexer_blockStartKeyword(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QsciLexer_blockStartKeyword(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QsciLexer)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const ::QsciLexer *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, SIP_NULLPTR, "B", &sipSelf, sipType_QsciLexer, &sipCpp))
        {
            const char*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->::QsciLexer::blockStartKeyword(&a0) : sipCpp->blockStartKeyword(&a0));

            return sipBuildResult(0, "(si)", sipRes, a0);
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexer, sipName_blockStartKeyword, doc_QsciLexer_blockStartKeyword);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexer_braceStyle, "braceStyle(self) -> int");

extern "C" {static PyObject *meth_QsciLexer_braceStyle(PyObject *, PyObject *);}
static PyObject *meth_QsciLexer_braceStyle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QsciLexer)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const ::QsciLexer *sipCpp;

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

            sipRes = (sipSelfWasArg ? sipCpp->::QsciLexer::braceStyle() : sipCpp->braceStyle());

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexer, sipName_braceStyle, doc_QsciLexer_braceStyle);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexer_caseSensitive, "caseSensitive(self) -> bool");

extern "C" {static PyObject *meth_QsciLexer_caseSensitive(PyObject *, PyObject *);}
static PyObject *meth_QsciLexer_caseSensitive(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QsciLexer)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const ::QsciLexer *sipCpp;

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

            sipRes = (sipSelfWasArg ? sipCpp->::QsciLexer::caseSensitive() : sipCpp->caseSensitive());

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexer, sipName_caseSensitive, doc_QsciLexer_caseSensitive);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexer_color, "color(self, style: int) -> QColor");

extern "C" {static PyObject *meth_QsciLexer_color(PyObject *, PyObject *);}
static PyObject *meth_QsciLexer_color(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QsciLexer)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const ::QsciLexer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QsciLexer, &sipCpp, &a0))
        {
            ::QColor*sipRes;

            sipRes = new ::QColor((sipSelfWasArg ? sipCpp->::QsciLexer::color(a0) : sipCpp->color(a0)));

            return sipConvertFromNewType(sipRes, sipType_QColor, SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexer, sipName_color, doc_QsciLexer_color);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexer_eolFill, "eolFill(self, style: int) -> bool");

extern "C" {static PyObject *meth_QsciLexer_eolFill(PyObject *, PyObject *);}
static PyObject *meth_QsciLexer_eolFill(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QsciLexer)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const ::QsciLexer *sipCpp;

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

            sipRes = (sipSelfWasArg ? sipCpp->::QsciLexer::eolFill(a0) : sipCpp->eolFill(a0));

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexer, sipName_eolFill, doc_QsciLexer_eolFill);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexer_font, "font(self, style: int) -> QFont");

extern "C" {static PyObject *meth_QsciLexer_font(PyObject *, PyObject *);}
static PyObject *meth_QsciLexer_font(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QsciLexer)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const ::QsciLexer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QsciLexer, &sipCpp, &a0))
        {
            ::QFont*sipRes;

            sipRes = new ::QFont((sipSelfWasArg ? sipCpp->::QsciLexer::font(a0) : sipCpp->font(a0)));

            return sipConvertFromNewType(sipRes, sipType_QFont, SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexer, sipName_font, doc_QsciLexer_font);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexer_indentationGuideView, "indentationGuideView(self) -> int");

extern "C" {static PyObject *meth_QsciLexer_indentationGuideView(PyObject *, PyObject *);}
static PyObject *meth_QsciLexer_indentationGuideView(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QsciLexer)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const ::QsciLexer *sipCpp;

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

            sipRes = (sipSelfWasArg ? sipCpp->::QsciLexer::indentationGuideView() : sipCpp->indentationGuideView());

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexer, sipName_indentationGuideView, doc_QsciLexer_indentationGuideView);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexer_keywords, "keywords(self, set: int) -> str");

extern "C" {static PyObject *meth_QsciLexer_keywords(PyObject *, PyObject *);}
static PyObject *meth_QsciLexer_keywords(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QsciLexer)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const ::QsciLexer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QsciLexer, &sipCpp, &a0))
        {
            const char*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->::QsciLexer::keywords(a0) : sipCpp->keywords(a0));

            if (sipRes == SIP_NULLPTR)
            {
                Py_INCREF(Py_None);
                return Py_None;
            }

            return PyUnicode_DecodeASCII(sipRes, strlen(sipRes), SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexer, sipName_keywords, doc_QsciLexer_keywords);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexer_description, "description(self, style: int) -> str");

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

    {
        int a0;
        const ::QsciLexer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QsciLexer, &sipCpp, &a0))
        {
            ::QString*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QsciLexer, sipName_description);
                return SIP_NULLPTR;
            }

            sipRes = new ::QString(sipCpp->description(a0));

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

    sipNoMethod(sipParseErr, sipName_QsciLexer, sipName_description, doc_QsciLexer_description);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexer_paper, "paper(self, style: int) -> QColor");

extern "C" {static PyObject *meth_QsciLexer_paper(PyObject *, PyObject *);}
static PyObject *meth_QsciLexer_paper(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QsciLexer)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const ::QsciLexer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QsciLexer, &sipCpp, &a0))
        {
            ::QColor*sipRes;

            sipRes = new ::QColor((sipSelfWasArg ? sipCpp->::QsciLexer::paper(a0) : sipCpp->paper(a0)));

            return sipConvertFromNewType(sipRes, sipType_QColor, SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexer, sipName_paper, doc_QsciLexer_paper);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexer_defaultColor, "defaultColor(self) -> QColor\n"
"defaultColor(self, style: int) -> QColor");

extern "C" {static PyObject *meth_QsciLexer_defaultColor(PyObject *, PyObject *);}
static PyObject *meth_QsciLexer_defaultColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QsciLexer)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const ::QsciLexer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QsciLexer, &sipCpp))
        {
            ::QColor*sipRes;

            sipRes = new ::QColor(sipCpp->defaultColor());

            return sipConvertFromNewType(sipRes, sipType_QColor, SIP_NULLPTR);
        }
    }

    {
        int a0;
        const ::QsciLexer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QsciLexer, &sipCpp, &a0))
        {
            ::QColor*sipRes;

            sipRes = new ::QColor((sipSelfWasArg ? sipCpp->::QsciLexer::defaultColor(a0) : sipCpp->defaultColor(a0)));

            return sipConvertFromNewType(sipRes, sipType_QColor, SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexer, sipName_defaultColor, doc_QsciLexer_defaultColor);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexer_defaultEolFill, "defaultEolFill(self, style: int) -> bool");

extern "C" {static PyObject *meth_QsciLexer_defaultEolFill(PyObject *, PyObject *);}
static PyObject *meth_QsciLexer_defaultEolFill(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QsciLexer)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const ::QsciLexer *sipCpp;

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

            sipRes = (sipSelfWasArg ? sipCpp->::QsciLexer::defaultEolFill(a0) : sipCpp->defaultEolFill(a0));

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexer, sipName_defaultEolFill, doc_QsciLexer_defaultEolFill);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexer_defaultFont, "defaultFont(self) -> QFont\n"
"defaultFont(self, style: int) -> QFont");

extern "C" {static PyObject *meth_QsciLexer_defaultFont(PyObject *, PyObject *);}
static PyObject *meth_QsciLexer_defaultFont(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QsciLexer)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const ::QsciLexer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QsciLexer, &sipCpp))
        {
            ::QFont*sipRes;

            sipRes = new ::QFont(sipCpp->defaultFont());

            return sipConvertFromNewType(sipRes, sipType_QFont, SIP_NULLPTR);
        }
    }

    {
        int a0;
        const ::QsciLexer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QsciLexer, &sipCpp, &a0))
        {
            ::QFont*sipRes;

            sipRes = new ::QFont((sipSelfWasArg ? sipCpp->::QsciLexer::defaultFont(a0) : sipCpp->defaultFont(a0)));

            return sipConvertFromNewType(sipRes, sipType_QFont, SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexer, sipName_defaultFont, doc_QsciLexer_defaultFont);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexer_defaultPaper, "defaultPaper(self) -> QColor\n"
"defaultPaper(self, style: int) -> QColor");

extern "C" {static PyObject *meth_QsciLexer_defaultPaper(PyObject *, PyObject *);}
static PyObject *meth_QsciLexer_defaultPaper(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QsciLexer)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const ::QsciLexer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QsciLexer, &sipCpp))
        {
            ::QColor*sipRes;

            sipRes = new ::QColor(sipCpp->defaultPaper());

            return sipConvertFromNewType(sipRes, sipType_QColor, SIP_NULLPTR);
        }
    }

    {
        int a0;
        const ::QsciLexer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QsciLexer, &sipCpp, &a0))
        {
            ::QColor*sipRes;

            sipRes = new ::QColor((sipSelfWasArg ? sipCpp->::QsciLexer::defaultPaper(a0) : sipCpp->defaultPaper(a0)));

            return sipConvertFromNewType(sipRes, sipType_QColor, SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexer, sipName_defaultPaper, doc_QsciLexer_defaultPaper);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexer_defaultStyle, "defaultStyle(self) -> int");

extern "C" {static PyObject *meth_QsciLexer_defaultStyle(PyObject *, PyObject *);}
static PyObject *meth_QsciLexer_defaultStyle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QsciLexer)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const ::QsciLexer *sipCpp;

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

            sipRes = (sipSelfWasArg ? sipCpp->::QsciLexer::defaultStyle() : sipCpp->defaultStyle());

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexer, sipName_defaultStyle, doc_QsciLexer_defaultStyle);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexer_editor, "editor(self) -> QsciScintilla|None");

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

    {
        const ::QsciLexer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QsciLexer, &sipCpp))
        {
            ::QsciScintilla*sipRes;

            sipRes = sipCpp->editor();

            return sipConvertFromType(sipRes, sipType_QsciScintilla, SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexer, sipName_editor, doc_QsciLexer_editor);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexer_refreshProperties, "refreshProperties(self)");

extern "C" {static PyObject *meth_QsciLexer_refreshProperties(PyObject *, PyObject *);}
static PyObject *meth_QsciLexer_refreshProperties(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QsciLexer)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        ::QsciLexer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QsciLexer, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp->::QsciLexer::refreshProperties() : sipCpp->refreshProperties());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexer, sipName_refreshProperties, doc_QsciLexer_refreshProperties);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexer_setAPIs, "setAPIs(self, apis: QsciAbstractAPIs|None)");

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

    {
        ::QsciAbstractAPIs* a0;
        ::QsciLexer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QsciLexer, &sipCpp, sipType_QsciAbstractAPIs, &a0))
        {
            sipCpp->setAPIs(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexer, sipName_setAPIs, doc_QsciLexer_setAPIs);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexer_setDefaultColor, "setDefaultColor(self, c: QColor|Qt.GlobalColor|int)");

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

    {
        const ::QColor* a0;
        int a0State = 0;
        ::QsciLexer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QsciLexer, &sipCpp, sipType_QColor, &a0, &a0State))
        {
            sipCpp->setDefaultColor(*a0);
            sipReleaseType(const_cast< ::QColor *>(a0), sipType_QColor, a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexer, sipName_setDefaultColor, doc_QsciLexer_setDefaultColor);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexer_setDefaultFont, "setDefaultFont(self, f: QFont)");

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

    {
        const ::QFont* a0;
        ::QsciLexer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QsciLexer, &sipCpp, sipType_QFont, &a0))
        {
            sipCpp->setDefaultFont(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexer, sipName_setDefaultFont, doc_QsciLexer_setDefaultFont);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexer_setDefaultPaper, "setDefaultPaper(self, c: QColor|Qt.GlobalColor|int)");

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

    {
        const ::QColor* a0;
        int a0State = 0;
        ::QsciLexer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QsciLexer, &sipCpp, sipType_QColor, &a0, &a0State))
        {
            sipCpp->setDefaultPaper(*a0);
            sipReleaseType(const_cast< ::QColor *>(a0), sipType_QColor, a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexer, sipName_setDefaultPaper, doc_QsciLexer_setDefaultPaper);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexer_styleBitsNeeded, "styleBitsNeeded(self) -> int");

extern "C" {static PyObject *meth_QsciLexer_styleBitsNeeded(PyObject *, PyObject *);}
static PyObject *meth_QsciLexer_styleBitsNeeded(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QsciLexer)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const ::QsciLexer *sipCpp;

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

            sipRes = (sipSelfWasArg ? sipCpp->::QsciLexer::styleBitsNeeded() : sipCpp->styleBitsNeeded());

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexer, sipName_styleBitsNeeded, doc_QsciLexer_styleBitsNeeded);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexer_wordCharacters, "wordCharacters(self) -> str");

extern "C" {static PyObject *meth_QsciLexer_wordCharacters(PyObject *, PyObject *);}
static PyObject *meth_QsciLexer_wordCharacters(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QsciLexer)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const ::QsciLexer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QsciLexer, &sipCpp))
        {
            const char*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->::QsciLexer::wordCharacters() : sipCpp->wordCharacters());

            if (sipRes == SIP_NULLPTR)
            {
                Py_INCREF(Py_None);
                return Py_None;
            }

            return PyUnicode_DecodeASCII(sipRes, strlen(sipRes), SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexer, sipName_wordCharacters, doc_QsciLexer_wordCharacters);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexer_readSettings, "readSettings(self, qs: QSettings, prefix: str = \"/Scintilla\") -> bool");

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

    {
        ::QSettings* a0;
        const char* a1 = "/Scintilla";
        PyObject *a1Keep = 0;
        ::QsciLexer *sipCpp;

        static const char *sipKwdList[] = {
            SIP_NULLPTR,
            sipName_prefix,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9|AA", &sipSelf, sipType_QsciLexer, &sipCpp, sipType_QSettings, &a0, &a1Keep, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->readSettings(*a0, a1);
            Py_XDECREF(a1Keep);

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexer, sipName_readSettings, doc_QsciLexer_readSettings);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexer_writeSettings, "writeSettings(self, qs: QSettings, prefix: str = \"/Scintilla\") -> bool");

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

    {
        ::QSettings* a0;
        const char* a1 = "/Scintilla";
        PyObject *a1Keep = 0;
        const ::QsciLexer *sipCpp;

        static const char *sipKwdList[] = {
            SIP_NULLPTR,
            sipName_prefix,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9|AA", &sipSelf, sipType_QsciLexer, &sipCpp, sipType_QSettings, &a0, &a1Keep, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->writeSettings(*a0, a1);
            Py_XDECREF(a1Keep);

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexer, sipName_writeSettings, doc_QsciLexer_writeSettings);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexer_setAutoIndentStyle, "setAutoIndentStyle(self, autoindentstyle: int)");

extern "C" {static PyObject *meth_QsciLexer_setAutoIndentStyle(PyObject *, PyObject *);}
static PyObject *meth_QsciLexer_setAutoIndentStyle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QsciLexer)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        ::QsciLexer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QsciLexer, &sipCpp, &a0))
        {
            (sipSelfWasArg ? sipCpp->::QsciLexer::setAutoIndentStyle(a0) : sipCpp->setAutoIndentStyle(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexer, sipName_setAutoIndentStyle, doc_QsciLexer_setAutoIndentStyle);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexer_setColor, "setColor(self, c: QColor|Qt.GlobalColor|int, style: int = -1)");

extern "C" {static PyObject *meth_QsciLexer_setColor(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QsciLexer_setColor(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QsciLexer)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const ::QColor* a0;
        int a0State = 0;
        int a1 = -1;
        ::QsciLexer *sipCpp;

        static const char *sipKwdList[] = {
            SIP_NULLPTR,
            sipName_style,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1|i", &sipSelf, sipType_QsciLexer, &sipCpp, sipType_QColor, &a0, &a0State, &a1))
        {
            (sipSelfWasArg ? sipCpp->::QsciLexer::setColor(*a0, a1) : sipCpp->setColor(*a0, a1));
            sipReleaseType(const_cast< ::QColor *>(a0), sipType_QColor, a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexer, sipName_setColor, doc_QsciLexer_setColor);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexer_setEolFill, "setEolFill(self, eolfill: bool, style: int = -1)");

extern "C" {static PyObject *meth_QsciLexer_setEolFill(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QsciLexer_setEolFill(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QsciLexer)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        int a1 = -1;
        ::QsciLexer *sipCpp;

        static const char *sipKwdList[] = {
            SIP_NULLPTR,
            sipName_style,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bb|i", &sipSelf, sipType_QsciLexer, &sipCpp, &a0, &a1))
        {
            (sipSelfWasArg ? sipCpp->::QsciLexer::setEolFill(a0, a1) : sipCpp->setEolFill(a0, a1));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexer, sipName_setEolFill, doc_QsciLexer_setEolFill);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexer_setFont, "setFont(self, f: QFont, style: int = -1)");

extern "C" {static PyObject *meth_QsciLexer_setFont(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QsciLexer_setFont(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QsciLexer)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const ::QFont* a0;
        int a1 = -1;
        ::QsciLexer *sipCpp;

        static const char *sipKwdList[] = {
            SIP_NULLPTR,
            sipName_style,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9|i", &sipSelf, sipType_QsciLexer, &sipCpp, sipType_QFont, &a0, &a1))
        {
            (sipSelfWasArg ? sipCpp->::QsciLexer::setFont(*a0, a1) : sipCpp->setFont(*a0, a1));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexer, sipName_setFont, doc_QsciLexer_setFont);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexer_setPaper, "setPaper(self, c: QColor|Qt.GlobalColor|int, style: int = -1)");

extern "C" {static PyObject *meth_QsciLexer_setPaper(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QsciLexer_setPaper(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QsciLexer)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const ::QColor* a0;
        int a0State = 0;
        int a1 = -1;
        ::QsciLexer *sipCpp;

        static const char *sipKwdList[] = {
            SIP_NULLPTR,
            sipName_style,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1|i", &sipSelf, sipType_QsciLexer, &sipCpp, sipType_QColor, &a0, &a0State, &a1))
        {
            (sipSelfWasArg ? sipCpp->::QsciLexer::setPaper(*a0, a1) : sipCpp->setPaper(*a0, a1));
            sipReleaseType(const_cast< ::QColor *>(a0), sipType_QColor, a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexer, sipName_setPaper, doc_QsciLexer_setPaper);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexer_readProperties, "readProperties(self, qs: QSettings, prefix: str|None) -> bool");

extern "C" {static PyObject *meth_QsciLexer_readProperties(PyObject *, PyObject *);}
static PyObject *meth_QsciLexer_readProperties(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QsciLexer)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        ::QSettings* a0;
        const ::QString* a1;
        int a1State = 0;
        ::QsciLexer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9J1", &sipSelf, sipType_QsciLexer, &sipCpp, sipType_QSettings, &a0, sipType_QString, &a1, &a1State))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->::QsciLexer::readProperties(*a0, *a1) : sipCpp->readProperties(*a0, *a1));
            sipReleaseType(const_cast< ::QString *>(a1), sipType_QString, a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexer, sipName_readProperties, doc_QsciLexer_readProperties);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexer_writeProperties, "writeProperties(self, qs: QSettings, prefix: str|None) -> bool");

extern "C" {static PyObject *meth_QsciLexer_writeProperties(PyObject *, PyObject *);}
static PyObject *meth_QsciLexer_writeProperties(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QsciLexer)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        ::QSettings* a0;
        const ::QString* a1;
        int a1State = 0;
        const ::QsciLexer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9J1", &sipSelf, sipType_QsciLexer, &sipCpp, sipType_QSettings, &a0, sipType_QString, &a1, &a1State))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->::QsciLexer::writeProperties(*a0, *a1) : sipCpp->writeProperties(*a0, *a1));
            sipReleaseType(const_cast< ::QString *>(a1), sipType_QString, a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexer, sipName_writeProperties, doc_QsciLexer_writeProperties);

    return SIP_NULLPTR;
}


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

    if (targetType == sipType_QsciLexer)
        return sipCppV;

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return SIP_NULLPTR;
}


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

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


extern "C" {static void dealloc_QsciLexer(sipSimpleWrapper *);}
static void dealloc_QsciLexer(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQsciLexer *>(sipGetAddress(sipSelf))->sipPySelf = SIP_NULLPTR;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QsciLexer(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QsciLexer(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QsciLexer(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQsciLexer *sipCpp = SIP_NULLPTR;

    {
        ::QObject* a0 = 0;

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

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQsciLexer(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return SIP_NULLPTR;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QsciLexer[] = {{10, 0, 1}};


static PyMethodDef methods_QsciLexer[] = {
    {sipName_apis, meth_QsciLexer_apis, METH_VARARGS, doc_QsciLexer_apis},
    {sipName_autoCompletionFillups, meth_QsciLexer_autoCompletionFillups, METH_VARARGS, doc_QsciLexer_autoCompletionFillups},
    {sipName_autoCompletionWordSeparators, meth_QsciLexer_autoCompletionWordSeparators, METH_VARARGS, doc_QsciLexer_autoCompletionWordSeparators},
    {sipName_autoIndentStyle, meth_QsciLexer_autoIndentStyle, METH_VARARGS, doc_QsciLexer_autoIndentStyle},
    {sipName_blockEnd, SIP_MLMETH_CAST(meth_QsciLexer_blockEnd), METH_VARARGS|METH_KEYWORDS, doc_QsciLexer_blockEnd},
    {sipName_blockLookback, meth_QsciLexer_blockLookback, METH_VARARGS, doc_QsciLexer_blockLookback},
    {sipName_blockStart, SIP_MLMETH_CAST(meth_QsciLexer_blockStart), METH_VARARGS|METH_KEYWORDS, doc_QsciLexer_blockStart},
    {sipName_blockStartKeyword, SIP_MLMETH_CAST(meth_QsciLexer_blockStartKeyword), METH_VARARGS|METH_KEYWORDS, doc_QsciLexer_blockStartKeyword},
    {sipName_braceStyle, meth_QsciLexer_braceStyle, METH_VARARGS, doc_QsciLexer_braceStyle},
    {sipName_caseSensitive, meth_QsciLexer_caseSensitive, METH_VARARGS, doc_QsciLexer_caseSensitive},
    {sipName_color, meth_QsciLexer_color, METH_VARARGS, doc_QsciLexer_color},
    {sipName_defaultColor, meth_QsciLexer_defaultColor, METH_VARARGS, doc_QsciLexer_defaultColor},
    {sipName_defaultEolFill, meth_QsciLexer_defaultEolFill, METH_VARARGS, doc_QsciLexer_defaultEolFill},
    {sipName_defaultFont, meth_QsciLexer_defaultFont, METH_VARARGS, doc_QsciLexer_defaultFont},
    {sipName_defaultPaper, meth_QsciLexer_defaultPaper, METH_VARARGS, doc_QsciLexer_defaultPaper},
    {sipName_defaultStyle, meth_QsciLexer_defaultStyle, METH_VARARGS, doc_QsciLexer_defaultStyle},
    {sipName_description, meth_QsciLexer_description, METH_VARARGS, doc_QsciLexer_description},
    {sipName_editor, meth_QsciLexer_editor, METH_VARARGS, doc_QsciLexer_editor},
    {sipName_eolFill, meth_QsciLexer_eolFill, METH_VARARGS, doc_QsciLexer_eolFill},
    {sipName_font, meth_QsciLexer_font, METH_VARARGS, doc_QsciLexer_font},
    {sipName_indentationGuideView, meth_QsciLexer_indentationGuideView, METH_VARARGS, doc_QsciLexer_indentationGuideView},
    {sipName_keywords, meth_QsciLexer_keywords, METH_VARARGS, doc_QsciLexer_keywords},
    {sipName_language, meth_QsciLexer_language, METH_VARARGS, doc_QsciLexer_language},
    {sipName_lexer, meth_QsciLexer_lexer, METH_VARARGS, doc_QsciLexer_lexer},
    {sipName_lexerId, meth_QsciLexer_lexerId, METH_VARARGS, doc_QsciLexer_lexerId},
    {sipName_paper, meth_QsciLexer_paper, METH_VARARGS, doc_QsciLexer_paper},
    {sipName_readProperties, meth_QsciLexer_readProperties, METH_VARARGS, doc_QsciLexer_readProperties},
    {sipName_readSettings, SIP_MLMETH_CAST(meth_QsciLexer_readSettings), METH_VARARGS|METH_KEYWORDS, doc_QsciLexer_readSettings},
    {sipName_refreshProperties, meth_QsciLexer_refreshProperties, METH_VARARGS, doc_QsciLexer_refreshProperties},
    {sipName_setAPIs, meth_QsciLexer_setAPIs, METH_VARARGS, doc_QsciLexer_setAPIs},
    {sipName_setAutoIndentStyle, meth_QsciLexer_setAutoIndentStyle, METH_VARARGS, doc_QsciLexer_setAutoIndentStyle},
    {sipName_setColor, SIP_MLMETH_CAST(meth_QsciLexer_setColor), METH_VARARGS|METH_KEYWORDS, doc_QsciLexer_setColor},
    {sipName_setDefaultColor, meth_QsciLexer_setDefaultColor, METH_VARARGS, doc_QsciLexer_setDefaultColor},
    {sipName_setDefaultFont, meth_QsciLexer_setDefaultFont, METH_VARARGS, doc_QsciLexer_setDefaultFont},
    {sipName_setDefaultPaper, meth_QsciLexer_setDefaultPaper, METH_VARARGS, doc_QsciLexer_setDefaultPaper},
    {sipName_setEolFill, SIP_MLMETH_CAST(meth_QsciLexer_setEolFill), METH_VARARGS|METH_KEYWORDS, doc_QsciLexer_setEolFill},
    {sipName_setFont, SIP_MLMETH_CAST(meth_QsciLexer_setFont), METH_VARARGS|METH_KEYWORDS, doc_QsciLexer_setFont},
    {sipName_setPaper, SIP_MLMETH_CAST(meth_QsciLexer_setPaper), METH_VARARGS|METH_KEYWORDS, doc_QsciLexer_setPaper},
    {sipName_styleBitsNeeded, meth_QsciLexer_styleBitsNeeded, METH_VARARGS, doc_QsciLexer_styleBitsNeeded},
    {sipName_wordCharacters, meth_QsciLexer_wordCharacters, METH_VARARGS, doc_QsciLexer_wordCharacters},
    {sipName_writeProperties, meth_QsciLexer_writeProperties, METH_VARARGS, doc_QsciLexer_writeProperties},
    {sipName_writeSettings, SIP_MLMETH_CAST(meth_QsciLexer_writeSettings), METH_VARARGS|METH_KEYWORDS, doc_QsciLexer_writeSettings}
};

PyDoc_STRVAR(doc_QsciLexer, "\1QsciLexer(parent: QObject|None = None)");


/* Define this type's signals. */
static const pyqt6QtSignal signals_QsciLexer[] = {
    {"propertyChanged(const char*,const char*)", "\1propertyChanged(self, prop: str, val: str)", SIP_NULLPTR, SIP_NULLPTR},
    {"paperChanged(QColor,int)", "\1paperChanged(self, c: QColor|Qt.GlobalColor|int, style: int)", SIP_NULLPTR, SIP_NULLPTR},
    {"fontChanged(QFont,int)", "\1fontChanged(self, f: QFont, style: int)", SIP_NULLPTR, SIP_NULLPTR},
    {"eolFillChanged(bool,int)", "\1eolFillChanged(self, eolfilled: bool, style: int)", SIP_NULLPTR, SIP_NULLPTR},
    {"colorChanged(QColor,int)", "\1colorChanged(self, c: QColor|Qt.GlobalColor|int, style: int)", SIP_NULLPTR, SIP_NULLPTR},
    {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR}
};


static pyqt6ClassPluginDef plugin_QsciLexer = {
    &::QsciLexer::staticMetaObject,
    signals_QsciLexer,
    SIP_NULLPTR
};


sipClassTypeDef sipTypeDef_Qsci_QsciLexer = {
    {
        SIP_NULLPTR,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QsciLexer,
        SIP_NULLPTR,
        &plugin_QsciLexer,
    },
    {
        sipNameNr_QsciLexer,
        {0, 0, 1},
        42, methods_QsciLexer,
        0, SIP_NULLPTR,
        {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    },
    doc_QsciLexer,
    -1,
    -1,
    supers_QsciLexer,
    SIP_NULLPTR,
    init_type_QsciLexer,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    dealloc_QsciLexer,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    release_QsciLexer,
    cast_QsciLexer,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    sizeof (::QsciLexer),
};
