/****************************************************************************
** Meta object code from reading C++ file 'qmlbridge.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 "../qmlbridge.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qmlbridge.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_QMLBridge_t {
    QByteArrayData data[31];
    char stringdata0[386];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QMLBridge_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QMLBridge_t qt_meta_stringdata_QMLBridge = {
    {
QT_MOC_LITERAL(0, 0, 9), // "QMLBridge"
QT_MOC_LITERAL(1, 10, 11), // "onTreeReady"
QT_MOC_LITERAL(2, 22, 0), // ""
QT_MOC_LITERAL(3, 23, 16), // "onChunksRecieved"
QT_MOC_LITERAL(4, 40, 8), // "StreamID"
QT_MOC_LITERAL(5, 49, 13), // "ESChunkModel*"
QT_MOC_LITERAL(6, 63, 6), // "pModel"
QT_MOC_LITERAL(7, 70, 20), // "chunksLookupRecieved"
QT_MOC_LITERAL(8, 91, 9), // "_StreamID"
QT_MOC_LITERAL(9, 101, 8), // "_Lookups"
QT_MOC_LITERAL(10, 110, 14), // "onLoginRequest"
QT_MOC_LITERAL(11, 125, 4), // "Host"
QT_MOC_LITERAL(12, 130, 4), // "Port"
QT_MOC_LITERAL(13, 135, 4), // "User"
QT_MOC_LITERAL(14, 140, 8), // "Password"
QT_MOC_LITERAL(15, 149, 8), // "Remember"
QT_MOC_LITERAL(16, 158, 17), // "onMainViewCreated"
QT_MOC_LITERAL(17, 176, 14), // "_pMainViewItem"
QT_MOC_LITERAL(18, 191, 17), // "onExportRequested"
QT_MOC_LITERAL(19, 209, 3), // "URL"
QT_MOC_LITERAL(20, 213, 16), // "onChunkRequested"
QT_MOC_LITERAL(21, 230, 24), // "onChunkWithDateRequested"
QT_MOC_LITERAL(22, 255, 5), // "Start"
QT_MOC_LITERAL(23, 261, 20), // "onChunkPlayRequested"
QT_MOC_LITERAL(24, 282, 3), // "End"
QT_MOC_LITERAL(25, 286, 24), // "onChunkDownloadRequested"
QT_MOC_LITERAL(26, 311, 23), // "onChunksLookupRequested"
QT_MOC_LITERAL(27, 335, 21), // "onSaveOnDiskRequested"
QT_MOC_LITERAL(28, 357, 8), // "Location"
QT_MOC_LITERAL(29, 366, 14), // "onSetWatermark"
QT_MOC_LITERAL(30, 381, 4) // "Path"

    },
    "QMLBridge\0onTreeReady\0\0onChunksRecieved\0"
    "StreamID\0ESChunkModel*\0pModel\0"
    "chunksLookupRecieved\0_StreamID\0_Lookups\0"
    "onLoginRequest\0Host\0Port\0User\0Password\0"
    "Remember\0onMainViewCreated\0_pMainViewItem\0"
    "onExportRequested\0URL\0onChunkRequested\0"
    "onChunkWithDateRequested\0Start\0"
    "onChunkPlayRequested\0End\0"
    "onChunkDownloadRequested\0"
    "onChunksLookupRequested\0onSaveOnDiskRequested\0"
    "Location\0onSetWatermark\0Path"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QMLBridge[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   79,    2, 0x0a /* Public */,
       3,    2,   80,    2, 0x0a /* Public */,
       7,    2,   85,    2, 0x0a /* Public */,
      10,    5,   90,    2, 0x09 /* Protected */,
      16,    1,  101,    2, 0x09 /* Protected */,
      18,    1,  104,    2, 0x09 /* Protected */,
      20,    1,  107,    2, 0x09 /* Protected */,
      21,    2,  110,    2, 0x09 /* Protected */,
      23,    3,  115,    2, 0x09 /* Protected */,
      25,    3,  122,    2, 0x09 /* Protected */,
      26,    1,  129,    2, 0x09 /* Protected */,
      27,    4,  132,    2, 0x09 /* Protected */,
      29,    1,  141,    2, 0x09 /* Protected */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, 0x80000000 | 5,    4,    6,
    QMetaType::Void, QMetaType::QString, QMetaType::QVariantList,    8,    9,
    QMetaType::Void, QMetaType::QVariant, QMetaType::QVariant, QMetaType::QVariant, QMetaType::QVariant, QMetaType::QVariant,   11,   12,   13,   14,   15,
    QMetaType::Void, QMetaType::QVariant,   17,
    QMetaType::Void, QMetaType::QVariant,   19,
    QMetaType::Void, QMetaType::QVariant,    4,
    QMetaType::Void, QMetaType::QVariant, QMetaType::QVariant,    4,   22,
    QMetaType::Void, QMetaType::QVariant, QMetaType::QVariant, QMetaType::QVariant,    4,   22,   24,
    QMetaType::Void, QMetaType::QVariant, QMetaType::QVariant, QMetaType::QVariant,    4,   22,   24,
    QMetaType::Void, QMetaType::QVariant,    4,
    QMetaType::Void, QMetaType::QVariant, QMetaType::QVariant, QMetaType::QVariant, QMetaType::QVariant,    4,   22,   24,   28,
    QMetaType::Void, QMetaType::QVariant,   30,

       0        // eod
};

