/*
 * 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/qscilexerhex.sip"
#include <Qsci/qscilexerhex.h>
#line 29 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexerHex.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/sipQsciQsciLexerHex.cpp"
#line 24 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qstring.sip"
#include <qstring.h>
#line 36 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexerHex.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtGui/qcolor.sip"
#include <qcolor.h>
#line 39 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexerHex.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtGui/qfont.sip"
#include <qfont.h>
#line 42 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexerHex.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qsettings.sip"
#include <qsettings.h>
#line 45 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexerHex.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/sipQsciQsciLexerHex.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/sipQsciQsciLexerHex.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/sipQsciQsciLexerHex.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/sipQsciQsciLexerHex.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/sipQsciQsciLexerHex.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/sipQsciQsciLexerHex.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/sipQsciQsciLexerHex.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/sipQsciQsciLexerHex.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/sipQsciQsciLexerHex.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/sipQsciQsciLexerHex.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/sipQsciQsciLexerHex.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/sipQsciQsciLexerHex.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/sipQsciQsciLexerHex.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/sipQsciQsciLexerHex.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/sipQsciQsciLexerHex.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/sipQsciQsciLexerHex.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/sipQsciQsciLexerHex.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/sipQsciQsciLexerHex.cpp"


class sipQsciLexerHex : public ::QsciLexerHex
{
public:
    sipQsciLexerHex(::QObject*);
    virtual ~sipQsciLexerHex();

    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:
    void disconnectNotify(const ::QMetaMethod&) SIP_OVERRIDE;
    void connectNotify(const ::QMetaMethod&) SIP_OVERRIDE;
    void customEvent(::QEvent*) SIP_OVERRIDE;
    void childEvent(::QChildEvent*) SIP_OVERRIDE;
    void timerEvent(::QTimerEvent*) SIP_OVERRIDE;
    bool eventFilter(::QObject*, ::QEvent*) SIP_OVERRIDE;
    bool event(::QEvent*) SIP_OVERRIDE;
    const char* language() const SIP_OVERRIDE;
    const char* lexer() const SIP_OVERRIDE;
    int lexerId() const SIP_OVERRIDE;
    const char* autoCompletionFillups() const SIP_OVERRIDE;
    ::QStringList autoCompletionWordSeparators() const SIP_OVERRIDE;
    const char* blockEnd(int*) const SIP_OVERRIDE;
    int blockLookback() const SIP_OVERRIDE;
    const char* blockStart(int*) const SIP_OVERRIDE;
    const char* blockStartKeyword(int*) const SIP_OVERRIDE;
    int braceStyle() const SIP_OVERRIDE;
    bool caseSensitive() const SIP_OVERRIDE;
    ::QColor color(int) const SIP_OVERRIDE;
    bool eolFill(int) const SIP_OVERRIDE;
    ::QFont font(int) const SIP_OVERRIDE;
    int indentationGuideView() const SIP_OVERRIDE;
    const char* keywords(int) const SIP_OVERRIDE;
    ::QString description(int) const SIP_OVERRIDE;
    ::QColor paper(int) const SIP_OVERRIDE;
    ::QColor defaultColor(int) const SIP_OVERRIDE;
    bool defaultEolFill(int) const SIP_OVERRIDE;
    ::QFont defaultFont(int) const SIP_OVERRIDE;
    ::QColor defaultPaper(int) const SIP_OVERRIDE;
    int defaultStyle() const SIP_OVERRIDE;
    void refreshProperties() SIP_OVERRIDE;
    int styleBitsNeeded() const SIP_OVERRIDE;
    const char* wordCharacters() const SIP_OVERRIDE;
    void setAutoIndentStyle(int) SIP_OVERRIDE;
    void setColor(const ::QColor&, int) SIP_OVERRIDE;
    void setEolFill(bool, int) SIP_OVERRIDE;
    void setFont(const ::QFont&, int) SIP_OVERRIDE;
    void setPaper(const ::QColor&, int) SIP_OVERRIDE;
    bool readProperties(::QSettings&, const ::QString&) SIP_OVERRIDE;
    bool writeProperties(::QSettings&, const ::QString&) const SIP_OVERRIDE;

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[40];
};

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

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

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

    return ::QsciLexerHex::metaObject();
}

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

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

    return _id;
}

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

    return (sip_Qsci_qt_metacast(sipPySelf, sipType_QsciLexerHex, _clname, &sipCpp) ? sipCpp : ::QsciLexerHex::qt_metacast(_clname));
}

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

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

    if (!sipMeth)
    {
        ::QsciLexerHex::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);
}

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

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

    if (!sipMeth)
    {
        ::QsciLexerHex::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 sipQsciLexerHex::customEvent(::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        ::QsciLexerHex::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 sipQsciLexerHex::childEvent(::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        ::QsciLexerHex::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 sipQsciLexerHex::timerEvent(::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        ::QsciLexerHex::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);
}

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

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

    if (!sipMeth)
        return ::QsciLexerHex::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);
}

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

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

    if (!sipMeth)
        return ::QsciLexerHex::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);
}

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

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[7]), const_cast<sipSimpleWrapper **>(&sipPySelf), sipName_QsciLexerHex, 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, -249);
}

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

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

    if (!sipMeth)
        return ::QsciLexerHex::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, -250);
}

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

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

    if (!sipMeth)
        return ::QsciLexerHex::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* sipQsciLexerHex::autoCompletionFillups() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return ::QsciLexerHex::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, -251);
}

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

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

    if (!sipMeth)
        return ::QsciLexerHex::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* sipQsciLexerHex::blockEnd(int*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return ::QsciLexerHex::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, -252);
}

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

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

    if (!sipMeth)
        return ::QsciLexerHex::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* sipQsciLexerHex::blockStart(int*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return ::QsciLexerHex::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, -253);
}

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

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

    if (!sipMeth)
        return ::QsciLexerHex::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, -254);
}

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

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

    if (!sipMeth)
        return ::QsciLexerHex::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);
}

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

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

    if (!sipMeth)
        return ::QsciLexerHex::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);
}

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

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

    if (!sipMeth)
        return ::QsciLexerHex::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 sipQsciLexerHex::eolFill(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return ::QsciLexerHex::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);
}

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

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

    if (!sipMeth)
        return ::QsciLexerHex::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);
}

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

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

    if (!sipMeth)
        return ::QsciLexerHex::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);
}

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

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

    if (!sipMeth)
        return ::QsciLexerHex::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, -255);
}

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

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

    if (!sipMeth)
        return ::QsciLexerHex::description(a0);

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

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

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

    if (!sipMeth)
        return ::QsciLexerHex::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);
}

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

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

    if (!sipMeth)
        return ::QsciLexerHex::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);
}

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

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

    if (!sipMeth)
        return ::QsciLexerHex::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);
}

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

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

    if (!sipMeth)
        return ::QsciLexerHex::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);
}

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

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

    if (!sipMeth)
        return ::QsciLexerHex::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);
}

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

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

    if (!sipMeth)
        return ::QsciLexerHex::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);
}

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

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

    if (!sipMeth)
    {
        ::QsciLexerHex::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 sipQsciLexerHex::styleBitsNeeded() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return ::QsciLexerHex::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);
}

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

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

    if (!sipMeth)
        return ::QsciLexerHex::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, -256);
}

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

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

    if (!sipMeth)
    {
        ::QsciLexerHex::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);
}

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

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

    if (!sipMeth)
    {
        ::QsciLexerHex::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 sipQsciLexerHex::setEolFill(bool a0, int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        ::QsciLexerHex::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 sipQsciLexerHex::setFont(const ::QFont& a0, int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        ::QsciLexerHex::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 sipQsciLexerHex::setPaper(const ::QColor& a0, int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        ::QsciLexerHex::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);
}

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

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

    if (!sipMeth)
        return ::QsciLexerHex::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);
}

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

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

    if (!sipMeth)
        return ::QsciLexerHex::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);
}


PyDoc_STRVAR(doc_QsciLexerHex_defaultColor, "defaultColor(self, style: int) -> QColor");

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

    {
        int a0;
        const ::QsciLexerHex *sipCpp;

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

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

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

    sipNoMethod(sipParseErr, sipName_QsciLexerHex, sipName_defaultColor, doc_QsciLexerHex_defaultColor);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexerHex_defaultFont, "defaultFont(self, style: int) -> QFont");

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

    {
        int a0;
        const ::QsciLexerHex *sipCpp;

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

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

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

    sipNoMethod(sipParseErr, sipName_QsciLexerHex, sipName_defaultFont, doc_QsciLexerHex_defaultFont);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexerHex_defaultPaper, "defaultPaper(self, style: int) -> QColor");

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

    {
        int a0;
        const ::QsciLexerHex *sipCpp;

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

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

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

    sipNoMethod(sipParseErr, sipName_QsciLexerHex, sipName_defaultPaper, doc_QsciLexerHex_defaultPaper);

    return SIP_NULLPTR;
}


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

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

    {
        int a0;
        const ::QsciLexerHex *sipCpp;

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

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

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

    sipNoMethod(sipParseErr, sipName_QsciLexerHex, sipName_description, doc_QsciLexerHex_description);

    return SIP_NULLPTR;
}


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

    if (targetType == sipType_QsciLexerHex)
        return sipCppV;

    sipCppV = ((const sipClassTypeDef *)sipType_QsciLexer)->ctd_cast(static_cast< ::QsciLexer *>(sipCpp), targetType);
    if (sipCppV)
        return sipCppV;

    return SIP_NULLPTR;
}


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

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


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

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


extern "C" {static void *init_type_QsciLexerHex(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QsciLexerHex(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQsciLexerHex *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 sipQsciLexerHex(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return SIP_NULLPTR;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QsciLexerHex[] = {{8, 255, 1}};


static PyMethodDef methods_QsciLexerHex[] = {
    {sipName_defaultColor, meth_QsciLexerHex_defaultColor, METH_VARARGS, doc_QsciLexerHex_defaultColor},
    {sipName_defaultFont, meth_QsciLexerHex_defaultFont, METH_VARARGS, doc_QsciLexerHex_defaultFont},
    {sipName_defaultPaper, meth_QsciLexerHex_defaultPaper, METH_VARARGS, doc_QsciLexerHex_defaultPaper},
    {sipName_description, meth_QsciLexerHex_description, METH_VARARGS, doc_QsciLexerHex_description}
};


/* Define the enum members and ints to be added to this type. */
static sipIntInstanceDef intInstances_QsciLexerHex[] = {
    {sipName_Default, static_cast<int>(::QsciLexerHex::Default)},
    {sipName_RecordStart, static_cast<int>(::QsciLexerHex::RecordStart)},
    {sipName_RecordType, static_cast<int>(::QsciLexerHex::RecordType)},
    {sipName_UnknownRecordType, static_cast<int>(::QsciLexerHex::UnknownRecordType)},
    {sipName_ByteCount, static_cast<int>(::QsciLexerHex::ByteCount)},
    {sipName_IncorrectByteCount, static_cast<int>(::QsciLexerHex::IncorrectByteCount)},
    {sipName_NoAddress, static_cast<int>(::QsciLexerHex::NoAddress)},
    {sipName_DataAddress, static_cast<int>(::QsciLexerHex::DataAddress)},
    {sipName_RecordCount, static_cast<int>(::QsciLexerHex::RecordCount)},
    {sipName_StartAddress, static_cast<int>(::QsciLexerHex::StartAddress)},
    {sipName_ExtendedAddress, static_cast<int>(::QsciLexerHex::ExtendedAddress)},
    {sipName_OddData, static_cast<int>(::QsciLexerHex::OddData)},
    {sipName_EvenData, static_cast<int>(::QsciLexerHex::EvenData)},
    {sipName_UnknownData, static_cast<int>(::QsciLexerHex::UnknownData)},
    {sipName_Checksum, static_cast<int>(::QsciLexerHex::Checksum)},
    {sipName_IncorrectChecksum, static_cast<int>(::QsciLexerHex::IncorrectChecksum)},
    {sipName_TrailingGarbage, static_cast<int>(::QsciLexerHex::TrailingGarbage)},
    {0, 0}
};

PyDoc_STRVAR(doc_QsciLexerHex, "\1QsciLexerHex(parent: QObject|None = None)");


static pyqt6ClassPluginDef plugin_QsciLexerHex = {
    &::QsciLexerHex::staticMetaObject,
    SIP_NULLPTR,
    SIP_NULLPTR
};


sipClassTypeDef sipTypeDef_Qsci_QsciLexerHex = {
    {
        SIP_NULLPTR,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QsciLexerHex,
        SIP_NULLPTR,
        &plugin_QsciLexerHex,
    },
    {
        sipNameNr_QsciLexerHex,
        {0, 0, 1},
        4, methods_QsciLexerHex,
        0, SIP_NULLPTR,
        {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, intInstances_QsciLexerHex, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    },
    doc_QsciLexerHex,
    -1,
    -1,
    supers_QsciLexerHex,
    SIP_NULLPTR,
    init_type_QsciLexerHex,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    dealloc_QsciLexerHex,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    release_QsciLexerHex,
    cast_QsciLexerHex,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    sizeof (::QsciLexerHex),
};
