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

#include "../../../../umbrello/umlscene.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'umlscene.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 63
#error "This file was generated using the moc from 4.8.6. 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
static const uint qt_meta_data_UMLScene[] = {

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

 // signals: signature, parameters, type, tag, flags
      10,    9,    9,    9, 0x05,
      28,    9,    9,    9, 0x05,
      63,    9,    9,    9, 0x05,
      98,    9,    9,    9, 0x05,
     133,    9,    9,    9, 0x05,
     168,    9,    9,    9, 0x05,
     203,    9,    9,    9, 0x05,
     230,    9,    9,    9, 0x05,
     270,    9,    9,    9, 0x05,
     295,    9,    9,    9, 0x05,
     337,    9,    9,    9, 0x05,

 // slots: signature, parameters, type, tag, flags
     368,  366,    9,    9, 0x0a,
     394,  392,    9,    9, 0x0a,
     424,  392,    9,    9, 0x0a,
     461,  454,    9,    9, 0x0a,
     489,    9,    9,    9, 0x0a,
     504,    9,    9,    9, 0x0a,
     524,    9,    9,    9, 0x0a,
     539,    9,    9,    9, 0x0a,
     551,    9,    9,    9, 0x0a,
     564,    9,    9,    9, 0x0a,
     575,    9,    9,    9, 0x0a,
     589,    9,    9,    9, 0x0a,
     611,    9,    9,    9, 0x0a,
     635,    9,    9,    9, 0x0a,
     661,    9,    9,    9, 0x0a,

       0        // eod
};

static const char qt_meta_stringdata_UMLScene[] = {
    "UMLScene\0\0sigResetToolBar()\0"
    "sigFillColorChanged(Uml::ID::Type)\0"
    "sigGridColorChanged(Uml::ID::Type)\0"
    "sigLineColorChanged(Uml::ID::Type)\0"
    "sigTextColorChanged(Uml::ID::Type)\0"
    "sigLineWidthChanged(Uml::ID::Type)\0"
    "sigSnapToGridToggled(bool)\0"
    "sigSnapComponentSizeToGridToggled(bool)\0"
    "sigShowGridToggled(bool)\0"
    "sigAssociationRemoved(AssociationWidget*)\0"
    "sigWidgetRemoved(UMLWidget*)\0c\0"
    "slotToolBarChanged(int)\0o\0"
    "slotObjectCreated(UMLObject*)\0"
    "slotObjectRemoved(UMLObject*)\0action\0"
    "slotMenuSelection(QAction*)\0slotActivate()\0"
    "slotCutSuccessful()\0slotShowView()\0"
    "alignLeft()\0alignRight()\0alignTop()\0"
    "alignBottom()\0alignVerticalMiddle()\0"
    "alignHorizontalMiddle()\0"
    "alignVerticalDistribute()\0"
    "alignHorizontalDistribute()\0"
};

void UMLScene::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        UMLScene *_t = static_cast<UMLScene *>(_o);
        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: ;
        }
    }
}

const QMetaObjectExtraData UMLScene::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject UMLScene::staticMetaObject = {
    { &QGraphicsScene::staticMetaObject, qt_meta_stringdata_UMLScene,
      qt_meta_data_UMLScene, &staticMetaObjectExtraData }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &UMLScene::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

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

void *UMLScene::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_UMLScene))
        return static_cast<void*>(const_cast< UMLScene*>(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;
    }
    return _id;
}

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

// SIGNAL 1
void UMLScene::sigFillColorChanged(Uml::ID::Type _t1)
{
    void *_a[] = { 0, 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[] = { 0, 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[] = { 0, 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[] = { 0, 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[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

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

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

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

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

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