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

#include "../../../../src/qtenginio-opensource-src-5.5.1/src/enginio_client/enginioreplystate.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'enginioreplystate.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.5.1. 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_EnginioReplyState_t {
    QByteArrayData data[14];
    char stringdata0[181];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_EnginioReplyState_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_EnginioReplyState_t qt_meta_stringdata_EnginioReplyState = {
    {
QT_MOC_LITERAL(0, 0, 17), // "EnginioReplyState"
QT_MOC_LITERAL(1, 18, 11), // "dataChanged"
QT_MOC_LITERAL(2, 30, 0), // ""
QT_MOC_LITERAL(3, 31, 8), // "progress"
QT_MOC_LITERAL(4, 40, 9), // "bytesSent"
QT_MOC_LITERAL(5, 50, 10), // "bytesTotal"
QT_MOC_LITERAL(6, 61, 13), // "dumpDebugInfo"
QT_MOC_LITERAL(7, 75, 9), // "errorType"
QT_MOC_LITERAL(8, 85, 18), // "Enginio::ErrorType"
QT_MOC_LITERAL(9, 104, 12), // "networkError"
QT_MOC_LITERAL(10, 117, 27), // "QNetworkReply::NetworkError"
QT_MOC_LITERAL(11, 145, 11), // "errorString"
QT_MOC_LITERAL(12, 157, 13), // "backendStatus"
QT_MOC_LITERAL(13, 171, 9) // "requestId"

    },
    "EnginioReplyState\0dataChanged\0\0progress\0"
    "bytesSent\0bytesTotal\0dumpDebugInfo\0"
    "errorType\0Enginio::ErrorType\0networkError\0"
    "QNetworkReply::NetworkError\0errorString\0"
    "backendStatus\0requestId"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_EnginioReplyState[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   29,    2, 0x06 /* Public */,
       3,    2,   30,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    0,   35,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::LongLong, QMetaType::LongLong,    4,    5,

 // slots: parameters
    QMetaType::Void,

 // properties: name, type, flags
       7, 0x80000000 | 8, 0x00495009,
       9, 0x80000000 | 10, 0x00495009,
      11, QMetaType::QString, 0x00495001,
      12, QMetaType::Int, 0x00495001,
      13, QMetaType::QString, 0x00095401,

 // properties: notify_signal_id
       0,
       0,
       0,
       0,
       0,

 // enums: name, flags, count, data

 // enum data: key, value

       0        // eod
};

void EnginioReplyState::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        EnginioReplyState *_t = static_cast<EnginioReplyState *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->dataChanged(); break;
        case 1: _t->progress((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< qint64(*)>(_a[2]))); break;
        case 2: _t->dumpDebugInfo(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (EnginioReplyState::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&EnginioReplyState::dataChanged)) {
                *result = 0;
            }
        }
        {
            typedef void (EnginioReplyState::*_t)(qint64 , qint64 );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&EnginioReplyState::progress)) {
                *result = 1;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Enginio::ErrorType >(); break;
        case 1:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QNetworkReply::NetworkError >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        EnginioReplyState *_t = static_cast<EnginioReplyState *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< Enginio::ErrorType*>(_v) = _t->errorType(); break;
        case 1: *reinterpret_cast< QNetworkReply::NetworkError*>(_v) = _t->networkError(); break;
        case 2: *reinterpret_cast< QString*>(_v) = _t->errorString(); break;
        case 3: *reinterpret_cast< int*>(_v) = _t->backendStatus(); break;
        case 4: *reinterpret_cast< QString*>(_v) = _t->requestId(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

static const QMetaObject * const qt_meta_extradata_EnginioReplyState[] = {
        &Enginio::staticMetaObject,
    &QNetworkReply::staticMetaObject,
    Q_NULLPTR
};

const QMetaObject EnginioReplyState::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_EnginioReplyState.data,
      qt_meta_data_EnginioReplyState,  qt_static_metacall, qt_meta_extradata_EnginioReplyState, Q_NULLPTR}
};


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

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

int EnginioReplyState::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 < 3)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 3)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 3;
    }
#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 EnginioReplyState::dataChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}

// SIGNAL 1
void EnginioReplyState::progress(qint64 _t1, qint64 _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, 1, _a);
}
QT_END_MOC_NAMESPACE
