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

#include <memory>
#include "../../sonic-visualiser-4.5/svgui/layer/Layer.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'Layer.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.3. 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_Layer_t {
    QByteArrayData data[19];
    char stringdata0[302];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Layer_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Layer_t qt_meta_stringdata_Layer = {
    {
QT_MOC_LITERAL(0, 0, 5), // "Layer"
QT_MOC_LITERAL(1, 6, 12), // "modelChanged"
QT_MOC_LITERAL(2, 19, 0), // ""
QT_MOC_LITERAL(3, 20, 7), // "ModelId"
QT_MOC_LITERAL(4, 28, 22), // "modelCompletionChanged"
QT_MOC_LITERAL(5, 51, 31), // "modelAlignmentCompletionChanged"
QT_MOC_LITERAL(6, 83, 18), // "modelChangedWithin"
QT_MOC_LITERAL(7, 102, 10), // "sv_frame_t"
QT_MOC_LITERAL(8, 113, 10), // "startFrame"
QT_MOC_LITERAL(9, 124, 8), // "endFrame"
QT_MOC_LITERAL(10, 133, 13), // "modelReplaced"
QT_MOC_LITERAL(11, 147, 22), // "layerParametersChanged"
QT_MOC_LITERAL(12, 170, 27), // "layerParameterRangesChanged"
QT_MOC_LITERAL(13, 198, 28), // "layerMeasurementRectsChanged"
QT_MOC_LITERAL(14, 227, 16), // "layerNameChanged"
QT_MOC_LITERAL(15, 244, 19), // "verticalZoomChanged"
QT_MOC_LITERAL(16, 264, 9), // "showLayer"
QT_MOC_LITERAL(17, 274, 22), // "LayerGeometryProvider*"
QT_MOC_LITERAL(18, 297, 4) // "show"

    },
    "Layer\0modelChanged\0\0ModelId\0"
    "modelCompletionChanged\0"
    "modelAlignmentCompletionChanged\0"
    "modelChangedWithin\0sv_frame_t\0startFrame\0"
    "endFrame\0modelReplaced\0layerParametersChanged\0"
    "layerParameterRangesChanged\0"
    "layerMeasurementRectsChanged\0"
    "layerNameChanged\0verticalZoomChanged\0"
    "showLayer\0LayerGeometryProvider*\0show"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Layer[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   69,    2, 0x06 /* Public */,
       4,    1,   72,    2, 0x06 /* Public */,
       5,    1,   75,    2, 0x06 /* Public */,
       6,    3,   78,    2, 0x06 /* Public */,
      10,    0,   85,    2, 0x06 /* Public */,
      11,    0,   86,    2, 0x06 /* Public */,
      12,    0,   87,    2, 0x06 /* Public */,
      13,    0,   88,    2, 0x06 /* Public */,
      14,    0,   89,    2, 0x06 /* Public */,
      15,    0,   90,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      16,    2,   91,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    2,
    QMetaType::Void, 0x80000000 | 3,    2,
    QMetaType::Void, 0x80000000 | 3,    2,
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 7, 0x80000000 | 7,    2,    8,    9,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 17, QMetaType::Bool,    2,   18,

       0        // eod
};

void Layer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<Layer *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->modelChanged((*reinterpret_cast< ModelId(*)>(_a[1]))); break;
        case 1: _t->modelCompletionChanged((*reinterpret_cast< ModelId(*)>(_a[1]))); break;
        case 2: _t->modelAlignmentCompletionChanged((*reinterpret_cast< ModelId(*)>(_a[1]))); break;
        case 3: _t->modelChangedWithin((*reinterpret_cast< ModelId(*)>(_a[1])),(*reinterpret_cast< sv_frame_t(*)>(_a[2])),(*reinterpret_cast< sv_frame_t(*)>(_a[3]))); break;
        case 4: _t->modelReplaced(); break;
        case 5: _t->layerParametersChanged(); break;
        case 6: _t->layerParameterRangesChanged(); break;
        case 7: _t->layerMeasurementRectsChanged(); break;
        case 8: _t->layerNameChanged(); break;
        case 9: _t->verticalZoomChanged(); break;
        case 10: _t->showLayer((*reinterpret_cast< LayerGeometryProvider*(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (Layer::*)(ModelId );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Layer::modelChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (Layer::*)(ModelId );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Layer::modelCompletionChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (Layer::*)(ModelId );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Layer::modelAlignmentCompletionChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (Layer::*)(ModelId , sv_frame_t , sv_frame_t );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Layer::modelChangedWithin)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (Layer::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Layer::modelReplaced)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (Layer::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Layer::layerParametersChanged)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (Layer::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Layer::layerParameterRangesChanged)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (Layer::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Layer::layerMeasurementRectsChanged)) {
                *result = 7;
                return;
            }
        }
        {
            using _t = void (Layer::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Layer::layerNameChanged)) {
                *result = 8;
                return;
            }
        }
        {
            using _t = void (Layer::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Layer::verticalZoomChanged)) {
                *result = 9;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject Layer::staticMetaObject = { {
    QMetaObject::SuperData::link<PropertyContainer::staticMetaObject>(),
    qt_meta_stringdata_Layer.data,
    qt_meta_data_Layer,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *Layer::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Layer.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "XmlExportable"))
        return static_cast< XmlExportable*>(this);
    return PropertyContainer::qt_metacast(_clname);
}

int Layer::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = PropertyContainer::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 11)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 11)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 11;
    }
    return _id;
}

// SIGNAL 0
void Layer::modelChanged(ModelId _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Layer::modelCompletionChanged(ModelId _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Layer::modelAlignmentCompletionChanged(ModelId _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void Layer::modelChangedWithin(ModelId _t1, sv_frame_t _t2, sv_frame_t _t3)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void Layer::modelReplaced()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void Layer::layerParametersChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void Layer::layerParameterRangesChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void Layer::layerMeasurementRectsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}

// SIGNAL 8
void Layer::layerNameChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}

// SIGNAL 9
void Layer::verticalZoomChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
