/****************************************************************************
** Meta object code from reading C++ file 'umlscene.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/umlscene.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'umlscene.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_UMLScene_t {
    QByteArrayData data[36];
    char stringdata0[565];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_UMLScene_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_UMLScene_t qt_meta_stringdata_UMLScene = {
    {
QT_MOC_LITERAL(0, 0, 8), // "UMLScene"
QT_MOC_LITERAL(1, 9, 15), // "sigResetToolBar"
QT_MOC_LITERAL(2, 25, 0), // ""
QT_MOC_LITERAL(3, 26, 19), // "sigFillColorChanged"
QT_MOC_LITERAL(4, 46, 13), // "Uml::ID::Type"
QT_MOC_LITERAL(5, 60, 19), // "sigGridColorChanged"
QT_MOC_LITERAL(6, 80, 19), // "sigLineColorChanged"
QT_MOC_LITERAL(7, 100, 19), // "sigTextColorChanged"
QT_MOC_LITERAL(8, 120, 19), // "sigLineWidthChanged"
QT_MOC_LITERAL(9, 140, 20), // "sigSnapToGridToggled"
QT_MOC_LITERAL(10, 161, 33), // "sigSnapComponentSizeToGridTog..."
QT_MOC_LITERAL(11, 195, 18), // "sigShowGridToggled"
QT_MOC_LITERAL(12, 214, 21), // "sigAssociationRemoved"
QT_MOC_LITERAL(13, 236, 18), // "AssociationWidget*"
QT_MOC_LITERAL(14, 255, 16), // "sigWidgetRemoved"
QT_MOC_LITERAL(15, 272, 10), // "UMLWidget*"
QT_MOC_LITERAL(16, 283, 18), // "slotToolBarChanged"
QT_MOC_LITERAL(17, 302, 1), // "c"
QT_MOC_LITERAL(18, 304, 17), // "slotObjectCreated"
QT_MOC_LITERAL(19, 322, 10), // "UMLObject*"
QT_MOC_LITERAL(20, 333, 1), // "o"
QT_MOC_LITERAL(21, 335, 17), // "slotObjectRemoved"
QT_MOC_LITERAL(22, 353, 17), // "slotMenuSelection"
QT_MOC_LITERAL(23, 371, 8), // "QAction*"
QT_MOC_LITERAL(24, 380, 6), // "action"
QT_MOC_LITERAL(25, 387, 12), // "slotActivate"
QT_MOC_LITERAL(26, 400, 17), // "slotCutSuccessful"
QT_MOC_LITERAL(27, 418, 12), // "slotShowView"
QT_MOC_LITERAL(28, 431, 9), // "alignLeft"
QT_MOC_LITERAL(29, 441, 10), // "alignRight"
QT_MOC_LITERAL(30, 452, 8), // "alignTop"
QT_MOC_LITERAL(31, 461, 11), // "alignBottom"
QT_MOC_LITERAL(32, 473, 19), // "alignVerticalMiddle"
QT_MOC_LITERAL(33, 493, 21), // "alignHorizontalMiddle"
QT_MOC_LITERAL(34, 515, 23), // "alignVerticalDistribute"
QT_MOC_LITERAL(35, 539, 25) // "alignHorizontalDistribute"

    },
    "UMLScene\0sigResetToolBar\0\0sigFillColorChanged\0"
    "Uml::ID::Type\0sigGridColorChanged\0"
    "sigLineColorChanged\0sigTextColorChanged\0"
    "sigLineWidthChanged\0sigSnapToGridToggled\0"
    "sigSnapComponentSizeToGridToggled\0"
    "sigShowGridToggled\0sigAssociationRemoved\0"
    "AssociationWidget*\0sigWidgetRemoved\0"
    "UMLWidget*\0slotToolBarChanged\0c\0"
    "slotObjectCreated\0UMLObject*\0o\0"
    "slotObjectRemoved\0slotMenuSelection\0"
    "QAction*\0action\0slotActivate\0"
    "slotCutSuccessful\0slotShowView\0alignLeft\0"
    "alignRight\0alignTop\0alignBottom\0"
    "alignVerticalMiddle\0alignHorizontalMiddle\0"
    "alignVerticalDistribute\0"
    "alignHorizontalDistribute"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_UMLScene[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,  144,    2, 0x06 /* Public */,
       3,    1,  145,    2, 0x06 /* Public */,
       5,    1,  148,    2, 0x06 /* Public */,
       6,    1,  151,    2, 0x06 /* Public */,
       7,    1,  154,    2, 0x06 /* Public */,
       8,    1,  157,    2, 0x06 /* Public */,
       9,    1,  160,    2, 0x06 /* Public */,
      10,    1,  163,    2, 0x06 /* Public */,
      11,    1,  166,    2, 0x06 /* Public */,
      12,    1,  169,    2, 0x06 /* Public */,
      14,    1,  172,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      16,    1,  175,    2, 0x0a /* Public */,
      18,    1,  178,    2, 0x0a /* Public */,
      21,    1,  181,    2, 0x0a /* Public */,
      22,    1,  184,    2, 0x0a /* Public */,
      25,    0,  187,    2, 0x0a /* Public */,
      26,    0,  188,    2, 0x0a /* Public */,
      27,    0,  189,    2, 0x0a /* Public */,
      28,    0,  190,    2, 0x0a /* Public */,
      29,    0,  191,    2, 0x0a /* Public */,
      30,    0,  192,    2, 0x0a /* Public */,
      31,    0,  193,    2, 0x0a /* Public */,
      32,    0,  194,    2, 0x0a /* Public */,
      33,    0,  195,    2, 0x0a /* Public */,
      34,    0,  196,    2, 0x0a /* Public */,
      35,    0,  197,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 4,    2,
    QMetaType::Void, 0x80000000 | 4,    2,
    QMetaType::Void, 0x80000000 | 4,    2,
    QMetaType::Void, 0x80000000 | 4,    2,
    QMetaType::Void, 0x80000000 | 4,    2,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, 0x80000000 | 13,    2,
    QMetaType::Void, 0x80000000 | 15,    2,

 // slots: parameters
    QMetaType::Void, QMetaType::Int,   17,
    QMetaType::Void, 0x80000000 | 19,   20,
    QMetaType::Void, 0x80000000 | 19,   20,
    QMetaType::Void, 0x80000000 | 23,   24,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void UMLScene::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        UMLScene *_t = static_cast<UMLScene *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->sigResetToolBar(); break;
        case 1: _t->sigFillColorChanged((*reinterpret_cast< Uml::ID::Type(*)>(_a[1]))); break;
        case 2: _t->sigGridColorChanged((*reinterpret_cast< Uml::ID::Type(*)>(_a[1]))); break;
        case 3: _t->sigLineColorChanged((*reinterpret_cast< Uml::ID::Type(*)>(_a[1]))); break;
        case 4: _t->sigTextColorChanged((*reinterpret_cast< Uml::ID::Type(*)>(_a[1]))); break;
        case 5: _t->sigLineWidthChanged((*reinterpret_cast< Uml::ID::Type(*)>(_a[1]))); break;
        case 6: _t->sigSnapToGridToggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 7: _t->sigSnapComponentSizeToGridToggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 8: _t->sigShowGridToggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 9: _t->sigAssociationRemoved((*reinterpret_cast< AssociationWidget*(*)>(_a[1]))); break;
        case 10: _t->sigWidgetRemoved((*reinterpret_cast< UMLWidget*(*)>(_a[1]))); break;
        case 11: _t->slotToolBarChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 12: _t->slotObjectCreated((*reinterpret_cast< UMLObject*(*)>(_a[1]))); break;
        case 13: _t->slotObjectRemoved((*reinterpret_cast< UMLObject*(*)>(_a[1]))); break;
        case 14: _t->slotMenuSelection((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 15: _t->slotActivate(); break;
        case 16: _t->slotCutSuccessful(); break;
        case 17: _t->slotShowView(); break;
        case 18: _t->alignLeft(); break;
        case 19: _t->alignRight(); break;
        case 20: _t->alignTop(); break;
        case 21: _t->alignBottom(); break;
        case 22: _t->alignVerticalMiddle(); break;
        case 23: _t->alignHorizontalMiddle(); break;
        case 24: _t->alignVerticalDistribute(); break;
        case 25: _t->alignHorizontalDistribute(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 10:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< UMLWidget* >(); break;
            }
            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< 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< UMLObject* >(); break;
            }
            break;
        case 14:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QAction* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (UMLScene::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&UMLScene::sigResetToolBar)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (UMLScene::*_t)(Uml::ID::Type );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&UMLScene::sigFillColorChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (UMLScene::*_t)(Uml::ID::Type );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&UMLScene::sigGridColorChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (UMLScene::*_t)(Uml::ID::Type );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&UMLScene::sigLineColorChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (UMLScene::*_t)(Uml::ID::Type );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&UMLScene::sigTextColorChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (UMLScene::*_t)(Uml::ID::Type );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&UMLScene::sigLineWidthChanged)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (UMLScene::*_t)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&UMLScene::sigSnapToGridToggled)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (UMLScene::*_t)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&UMLScene::sigSnapComponentSizeToGridToggled)) {
                *result = 7;
                return;
            }
        }
        {
            typedef void (UMLScene::*_t)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&UMLScene::sigShowGridToggled)) {
                *result = 8;
                return;
            }
        }
        {
            typedef void (UMLScene::*_t)(AssociationWidget * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&UMLScene::sigAssociationRemoved)) {
                *result = 9;
                return;
            }
        }
        {
            typedef void (UMLScene::*_t)(UMLWidget * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&UMLScene::sigWidgetRemoved)) {
                *result = 10;
                return;
            }
        }
    }
}

const QMetaObject UMLScene::staticMetaObject = {
    { &QGraphicsScene::staticMetaObject, qt_meta_stringdata_UMLScene.data,
      qt_meta_data_UMLScene,  qt_static_metacall, nullptr, nullptr}
};


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

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

int UMLScene::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QGraphicsScene::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 26)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 26;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 26)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 26;
    }
    return _id;
}

// SIGNAL 0
void UMLScene::sigResetToolBar()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

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

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

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

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

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

// SIGNAL 6
void UMLScene::sigSnapToGridToggled(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

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

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

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

// SIGNAL 10
void UMLScene::sigWidgetRemoved(UMLWidget * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 10, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
