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

#include "../../src/rocs-17.04.3/libgraphtheory/graphdocument.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'graphdocument.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.6.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_GraphTheory__GraphDocument_t {
    QByteArrayData data[25];
    char stringdata0[411];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_GraphTheory__GraphDocument_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_GraphTheory__GraphDocument_t qt_meta_stringdata_GraphTheory__GraphDocument = {
    {
QT_MOC_LITERAL(0, 0, 26), // "GraphTheory::GraphDocument"
QT_MOC_LITERAL(1, 27, 18), // "nodeAboutToBeAdded"
QT_MOC_LITERAL(2, 46, 0), // ""
QT_MOC_LITERAL(3, 47, 7), // "NodePtr"
QT_MOC_LITERAL(4, 55, 9), // "nodeAdded"
QT_MOC_LITERAL(5, 65, 21), // "nodesAboutToBeRemoved"
QT_MOC_LITERAL(6, 87, 12), // "nodesRemoved"
QT_MOC_LITERAL(7, 100, 18), // "edgeAboutToBeAdded"
QT_MOC_LITERAL(8, 119, 7), // "EdgePtr"
QT_MOC_LITERAL(9, 127, 9), // "edgeAdded"
QT_MOC_LITERAL(10, 137, 21), // "edgesAboutToBeRemoved"
QT_MOC_LITERAL(11, 159, 12), // "edgesRemoved"
QT_MOC_LITERAL(12, 172, 22), // "nodeTypeAboutToBeAdded"
QT_MOC_LITERAL(13, 195, 11), // "NodeTypePtr"
QT_MOC_LITERAL(14, 207, 13), // "nodeTypeAdded"
QT_MOC_LITERAL(15, 221, 25), // "nodeTypesAboutToBeRemoved"
QT_MOC_LITERAL(16, 247, 16), // "nodeTypesRemoved"
QT_MOC_LITERAL(17, 264, 22), // "edgeTypeAboutToBeAdded"
QT_MOC_LITERAL(18, 287, 11), // "EdgeTypePtr"
QT_MOC_LITERAL(19, 299, 13), // "edgeTypeAdded"
QT_MOC_LITERAL(20, 313, 25), // "edgeTypesAboutToBeRemoved"
QT_MOC_LITERAL(21, 339, 16), // "edgeTypesRemoved"
QT_MOC_LITERAL(22, 356, 19), // "documentNameChanged"
QT_MOC_LITERAL(23, 376, 18), // "documentUrlChanged"
QT_MOC_LITERAL(24, 395, 15) // "modifiedChanged"

    },
    "GraphTheory::GraphDocument\0"
    "nodeAboutToBeAdded\0\0NodePtr\0nodeAdded\0"
    "nodesAboutToBeRemoved\0nodesRemoved\0"
    "edgeAboutToBeAdded\0EdgePtr\0edgeAdded\0"
    "edgesAboutToBeRemoved\0edgesRemoved\0"
    "nodeTypeAboutToBeAdded\0NodeTypePtr\0"
    "nodeTypeAdded\0nodeTypesAboutToBeRemoved\0"
    "nodeTypesRemoved\0edgeTypeAboutToBeAdded\0"
    "EdgeTypePtr\0edgeTypeAdded\0"
    "edgeTypesAboutToBeRemoved\0edgeTypesRemoved\0"
    "documentNameChanged\0documentUrlChanged\0"
    "modifiedChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_GraphTheory__GraphDocument[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,  109,    2, 0x06 /* Public */,
       4,    0,  114,    2, 0x06 /* Public */,
       5,    2,  115,    2, 0x06 /* Public */,
       6,    0,  120,    2, 0x06 /* Public */,
       7,    2,  121,    2, 0x06 /* Public */,
       9,    0,  126,    2, 0x06 /* Public */,
      10,    2,  127,    2, 0x06 /* Public */,
      11,    0,  132,    2, 0x06 /* Public */,
      12,    2,  133,    2, 0x06 /* Public */,
      14,    0,  138,    2, 0x06 /* Public */,
      15,    2,  139,    2, 0x06 /* Public */,
      16,    0,  144,    2, 0x06 /* Public */,
      17,    2,  145,    2, 0x06 /* Public */,
      19,    0,  150,    2, 0x06 /* Public */,
      20,    2,  151,    2, 0x06 /* Public */,
      21,    0,  156,    2, 0x06 /* Public */,
      22,    1,  157,    2, 0x06 /* Public */,
      23,    0,  160,    2, 0x06 /* Public */,
      24,    0,  161,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, QMetaType::Int,    2,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    2,    2,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 8, QMetaType::Int,    2,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    2,    2,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 13, QMetaType::Int,    2,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    2,    2,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 18, QMetaType::Int,    2,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    2,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void GraphTheory::GraphDocument::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        GraphDocument *_t = static_cast<GraphDocument *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->nodeAboutToBeAdded((*reinterpret_cast< NodePtr(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 1: _t->nodeAdded(); break;
        case 2: _t->nodesAboutToBeRemoved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 3: _t->nodesRemoved(); break;
        case 4: _t->edgeAboutToBeAdded((*reinterpret_cast< EdgePtr(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 5: _t->edgeAdded(); break;
        case 6: _t->edgesAboutToBeRemoved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 7: _t->edgesRemoved(); break;
        case 8: _t->nodeTypeAboutToBeAdded((*reinterpret_cast< NodeTypePtr(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 9: _t->nodeTypeAdded(); break;
        case 10: _t->nodeTypesAboutToBeRemoved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 11: _t->nodeTypesRemoved(); break;
        case 12: _t->edgeTypeAboutToBeAdded((*reinterpret_cast< EdgeTypePtr(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 13: _t->edgeTypeAdded(); break;
        case 14: _t->edgeTypesAboutToBeRemoved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 15: _t->edgeTypesRemoved(); break;
        case 16: _t->documentNameChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 17: _t->documentUrlChanged(); break;
        case 18: _t->modifiedChanged(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (GraphDocument::*_t)(NodePtr , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GraphDocument::nodeAboutToBeAdded)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (GraphDocument::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GraphDocument::nodeAdded)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (GraphDocument::*_t)(int , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GraphDocument::nodesAboutToBeRemoved)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (GraphDocument::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GraphDocument::nodesRemoved)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (GraphDocument::*_t)(EdgePtr , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GraphDocument::edgeAboutToBeAdded)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (GraphDocument::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GraphDocument::edgeAdded)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (GraphDocument::*_t)(int , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GraphDocument::edgesAboutToBeRemoved)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (GraphDocument::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GraphDocument::edgesRemoved)) {
                *result = 7;
                return;
            }
        }
        {
            typedef void (GraphDocument::*_t)(NodeTypePtr , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GraphDocument::nodeTypeAboutToBeAdded)) {
                *result = 8;
                return;
            }
        }
        {
            typedef void (GraphDocument::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GraphDocument::nodeTypeAdded)) {
                *result = 9;
                return;
            }
        }
        {
            typedef void (GraphDocument::*_t)(int , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GraphDocument::nodeTypesAboutToBeRemoved)) {
                *result = 10;
                return;
            }
        }
        {
            typedef void (GraphDocument::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GraphDocument::nodeTypesRemoved)) {
                *result = 11;
                return;
            }
        }
        {
            typedef void (GraphDocument::*_t)(EdgeTypePtr , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GraphDocument::edgeTypeAboutToBeAdded)) {
                *result = 12;
                return;
            }
        }
        {
            typedef void (GraphDocument::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GraphDocument::edgeTypeAdded)) {
                *result = 13;
                return;
            }
        }
        {
            typedef void (GraphDocument::*_t)(int , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GraphDocument::edgeTypesAboutToBeRemoved)) {
                *result = 14;
                return;
            }
        }
        {
            typedef void (GraphDocument::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GraphDocument::edgeTypesRemoved)) {
                *result = 15;
                return;
            }
        }
        {
            typedef void (GraphDocument::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GraphDocument::documentNameChanged)) {
                *result = 16;
                return;
            }
        }
        {
            typedef void (GraphDocument::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GraphDocument::documentUrlChanged)) {
                *result = 17;
                return;
            }
        }
        {
            typedef void (GraphDocument::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GraphDocument::modifiedChanged)) {
                *result = 18;
                return;
            }
        }
    }
}

