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

#include <memory>
#include "../../../librecad/src/ui/forms/lc_rectangle2pointsoptions.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'lc_rectangle2pointsoptions.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.18. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_LC_Rectangle2PointsOptions_t {
    QByteArrayData data[25];
    char stringdata0[459];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_LC_Rectangle2PointsOptions_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_LC_Rectangle2PointsOptions_t qt_meta_stringdata_LC_Rectangle2PointsOptions = {
    {
QT_MOC_LITERAL(0, 0, 26), // "LC_Rectangle2PointsOptions"
QT_MOC_LITERAL(1, 27, 21), // "onCornersIndexChanged"
QT_MOC_LITERAL(2, 49, 0), // ""
QT_MOC_LITERAL(3, 50, 5), // "index"
QT_MOC_LITERAL(4, 56, 32), // "onInsertionPointSnapIndexChanged"
QT_MOC_LITERAL(5, 89, 29), // "onSecondPointSnapIndexChanged"
QT_MOC_LITERAL(6, 119, 19), // "onEdgesIndexChanged"
QT_MOC_LITERAL(7, 139, 22), // "onAngleEditingFinished"
QT_MOC_LITERAL(8, 162, 21), // "onLenYEditingFinished"
QT_MOC_LITERAL(9, 184, 21), // "onLenXEditingFinished"
QT_MOC_LITERAL(10, 206, 23), // "onRadiusEditingFinished"
QT_MOC_LITERAL(11, 230, 20), // "onUsePolylineClicked"
QT_MOC_LITERAL(12, 251, 5), // "value"
QT_MOC_LITERAL(13, 257, 30), // "onSnapToCornerArcCenterClicked"
QT_MOC_LITERAL(14, 288, 23), // "onBaseAngleFixedClicked"
QT_MOC_LITERAL(15, 312, 14), // "languageChange"
QT_MOC_LITERAL(16, 327, 11), // "doSetAction"
QT_MOC_LITERAL(17, 339, 19), // "RS_ActionInterface*"
QT_MOC_LITERAL(18, 359, 1), // "a"
QT_MOC_LITERAL(19, 361, 6), // "update"
QT_MOC_LITERAL(20, 368, 20), // "checkActionRttiValid"
QT_MOC_LITERAL(21, 389, 15), // "RS2::ActionType"
QT_MOC_LITERAL(22, 405, 10), // "actionType"
QT_MOC_LITERAL(23, 416, 27), // "getSettingsOptionNamePrefix"
QT_MOC_LITERAL(24, 444, 14) // "doSaveSettings"

    },
    "LC_Rectangle2PointsOptions\0"
    "onCornersIndexChanged\0\0index\0"
    "onInsertionPointSnapIndexChanged\0"
    "onSecondPointSnapIndexChanged\0"
    "onEdgesIndexChanged\0onAngleEditingFinished\0"
    "onLenYEditingFinished\0onLenXEditingFinished\0"
    "onRadiusEditingFinished\0onUsePolylineClicked\0"
    "value\0onSnapToCornerArcCenterClicked\0"
    "onBaseAngleFixedClicked\0languageChange\0"
    "doSetAction\0RS_ActionInterface*\0a\0"
    "update\0checkActionRttiValid\0RS2::ActionType\0"
    "actionType\0getSettingsOptionNamePrefix\0"
    "doSaveSettings"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_LC_Rectangle2PointsOptions[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      16,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // slots: name, argc, parameters, tag, flags
       1,    1,   94,    2, 0x0a /* Public */,
       4,    1,   97,    2, 0x0a /* Public */,
       5,    1,  100,    2, 0x0a /* Public */,
       6,    1,  103,    2, 0x0a /* Public */,
       7,    0,  106,    2, 0x0a /* Public */,
       8,    0,  107,    2, 0x0a /* Public */,
       9,    0,  108,    2, 0x0a /* Public */,
      10,    0,  109,    2, 0x0a /* Public */,
      11,    1,  110,    2, 0x0a /* Public */,
      13,    1,  113,    2, 0x0a /* Public */,
      14,    1,  116,    2, 0x0a /* Public */,
      15,    0,  119,    2, 0x09 /* Protected */,
      16,    2,  120,    2, 0x09 /* Protected */,
      20,    1,  125,    2, 0x09 /* Protected */,
      23,    0,  128,    2, 0x09 /* Protected */,
      24,    0,  129,    2, 0x09 /* Protected */,

 // slots: parameters
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   12,
    QMetaType::Void, QMetaType::Bool,   12,
    QMetaType::Void, QMetaType::Bool,   12,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 17, QMetaType::Bool,   18,   19,
    QMetaType::Bool, 0x80000000 | 21,   22,
    QMetaType::QString,
    QMetaType::Void,

       0        // eod
};

void LC_Rectangle2PointsOptions::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<LC_Rectangle2PointsOptions *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->onCornersIndexChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: _t->onInsertionPointSnapIndexChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: _t->onSecondPointSnapIndexChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->onEdgesIndexChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->onAngleEditingFinished(); break;
        case 5: _t->onLenYEditingFinished(); break;
        case 6: _t->onLenXEditingFinished(); break;
        case 7: _t->onRadiusEditingFinished(); break;
        case 8: _t->onUsePolylineClicked((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 9: _t->onSnapToCornerArcCenterClicked((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 10: _t->onBaseAngleFixedClicked((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 11: _t->languageChange(); break;
        case 12: _t->doSetAction((*reinterpret_cast< RS_ActionInterface*(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 13: { bool _r = _t->checkActionRttiValid((*reinterpret_cast< RS2::ActionType(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 14: { QString _r = _t->getSettingsOptionNamePrefix();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 15: _t->doSaveSettings(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 12:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< RS_ActionInterface* >(); break;
            }
            break;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject LC_Rectangle2PointsOptions::staticMetaObject = { {
    QMetaObject::SuperData::link<LC_ActionOptionsWidget::staticMetaObject>(),
    qt_meta_stringdata_LC_Rectangle2PointsOptions.data,
    qt_meta_data_LC_Rectangle2PointsOptions,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *LC_Rectangle2PointsOptions::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_LC_Rectangle2PointsOptions.stringdata0))
        return static_cast<void*>(this);
    return LC_ActionOptionsWidget::qt_metacast(_clname);
}

int LC_Rectangle2PointsOptions::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = LC_ActionOptionsWidget::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;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 16)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 16;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
