/****************************************************************************
** Meta object code from reading C++ file 'OutputEditorHOCR.hh'
**
** Created by: The Qt Meta Object Compiler version 69 (Qt 6.11.1)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../../gimagereader-3.4.3/qt/src/hocr/OutputEditorHOCR.hh"
#include <QtGui/qtextcursor.h>
#include <QtCore/qmetatype.h>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'OutputEditorHOCR.hh' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.1. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

#ifndef Q_CONSTINIT
#define Q_CONSTINIT
#endif

QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
QT_WARNING_DISABLE_GCC("-Wuseless-cast")
namespace {
struct qt_meta_tag_ZN16OutputEditorHOCRE_t {};
} // unnamed namespace

template <> constexpr inline auto OutputEditorHOCR::qt_create_metaobjectdata<qt_meta_tag_ZN16OutputEditorHOCRE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "OutputEditorHOCR",
        "open",
        "",
        "filename",
        "clear",
        "hide",
        "setLanguage",
        "Config::Lang",
        "lang",
        "onVisibilityChanged",
        "visible",
        "save",
        "exportToODT",
        "exportToPDF",
        "exportToText",
        "removeItem",
        "bboxDrawn",
        "QRect",
        "bbox",
        "action",
        "addPage",
        "hocrText",
        "HOCRReadSessionData",
        "data",
        "expandItemClass",
        "collapseItemClass",
        "navigateTargetChanged",
        "navigateNext",
        "navigatePrev",
        "pickItem",
        "QPoint",
        "point",
        "setFont",
        "setInsertMode",
        "QAction*",
        "setModified",
        "showItemProperties",
        "QModelIndex",
        "index",
        "prev",
        "showTreeWidgetContextMenu",
        "toggleWConfColumn",
        "active",
        "itemAttributeChanged",
        "itemIndex",
        "name",
        "value",
        "updateSourceText",
        "updateCurrentItemBBox",
        "findReplace",
        "searchstr",
        "replacestr",
        "matchCase",
        "backwards",
        "replace",
        "replaceAll",
        "applySubstitutions",
        "QMap<QString,QString>",
        "substitutions",
        "sourceChanged",
        "previewToggled",
        "updatePreview"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'open'
        QtMocHelpers::SlotData<bool(const QString &)>(1, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::QString, 3 },
        }}),
        // Slot 'clear'
        QtMocHelpers::SlotData<bool(bool)>(4, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::Bool, 5 },
        }}),
        // Slot 'clear'
        QtMocHelpers::SlotData<bool()>(4, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Bool),
        // Slot 'setLanguage'
        QtMocHelpers::SlotData<void(const Config::Lang &)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 8 },
        }}),
        // Slot 'onVisibilityChanged'
        QtMocHelpers::SlotData<void(bool)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 10 },
        }}),
        // Slot 'save'
        QtMocHelpers::SlotData<bool(const QString &)>(11, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::QString, 3 },
        }}),
        // Slot 'save'
        QtMocHelpers::SlotData<bool()>(11, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Bool),
        // Slot 'exportToODT'
        QtMocHelpers::SlotData<bool()>(12, 2, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'exportToPDF'
        QtMocHelpers::SlotData<bool()>(13, 2, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'exportToText'
        QtMocHelpers::SlotData<bool()>(14, 2, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'removeItem'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'bboxDrawn'
        QtMocHelpers::SlotData<void(const QRect &, int)>(16, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 17, 18 }, { QMetaType::Int, 19 },
        }}),
        // Slot 'addPage'
        QtMocHelpers::SlotData<void(const QString &, HOCRReadSessionData)>(20, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 21 }, { 0x80000000 | 22, 23 },
        }}),
        // Slot 'expandItemClass'
        QtMocHelpers::SlotData<void()>(24, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'collapseItemClass'
        QtMocHelpers::SlotData<void()>(25, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'navigateTargetChanged'
        QtMocHelpers::SlotData<void()>(26, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'navigateNext'
        QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'navigatePrev'
        QtMocHelpers::SlotData<void()>(28, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'pickItem'
        QtMocHelpers::SlotData<void(const QPoint &)>(29, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 30, 31 },
        }}),
        // Slot 'setFont'
        QtMocHelpers::SlotData<void()>(32, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'setInsertMode'
        QtMocHelpers::SlotData<void(QAction *)>(33, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 34, 19 },
        }}),
        // Slot 'setModified'
        QtMocHelpers::SlotData<void()>(35, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'showItemProperties'
        QtMocHelpers::SlotData<void(const QModelIndex &, const QModelIndex &)>(36, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 37, 38 }, { 0x80000000 | 37, 39 },
        }}),
        // Slot 'showItemProperties'
        QtMocHelpers::SlotData<void(const QModelIndex &)>(36, 2, QMC::AccessPrivate | QMC::MethodCloned, QMetaType::Void, {{
            { 0x80000000 | 37, 38 },
        }}),
        // Slot 'showTreeWidgetContextMenu'
        QtMocHelpers::SlotData<void(const QPoint &)>(40, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 30, 31 },
        }}),
        // Slot 'toggleWConfColumn'
        QtMocHelpers::SlotData<void(bool)>(41, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 42 },
        }}),
        // Slot 'itemAttributeChanged'
        QtMocHelpers::SlotData<void(const QModelIndex &, const QString &, const QString &)>(43, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 37, 44 }, { QMetaType::QString, 45 }, { QMetaType::QString, 46 },
        }}),
        // Slot 'updateSourceText'
        QtMocHelpers::SlotData<void()>(47, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'updateCurrentItemBBox'
        QtMocHelpers::SlotData<void(QRect)>(48, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 17, 18 },
        }}),
        // Slot 'findReplace'
        QtMocHelpers::SlotData<void(const QString &, const QString &, bool, bool, bool)>(49, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 50 }, { QMetaType::QString, 51 }, { QMetaType::Bool, 52 }, { QMetaType::Bool, 53 },
            { QMetaType::Bool, 54 },
        }}),
        // Slot 'replaceAll'
        QtMocHelpers::SlotData<void(const QString &, const QString &, bool)>(55, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 50 }, { QMetaType::QString, 51 }, { QMetaType::Bool, 52 },
        }}),
        // Slot 'applySubstitutions'
        QtMocHelpers::SlotData<void(const QMap<QString,QString> &, bool)>(56, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 57, 58 }, { QMetaType::Bool, 52 },
        }}),
        // Slot 'sourceChanged'
        QtMocHelpers::SlotData<void()>(59, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'previewToggled'
        QtMocHelpers::SlotData<void(bool)>(60, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 42 },
        }}),
        // Slot 'updatePreview'
        QtMocHelpers::SlotData<void()>(61, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<OutputEditorHOCR, qt_meta_tag_ZN16OutputEditorHOCRE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject OutputEditorHOCR::staticMetaObject = { {
    QMetaObject::SuperData::link<OutputEditor::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN16OutputEditorHOCRE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN16OutputEditorHOCRE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN16OutputEditorHOCRE_t>.metaTypes,
    nullptr
} };

void OutputEditorHOCR::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<OutputEditorHOCR *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: { bool _r = _t->open((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 1: { bool _r = _t->clear((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 2: { bool _r = _t->clear();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 3: _t->setLanguage((*reinterpret_cast<std::add_pointer_t<Config::Lang>>(_a[1]))); break;
        case 4: _t->onVisibilityChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 5: { bool _r = _t->save((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 6: { bool _r = _t->save();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 7: { bool _r = _t->exportToODT();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 8: { bool _r = _t->exportToPDF();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 9: { bool _r = _t->exportToText();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 10: _t->removeItem(); break;
        case 11: _t->bboxDrawn((*reinterpret_cast<std::add_pointer_t<QRect>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 12: _t->addPage((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<HOCRReadSessionData>>(_a[2]))); break;
        case 13: _t->expandItemClass(); break;
        case 14: _t->collapseItemClass(); break;
        case 15: _t->navigateTargetChanged(); break;
        case 16: _t->navigateNext(); break;
        case 17: _t->navigatePrev(); break;
        case 18: _t->pickItem((*reinterpret_cast<std::add_pointer_t<QPoint>>(_a[1]))); break;
        case 19: _t->setFont(); break;
        case 20: _t->setInsertMode((*reinterpret_cast<std::add_pointer_t<QAction*>>(_a[1]))); break;
        case 21: _t->setModified(); break;
        case 22: _t->showItemProperties((*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[2]))); break;
        case 23: _t->showItemProperties((*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[1]))); break;
        case 24: _t->showTreeWidgetContextMenu((*reinterpret_cast<std::add_pointer_t<QPoint>>(_a[1]))); break;
        case 25: _t->toggleWConfColumn((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 26: _t->itemAttributeChanged((*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3]))); break;
        case 27: _t->updateSourceText(); break;
        case 28: _t->updateCurrentItemBBox((*reinterpret_cast<std::add_pointer_t<QRect>>(_a[1]))); break;
        case 29: _t->findReplace((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[4])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[5]))); break;
        case 30: _t->replaceAll((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[3]))); break;
        case 31: _t->applySubstitutions((*reinterpret_cast<std::add_pointer_t<QMap<QString,QString>>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 32: _t->sourceChanged(); break;
        case 33: _t->previewToggled((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 34: _t->updatePreview(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Config::Lang >(); break;
            }
            break;
        case 20:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QAction* >(); break;
            }
            break;
        }
    }
}

const QMetaObject *OutputEditorHOCR::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *OutputEditorHOCR::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN16OutputEditorHOCRE_t>.strings))
        return static_cast<void*>(this);
    return OutputEditor::qt_metacast(_clname);
}

int OutputEditorHOCR::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = OutputEditor::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 35)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 35;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 35)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 35;
    }
    return _id;
}
namespace {
struct qt_meta_tag_ZN19HOCRAttributeEditorE_t {};
} // unnamed namespace

template <> constexpr inline auto HOCRAttributeEditor::qt_create_metaobjectdata<qt_meta_tag_ZN19HOCRAttributeEditorE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "HOCRAttributeEditor",
        "updateValue",
        "",
        "QModelIndex",
        "itemIndex",
        "name",
        "value",
        "validateChanges",
        "force"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'updateValue'
        QtMocHelpers::SlotData<void(const QModelIndex &, const QString &, const QString &)>(1, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 3, 4 }, { QMetaType::QString, 5 }, { QMetaType::QString, 6 },
        }}),
        // Slot 'validateChanges'
        QtMocHelpers::SlotData<void(bool)>(7, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 8 },
        }}),
        // Slot 'validateChanges'
        QtMocHelpers::SlotData<void()>(7, 2, QMC::AccessPrivate | QMC::MethodCloned, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<HOCRAttributeEditor, qt_meta_tag_ZN19HOCRAttributeEditorE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject HOCRAttributeEditor::staticMetaObject = { {
    QMetaObject::SuperData::link<QLineEdit::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN19HOCRAttributeEditorE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN19HOCRAttributeEditorE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN19HOCRAttributeEditorE_t>.metaTypes,
    nullptr
} };

void HOCRAttributeEditor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<HOCRAttributeEditor *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->updateValue((*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3]))); break;
        case 1: _t->validateChanges((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 2: _t->validateChanges(); break;
        default: ;
        }
    }
}

const QMetaObject *HOCRAttributeEditor::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *HOCRAttributeEditor::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN19HOCRAttributeEditorE_t>.strings))
        return static_cast<void*>(this);
    return QLineEdit::qt_metacast(_clname);
}

int HOCRAttributeEditor::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QLineEdit::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 3)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 3)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 3;
    }
    return _id;
}
namespace {
struct qt_meta_tag_ZN21HOCRAttributeCheckboxE_t {};
} // unnamed namespace

template <> constexpr inline auto HOCRAttributeCheckbox::qt_create_metaobjectdata<qt_meta_tag_ZN21HOCRAttributeCheckboxE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "HOCRAttributeCheckbox",
        "updateValue",
        "",
        "QModelIndex",
        "itemIndex",
        "name",
        "value",
        "valueChanged"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'updateValue'
        QtMocHelpers::SlotData<void(const QModelIndex &, const QString &, const QString &)>(1, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 3, 4 }, { QMetaType::QString, 5 }, { QMetaType::QString, 6 },
        }}),
        // Slot 'valueChanged'
        QtMocHelpers::SlotData<void()>(7, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<HOCRAttributeCheckbox, qt_meta_tag_ZN21HOCRAttributeCheckboxE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject HOCRAttributeCheckbox::staticMetaObject = { {
    QMetaObject::SuperData::link<QCheckBox::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN21HOCRAttributeCheckboxE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN21HOCRAttributeCheckboxE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN21HOCRAttributeCheckboxE_t>.metaTypes,
    nullptr
} };

void HOCRAttributeCheckbox::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<HOCRAttributeCheckbox *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->updateValue((*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3]))); break;
        case 1: _t->valueChanged(); break;
        default: ;
        }
    }
}

const QMetaObject *HOCRAttributeCheckbox::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *HOCRAttributeCheckbox::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN21HOCRAttributeCheckboxE_t>.strings))
        return static_cast<void*>(this);
    return QCheckBox::qt_metacast(_clname);
}

int HOCRAttributeCheckbox::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QCheckBox::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 2)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 2)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 2;
    }
    return _id;
}
namespace {
struct qt_meta_tag_ZN22HOCRAttributeLangComboE_t {};
} // unnamed namespace

template <> constexpr inline auto HOCRAttributeLangCombo::qt_create_metaobjectdata<qt_meta_tag_ZN22HOCRAttributeLangComboE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "HOCRAttributeLangCombo",
        "updateValue",
        "",
        "QModelIndex",
        "itemIndex",
        "name",
        "value",
        "valueChanged"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'updateValue'
        QtMocHelpers::SlotData<void(const QModelIndex &, const QString &, const QString &)>(1, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 3, 4 }, { QMetaType::QString, 5 }, { QMetaType::QString, 6 },
        }}),
        // Slot 'valueChanged'
        QtMocHelpers::SlotData<void()>(7, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<HOCRAttributeLangCombo, qt_meta_tag_ZN22HOCRAttributeLangComboE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject HOCRAttributeLangCombo::staticMetaObject = { {
    QMetaObject::SuperData::link<QComboBox::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN22HOCRAttributeLangComboE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN22HOCRAttributeLangComboE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN22HOCRAttributeLangComboE_t>.metaTypes,
    nullptr
} };

void HOCRAttributeLangCombo::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<HOCRAttributeLangCombo *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->updateValue((*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3]))); break;
        case 1: _t->valueChanged(); break;
        default: ;
        }
    }
}

const QMetaObject *HOCRAttributeLangCombo::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *HOCRAttributeLangCombo::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN22HOCRAttributeLangComboE_t>.strings))
        return static_cast<void*>(this);
    return QComboBox::qt_metacast(_clname);
}

int HOCRAttributeLangCombo::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QComboBox::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 2)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 2)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 2;
    }
    return _id;
}
QT_WARNING_POP
