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

#include "../../src/umbrello-17.08.3/umbrello/umlwidgets/widgetbase.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'widgetbase.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.2. 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_WidgetBase_t {
    QByteArrayData data[39];
    char stringdata0[422];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_WidgetBase_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_WidgetBase_t qt_meta_stringdata_WidgetBase = {
    {
QT_MOC_LITERAL(0, 0, 10), // "WidgetBase"
QT_MOC_LITERAL(1, 11, 17), // "slotMenuSelection"
QT_MOC_LITERAL(2, 29, 0), // ""
QT_MOC_LITERAL(3, 30, 8), // "QAction*"
QT_MOC_LITERAL(4, 39, 7), // "trigger"
QT_MOC_LITERAL(5, 47, 10), // "WidgetType"
QT_MOC_LITERAL(6, 58, 6), // "wt_MIN"
QT_MOC_LITERAL(7, 65, 12), // "wt_UMLWidget"
QT_MOC_LITERAL(8, 78, 8), // "wt_Actor"
QT_MOC_LITERAL(9, 87, 10), // "wt_UseCase"
QT_MOC_LITERAL(10, 98, 8), // "wt_Class"
QT_MOC_LITERAL(11, 107, 12), // "wt_Interface"
QT_MOC_LITERAL(12, 120, 11), // "wt_Datatype"
QT_MOC_LITERAL(13, 132, 7), // "wt_Enum"
QT_MOC_LITERAL(14, 140, 9), // "wt_Entity"
QT_MOC_LITERAL(15, 150, 10), // "wt_Package"
QT_MOC_LITERAL(16, 161, 9), // "wt_Object"
QT_MOC_LITERAL(17, 171, 7), // "wt_Note"
QT_MOC_LITERAL(18, 179, 6), // "wt_Box"
QT_MOC_LITERAL(19, 186, 10), // "wt_Message"
QT_MOC_LITERAL(20, 197, 7), // "wt_Text"
QT_MOC_LITERAL(21, 205, 8), // "wt_State"
QT_MOC_LITERAL(22, 214, 11), // "wt_Activity"
QT_MOC_LITERAL(23, 226, 12), // "wt_Component"
QT_MOC_LITERAL(24, 239, 11), // "wt_Artifact"
QT_MOC_LITERAL(25, 251, 7), // "wt_Node"
QT_MOC_LITERAL(26, 259, 14), // "wt_Association"
QT_MOC_LITERAL(27, 274, 11), // "wt_ForkJoin"
QT_MOC_LITERAL(28, 286, 15), // "wt_Precondition"
QT_MOC_LITERAL(29, 302, 19), // "wt_CombinedFragment"
QT_MOC_LITERAL(30, 322, 19), // "wt_FloatingDashLine"
QT_MOC_LITERAL(31, 342, 9), // "wt_Signal"
QT_MOC_LITERAL(32, 352, 6), // "wt_Pin"
QT_MOC_LITERAL(33, 359, 13), // "wt_ObjectNode"
QT_MOC_LITERAL(34, 373, 9), // "wt_Region"
QT_MOC_LITERAL(35, 383, 11), // "wt_Category"
QT_MOC_LITERAL(36, 395, 7), // "wt_Port"
QT_MOC_LITERAL(37, 403, 11), // "wt_Instance"
QT_MOC_LITERAL(38, 415, 6) // "wt_MAX"

    },
    "WidgetBase\0slotMenuSelection\0\0QAction*\0"
    "trigger\0WidgetType\0wt_MIN\0wt_UMLWidget\0"
    "wt_Actor\0wt_UseCase\0wt_Class\0wt_Interface\0"
    "wt_Datatype\0wt_Enum\0wt_Entity\0wt_Package\0"
    "wt_Object\0wt_Note\0wt_Box\0wt_Message\0"
    "wt_Text\0wt_State\0wt_Activity\0wt_Component\0"
    "wt_Artifact\0wt_Node\0wt_Association\0"
    "wt_ForkJoin\0wt_Precondition\0"
    "wt_CombinedFragment\0wt_FloatingDashLine\0"
    "wt_Signal\0wt_Pin\0wt_ObjectNode\0wt_Region\0"
    "wt_Category\0wt_Port\0wt_Instance\0wt_MAX"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_WidgetBase[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   19,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3,    4,

 // enums: name, flags, count, data
       5, 0x0,   33,   26,

 // enum data: key, value
       6, uint(WidgetBase::wt_MIN),
       7, uint(WidgetBase::wt_UMLWidget),
       8, uint(WidgetBase::wt_Actor),
       9, uint(WidgetBase::wt_UseCase),
      10, uint(WidgetBase::wt_Class),
      11, uint(WidgetBase::wt_Interface),
      12, uint(WidgetBase::wt_Datatype),
      13, uint(WidgetBase::wt_Enum),
      14, uint(WidgetBase::wt_Entity),
      15, uint(WidgetBase::wt_Package),
      16, uint(WidgetBase::wt_Object),
      17, uint(WidgetBase::wt_Note),
      18, uint(WidgetBase::wt_Box),
      19, uint(WidgetBase::wt_Message),
      20, uint(WidgetBase::wt_Text),
      21, uint(WidgetBase::wt_State),
      22, uint(WidgetBase::wt_Activity),
      23, uint(WidgetBase::wt_Component),
      24, uint(WidgetBase::wt_Artifact),
      25, uint(WidgetBase::wt_Node),
      26, uint(WidgetBase::wt_Association),
      27, uint(WidgetBase::wt_ForkJoin),
      28, uint(WidgetBase::wt_Precondition),
      29, uint(WidgetBase::wt_CombinedFragment),
      30, uint(WidgetBase::wt_FloatingDashLine),
      31, uint(WidgetBase::wt_Signal),
      32, uint(WidgetBase::wt_Pin),
      33, uint(WidgetBase::wt_ObjectNode),
      34, uint(WidgetBase::wt_Region),
      35, uint(WidgetBase::wt_Category),
      36, uint(WidgetBase::wt_Port),
      37, uint(WidgetBase::wt_Instance),
      38, uint(WidgetBase::wt_MAX),

       0        // eod
};

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

const QMetaObject WidgetBase::staticMetaObject = {
    { &QGraphicsObject::staticMetaObject, qt_meta_stringdata_WidgetBase.data,
      qt_meta_data_WidgetBase,  qt_static_metacall, nullptr, nullptr}
};


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

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

int WidgetBase::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QGraphicsObject::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;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 1;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
