/****************************************************************************
** Meta object code from reading C++ file 'nodewrapper.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/rocs-17.08.3/libgraphtheory/kernel/nodewrapper.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'nodewrapper.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_GraphTheory__NodeWrapper_t {
    QByteArrayData data[28];
    char stringdata0[338];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_GraphTheory__NodeWrapper_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_GraphTheory__NodeWrapper_t qt_meta_stringdata_GraphTheory__NodeWrapper = {
    {
QT_MOC_LITERAL(0, 0, 24), // "GraphTheory::NodeWrapper"
QT_MOC_LITERAL(1, 25, 7), // "message"
QT_MOC_LITERAL(2, 33, 0), // ""
QT_MOC_LITERAL(3, 34, 13), // "messageString"
QT_MOC_LITERAL(4, 48, 19), // "Kernel::MessageType"
QT_MOC_LITERAL(5, 68, 4), // "type"
QT_MOC_LITERAL(6, 73, 9), // "idChanged"
QT_MOC_LITERAL(7, 83, 2), // "id"
QT_MOC_LITERAL(8, 86, 15), // "positionChanged"
QT_MOC_LITERAL(9, 102, 8), // "position"
QT_MOC_LITERAL(10, 111, 12), // "colorChanged"
QT_MOC_LITERAL(11, 124, 5), // "color"
QT_MOC_LITERAL(12, 130, 11), // "typeChanged"
QT_MOC_LITERAL(13, 142, 23), // "updateDynamicProperties"
QT_MOC_LITERAL(14, 166, 5), // "edges"
QT_MOC_LITERAL(15, 172, 32), // "QList<GraphTheory::EdgeWrapper*>"
QT_MOC_LITERAL(16, 205, 7), // "inEdges"
QT_MOC_LITERAL(17, 213, 8), // "outEdges"
QT_MOC_LITERAL(18, 222, 9), // "neighbors"
QT_MOC_LITERAL(19, 232, 32), // "QList<GraphTheory::NodeWrapper*>"
QT_MOC_LITERAL(20, 265, 12), // "predecessors"
QT_MOC_LITERAL(21, 278, 10), // "successors"
QT_MOC_LITERAL(22, 289, 8), // "distance"
QT_MOC_LITERAL(23, 298, 12), // "QScriptValue"
QT_MOC_LITERAL(24, 311, 14), // "lengthProperty"
QT_MOC_LITERAL(25, 326, 7), // "targets"
QT_MOC_LITERAL(26, 334, 1), // "x"
QT_MOC_LITERAL(27, 336, 1) // "y"

    },
    "GraphTheory::NodeWrapper\0message\0\0"
    "messageString\0Kernel::MessageType\0"
    "type\0idChanged\0id\0positionChanged\0"
    "position\0colorChanged\0color\0typeChanged\0"
    "updateDynamicProperties\0edges\0"
    "QList<GraphTheory::EdgeWrapper*>\0"
    "inEdges\0outEdges\0neighbors\0"
    "QList<GraphTheory::NodeWrapper*>\0"
    "predecessors\0successors\0distance\0"
    "QScriptValue\0lengthProperty\0targets\0"
    "x\0y"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_GraphTheory__NodeWrapper[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,  109,    2, 0x06 /* Public */,
       6,    1,  114,    2, 0x06 /* Public */,
       8,    1,  117,    2, 0x06 /* Public */,
      10,    1,  120,    2, 0x06 /* Public */,
      12,    0,  123,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      13,    0,  124,    2, 0x0a /* Public */,

 // methods: name, argc, parameters, tag, flags
      14,    0,  125,    2, 0x02 /* Public */,
      14,    1,  126,    2, 0x02 /* Public */,
      16,    0,  129,    2, 0x02 /* Public */,
      16,    1,  130,    2, 0x02 /* Public */,
      17,    0,  133,    2, 0x02 /* Public */,
      17,    1,  134,    2, 0x02 /* Public */,
      18,    0,  137,    2, 0x02 /* Public */,
      18,    1,  138,    2, 0x02 /* Public */,
      20,    0,  141,    2, 0x02 /* Public */,
      20,    1,  142,    2, 0x02 /* Public */,
      21,    0,  145,    2, 0x02 /* Public */,
      21,    1,  146,    2, 0x02 /* Public */,
      22,    2,  149,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString, 0x80000000 | 4,    3,    5,
    QMetaType::Void, QMetaType::Int,    7,
    QMetaType::Void, QMetaType::QPointF,    9,
    QMetaType::Void, QMetaType::QColor,   11,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,

 // methods: parameters
    0x80000000 | 15,
    0x80000000 | 15, QMetaType::Int,    5,
    0x80000000 | 15,
    0x80000000 | 15, QMetaType::Int,    5,
    0x80000000 | 15,
    0x80000000 | 15, QMetaType::Int,    5,
    0x80000000 | 19,
    0x80000000 | 19, QMetaType::Int,    5,
    0x80000000 | 19,
    0x80000000 | 19, QMetaType::Int,    5,
    0x80000000 | 19,
    0x80000000 | 19, QMetaType::Int,    5,
    0x80000000 | 23, QMetaType::QString, 0x80000000 | 19,   24,   25,

 // properties: name, type, flags
       7, QMetaType::Int, 0x00495001,
      26, QMetaType::QReal, 0x00495103,
      27, QMetaType::QReal, 0x00495103,
      11, QMetaType::QString, 0x00495103,
       5, QMetaType::Int, 0x00495103,

 // properties: notify_signal_id
       1,
       2,
       2,
       3,
       4,

       0        // eod
};