void QMLBridge::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        QMLBridge *_t = static_cast<QMLBridge *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->onTreeReady(); break;
        case 1: _t->onChunksRecieved((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< ESChunkModel*(*)>(_a[2]))); break;
        case 2: _t->chunksLookupRecieved((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< QVariantList(*)>(_a[2]))); break;
        case 3: _t->onLoginRequest((*reinterpret_cast< QVariant(*)>(_a[1])),(*reinterpret_cast< QVariant(*)>(_a[2])),(*reinterpret_cast< QVariant(*)>(_a[3])),(*reinterpret_cast< QVariant(*)>(_a[4])),(*reinterpret_cast< QVariant(*)>(_a[5]))); break;
        case 4: _t->onMainViewCreated((*reinterpret_cast< QVariant(*)>(_a[1]))); break;
        case 5: _t->onExportRequested((*reinterpret_cast< QVariant(*)>(_a[1]))); break;
        case 6: _t->onChunkRequested((*reinterpret_cast< QVariant(*)>(_a[1]))); break;
        case 7: _t->onChunkWithDateRequested((*reinterpret_cast< QVariant(*)>(_a[1])),(*reinterpret_cast< QVariant(*)>(_a[2]))); break;
        case 8: _t->onChunkPlayRequested((*reinterpret_cast< QVariant(*)>(_a[1])),(*reinterpret_cast< QVariant(*)>(_a[2])),(*reinterpret_cast< QVariant(*)>(_a[3]))); break;
        case 9: _t->onChunkDownloadRequested((*reinterpret_cast< QVariant(*)>(_a[1])),(*reinterpret_cast< QVariant(*)>(_a[2])),(*reinterpret_cast< QVariant(*)>(_a[3]))); break;
        case 10: _t->onChunksLookupRequested((*reinterpret_cast< QVariant(*)>(_a[1]))); break;
        case 11: _t->onSaveOnDiskRequested((*reinterpret_cast< QVariant(*)>(_a[1])),(*reinterpret_cast< QVariant(*)>(_a[2])),(*reinterpret_cast< QVariant(*)>(_a[3])),(*reinterpret_cast< QVariant(*)>(_a[4]))); break;
        case 12: _t->onSetWatermark((*reinterpret_cast< QVariant(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< ESChunkModel* >(); break;
            }
            break;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject QMLBridge::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_QMLBridge.data,
      qt_meta_data_QMLBridge,  qt_static_metacall, nullptr, nullptr}
};


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

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

int QMLBridge::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)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
