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

#include <memory>
#include "../../Source/dooble_gopher.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'dooble_gopher.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.3. 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_dooble_gopher_t {
    QByteArrayData data[9];
    char stringdata0[115];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_dooble_gopher_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_dooble_gopher_t qt_meta_stringdata_dooble_gopher = {
    {
QT_MOC_LITERAL(0, 0, 13), // "dooble_gopher"
QT_MOC_LITERAL(1, 14, 10), // "slot_error"
QT_MOC_LITERAL(2, 25, 0), // ""
QT_MOC_LITERAL(3, 26, 30), // "QWebEngineUrlRequestJob::Error"
QT_MOC_LITERAL(4, 57, 5), // "error"
QT_MOC_LITERAL(5, 63, 13), // "slot_finished"
QT_MOC_LITERAL(6, 77, 5), // "bytes"
QT_MOC_LITERAL(7, 83, 22), // "content_type_supported"
QT_MOC_LITERAL(8, 106, 8) // "is_image"

    },
    "dooble_gopher\0slot_error\0\0"
    "QWebEngineUrlRequestJob::Error\0error\0"
    "slot_finished\0bytes\0content_type_supported\0"
    "is_image"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_dooble_gopher[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   24,    2, 0x08 /* Private */,
       5,    3,   27,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, QMetaType::QByteArray, QMetaType::Bool, QMetaType::Bool,    6,    7,    8,

       0        // eod
};

void dooble_gopher::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<dooble_gopher *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->slot_error((*reinterpret_cast< QWebEngineUrlRequestJob::Error(*)>(_a[1]))); break;
        case 1: _t->slot_finished((*reinterpret_cast< const QByteArray(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
        default: ;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject dooble_gopher::staticMetaObject = { {
    QMetaObject::SuperData::link<QWebEngineUrlSchemeHandler::staticMetaObject>(),
    qt_meta_stringdata_dooble_gopher.data,
    qt_meta_data_dooble_gopher,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int dooble_gopher::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWebEngineUrlSchemeHandler::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 2)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 2)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 2;
    }
    return _id;
}
struct qt_meta_stringdata_dooble_gopher_implementation_t {
    QByteArrayData data[12];
    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_dooble_gopher_implementation_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_dooble_gopher_implementation_t qt_meta_stringdata_dooble_gopher_implementation = {
    {
QT_MOC_LITERAL(0, 0, 28), // "dooble_gopher_implementation"
QT_MOC_LITERAL(1, 29, 5), // "error"
QT_MOC_LITERAL(2, 35, 0), // ""
QT_MOC_LITERAL(3, 36, 30), // "QWebEngineUrlRequestJob::Error"
QT_MOC_LITERAL(4, 67, 8), // "finished"
QT_MOC_LITERAL(5, 76, 5), // "bytes"
QT_MOC_LITERAL(6, 82, 22), // "content_type_supported"
QT_MOC_LITERAL(7, 105, 8), // "is_image"
QT_MOC_LITERAL(8, 114, 14), // "slot_connected"
QT_MOC_LITERAL(9, 129, 16), // "slot_disonnected"
QT_MOC_LITERAL(10, 146, 15), // "slot_ready_read"
QT_MOC_LITERAL(11, 162, 18) // "slot_write_timeout"

    },
    "dooble_gopher_implementation\0error\0\0"
    "QWebEngineUrlRequestJob::Error\0finished\0"
    "bytes\0content_type_supported\0is_image\0"
    "slot_connected\0slot_disonnected\0"
    "slot_ready_read\0slot_write_timeout"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_dooble_gopher_implementation[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
       6,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       2,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,   44,    2, 0x06 /* Public */,
       4,    3,   47,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    0,   54,    2, 0x08 /* Private */,
       9,    0,   55,    2, 0x08 /* Private */,
      10,    0,   56,    2, 0x08 /* Private */,
      11,    0,   57,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    1,
    QMetaType::Void, QMetaType::QByteArray, QMetaType::Bool, QMetaType::Bool,    5,    6,    7,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void dooble_gopher_implementation::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<dooble_gopher_implementation *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->error((*reinterpret_cast< QWebEngineUrlRequestJob::Error(*)>(_a[1]))); break;
        case 1: _t->finished((*reinterpret_cast< const QByteArray(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
        case 2: _t->slot_connected(); break;
        case 3: _t->slot_disonnected(); break;
        case 4: _t->slot_ready_read(); break;
        case 5: _t->slot_write_timeout(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (dooble_gopher_implementation::*)(QWebEngineUrlRequestJob::Error );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&dooble_gopher_implementation::error)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (dooble_gopher_implementation::*)(const QByteArray & , bool , bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&dooble_gopher_implementation::finished)) {
                *result = 1;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject dooble_gopher_implementation::staticMetaObject = { {
    QMetaObject::SuperData::link<QTcpSocket::staticMetaObject>(),
    qt_meta_stringdata_dooble_gopher_implementation.data,
    qt_meta_data_dooble_gopher_implementation,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int dooble_gopher_implementation::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QTcpSocket::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 6)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 6;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 6)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 6;
    }
    return _id;
}

// SIGNAL 0
void dooble_gopher_implementation::error(QWebEngineUrlRequestJob::Error _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void dooble_gopher_implementation::finished(const QByteArray & _t1, bool _t2, bool _t3)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
