/****************************************************************************
** Meta object code from reading C++ file 'statewidget.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/umlwidgets/statewidget.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'statewidget.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_StateWidget[] = {

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

 // slots: signature, parameters, type, tag, flags
      20,   13,   12,   12, 0x0a,

 // enums: name, flags, count, data
      48, 0x0,   10,   23,

 // enum data: key, value
      58, uint(StateWidget::Initial),
      66, uint(StateWidget::Normal),
      73, uint(StateWidget::End),
      77, uint(StateWidget::Fork),
      82, uint(StateWidget::Join),
      87, uint(StateWidget::Junction),
      96, uint(StateWidget::DeepHistory),
     108, uint(StateWidget::ShallowHistory),
     123, uint(StateWidget::Choice),
     130, uint(StateWidget::Combined),

       0        // eod
};

static const char qt_meta_stringdata_StateWidget[] = {
    "StateWidget\0\0action\0slotMenuSelection(QAction*)\0"
    "StateType\0Initial\0Normal\0End\0Fork\0"
    "Join\0Junction\0DeepHistory\0ShallowHistory\0"
    "Choice\0Combined\0"
};

void StateWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        StateWidget *_t = static_cast<StateWidget *>(_o);
        switch (_id) {
        case 0: _t->slotMenuSelection((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        default: ;
        }
    }
}

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

const QMetaObject StateWidget::staticMetaObject = {
    { &UMLWidget::staticMetaObject, qt_meta_stringdata_StateWidget,
      qt_meta_data_StateWidget, &staticMetaObjectExtraData }
};

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

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

void *StateWidget::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_StateWidget))
        return static_cast<void*>(const_cast< StateWidget*>(this));
    return UMLWidget::qt_metacast(_clname);
}

int StateWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = UMLWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    }
    return _id;
}
QT_END_MOC_NAMESPACE
