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

#include "../../src/umbrello-17.08.3/umbrello/codegenerators/classifiercodedocument.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'classifiercodedocument.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.2. 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_ClassifierCodeDocument_t {
    QByteArrayData data[15];
    char stringdata0[240];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_ClassifierCodeDocument_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_ClassifierCodeDocument_t qt_meta_stringdata_ClassifierCodeDocument = {
    {
QT_MOC_LITERAL(0, 0, 22), // "ClassifierCodeDocument"
QT_MOC_LITERAL(1, 23, 22), // "addAttributeClassField"
QT_MOC_LITERAL(2, 46, 0), // ""
QT_MOC_LITERAL(3, 47, 22), // "UMLClassifierListItem*"
QT_MOC_LITERAL(4, 70, 2), // "at"
QT_MOC_LITERAL(5, 73, 19), // "syncToParentIfAdded"
QT_MOC_LITERAL(6, 93, 24), // "addAssociationClassField"
QT_MOC_LITERAL(7, 118, 15), // "UMLAssociation*"
QT_MOC_LITERAL(8, 134, 5), // "assoc"
QT_MOC_LITERAL(9, 140, 25), // "removeAttributeClassField"
QT_MOC_LITERAL(10, 166, 27), // "removeAssociationClassField"
QT_MOC_LITERAL(11, 194, 12), // "addOperation"
QT_MOC_LITERAL(12, 207, 3), // "obj"
QT_MOC_LITERAL(13, 211, 15), // "removeOperation"
QT_MOC_LITERAL(14, 227, 12) // "syncToParent"

    },
    "ClassifierCodeDocument\0addAttributeClassField\0"
    "\0UMLClassifierListItem*\0at\0"
    "syncToParentIfAdded\0addAssociationClassField\0"
    "UMLAssociation*\0assoc\0removeAttributeClassField\0"
    "removeAssociationClassField\0addOperation\0"
    "obj\0removeOperation\0syncToParent"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_ClassifierCodeDocument[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    2,   59,    2, 0x0a /* Public */,
       1,    1,   64,    2, 0x2a /* Public | MethodCloned */,
       6,    2,   67,    2, 0x0a /* Public */,
       6,    1,   72,    2, 0x2a /* Public | MethodCloned */,
       9,    1,   75,    2, 0x0a /* Public */,
      10,    1,   78,    2, 0x0a /* Public */,
      11,    1,   81,    2, 0x0a /* Public */,
      13,    1,   84,    2, 0x0a /* Public */,
      14,    0,   87,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3, QMetaType::Bool,    4,    5,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 7, QMetaType::Bool,    8,    5,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void, 0x80000000 | 3,   12,
    QMetaType::Void, 0x80000000 | 3,   12,
    QMetaType::Void,

       0        // eod
};

void ClassifierCodeDocument::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ClassifierCodeDocument *_t = static_cast<ClassifierCodeDocument *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->addAttributeClassField((*reinterpret_cast< UMLClassifierListItem*(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 1: _t->addAttributeClassField((*reinterpret_cast< UMLClassifierListItem*(*)>(_a[1]))); break;
        case 2: _t->addAssociationClassField((*reinterpret_cast< UMLAssociation*(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 3: _t->addAssociationClassField((*reinterpret_cast< UMLAssociation*(*)>(_a[1]))); break;
        case 4: _t->removeAttributeClassField((*reinterpret_cast< UMLClassifierListItem*(*)>(_a[1]))); break;
        case 5: _t->removeAssociationClassField((*reinterpret_cast< UMLAssociation*(*)>(_a[1]))); break;
        case 6: _t->addOperation((*reinterpret_cast< UMLClassifierListItem*(*)>(_a[1]))); break;
        case 7: _t->removeOperation((*reinterpret_cast< UMLClassifierListItem*(*)>(_a[1]))); break;
        case 8: _t->syncToParent(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< UMLClassifierListItem* >(); break;
            }
            break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< UMLClassifierListItem* >(); break;
            }
            break;
        case 4:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< UMLClassifierListItem* >(); break;
            }
            break;
        case 6:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< UMLClassifierListItem* >(); break;
            }
            break;
        case 7:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< UMLClassifierListItem* >(); break;
            }
            break;
        }
    }
}

const QMetaObject ClassifierCodeDocument::staticMetaObject = {
    { &CodeDocument::staticMetaObject, qt_meta_stringdata_ClassifierCodeDocument.data,
      qt_meta_data_ClassifierCodeDocument,  qt_static_metacall, nullptr, nullptr}
};


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

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

int ClassifierCodeDocument::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = CodeDocument::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 9)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 9)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