void GraphTheory::NodeWrapper::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        NodeWrapper *_t = static_cast<NodeWrapper *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->message((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< Kernel::MessageType(*)>(_a[2]))); break;
        case 1: _t->idChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: _t->positionChanged((*reinterpret_cast< const QPointF(*)>(_a[1]))); break;
        case 3: _t->colorChanged((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
        case 4: _t->typeChanged(); break;
        case 5: _t->updateDynamicProperties(); break;
        case 6: { QList<GraphTheory::EdgeWrapper*> _r = _t->edges();
            if (_a[0]) *reinterpret_cast< QList<GraphTheory::EdgeWrapper*>*>(_a[0]) = std::move(_r); }  break;
        case 7: { QList<GraphTheory::EdgeWrapper*> _r = _t->edges((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QList<GraphTheory::EdgeWrapper*>*>(_a[0]) = std::move(_r); }  break;
        case 8: { QList<GraphTheory::EdgeWrapper*> _r = _t->inEdges();
            if (_a[0]) *reinterpret_cast< QList<GraphTheory::EdgeWrapper*>*>(_a[0]) = std::move(_r); }  break;
        case 9: { QList<GraphTheory::EdgeWrapper*> _r = _t->inEdges((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QList<GraphTheory::EdgeWrapper*>*>(_a[0]) = std::move(_r); }  break;
        case 10: { QList<GraphTheory::EdgeWrapper*> _r = _t->outEdges();
            if (_a[0]) *reinterpret_cast< QList<GraphTheory::EdgeWrapper*>*>(_a[0]) = std::move(_r); }  break;
        case 11: { QList<GraphTheory::EdgeWrapper*> _r = _t->outEdges((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QList<GraphTheory::EdgeWrapper*>*>(_a[0]) = std::move(_r); }  break;
        case 12: { QList<GraphTheory::NodeWrapper*> _r = _t->neighbors();
            if (_a[0]) *reinterpret_cast< QList<GraphTheory::NodeWrapper*>*>(_a[0]) = std::move(_r); }  break;
        case 13: { QList<GraphTheory::NodeWrapper*> _r = _t->neighbors((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QList<GraphTheory::NodeWrapper*>*>(_a[0]) = std::move(_r); }  break;
        case 14: { QList<GraphTheory::NodeWrapper*> _r = _t->predecessors();
            if (_a[0]) *reinterpret_cast< QList<GraphTheory::NodeWrapper*>*>(_a[0]) = std::move(_r); }  break;
        case 15: { QList<GraphTheory::NodeWrapper*> _r = _t->predecessors((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QList<GraphTheory::NodeWrapper*>*>(_a[0]) = std::move(_r); }  break;
        case 16: { QList<GraphTheory::NodeWrapper*> _r = _t->successors();
            if (_a[0]) *reinterpret_cast< QList<GraphTheory::NodeWrapper*>*>(_a[0]) = std::move(_r); }  break;
        case 17: { QList<GraphTheory::NodeWrapper*> _r = _t->successors((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QList<GraphTheory::NodeWrapper*>*>(_a[0]) = std::move(_r); }  break;
        case 18: { QScriptValue _r = _t->distance((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< QList<GraphTheory::NodeWrapper*>(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QScriptValue*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 18:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<GraphTheory::NodeWrapper*> >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (NodeWrapper::*_t)(const QString & , Kernel::MessageType ) const;
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&NodeWrapper::message)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (NodeWrapper::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&NodeWrapper::idChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (NodeWrapper::*_t)(const QPointF & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&NodeWrapper::positionChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (NodeWrapper::*_t)(const QColor & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&NodeWrapper::colorChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (NodeWrapper::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&NodeWrapper::typeChanged)) {
                *result = 4;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        NodeWrapper *_t = static_cast<NodeWrapper *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< int*>(_v) = _t->id(); break;
        case 1: *reinterpret_cast< qreal*>(_v) = _t->x(); break;
        case 2: *reinterpret_cast< qreal*>(_v) = _t->y(); break;
        case 3: *reinterpret_cast< QString*>(_v) = _t->color(); break;
        case 4: *reinterpret_cast< int*>(_v) = _t->type(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        NodeWrapper *_t = static_cast<NodeWrapper *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 1: _t->setX(*reinterpret_cast< qreal*>(_v)); break;
        case 2: _t->setY(*reinterpret_cast< qreal*>(_v)); break;
        case 3: _t->setColor(*reinterpret_cast< QString*>(_v)); break;
        case 4: _t->setType(*reinterpret_cast< int*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject GraphTheory::NodeWrapper::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_GraphTheory__NodeWrapper.data,
      qt_meta_data_GraphTheory__NodeWrapper,  qt_static_metacall, nullptr, nullptr}
};


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

void *GraphTheory::NodeWrapper::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_GraphTheory__NodeWrapper.stringdata0))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int GraphTheory::NodeWrapper::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)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 19;
    }
#ifndef QT_NO_PROPERTIES
   else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 5;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void GraphTheory::NodeWrapper::message(const QString & _t1, Kernel::MessageType _t2)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(const_cast< GraphTheory::NodeWrapper *>(this), &staticMetaObject, 0, _a);
}

// SIGNAL 1
void GraphTheory::NodeWrapper::idChanged(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void GraphTheory::NodeWrapper::positionChanged(const QPointF & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void GraphTheory::NodeWrapper::colorChanged(const QColor & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void GraphTheory::NodeWrapper::typeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
