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

#include "../../src/rocs-15.04.3/src/ui/documenttypeswidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'documenttypeswidget.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.4.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
struct qt_meta_stringdata_DocumentTypesWidget_t {
    QByteArrayData data[17];
    char stringdata[283];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_DocumentTypesWidget_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_DocumentTypesWidget_t qt_meta_stringdata_DocumentTypesWidget = {
    {
QT_MOC_LITERAL(0, 0, 19), // "DocumentTypesWidget"
QT_MOC_LITERAL(1, 20, 11), // "setDocument"
QT_MOC_LITERAL(2, 32, 0), // ""
QT_MOC_LITERAL(3, 33, 29), // "GraphTheory::GraphDocumentPtr"
QT_MOC_LITERAL(4, 63, 8), // "document"
QT_MOC_LITERAL(5, 72, 22), // "onNodeTypeColorChanged"
QT_MOC_LITERAL(6, 95, 5), // "index"
QT_MOC_LITERAL(7, 101, 5), // "color"
QT_MOC_LITERAL(8, 107, 21), // "onNodeTypeNameChanged"
QT_MOC_LITERAL(9, 129, 4), // "name"
QT_MOC_LITERAL(10, 134, 16), // "onCreateNodeType"
QT_MOC_LITERAL(11, 151, 22), // "onEdgeTypeColorChanged"
QT_MOC_LITERAL(12, 174, 21), // "onEdgeTypeNameChanged"
QT_MOC_LITERAL(13, 196, 26), // "onEdgeTypeDirectionChanged"
QT_MOC_LITERAL(14, 223, 32), // "GraphTheory::EdgeType::Direction"
QT_MOC_LITERAL(15, 256, 9), // "direction"
QT_MOC_LITERAL(16, 266, 16) // "onCreateEdgeType"

    },
    "DocumentTypesWidget\0setDocument\0\0"
    "GraphTheory::GraphDocumentPtr\0document\0"
    "onNodeTypeColorChanged\0index\0color\0"
    "onNodeTypeNameChanged\0name\0onCreateNodeType\0"
    "onEdgeTypeColorChanged\0onEdgeTypeNameChanged\0"
    "onEdgeTypeDirectionChanged\0"
    "GraphTheory::EdgeType::Direction\0"
    "direction\0onCreateEdgeType"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_DocumentTypesWidget[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   54,    2, 0x0a /* Public */,
       5,    2,   57,    2, 0x08 /* Private */,
       8,    2,   62,    2, 0x08 /* Private */,
      10,    0,   67,    2, 0x08 /* Private */,
      11,    2,   68,    2, 0x08 /* Private */,
      12,    2,   73,    2, 0x08 /* Private */,
      13,    2,   78,    2, 0x08 /* Private */,
      16,    0,   83,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QColor,    6,    7,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QString,    6,    9,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QColor,    6,    7,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QString,    6,    9,
    QMetaType::Void, QMetaType::QModelIndex, 0x80000000 | 14,    6,   15,
    QMetaType::Void,

       0        // eod
};

void DocumentTypesWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        DocumentTypesWidget *_t = static_cast<DocumentTypesWidget *>(_o);
        switch (_id) {
        case 0: _t->setDocument((*reinterpret_cast< GraphTheory::GraphDocumentPtr(*)>(_a[1]))); break;
        case 1: _t->onNodeTypeColorChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QColor(*)>(_a[2]))); break;
        case 2: _t->onNodeTypeNameChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 3: _t->onCreateNodeType(); break;
        case 4: _t->onEdgeTypeColorChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QColor(*)>(_a[2]))); break;
        case 5: _t->onEdgeTypeNameChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 6: _t->onEdgeTypeDirectionChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const GraphTheory::EdgeType::Direction(*)>(_a[2]))); break;
        case 7: _t->onCreateEdgeType(); break;
        default: ;
        }
    }
}

const QMetaObject DocumentTypesWidget::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_DocumentTypesWidget.data,
      qt_meta_data_DocumentTypesWidget,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *DocumentTypesWidget::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_DocumentTypesWidget.stringdata))
        return static_cast<void*>(const_cast< DocumentTypesWidget*>(this));
    return QWidget::qt_metacast(_clname);
}

int DocumentTypesWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 8)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 8;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 8)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 8;
    }
    return _id;
}
QT_END_MOC_NAMESPACE
