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

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

 // signals: signature, parameters, type, tag, flags
      28,   16,   15,   15, 0x05,

 // slots: signature, parameters, type, tag, flags
      60,   53,   15,   15, 0x0a,

 // enums: name, flags, count, data
      88, 0x0,    7,   28,

 // enum data: key, value
     101, uint(ActivityWidget::Initial),
     109, uint(ActivityWidget::Normal),
     116, uint(ActivityWidget::End),
     120, uint(ActivityWidget::Final),
     126, uint(ActivityWidget::Branch),
     133, uint(ActivityWidget::Invok),
     139, uint(ActivityWidget::Param),

       0        // eod
};

static const char qt_meta_stringdata_ActivityWidget[] = {
    "ActivityWidget\0\0diffX,diffY\0"
    "sigActMoved(qreal,qreal)\0action\0"
    "slotMenuSelection(QAction*)\0ActivityType\0"
    "Initial\0Normal\0End\0Final\0Branch\0Invok\0"
    "Param\0"
};

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

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

const QMetaObject ActivityWidget::staticMetaObject = {
    { &UMLWidget::staticMetaObject, qt_meta_stringdata_ActivityWidget,
      qt_meta_data_ActivityWidget, &staticMetaObjectExtraData }
};

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

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

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

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

// SIGNAL 0
void ActivityWidget::sigActMoved(qreal _t1, qreal _t2)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_END_MOC_NAMESPACE
