/****************************************************************************
** Meta object code from reading C++ file 'edge.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/edge.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'edge.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__Edge_t {
    QByteArrayData data[19];
    char stringdata0[319];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_GraphTheory__Edge_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_GraphTheory__Edge_t qt_meta_stringdata_GraphTheory__Edge = {
    {
QT_MOC_LITERAL(0, 0, 17), // "GraphTheory::Edge"
QT_MOC_LITERAL(1, 18, 11), // "typeChanged"
QT_MOC_LITERAL(2, 30, 0), // ""
QT_MOC_LITERAL(3, 31, 11), // "EdgeTypePtr"
QT_MOC_LITERAL(4, 43, 4), // "type"
QT_MOC_LITERAL(5, 48, 16), // "directionChanged"
QT_MOC_LITERAL(6, 65, 19), // "EdgeType::Direction"
QT_MOC_LITERAL(7, 85, 9), // "direction"
QT_MOC_LITERAL(8, 95, 29), // "dynamicPropertyAboutToBeAdded"
QT_MOC_LITERAL(9, 125, 20), // "dynamicPropertyAdded"
QT_MOC_LITERAL(10, 146, 33), // "dynamicPropertiesAboutToBeRem..."
QT_MOC_LITERAL(11, 180, 22), // "dynamicPropertyRemoved"
QT_MOC_LITERAL(12, 203, 22), // "dynamicPropertyChanged"
QT_MOC_LITERAL(13, 226, 5), // "index"
QT_MOC_LITERAL(14, 232, 24), // "dynamicPropertiesChanged"
QT_MOC_LITERAL(15, 257, 12), // "styleChanged"
QT_MOC_LITERAL(16, 270, 21), // "updateDynamicProperty"
QT_MOC_LITERAL(17, 292, 8), // "property"
QT_MOC_LITERAL(18, 301, 17) // "dynamicProperties"

    },
    "GraphTheory::Edge\0typeChanged\0\0"
    "EdgeTypePtr\0type\0directionChanged\0"
    "EdgeType::Direction\0direction\0"
    "dynamicPropertyAboutToBeAdded\0"
    "dynamicPropertyAdded\0"
    "dynamicPropertiesAboutToBeRemoved\0"
    "dynamicPropertyRemoved\0dynamicPropertyChanged\0"
    "index\0dynamicPropertiesChanged\0"
    "styleChanged\0updateDynamicProperty\0"
    "property\0dynamicProperties"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_GraphTheory__Edge[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   64,    2, 0x06 /* Public */,
       5,    1,   67,    2, 0x06 /* Public */,
       8,    2,   70,    2, 0x06 /* Public */,
       9,    0,   75,    2, 0x06 /* Public */,
      10,    2,   76,    2, 0x06 /* Public */,
      11,    0,   81,    2, 0x06 /* Public */,
      12,    1,   82,    2, 0x06 /* Public */,
      14,    0,   85,    2, 0x06 /* Public */,
      15,    0,   86,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      16,    1,   87,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void, QMetaType::QString, QMetaType::Int,    2,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    2,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   13,
    QMetaType::Void,
    QMetaType::Void,

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

 // properties: name, type, flags
      18, QMetaType::QStringList, 0x00495001,

 // properties: notify_signal_id
       7,

       0        // eod
};

void GraphTheory::Edge::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Edge *_t = static_cast<Edge *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->typeChanged((*reinterpret_cast< EdgeTypePtr(*)>(_a[1]))); break;
        case 1: _t->directionChanged((*reinterpret_cast< EdgeType::Direction(*)>(_a[1]))); break;
        case 2: _t->dynamicPropertyAboutToBeAdded((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 3: _t->dynamicPropertyAdded(); break;
        case 4: _t->dynamicPropertiesAboutToBeRemoved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 5: _t->dynamicPropertyRemoved(); break;
        case 6: _t->dynamicPropertyChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 7: _t->dynamicPropertiesChanged(); break;
        case 8: _t->styleChanged(); break;
        case 9: _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 (Edge::*_t)(EdgeTypePtr );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Edge::typeChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (Edge::*_t)(EdgeType::Direction );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Edge::directionChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (Edge::*_t)(const QString & , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Edge::dynamicPropertyAboutToBeAdded)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (Edge::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Edge::dynamicPropertyAdded)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (Edge::*_t)(int , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Edge::dynamicPropertiesAboutToBeRemoved)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (Edge::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Edge::dynamicPropertyRemoved)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (Edge::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Edge::dynamicPropertyChanged)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (Edge::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Edge::dynamicPropertiesChanged)) {
                *result = 7;
                return;
            }
        }
        {
            typedef void (Edge::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Edge::styleChanged)) {
                *result = 8;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        Edge *_t = static_cast<Edge *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QStringList*>(_v) = _t->dynamicProperties(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject GraphTheory::Edge::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_GraphTheory__Edge.data,
      qt_meta_data_GraphTheory__Edge,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int GraphTheory::Edge::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 < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 10)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 10;
    }
#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 -= 1;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 1;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void GraphTheory::Edge::typeChanged(EdgeTypePtr _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

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

// SIGNAL 2
void GraphTheory::Edge::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, 2, _a);
}

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

// SIGNAL 4
void GraphTheory::Edge::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, 4, _a);
}

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

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

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

// SIGNAL 8
void GraphTheory::Edge::styleChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 8, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
