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

#include "../src/kget-17.12.3/dbus/dbusverifierwrapper.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'dbusverifierwrapper.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.4. 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_DBusVerifierWrapper_t {
    QByteArrayData data[17];
    char stringdata0[200];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_DBusVerifierWrapper_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_DBusVerifierWrapper_t qt_meta_stringdata_DBusVerifierWrapper = {
    {
QT_MOC_LITERAL(0, 0, 19), // "DBusVerifierWrapper"
QT_MOC_LITERAL(1, 20, 8), // "verified"
QT_MOC_LITERAL(2, 29, 0), // ""
QT_MOC_LITERAL(3, 30, 12), // "brokenPieces"
QT_MOC_LITERAL(4, 43, 7), // "offsets"
QT_MOC_LITERAL(5, 51, 6), // "length"
QT_MOC_LITERAL(6, 58, 11), // "destination"
QT_MOC_LITERAL(7, 70, 11), // "addChecksum"
QT_MOC_LITERAL(8, 82, 4), // "type"
QT_MOC_LITERAL(9, 87, 4), // "hash"
QT_MOC_LITERAL(10, 92, 19), // "addPartialChecksums"
QT_MOC_LITERAL(11, 112, 9), // "checksums"
QT_MOC_LITERAL(12, 122, 12), // "isVerifyable"
QT_MOC_LITERAL(13, 135, 6), // "verify"
QT_MOC_LITERAL(14, 142, 16), // "slotBrokenPieces"
QT_MOC_LITERAL(15, 159, 24), // "QList<KIO::fileoffset_t>"
QT_MOC_LITERAL(16, 184, 15) // "KIO::filesize_t"

    },
    "DBusVerifierWrapper\0verified\0\0"
    "brokenPieces\0offsets\0length\0destination\0"
    "addChecksum\0type\0hash\0addPartialChecksums\0"
    "checksums\0isVerifyable\0verify\0"
    "slotBrokenPieces\0QList<KIO::fileoffset_t>\0"
    "KIO::filesize_t"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_DBusVerifierWrapper[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       6,    0,   67,    2, 0x0a /* Public */,
       7,    2,   68,    2, 0x0a /* Public */,
      10,    3,   73,    2, 0x0a /* Public */,
      12,    0,   80,    2, 0x0a /* Public */,
      13,    0,   81,    2, 0x0a /* Public */,
       3,    0,   82,    2, 0x0a /* Public */,
      14,    2,   83,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::Bool,    1,
    QMetaType::Void, QMetaType::QStringList, QMetaType::ULongLong,    4,    5,

 // slots: parameters
    QMetaType::QString,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    8,    9,
    QMetaType::Void, QMetaType::QString, QMetaType::ULongLong, QMetaType::QStringList,    8,    5,   11,
    QMetaType::Bool,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 15, 0x80000000 | 16,    4,    5,

       0        // eod
};

void DBusVerifierWrapper::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        DBusVerifierWrapper *_t = static_cast<DBusVerifierWrapper *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->verified((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 1: _t->brokenPieces((*reinterpret_cast< const QStringList(*)>(_a[1])),(*reinterpret_cast< qulonglong(*)>(_a[2]))); break;
        case 2: { QString _r = _t->destination();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 3: _t->addChecksum((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 4: _t->addPartialChecksums((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< qulonglong(*)>(_a[2])),(*reinterpret_cast< const QStringList(*)>(_a[3]))); break;
        case 5: { bool _r = _t->isVerifyable();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 6: _t->verify(); break;
        case 7: _t->brokenPieces(); break;
        case 8: _t->slotBrokenPieces((*reinterpret_cast< const QList<KIO::fileoffset_t>(*)>(_a[1])),(*reinterpret_cast< KIO::filesize_t(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (DBusVerifierWrapper::*_t)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DBusVerifierWrapper::verified)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (DBusVerifierWrapper::*_t)(const QStringList & , qulonglong );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DBusVerifierWrapper::brokenPieces)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject DBusVerifierWrapper::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_DBusVerifierWrapper.data,
      qt_meta_data_DBusVerifierWrapper,  qt_static_metacall, nullptr, nullptr}
};


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

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

int DBusVerifierWrapper::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 < 9)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 9)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 9;
    }
    return _id;
}

// SIGNAL 0
void DBusVerifierWrapper::verified(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void DBusVerifierWrapper::brokenPieces(const QStringList & _t1, qulonglong _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
