/****************************************************************************
** Meta object code from reading C++ file 'node.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/node.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'node.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__Node_t {
    QByteArrayData data[27];
    char stringdata0[356];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_GraphTheory__Node_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_GraphTheory__Node_t qt_meta_stringdata_GraphTheory__Node = {
    {
QT_MOC_LITERAL(0, 0, 17), // "GraphTheory::Node"
QT_MOC_LITERAL(1, 18, 11), // "typeChanged"
QT_MOC_LITERAL(2, 30, 0), // ""
QT_MOC_LITERAL(3, 31, 11), // "NodeTypePtr"
QT_MOC_LITERAL(4, 43, 4), // "type"
QT_MOC_LITERAL(5, 48, 9), // "edgeAdded"
QT_MOC_LITERAL(6, 58, 7), // "EdgePtr"
QT_MOC_LITERAL(7, 66, 4), // "edge"
QT_MOC_LITERAL(8, 71, 15), // "positionChanged"
QT_MOC_LITERAL(9, 87, 8), // "position"
QT_MOC_LITERAL(10, 96, 9), // "idChanged"
QT_MOC_LITERAL(11, 106, 2), // "id"
QT_MOC_LITERAL(12, 109, 12), // "colorChanged"
QT_MOC_LITERAL(13, 122, 5), // "color"
QT_MOC_LITERAL(14, 128, 12), // "styleChanged"
QT_MOC_LITERAL(15, 141, 29), // "dynamicPropertyAboutToBeAdded"
QT_MOC_LITERAL(16, 171, 20), // "dynamicPropertyAdded"
QT_MOC_LITERAL(17, 192, 33), // "dynamicPropertiesAboutToBeRem..."
QT_MOC_LITERAL(18, 226, 22), // "dynamicPropertyRemoved"
QT_MOC_LITERAL(19, 249, 22), // "dynamicPropertyChanged"
QT_MOC_LITERAL(20, 272, 5), // "index"
QT_MOC_LITERAL(21, 278, 24), // "dynamicPropertiesChanged"
QT_MOC_LITERAL(22, 303, 21), // "updateDynamicProperty"
QT_MOC_LITERAL(23, 325, 8), // "property"
QT_MOC_LITERAL(24, 334, 1), // "x"
QT_MOC_LITERAL(25, 336, 1), // "y"
QT_MOC_LITERAL(26, 338, 17) // "dynamicProperties"

    },
    "GraphTheory::Node\0typeChanged\0\0"
    "NodeTypePtr\0type\0edgeAdded\0EdgePtr\0"
    "edge\0positionChanged\0position\0idChanged\0"
    "id\0colorChanged\0color\0styleChanged\0"
    "dynamicPropertyAboutToBeAdded\0"
    "dynamicPropertyAdded\0"
    "dynamicPropertiesAboutToBeRemoved\0"
    "dynamicPropertyRemoved\0dynamicPropertyChanged\0"
    "index\0dynamicPropertiesChanged\0"
    "updateDynamicProperty\0property\0x\0y\0"
    "dynamicProperties"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_GraphTheory__Node[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      13,   14, // methods
       5,  114, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
      12,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,   79,    2, 0x06 /* Public */,
       5,    1,   82,    2, 0x06 /* Public */,
       8,    1,   85,    2, 0x06 /* Public */,
      10,    1,   88,    2, 0x06 /* Public */,
      12,    1,   91,    2, 0x06 /* Public */,
      14,    0,   94,    2, 0x06 /* Public */,
      15,    2,   95,    2, 0x06 /* Public */,
      16,    0,  100,    2, 0x06 /* Public */,
      17,    2,  101,    2, 0x06 /* Public */,
      18,    0,  106,    2, 0x06 /* Public */,
      19,    1,  107,    2, 0x06 /* Public */,
      21,    0,  110,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      22,    1,  111,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void, QMetaType::QPointF,    9,
    QMetaType::Void, QMetaType::Int,   11,
    QMetaType::Void, QMetaType::QColor,   13,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, QMetaType::Int,    2,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    2,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   20,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::QString,   23,

 // properties: name, type, flags
      11, QMetaType::Int, 0x00495103,
      24, QMetaType::QReal, 0x00495103,
      25, QMetaType::QReal, 0x00495103,
      13, QMetaType::QColor, 0x00495103,
      26, QMetaType::QStringList, 0x00495001,

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

       0        // eod
};

void GraphTheory::Node::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Node *_t = static_cast<Node *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->typeChanged((*reinterpret_cast< NodeTypePtr(*)>(_a[1]))); break;
        case 1: _t->edgeAdded((*reinterpret_cast< EdgePtr(*)>(_a[1]))); break;
        case 2: _t->positionChanged((*reinterpret_cast< const QPointF(*)>(_a[1]))); break;
        case 3: _t->idChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->colorChanged((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
        case 5: _t->styleChanged(); break;
        case 6: _t->dynamicPropertyAboutToBeAdded((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 7: _t->dynamicPropertyAdded(); break;
        case 8: _t->dynamicPropertiesAboutToBeRemoved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 9: _t->dynamicPropertyRemoved(); break;
        case 10: _t->dynamicPropertyChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 11: _t->dynamicPropertiesChanged(); break;
        case 12: _t->updateDynamicProperty((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (Node::*_t)(NodeTypePtr );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Node::typeChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (Node::*_t)(EdgePtr );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Node::edgeAdded)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (Node::*_t)(const QPointF & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Node::positionChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (Node::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Node::idChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (Node::*_t)(const QColor & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Node::colorChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (Node::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Node::styleChanged)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (Node::*_t)(const QString & , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Node::dynamicPropertyAboutToBeAdded)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (Node::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Node::dynamicPropertyAdded)) {
                *result = 7;
                return;
            }
        }
        {
            typedef void (Node::*_t)(int , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Node::dynamicPropertiesAboutToBeRemoved)) {
                *result = 8;
                return;
            }
        }
        {
            typedef void (Node::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Node::dynamicPropertyRemoved)) {
                *result = 9;
                return;
            }
        }
        {
            typedef void (Node::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Node::dynamicPropertyChanged)) {
                *result = 10;
                return;
            }
        }
        {
            typedef void (Node::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Node::dynamicPropertiesChanged)) {
                *result = 11;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        Node *_t = static_cast<Node *>(_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< QColor*>(_v) = _t->color(); break;
        case 4: *reinterpret_cast< QStringList*>(_v) = _t->dynamicProperties(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        Node *_t = static_cast<Node *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setId(*reinterpret_cast< int*>(_v)); break;
        case 1: _t->setX(*reinterpret_cast< qreal*>(_v)); break;
        case 2: _t->setY(*reinterpret_cast< qreal*>(_v)); break;
        case 3: _t->setColor(*reinterpret_cast< QColor*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject GraphTheory::Node::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_GraphTheory__Node.data,
      qt_meta_data_GraphTheory__Node,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int GraphTheory::Node::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 < 13)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 13)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 13;
    }
#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::Node::typeChanged(NodeTypePtr _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void GraphTheory::Node::edgeAdded(EdgePtr _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

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

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

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

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

// SIGNAL 6
void GraphTheory::Node::dynamicPropertyAboutToBeAdded(const QString & _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::Node::dynamicPropertyAdded()
{
    QMetaObject::activate(this, &staticMetaObject, 7, Q_NULLPTR);
}

// SIGNAL 8
void GraphTheory::Node::dynamicPropertiesAboutToBeRemoved(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, 8, _a);
}

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

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

// SIGNAL 11
void GraphTheory::Node::dynamicPropertiesChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 11, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
