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

#include "../../../../../src/core/filejob.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'filejob.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.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
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_KIO__FileJob_t {
    QByteArrayData data[23];
    char stringdata0[213];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KIO__FileJob_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KIO__FileJob_t qt_meta_stringdata_KIO__FileJob = {
    {
QT_MOC_LITERAL(0, 0, 12), // "KIO::FileJob"
QT_MOC_LITERAL(1, 13, 4), // "data"
QT_MOC_LITERAL(2, 18, 0), // ""
QT_MOC_LITERAL(3, 19, 9), // "KIO::Job*"
QT_MOC_LITERAL(4, 29, 3), // "job"
QT_MOC_LITERAL(5, 33, 11), // "redirection"
QT_MOC_LITERAL(6, 45, 3), // "url"
QT_MOC_LITERAL(7, 49, 8), // "mimetype"
QT_MOC_LITERAL(8, 58, 4), // "type"
QT_MOC_LITERAL(9, 63, 4), // "open"
QT_MOC_LITERAL(10, 68, 7), // "written"
QT_MOC_LITERAL(11, 76, 15), // "KIO::filesize_t"
QT_MOC_LITERAL(12, 92, 5), // "close"
QT_MOC_LITERAL(13, 98, 8), // "position"
QT_MOC_LITERAL(14, 107, 6), // "offset"
QT_MOC_LITERAL(15, 114, 15), // "slotRedirection"
QT_MOC_LITERAL(16, 130, 8), // "slotData"
QT_MOC_LITERAL(17, 139, 12), // "slotMimetype"
QT_MOC_LITERAL(18, 152, 8), // "slotOpen"
QT_MOC_LITERAL(19, 161, 11), // "slotWritten"
QT_MOC_LITERAL(20, 173, 12), // "slotFinished"
QT_MOC_LITERAL(21, 186, 12), // "slotPosition"
QT_MOC_LITERAL(22, 199, 13) // "slotTotalSize"

    },
    "KIO::FileJob\0data\0\0KIO::Job*\0job\0"
    "redirection\0url\0mimetype\0type\0open\0"
    "written\0KIO::filesize_t\0close\0position\0"
    "offset\0slotRedirection\0slotData\0"
    "slotMimetype\0slotOpen\0slotWritten\0"
    "slotFinished\0slotPosition\0slotTotalSize"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KIO__FileJob[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   89,    2, 0x06 /* Public */,
       5,    2,   94,    2, 0x06 /* Public */,
       7,    2,   99,    2, 0x06 /* Public */,
       9,    1,  104,    2, 0x06 /* Public */,
      10,    2,  107,    2, 0x06 /* Public */,
      12,    1,  112,    2, 0x06 /* Public */,
      13,    2,  115,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      15,    1,  120,    2, 0x08 /* Private */,
      16,    1,  123,    2, 0x08 /* Private */,
      17,    1,  126,    2, 0x08 /* Private */,
      18,    0,  129,    2, 0x08 /* Private */,
      19,    1,  130,    2, 0x08 /* Private */,
      20,    0,  133,    2, 0x08 /* Private */,
      21,    1,  134,    2, 0x08 /* Private */,
      22,    1,  137,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, QMetaType::QByteArray,    4,    1,
    QMetaType::Void, 0x80000000 | 3, QMetaType::QUrl,    4,    6,
    QMetaType::Void, 0x80000000 | 3, QMetaType::QString,    4,    8,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 11,    4,   10,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 11,    4,   14,

 // slots: parameters
    QMetaType::Void, QMetaType::QUrl,    2,
    QMetaType::Void, QMetaType::QByteArray,    1,
    QMetaType::Void, QMetaType::QString,    7,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 11,    2,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 11,    2,
    QMetaType::Void, 0x80000000 | 11,    2,

       0        // eod
};

void KIO::FileJob::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        FileJob *_t = static_cast<FileJob *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->data((*reinterpret_cast< KIO::Job*(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break;
        case 1: _t->redirection((*reinterpret_cast< KIO::Job*(*)>(_a[1])),(*reinterpret_cast< const QUrl(*)>(_a[2]))); break;
        case 2: _t->mimetype((*reinterpret_cast< KIO::Job*(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 3: _t->open((*reinterpret_cast< KIO::Job*(*)>(_a[1]))); break;
        case 4: _t->written((*reinterpret_cast< KIO::Job*(*)>(_a[1])),(*reinterpret_cast< KIO::filesize_t(*)>(_a[2]))); break;
        case 5: _t->close((*reinterpret_cast< KIO::Job*(*)>(_a[1]))); break;
        case 6: _t->position((*reinterpret_cast< KIO::Job*(*)>(_a[1])),(*reinterpret_cast< KIO::filesize_t(*)>(_a[2]))); break;
        case 7: _t->d_func()->slotRedirection((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 8: _t->d_func()->slotData((*reinterpret_cast< const QByteArray(*)>(_a[1]))); break;
        case 9: _t->d_func()->slotMimetype((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 10: _t->d_func()->slotOpen(); break;
        case 11: _t->d_func()->slotWritten((*reinterpret_cast< KIO::filesize_t(*)>(_a[1]))); break;
        case 12: _t->d_func()->slotFinished(); break;
        case 13: _t->d_func()->slotPosition((*reinterpret_cast< KIO::filesize_t(*)>(_a[1]))); break;
        case 14: _t->d_func()->slotTotalSize((*reinterpret_cast< KIO::filesize_t(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KIO::Job* >(); break;
            }
            break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KIO::Job* >(); break;
            }
            break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KIO::Job* >(); break;
            }
            break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KIO::Job* >(); break;
            }
            break;
        case 4:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KIO::Job* >(); break;
            }
            break;
        case 5:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KIO::Job* >(); break;
            }
            break;
        case 6:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KIO::Job* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (FileJob::*_t)(KIO::Job * , const QByteArray & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FileJob::data)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (FileJob::*_t)(KIO::Job * , const QUrl & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FileJob::redirection)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (FileJob::*_t)(KIO::Job * , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FileJob::mimetype)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (FileJob::*_t)(KIO::Job * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FileJob::open)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (FileJob::*_t)(KIO::Job * , KIO::filesize_t );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FileJob::written)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (FileJob::*_t)(KIO::Job * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FileJob::close)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (FileJob::*_t)(KIO::Job * , KIO::filesize_t );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FileJob::position)) {
                *result = 6;
                return;
            }
        }
    }
}

const QMetaObject KIO::FileJob::staticMetaObject = {
    { &SimpleJob::staticMetaObject, qt_meta_stringdata_KIO__FileJob.data,
      qt_meta_data_KIO__FileJob,  qt_static_metacall, nullptr, nullptr}
};


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

void *KIO::FileJob::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KIO__FileJob.stringdata0))
        return static_cast<void*>(const_cast< FileJob*>(this));
    return SimpleJob::qt_metacast(_clname);
}

int KIO::FileJob::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = SimpleJob::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 15)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 15;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 15)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 15;
    }
    return _id;
}

// SIGNAL 0
void KIO::FileJob::data(KIO::Job * _t1, const QByteArray & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void KIO::FileJob::redirection(KIO::Job * _t1, const QUrl & _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);
}

// SIGNAL 2
void KIO::FileJob::mimetype(KIO::Job * _t1, const QString & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void KIO::FileJob::open(KIO::Job * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void KIO::FileJob::written(KIO::Job * _t1, KIO::filesize_t _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void KIO::FileJob::close(KIO::Job * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void KIO::FileJob::position(KIO::Job * _t1, KIO::filesize_t _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