const QMetaObject GraphTheory::GraphDocument::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_GraphTheory__GraphDocument.data,
      qt_meta_data_GraphTheory__GraphDocument,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *GraphTheory::GraphDocument::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_GraphTheory__GraphDocument.stringdata0))
        return static_cast<void*>(const_cast< GraphDocument*>(this));
    return QObject::qt_metacast(_clname);
}

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

// SIGNAL 0
void GraphTheory::GraphDocument::nodeAboutToBeAdded(NodePtr _t1, int _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void GraphTheory::GraphDocument::nodeAdded()
{
    QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
}

// SIGNAL 2
void GraphTheory::GraphDocument::nodesAboutToBeRemoved(int _t1, int _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void GraphTheory::GraphDocument::nodesRemoved()
{
    QMetaObject::activate(this, &staticMetaObject, 3, Q_NULLPTR);
}

// SIGNAL 4
void GraphTheory::GraphDocument::edgeAboutToBeAdded(EdgePtr _t1, int _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void GraphTheory::GraphDocument::edgeAdded()
{
    QMetaObject::activate(this, &staticMetaObject, 5, Q_NULLPTR);
}

// SIGNAL 6
void GraphTheory::GraphDocument::edgesAboutToBeRemoved(int _t1, int _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

// SIGNAL 7
void GraphTheory::GraphDocument::edgesRemoved()
{
    QMetaObject::activate(this, &staticMetaObject, 7, Q_NULLPTR);
}

// SIGNAL 8
void GraphTheory::GraphDocument::nodeTypeAboutToBeAdded(NodeTypePtr _t1, int _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 8, _a);
}

// SIGNAL 9
void GraphTheory::GraphDocument::nodeTypeAdded()
{
    QMetaObject::activate(this, &staticMetaObject, 9, Q_NULLPTR);
}

// SIGNAL 10
void GraphTheory::GraphDocument::nodeTypesAboutToBeRemoved(int _t1, int _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 10, _a);
}

// SIGNAL 11
void GraphTheory::GraphDocument::nodeTypesRemoved()
{
    QMetaObject::activate(this, &staticMetaObject, 11, Q_NULLPTR);
}

// SIGNAL 12
void GraphTheory::GraphDocument::edgeTypeAboutToBeAdded(EdgeTypePtr _t1, int _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 12, _a);
}

// SIGNAL 13
void GraphTheory::GraphDocument::edgeTypeAdded()
{
    QMetaObject::activate(this, &staticMetaObject, 13, Q_NULLPTR);
}

// SIGNAL 14
void GraphTheory::GraphDocument::edgeTypesAboutToBeRemoved(int _t1, int _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 14, _a);
}

// SIGNAL 15
void GraphTheory::GraphDocument::edgeTypesRemoved()
{
    QMetaObject::activate(this, &staticMetaObject, 15, Q_NULLPTR);
}

// SIGNAL 16
void GraphTheory::GraphDocument::documentNameChanged(const QString & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 16, _a);
}

// SIGNAL 17
void GraphTheory::GraphDocument::documentUrlChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 17, Q_NULLPTR);
}

// SIGNAL 18
void GraphTheory::GraphDocument::modifiedChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 18, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
