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

#include "../../src/umbrello-17.12.3/umbrello/umldoc.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'umldoc.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.4. 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_UMLDoc_t {
    QByteArrayData data[28];
    char stringdata0[396];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_UMLDoc_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_UMLDoc_t qt_meta_stringdata_UMLDoc = {
    {
QT_MOC_LITERAL(0, 0, 6), // "UMLDoc"
QT_MOC_LITERAL(1, 7, 17), // "sigDiagramCreated"
QT_MOC_LITERAL(2, 25, 0), // ""
QT_MOC_LITERAL(3, 26, 13), // "Uml::ID::Type"
QT_MOC_LITERAL(4, 40, 2), // "id"
QT_MOC_LITERAL(5, 43, 17), // "sigDiagramRemoved"
QT_MOC_LITERAL(6, 61, 17), // "sigDiagramRenamed"
QT_MOC_LITERAL(7, 79, 1), // "t"
QT_MOC_LITERAL(8, 81, 17), // "sigDiagramChanged"
QT_MOC_LITERAL(9, 99, 22), // "Uml::DiagramType::Enum"
QT_MOC_LITERAL(10, 122, 16), // "sigObjectCreated"
QT_MOC_LITERAL(11, 139, 10), // "UMLObject*"
QT_MOC_LITERAL(12, 150, 16), // "sigObjectRemoved"
QT_MOC_LITERAL(13, 167, 25), // "sigResetStatusbarProgress"
QT_MOC_LITERAL(14, 193, 28), // "sigSetStatusbarProgressSteps"
QT_MOC_LITERAL(15, 222, 10), // "totalSteps"
QT_MOC_LITERAL(16, 233, 23), // "sigSetStatusbarProgress"
QT_MOC_LITERAL(17, 257, 12), // "stepPosition"
QT_MOC_LITERAL(18, 270, 19), // "sigWriteToStatusBar"
QT_MOC_LITERAL(19, 290, 4), // "text"
QT_MOC_LITERAL(20, 295, 21), // "sigCurrentViewChanged"
QT_MOC_LITERAL(21, 317, 19), // "slotRemoveUMLObject"
QT_MOC_LITERAL(22, 337, 1), // "o"
QT_MOC_LITERAL(23, 339, 12), // "slotAutoSave"
QT_MOC_LITERAL(24, 352, 20), // "slotDiagramPopupMenu"
QT_MOC_LITERAL(25, 373, 8), // "QWidget*"
QT_MOC_LITERAL(26, 382, 7), // "umlview"
QT_MOC_LITERAL(27, 390, 5) // "point"

    },
    "UMLDoc\0sigDiagramCreated\0\0Uml::ID::Type\0"
    "id\0sigDiagramRemoved\0sigDiagramRenamed\0"
    "t\0sigDiagramChanged\0Uml::DiagramType::Enum\0"
    "sigObjectCreated\0UMLObject*\0"
    "sigObjectRemoved\0sigResetStatusbarProgress\0"
    "sigSetStatusbarProgressSteps\0totalSteps\0"
    "sigSetStatusbarProgress\0stepPosition\0"
    "sigWriteToStatusBar\0text\0sigCurrentViewChanged\0"
    "slotRemoveUMLObject\0o\0slotAutoSave\0"
    "slotDiagramPopupMenu\0QWidget*\0umlview\0"
    "point"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_UMLDoc[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   84,    2, 0x06 /* Public */,
       5,    1,   87,    2, 0x06 /* Public */,
       6,    1,   90,    2, 0x06 /* Public */,
       8,    1,   93,    2, 0x06 /* Public */,
      10,    1,   96,    2, 0x06 /* Public */,
      12,    1,   99,    2, 0x06 /* Public */,
      13,    0,  102,    2, 0x06 /* Public */,
      14,    1,  103,    2, 0x06 /* Public */,
      16,    1,  106,    2, 0x06 /* Public */,
      18,    1,  109,    2, 0x06 /* Public */,
      20,    0,  112,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      21,    1,  113,    2, 0x0a /* Public */,
      23,    0,  116,    2, 0x0a /* Public */,
      24,    2,  117,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    7,
    QMetaType::Void, 0x80000000 | 9,    2,
    QMetaType::Void, 0x80000000 | 11,    2,
    QMetaType::Void, 0x80000000 | 11,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   15,
    QMetaType::Void, QMetaType::Int,   17,
    QMetaType::Void, QMetaType::QString,   19,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 11,   22,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 25, QMetaType::QPoint,   26,   27,

       0        // eod
};

void UMLDoc::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        UMLDoc *_t = static_cast<UMLDoc *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->sigDiagramCreated((*reinterpret_cast< Uml::ID::Type(*)>(_a[1]))); break;
        case 1: _t->sigDiagramRemoved((*reinterpret_cast< Uml::ID::Type(*)>(_a[1]))); break;
        case 2: _t->sigDiagramRenamed((*reinterpret_cast< Uml::ID::Type(*)>(_a[1]))); break;
        case 3: _t->sigDiagramChanged((*reinterpret_cast< Uml::DiagramType::Enum(*)>(_a[1]))); break;
        case 4: _t->sigObjectCreated((*reinterpret_cast< UMLObject*(*)>(_a[1]))); break;
        case 5: _t->sigObjectRemoved((*reinterpret_cast< UMLObject*(*)>(_a[1]))); break;
        case 6: _t->sigResetStatusbarProgress(); break;
        case 7: _t->sigSetStatusbarProgressSteps((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: _t->sigSetStatusbarProgress((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 9: _t->sigWriteToStatusBar((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 10: _t->sigCurrentViewChanged(); break;
        case 11: _t->slotRemoveUMLObject((*reinterpret_cast< UMLObject*(*)>(_a[1]))); break;
        case 12: _t->slotAutoSave(); break;
        case 13: _t->slotDiagramPopupMenu((*reinterpret_cast< QWidget*(*)>(_a[1])),(*reinterpret_cast< const QPoint(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; 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< UMLObject* >(); break;
            }
            break;
        case 5:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< UMLObject* >(); break;
            }
            break;
        case 11:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< UMLObject* >(); break;
            }
            break;
        case 13:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QWidget* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (UMLDoc::*_t)(Uml::ID::Type );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&UMLDoc::sigDiagramCreated)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (UMLDoc::*_t)(Uml::ID::Type );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&UMLDoc::sigDiagramRemoved)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (UMLDoc::*_t)(Uml::ID::Type );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&UMLDoc::sigDiagramRenamed)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (UMLDoc::*_t)(Uml::DiagramType::Enum );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&UMLDoc::sigDiagramChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (UMLDoc::*_t)(UMLObject * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&UMLDoc::sigObjectCreated)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (UMLDoc::*_t)(UMLObject * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&UMLDoc::sigObjectRemoved)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (UMLDoc::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&UMLDoc::sigResetStatusbarProgress)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (UMLDoc::*_t)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&UMLDoc::sigSetStatusbarProgressSteps)) {
                *result = 7;
                return;
            }
        }
        {
            typedef void (UMLDoc::*_t)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&UMLDoc::sigSetStatusbarProgress)) {
                *result = 8;
                return;
            }
        }
        {
            typedef void (UMLDoc::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&UMLDoc::sigWriteToStatusBar)) {
                *result = 9;
                return;
            }
        }
        {
            typedef void (UMLDoc::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&UMLDoc::sigCurrentViewChanged)) {
                *result = 10;
                return;
            }
        }
    }
}

const QMetaObject UMLDoc::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_UMLDoc.data,
      qt_meta_data_UMLDoc,  qt_static_metacall, nullptr, nullptr}
};


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

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

int UMLDoc::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)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 14;
    }
    return _id;
}

// SIGNAL 0
void UMLDoc::sigDiagramCreated(Uml::ID::Type _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void UMLDoc::sigDiagramRemoved(Uml::ID::Type _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void UMLDoc::sigDiagramRenamed(Uml::ID::Type _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void UMLDoc::sigDiagramChanged(Uml::DiagramType::Enum _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void UMLDoc::sigObjectCreated(UMLObject * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void UMLDoc::sigObjectRemoved(UMLObject * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

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

// SIGNAL 7
void UMLDoc::sigSetStatusbarProgressSteps(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}

// SIGNAL 8
void UMLDoc::sigSetStatusbarProgress(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 8, _a);
}

// SIGNAL 9
void UMLDoc::sigWriteToStatusBar(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 9, _a);
}

// SIGNAL 10
void UMLDoc::sigCurrentViewChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 10, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
