/****************************************************************************
** Meta object code from reading C++ file 'qxgeditScale.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 "../../../../qxgedit-1.0.2/src/qxgeditScale.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 'qxgeditScale.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_ZN12qxgeditScaleE_t {};
} // unnamed namespace

template <> constexpr inline auto qxgeditScale::qt_create_metaobjectdata<qt_meta_tag_ZN12qxgeditScaleE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "qxgeditScale",
        "break1Changed",
        "",
        "iBreak1",
        "break2Changed",
        "iBreak2",
        "break3Changed",
        "iBreak3",
        "break4Changed",
        "iBreak4",
        "offset1Changed",
        "iOffset1",
        "offset2Changed",
        "iOffset2",
        "offset3Changed",
        "iOffset3",
        "offset4Changed",
        "iOffset4",
        "setBreak1",
        "setBreak2",
        "setBreak3",
        "setBreak4",
        "setOffset1",
        "setOffset2",
        "setOffset3",
        "setOffset4"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'break1Changed'
        QtMocHelpers::SignalData<void(unsigned short)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UShort, 3 },
        }}),
        // Signal 'break2Changed'
        QtMocHelpers::SignalData<void(unsigned short)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UShort, 5 },
        }}),
        // Signal 'break3Changed'
        QtMocHelpers::SignalData<void(unsigned short)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UShort, 7 },
        }}),
        // Signal 'break4Changed'
        QtMocHelpers::SignalData<void(unsigned short)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UShort, 9 },
        }}),
        // Signal 'offset1Changed'
        QtMocHelpers::SignalData<void(unsigned short)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UShort, 11 },
        }}),
        // Signal 'offset2Changed'
        QtMocHelpers::SignalData<void(unsigned short)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UShort, 13 },
        }}),
        // Signal 'offset3Changed'
        QtMocHelpers::SignalData<void(unsigned short)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UShort, 15 },
        }}),
        // Signal 'offset4Changed'
        QtMocHelpers::SignalData<void(unsigned short)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UShort, 17 },
        }}),
        // Slot 'setBreak1'
        QtMocHelpers::SlotData<void(unsigned short)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UShort, 3 },
        }}),
        // Slot 'setBreak2'
        QtMocHelpers::SlotData<void(unsigned short)>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UShort, 5 },
        }}),
        // Slot 'setBreak3'
        QtMocHelpers::SlotData<void(unsigned short)>(20, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UShort, 7 },
        }}),
        // Slot 'setBreak4'
        QtMocHelpers::SlotData<void(unsigned short)>(21, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UShort, 9 },
        }}),
        // Slot 'setOffset1'
        QtMocHelpers::SlotData<void(unsigned short)>(22, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UShort, 11 },
        }}),
        // Slot 'setOffset2'
        QtMocHelpers::SlotData<void(unsigned short)>(23, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UShort, 13 },
        }}),
        // Slot 'setOffset3'
        QtMocHelpers::SlotData<void(unsigned short)>(24, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UShort, 15 },
        }}),
        // Slot 'setOffset4'
        QtMocHelpers::SlotData<void(unsigned short)>(25, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UShort, 17 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<qxgeditScale, qt_meta_tag_ZN12qxgeditScaleE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject qxgeditScale::staticMetaObject = { {
    QMetaObject::SuperData::link<QFrame::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12qxgeditScaleE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12qxgeditScaleE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN12qxgeditScaleE_t>.metaTypes,
    nullptr
} };

void qxgeditScale::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<qxgeditScale *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->break1Changed((*reinterpret_cast<std::add_pointer_t<ushort>>(_a[1]))); break;
        case 1: _t->break2Changed((*reinterpret_cast<std::add_pointer_t<ushort>>(_a[1]))); break;
        case 2: _t->break3Changed((*reinterpret_cast<std::add_pointer_t<ushort>>(_a[1]))); break;
        case 3: _t->break4Changed((*reinterpret_cast<std::add_pointer_t<ushort>>(_a[1]))); break;
        case 4: _t->offset1Changed((*reinterpret_cast<std::add_pointer_t<ushort>>(_a[1]))); break;
        case 5: _t->offset2Changed((*reinterpret_cast<std::add_pointer_t<ushort>>(_a[1]))); break;
        case 6: _t->offset3Changed((*reinterpret_cast<std::add_pointer_t<ushort>>(_a[1]))); break;
        case 7: _t->offset4Changed((*reinterpret_cast<std::add_pointer_t<ushort>>(_a[1]))); break;
        case 8: _t->setBreak1((*reinterpret_cast<std::add_pointer_t<ushort>>(_a[1]))); break;
        case 9: _t->setBreak2((*reinterpret_cast<std::add_pointer_t<ushort>>(_a[1]))); break;
        case 10: _t->setBreak3((*reinterpret_cast<std::add_pointer_t<ushort>>(_a[1]))); break;
        case 11: _t->setBreak4((*reinterpret_cast<std::add_pointer_t<ushort>>(_a[1]))); break;
        case 12: _t->setOffset1((*reinterpret_cast<std::add_pointer_t<ushort>>(_a[1]))); break;
        case 13: _t->setOffset2((*reinterpret_cast<std::add_pointer_t<ushort>>(_a[1]))); break;
        case 14: _t->setOffset3((*reinterpret_cast<std::add_pointer_t<ushort>>(_a[1]))); break;
        case 15: _t->setOffset4((*reinterpret_cast<std::add_pointer_t<ushort>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (qxgeditScale::*)(unsigned short )>(_a, &qxgeditScale::break1Changed, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (qxgeditScale::*)(unsigned short )>(_a, &qxgeditScale::break2Changed, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (qxgeditScale::*)(unsigned short )>(_a, &qxgeditScale::break3Changed, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (qxgeditScale::*)(unsigned short )>(_a, &qxgeditScale::break4Changed, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (qxgeditScale::*)(unsigned short )>(_a, &qxgeditScale::offset1Changed, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (qxgeditScale::*)(unsigned short )>(_a, &qxgeditScale::offset2Changed, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (qxgeditScale::*)(unsigned short )>(_a, &qxgeditScale::offset3Changed, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (qxgeditScale::*)(unsigned short )>(_a, &qxgeditScale::offset4Changed, 7))
            return;
    }
}

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

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

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

// SIGNAL 0
void qxgeditScale::break1Changed(unsigned short _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void qxgeditScale::break2Changed(unsigned short _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void qxgeditScale::break3Changed(unsigned short _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void qxgeditScale::break4Changed(unsigned short _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void qxgeditScale::offset1Changed(unsigned short _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void qxgeditScale::offset2Changed(unsigned short _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

// SIGNAL 6
void qxgeditScale::offset3Changed(unsigned short _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}

// SIGNAL 7
void qxgeditScale::offset4Changed(unsigned short _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1);
}
QT_WARNING_POP
