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

#include "../../zint/frontend_qt/mainwindow.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 'mainwindow.h' 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_ZN10MainWindowE_t {};
} // unnamed namespace

template <> constexpr inline auto MainWindow::qt_create_metaobjectdata<qt_meta_tag_ZN10MainWindowE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "MainWindow",
        "update_preview",
        "",
        "change_options",
        "fgcolor_clicked",
        "bgcolor_clicked",
        "fgcolor_changed",
        "QColor",
        "color",
        "bgcolor_changed",
        "fgcolor_edited",
        "bgcolor_edited",
        "data_ui_set",
        "composite_ui_set",
        "composite_ean_check",
        "maxi_scm_ui_set",
        "msi_plessey_ui_set",
        "change_cmyk",
        "autoheight_ui_set",
        "HRTShow_ui_set",
        "text_gap_ui_set",
        "dotty_ui_set",
        "codeone_ui_set",
        "upcean_no_quiet_zones_ui_set",
        "upcae_no_quiet_zones_ui_set",
        "eanaddon_no_quiet_zones_ui_set",
        "structapp_ui_set",
        "clear_text_gap",
        "on_encoded",
        "on_errored",
        "on_dataChanged",
        "text",
        "escaped",
        "seg_no",
        "on_scaleChanged",
        "scale",
        "filter_symbologies",
        "save",
        "factory_reset",
        "about",
        "help",
        "preview_bg",
        "previewbgcolor_changed",
        "quit_now",
        "menu",
        "reset_colours",
        "reverse_colours",
        "open_data_dialog",
        "open_data_dialog_seg1",
        "open_data_dialog_seg2",
        "open_data_dialog_seg3",
        "open_sequence_dialog",
        "clear_data",
        "clear_data_seg1",
        "clear_data_seg2",
        "clear_data_seg3",
        "clear_composite",
        "zap",
        "open_cli_dialog",
        "open_scale_dialog",
        "copy_to_clipboard_bmp",
        "copy_to_clipboard_emf",
        "copy_to_clipboard_eps",
        "copy_to_clipboard_gif",
        "copy_to_clipboard_png",
        "copy_to_clipboard_pcx",
        "copy_to_clipboard_svg",
        "copy_to_clipboard_tif",
        "copy_to_clipboard_errtxt",
        "height_per_row_disable",
        "height_per_row_default",
        "guard_default_upcean",
        "guard_default_upca",
        "daft_ui_set",
        "daft_tracker_default",
        "view_context_menu",
        "QPoint",
        "pos",
        "errtxtBar_context_menu"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'update_preview'
        QtMocHelpers::SlotData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'change_options'
        QtMocHelpers::SlotData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'fgcolor_clicked'
        QtMocHelpers::SlotData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'bgcolor_clicked'
        QtMocHelpers::SlotData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'fgcolor_changed'
        QtMocHelpers::SlotData<void(const QColor &)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 8 },
        }}),
        // Slot 'bgcolor_changed'
        QtMocHelpers::SlotData<void(const QColor &)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 8 },
        }}),
        // Slot 'fgcolor_edited'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'bgcolor_edited'
        QtMocHelpers::SlotData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'data_ui_set'
        QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'composite_ui_set'
        QtMocHelpers::SlotData<void()>(13, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'composite_ean_check'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'maxi_scm_ui_set'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'msi_plessey_ui_set'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'change_cmyk'
        QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'autoheight_ui_set'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'HRTShow_ui_set'
        QtMocHelpers::SlotData<void()>(19, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'text_gap_ui_set'
        QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'dotty_ui_set'
        QtMocHelpers::SlotData<void()>(21, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'codeone_ui_set'
        QtMocHelpers::SlotData<void()>(22, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'upcean_no_quiet_zones_ui_set'
        QtMocHelpers::SlotData<void()>(23, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'upcae_no_quiet_zones_ui_set'
        QtMocHelpers::SlotData<void()>(24, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'eanaddon_no_quiet_zones_ui_set'
        QtMocHelpers::SlotData<void()>(25, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'structapp_ui_set'
        QtMocHelpers::SlotData<void()>(26, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'clear_text_gap'
        QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'on_encoded'
        QtMocHelpers::SlotData<void()>(28, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'on_errored'
        QtMocHelpers::SlotData<void()>(29, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'on_dataChanged'
        QtMocHelpers::SlotData<void(const QString &, bool, int)>(30, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 31 }, { QMetaType::Bool, 32 }, { QMetaType::Int, 33 },
        }}),
        // Slot 'on_scaleChanged'
        QtMocHelpers::SlotData<void(double)>(34, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Double, 35 },
        }}),
        // Slot 'filter_symbologies'
        QtMocHelpers::SlotData<void()>(36, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'save'
        QtMocHelpers::SlotData<bool()>(37, 2, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'factory_reset'
        QtMocHelpers::SlotData<void()>(38, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'about'
        QtMocHelpers::SlotData<void()>(39, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'help'
        QtMocHelpers::SlotData<void()>(40, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'preview_bg'
        QtMocHelpers::SlotData<void()>(41, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'previewbgcolor_changed'
        QtMocHelpers::SlotData<void(const QColor &)>(42, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 8 },
        }}),
        // Slot 'quit_now'
        QtMocHelpers::SlotData<void()>(43, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'menu'
        QtMocHelpers::SlotData<void()>(44, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'reset_colours'
        QtMocHelpers::SlotData<void()>(45, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'reverse_colours'
        QtMocHelpers::SlotData<void()>(46, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'open_data_dialog'
        QtMocHelpers::SlotData<void()>(47, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'open_data_dialog_seg1'
        QtMocHelpers::SlotData<void()>(48, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'open_data_dialog_seg2'
        QtMocHelpers::SlotData<void()>(49, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'open_data_dialog_seg3'
        QtMocHelpers::SlotData<void()>(50, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'open_sequence_dialog'
        QtMocHelpers::SlotData<void()>(51, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'clear_data'
        QtMocHelpers::SlotData<void()>(52, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'clear_data_seg1'
        QtMocHelpers::SlotData<void()>(53, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'clear_data_seg2'
        QtMocHelpers::SlotData<void()>(54, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'clear_data_seg3'
        QtMocHelpers::SlotData<void()>(55, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'clear_composite'
        QtMocHelpers::SlotData<void()>(56, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'zap'
        QtMocHelpers::SlotData<void()>(57, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'open_cli_dialog'
        QtMocHelpers::SlotData<void()>(58, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'open_scale_dialog'
        QtMocHelpers::SlotData<void()>(59, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'copy_to_clipboard_bmp'
        QtMocHelpers::SlotData<void()>(60, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'copy_to_clipboard_emf'
        QtMocHelpers::SlotData<void()>(61, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'copy_to_clipboard_eps'
        QtMocHelpers::SlotData<void()>(62, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'copy_to_clipboard_gif'
        QtMocHelpers::SlotData<void()>(63, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'copy_to_clipboard_png'
        QtMocHelpers::SlotData<void()>(64, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'copy_to_clipboard_pcx'
        QtMocHelpers::SlotData<void()>(65, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'copy_to_clipboard_svg'
        QtMocHelpers::SlotData<void()>(66, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'copy_to_clipboard_tif'
        QtMocHelpers::SlotData<void()>(67, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'copy_to_clipboard_errtxt'
        QtMocHelpers::SlotData<void()>(68, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'height_per_row_disable'
        QtMocHelpers::SlotData<void()>(69, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'height_per_row_default'
        QtMocHelpers::SlotData<void()>(70, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'guard_default_upcean'
        QtMocHelpers::SlotData<void()>(71, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'guard_default_upca'
        QtMocHelpers::SlotData<void()>(72, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'daft_ui_set'
        QtMocHelpers::SlotData<void()>(73, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'daft_tracker_default'
        QtMocHelpers::SlotData<void()>(74, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'view_context_menu'
        QtMocHelpers::SlotData<void(const QPoint &)>(75, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 76, 77 },
        }}),
        // Slot 'errtxtBar_context_menu'
        QtMocHelpers::SlotData<void(const QPoint &)>(78, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 76, 77 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<MainWindow, qt_meta_tag_ZN10MainWindowE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject MainWindow::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10MainWindowE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10MainWindowE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN10MainWindowE_t>.metaTypes,
    nullptr
} };

void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<MainWindow *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->update_preview(); break;
        case 1: _t->change_options(); break;
        case 2: _t->fgcolor_clicked(); break;
        case 3: _t->bgcolor_clicked(); break;
        case 4: _t->fgcolor_changed((*reinterpret_cast<std::add_pointer_t<QColor>>(_a[1]))); break;
        case 5: _t->bgcolor_changed((*reinterpret_cast<std::add_pointer_t<QColor>>(_a[1]))); break;
        case 6: _t->fgcolor_edited(); break;
        case 7: _t->bgcolor_edited(); break;
        case 8: _t->data_ui_set(); break;
        case 9: _t->composite_ui_set(); break;
        case 10: _t->composite_ean_check(); break;
        case 11: _t->maxi_scm_ui_set(); break;
        case 12: _t->msi_plessey_ui_set(); break;
        case 13: _t->change_cmyk(); break;
        case 14: _t->autoheight_ui_set(); break;
        case 15: _t->HRTShow_ui_set(); break;
        case 16: _t->text_gap_ui_set(); break;
        case 17: _t->dotty_ui_set(); break;
        case 18: _t->codeone_ui_set(); break;
        case 19: _t->upcean_no_quiet_zones_ui_set(); break;
        case 20: _t->upcae_no_quiet_zones_ui_set(); break;
        case 21: _t->eanaddon_no_quiet_zones_ui_set(); break;
        case 22: _t->structapp_ui_set(); break;
        case 23: _t->clear_text_gap(); break;
        case 24: _t->on_encoded(); break;
        case 25: _t->on_errored(); break;
        case 26: _t->on_dataChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[3]))); break;
        case 27: _t->on_scaleChanged((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 28: _t->filter_symbologies(); break;
        case 29: { bool _r = _t->save();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 30: _t->factory_reset(); break;
        case 31: _t->about(); break;
        case 32: _t->help(); break;
        case 33: _t->preview_bg(); break;
        case 34: _t->previewbgcolor_changed((*reinterpret_cast<std::add_pointer_t<QColor>>(_a[1]))); break;
        case 35: _t->quit_now(); break;
        case 36: _t->menu(); break;
        case 37: _t->reset_colours(); break;
        case 38: _t->reverse_colours(); break;
        case 39: _t->open_data_dialog(); break;
        case 40: _t->open_data_dialog_seg1(); break;
        case 41: _t->open_data_dialog_seg2(); break;
        case 42: _t->open_data_dialog_seg3(); break;
        case 43: _t->open_sequence_dialog(); break;
        case 44: _t->clear_data(); break;
        case 45: _t->clear_data_seg1(); break;
        case 46: _t->clear_data_seg2(); break;
        case 47: _t->clear_data_seg3(); break;
        case 48: _t->clear_composite(); break;
        case 49: _t->zap(); break;
        case 50: _t->open_cli_dialog(); break;
        case 51: _t->open_scale_dialog(); break;
        case 52: _t->copy_to_clipboard_bmp(); break;
        case 53: _t->copy_to_clipboard_emf(); break;
        case 54: _t->copy_to_clipboard_eps(); break;
        case 55: _t->copy_to_clipboard_gif(); break;
        case 56: _t->copy_to_clipboard_png(); break;
        case 57: _t->copy_to_clipboard_pcx(); break;
        case 58: _t->copy_to_clipboard_svg(); break;
        case 59: _t->copy_to_clipboard_tif(); break;
        case 60: _t->copy_to_clipboard_errtxt(); break;
        case 61: _t->height_per_row_disable(); break;
        case 62: _t->height_per_row_default(); break;
        case 63: _t->guard_default_upcean(); break;
        case 64: _t->guard_default_upca(); break;
        case 65: _t->daft_ui_set(); break;
        case 66: _t->daft_tracker_default(); break;
        case 67: _t->view_context_menu((*reinterpret_cast<std::add_pointer_t<QPoint>>(_a[1]))); break;
        case 68: _t->errtxtBar_context_menu((*reinterpret_cast<std::add_pointer_t<QPoint>>(_a[1]))); break;
        default: ;
        }
    }
}

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

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

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