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

#include "../../src/rocs-17.12.3/libgraphtheory/edgetype.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'edgetype.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.4. 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__EdgeType_t {
    QByteArrayData data[19];
    char stringdata0[293];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_GraphTheory__EdgeType_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_GraphTheory__EdgeType_t qt_meta_stringdata_GraphTheory__EdgeType = {
    {
QT_MOC_LITERAL(0, 0, 21), // "GraphTheory::EdgeType"
QT_MOC_LITERAL(1, 22, 16), // "directionChanged"
QT_MOC_LITERAL(2, 39, 0), // ""
QT_MOC_LITERAL(3, 40, 19), // "EdgeType::Direction"
QT_MOC_LITERAL(4, 60, 9), // "direction"
QT_MOC_LITERAL(5, 70, 9), // "idChanged"
QT_MOC_LITERAL(6, 80, 2), // "id"
QT_MOC_LITERAL(7, 83, 29), // "dynamicPropertyAboutToBeAdded"
QT_MOC_LITERAL(8, 113, 8), // "property"
QT_MOC_LITERAL(9, 122, 20), // "dynamicPropertyAdded"
QT_MOC_LITERAL(10, 143, 33), // "dynamicPropertiesAboutToBeRem..."
QT_MOC_LITERAL(11, 177, 22), // "dynamicPropertyRemoved"
QT_MOC_LITERAL(12, 200, 22), // "dynamicPropertyRenamed"
QT_MOC_LITERAL(13, 223, 11), // "oldProperty"
QT_MOC_LITERAL(14, 235, 11), // "newProperty"
QT_MOC_LITERAL(15, 247, 22), // "dynamicPropertyChanged"
QT_MOC_LITERAL(16, 270, 5), // "index"
QT_MOC_LITERAL(17, 276, 11), // "nameChanged"
QT_MOC_LITERAL(18, 288, 4) // "name"

    },
    "GraphTheory::EdgeType\0directionChanged\0"
    "\0EdgeType::Direction\0direction\0idChanged\0"
    "id\0dynamicPropertyAboutToBeAdded\0"
    "property\0dynamicPropertyAdded\0"
    "dynamicPropertiesAboutToBeRemoved\0"
    "dynamicPropertyRemoved\0dynamicPropertyRenamed\0"
    "oldProperty\0newProperty\0dynamicPropertyChanged\0"
    "index\0nameChanged\0name"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_GraphTheory__EdgeType[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   59,    2, 0x06 /* Public */,
       5,    1,   62,    2, 0x06 /* Public */,
       7,    2,   65,    2, 0x06 /* Public */,
       9,    0,   70,    2, 0x06 /* Public */,
      10,    2,   71,    2, 0x06 /* Public */,
      11,    1,   76,    2, 0x06 /* Public */,
      12,    2,   79,    2, 0x06 /* Public */,
      15,    1,   84,    2, 0x06 /* Public */,
      17,    1,   87,    2, 0x06 /* Public */,

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

 // properties: name, type, flags
       6, QMetaType::Int, 0x00495103,

 // properties: notify_signal_id
       1,

       0        // eod
};

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

const QMetaObject GraphTheory::EdgeType::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_GraphTheory__EdgeType.data,
      qt_meta_data_GraphTheory__EdgeType,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

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

// SIGNAL 2
void GraphTheory::EdgeType::dynamicPropertyAboutToBeAdded(const QString & _t1, int _t2)
{
    void *_a[] = { 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::EdgeType::dynamicPropertyAdded()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void GraphTheory::EdgeType::dynamicPropertiesAboutToBeRemoved(int _t1, int _t2)
{
    void *_a[] = { 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::EdgeType::dynamicPropertyRemoved(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void GraphTheory::EdgeType::dynamicPropertyRenamed(const QString & _t1, const QString & _t2)
{
    void *_a[] = { 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::EdgeType::dynamicPropertyChanged(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}

// SIGNAL 8
void GraphTheory::EdgeType::nameChanged(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 8, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
