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

#include <memory>
#include "../../sonic-visualiser-4.5/svapp/framework/Document.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'Document.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.5. 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_Document_t {
    QByteArrayData data[21];
    char stringdata0[306];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Document_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Document_t qt_meta_stringdata_Document = {
    {
QT_MOC_LITERAL(0, 0, 8), // "Document"
QT_MOC_LITERAL(1, 9, 10), // "layerAdded"
QT_MOC_LITERAL(2, 20, 0), // ""
QT_MOC_LITERAL(3, 21, 6), // "Layer*"
QT_MOC_LITERAL(4, 28, 12), // "layerRemoved"
QT_MOC_LITERAL(5, 41, 21), // "layerAboutToBeDeleted"
QT_MOC_LITERAL(6, 63, 12), // "layerInAView"
QT_MOC_LITERAL(7, 76, 10), // "modelAdded"
QT_MOC_LITERAL(8, 87, 7), // "ModelId"
QT_MOC_LITERAL(9, 95, 16), // "mainModelChanged"
QT_MOC_LITERAL(10, 112, 21), // "modelGenerationFailed"
QT_MOC_LITERAL(11, 134, 13), // "transformName"
QT_MOC_LITERAL(12, 148, 7), // "message"
QT_MOC_LITERAL(13, 156, 22), // "modelGenerationWarning"
QT_MOC_LITERAL(14, 179, 23), // "modelRegenerationFailed"
QT_MOC_LITERAL(15, 203, 9), // "layerName"
QT_MOC_LITERAL(16, 213, 24), // "modelRegenerationWarning"
QT_MOC_LITERAL(17, 238, 17), // "alignmentComplete"
QT_MOC_LITERAL(18, 256, 15), // "alignmentFailed"
QT_MOC_LITERAL(19, 272, 8), // "activity"
QT_MOC_LITERAL(20, 281, 24) // "performDeferredAlignment"

    },
    "Document\0layerAdded\0\0Layer*\0layerRemoved\0"
    "layerAboutToBeDeleted\0layerInAView\0"
    "modelAdded\0ModelId\0mainModelChanged\0"
    "modelGenerationFailed\0transformName\0"
    "message\0modelGenerationWarning\0"
    "modelRegenerationFailed\0layerName\0"
    "modelRegenerationWarning\0alignmentComplete\0"
    "alignmentFailed\0activity\0"
    "performDeferredAlignment"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Document[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   84,    2, 0x06 /* Public */,
       4,    1,   87,    2, 0x06 /* Public */,
       5,    1,   90,    2, 0x06 /* Public */,
       6,    2,   93,    2, 0x06 /* Public */,
       7,    1,   98,    2, 0x06 /* Public */,
       9,    1,  101,    2, 0x06 /* Public */,
      10,    2,  104,    2, 0x06 /* Public */,
      13,    2,  109,    2, 0x06 /* Public */,
      14,    3,  114,    2, 0x06 /* Public */,
      16,    3,  121,    2, 0x06 /* Public */,
      17,    1,  128,    2, 0x06 /* Public */,
      18,    2,  131,    2, 0x06 /* Public */,
      19,    1,  136,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      20,    1,  139,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    2,
    QMetaType::Void, 0x80000000 | 3,    2,
    QMetaType::Void, 0x80000000 | 3,    2,
    QMetaType::Void, 0x80000000 | 3, QMetaType::Bool,    2,    2,
    QMetaType::Void, 0x80000000 | 8,    2,
    QMetaType::Void, 0x80000000 | 8,    2,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,   11,   12,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,   11,   12,
    QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::QString,   15,   11,   12,
    QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::QString,   15,   11,   12,
    QMetaType::Void, 0x80000000 | 8,    2,
    QMetaType::Void, 0x80000000 | 8, QMetaType::QString,    2,   12,
    QMetaType::Void, QMetaType::QString,    2,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 8,    2,

       0        // eod
};

void Document::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<Document *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->layerAdded((*reinterpret_cast< Layer*(*)>(_a[1]))); break;
        case 1: _t->layerRemoved((*reinterpret_cast< Layer*(*)>(_a[1]))); break;
        case 2: _t->layerAboutToBeDeleted((*reinterpret_cast< Layer*(*)>(_a[1]))); break;
        case 3: _t->layerInAView((*reinterpret_cast< Layer*(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 4: _t->modelAdded((*reinterpret_cast< ModelId(*)>(_a[1]))); break;
        case 5: _t->mainModelChanged((*reinterpret_cast< ModelId(*)>(_a[1]))); break;
        case 6: _t->modelGenerationFailed((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
        case 7: _t->modelGenerationWarning((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
        case 8: _t->modelRegenerationFailed((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< QString(*)>(_a[3]))); break;
        case 9: _t->modelRegenerationWarning((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< QString(*)>(_a[3]))); break;
        case 10: _t->alignmentComplete((*reinterpret_cast< ModelId(*)>(_a[1]))); break;
        case 11: _t->alignmentFailed((*reinterpret_cast< ModelId(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
        case 12: _t->activity((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 13: _t->performDeferredAlignment((*reinterpret_cast< ModelId(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (Document::*)(Layer * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Document::layerAdded)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (Document::*)(Layer * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Document::layerRemoved)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (Document::*)(Layer * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Document::layerAboutToBeDeleted)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (Document::*)(Layer * , bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Document::layerInAView)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (Document::*)(ModelId );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Document::modelAdded)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (Document::*)(ModelId );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Document::mainModelChanged)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (Document::*)(QString , QString );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Document::modelGenerationFailed)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (Document::*)(QString , QString );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Document::modelGenerationWarning)) {
                *result = 7;
                return;
            }
        }
        {
            using _t = void (Document::*)(QString , QString , QString );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Document::modelRegenerationFailed)) {
                *result = 8;
                return;
            }
        }
        {
            using _t = void (Document::*)(QString , QString , QString );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Document::modelRegenerationWarning)) {
                *result = 9;
                return;
            }
        }
        {
            using _t = void (Document::*)(ModelId );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Document::alignmentComplete)) {
                *result = 10;
                return;
            }
        }
        {
            using _t = void (Document::*)(ModelId , QString );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Document::alignmentFailed)) {
                *result = 11;
                return;
            }
        }
        {
            using _t = void (Document::*)(QString );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Document::activity)) {
                *result = 12;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject Document::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_Document.data,
    qt_meta_data_Document,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

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

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

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

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

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

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

// SIGNAL 6
void Document::modelGenerationFailed(QString _t1, QString _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

// SIGNAL 7
void Document::modelGenerationWarning(QString _t1, QString _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}

// SIGNAL 8
void Document::modelRegenerationFailed(QString _t1, QString _t2, QString _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, 8, _a);
}

// SIGNAL 9
void Document::modelRegenerationWarning(QString _t1, QString _t2, QString _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, 9, _a);
}

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

// SIGNAL 11
void Document::alignmentFailed(ModelId _t1, QString _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 11, _a);
}

// SIGNAL 12
void Document::activity(QString _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 12, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
