/****************************************************************************
** Meta object code from reading C++ file 'dooble_downloads_item.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_downloads_item.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'dooble_downloads_item.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_downloads_item_t {
    QByteArrayData data[15];
    char stringdata0[197];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_dooble_downloads_item_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_dooble_downloads_item_t qt_meta_stringdata_dooble_downloads_item = {
    {
QT_MOC_LITERAL(0, 0, 21), // "dooble_downloads_item"
QT_MOC_LITERAL(1, 22, 8), // "finished"
QT_MOC_LITERAL(2, 31, 0), // ""
QT_MOC_LITERAL(3, 32, 6), // "reload"
QT_MOC_LITERAL(4, 39, 9), // "file_name"
QT_MOC_LITERAL(5, 49, 3), // "url"
QT_MOC_LITERAL(6, 53, 11), // "slot_cancel"
QT_MOC_LITERAL(7, 65, 22), // "slot_download_progress"
QT_MOC_LITERAL(8, 88, 14), // "bytes_received"
QT_MOC_LITERAL(9, 103, 11), // "bytes_total"
QT_MOC_LITERAL(10, 115, 13), // "slot_finished"
QT_MOC_LITERAL(11, 129, 20), // "slot_pause_or_resume"
QT_MOC_LITERAL(12, 150, 11), // "slot_reload"
QT_MOC_LITERAL(13, 162, 21), // "slot_settings_applied"
QT_MOC_LITERAL(14, 184, 12) // "slot_stalled"

    },
    "dooble_downloads_item\0finished\0\0reload\0"
    "file_name\0url\0slot_cancel\0"
    "slot_download_progress\0bytes_received\0"
    "bytes_total\0slot_finished\0"
    "slot_pause_or_resume\0slot_reload\0"
    "slot_settings_applied\0slot_stalled"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_dooble_downloads_item[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       6,    0,   70,    2, 0x08 /* Private */,
       7,    2,   71,    2, 0x08 /* Private */,
       7,    0,   76,    2, 0x08 /* Private */,
      10,    0,   77,    2, 0x08 /* Private */,
      11,    0,   78,    2, 0x08 /* Private */,
      12,    0,   79,    2, 0x08 /* Private */,
      13,    0,   80,    2, 0x08 /* Private */,
      14,    0,   81,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, QMetaType::QUrl,    4,    5,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::LongLong, QMetaType::LongLong,    8,    9,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void dooble_downloads_item::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<dooble_downloads_item *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->finished(); break;
        case 1: _t->reload((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QUrl(*)>(_a[2]))); break;
        case 2: _t->slot_cancel(); break;
        case 3: _t->slot_download_progress((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< qint64(*)>(_a[2]))); break;
        case 4: _t->slot_download_progress(); break;
        case 5: _t->slot_finished(); break;
        case 6: _t->slot_pause_or_resume(); break;
        case 7: _t->slot_reload(); break;
        case 8: _t->slot_settings_applied(); break;
        case 9: _t->slot_stalled(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (dooble_downloads_item::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&dooble_downloads_item::finished)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (dooble_downloads_item::*)(const QString & , const QUrl & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&dooble_downloads_item::reload)) {
                *result = 1;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject dooble_downloads_item::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_meta_stringdata_dooble_downloads_item.data,
    qt_meta_data_dooble_downloads_item,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int dooble_downloads_item::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::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;
    }
    return _id;
}

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

// SIGNAL 1
void dooble_downloads_item::reload(const QString & _t1, const QUrl & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
