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

#include "../ES/ESObjectsRepository.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'ESObjectsRepository.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.11.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_ESObjectsRepository_t {
    QByteArrayData data[18];
    char stringdata0[203];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_ESObjectsRepository_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_ESObjectsRepository_t qt_meta_stringdata_ESObjectsRepository = {
    {
QT_MOC_LITERAL(0, 0, 19), // "ESObjectsRepository"
QT_MOC_LITERAL(1, 20, 11), // "rootChanged"
QT_MOC_LITERAL(2, 32, 0), // ""
QT_MOC_LITERAL(3, 33, 17), // "streamTreeChanged"
QT_MOC_LITERAL(4, 51, 15), // "doorListChanged"
QT_MOC_LITERAL(5, 67, 17), // "streamListChanged"
QT_MOC_LITERAL(6, 85, 11), // "dataChanged"
QT_MOC_LITERAL(7, 97, 10), // "streamList"
QT_MOC_LITERAL(8, 108, 10), // "pathIDList"
QT_MOC_LITERAL(9, 119, 2), // "id"
QT_MOC_LITERAL(10, 122, 14), // "objectNameById"
QT_MOC_LITERAL(11, 137, 12), // "objectByPath"
QT_MOC_LITERAL(12, 150, 9), // "ESObject*"
QT_MOC_LITERAL(13, 160, 4), // "path"
QT_MOC_LITERAL(14, 165, 10), // "objectById"
QT_MOC_LITERAL(15, 176, 4), // "root"
QT_MOC_LITERAL(16, 181, 10), // "streamTree"
QT_MOC_LITERAL(17, 192, 10) // "TreeModel*"

    },
    "ESObjectsRepository\0rootChanged\0\0"
    "streamTreeChanged\0doorListChanged\0"
    "streamListChanged\0dataChanged\0streamList\0"
    "pathIDList\0id\0objectNameById\0objectByPath\0"
    "ESObject*\0path\0objectById\0root\0"
    "streamTree\0TreeModel*"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_ESObjectsRepository[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      10,   14, // methods
       3,   82, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       5,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   64,    2, 0x06 /* Public */,
       3,    0,   65,    2, 0x06 /* Public */,
       4,    0,   66,    2, 0x06 /* Public */,
       5,    0,   67,    2, 0x06 /* Public */,
       6,    0,   68,    2, 0x06 /* Public */,

 // methods: name, argc, parameters, tag, flags
       7,    0,   69,    2, 0x02 /* Public */,
       8,    1,   70,    2, 0x02 /* Public */,
      10,    1,   73,    2, 0x02 /* Public */,
      11,    1,   76,    2, 0x02 /* Public */,
      14,    1,   79,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // methods: parameters
    QMetaType::QStringList,
    QMetaType::QStringList, QMetaType::QString,    9,
    QMetaType::QString, QMetaType::QString,    9,
    0x80000000 | 12, QMetaType::QString,   13,
    0x80000000 | 12, QMetaType::QString,    9,

 // properties: name, type, flags
      15, 0x80000000 | 12, 0x00495009,
      16, 0x80000000 | 17, 0x00495009,
       7, QMetaType::QStringList, 0x00495001,

 // properties: notify_signal_id
       0,
       1,
       3,

       0        // eod
};

void ESObjectsRepository::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ESObjectsRepository *_t = static_cast<ESObjectsRepository *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->rootChanged(); break;
        case 1: _t->streamTreeChanged(); break;
        case 2: _t->doorListChanged(); break;
        case 3: _t->streamListChanged(); break;
        case 4: _t->dataChanged(); break;
        case 5: { QStringList _r = _t->streamList();
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = std::move(_r); }  break;
        case 6: { QStringList _r = _t->pathIDList((*reinterpret_cast< QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = std::move(_r); }  break;
        case 7: { QString _r = _t->objectNameById((*reinterpret_cast< QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 8: { ESObject* _r = _t->objectByPath((*reinterpret_cast< QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< ESObject**>(_a[0]) = std::move(_r); }  break;
        case 9: { ESObject* _r = _t->objectById((*reinterpret_cast< QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< ESObject**>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (ESObjectsRepository::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ESObjectsRepository::rootChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (ESObjectsRepository::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ESObjectsRepository::streamTreeChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (ESObjectsRepository::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ESObjectsRepository::doorListChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (ESObjectsRepository::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ESObjectsRepository::streamListChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (ESObjectsRepository::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ESObjectsRepository::dataChanged)) {
                *result = 4;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< ESObject* >(); break;
        case 1:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< TreeModel* >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        ESObjectsRepository *_t = static_cast<ESObjectsRepository *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< ESObject**>(_v) = _t->root(); break;
        case 1: *reinterpret_cast< TreeModel**>(_v) = _t->streamTree(); break;
        case 2: *reinterpret_cast< QStringList*>(_v) = _t->streamList(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject ESObjectsRepository::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_ESObjectsRepository.data,
      qt_meta_data_ESObjectsRepository,  qt_static_metacall, nullptr, nullptr}
};


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

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

int ESObjectsRepository::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 -= 3;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 3;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void ESObjectsRepository::rootChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void ESObjectsRepository::streamTreeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void ESObjectsRepository::doorListChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void ESObjectsRepository::streamListChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void ESObjectsRepository::dataChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
