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

#include "../../src/ark-17.04.3/kerfuffle/addtoarchive.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'addtoarchive.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.6.2. 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_Kerfuffle__AddToArchive_t {
    QByteArrayData data[18];
    char stringdata0[199];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Kerfuffle__AddToArchive_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Kerfuffle__AddToArchive_t qt_meta_stringdata_Kerfuffle__AddToArchive = {
    {
QT_MOC_LITERAL(0, 0, 23), // "Kerfuffle::AddToArchive"
QT_MOC_LITERAL(1, 24, 8), // "addInput"
QT_MOC_LITERAL(2, 33, 0), // ""
QT_MOC_LITERAL(3, 34, 3), // "url"
QT_MOC_LITERAL(4, 38, 21), // "setAutoFilenameSuffix"
QT_MOC_LITERAL(5, 60, 6), // "suffix"
QT_MOC_LITERAL(6, 67, 11), // "setFilename"
QT_MOC_LITERAL(7, 79, 4), // "path"
QT_MOC_LITERAL(8, 84, 11), // "setMimeType"
QT_MOC_LITERAL(9, 96, 8), // "mimeType"
QT_MOC_LITERAL(10, 105, 11), // "setPassword"
QT_MOC_LITERAL(11, 117, 8), // "password"
QT_MOC_LITERAL(12, 126, 26), // "setHeaderEncryptionEnabled"
QT_MOC_LITERAL(13, 153, 7), // "enabled"
QT_MOC_LITERAL(14, 161, 5), // "start"
QT_MOC_LITERAL(15, 167, 12), // "slotFinished"
QT_MOC_LITERAL(16, 180, 5), // "KJob*"
QT_MOC_LITERAL(17, 186, 12) // "slotStartJob"

    },
    "Kerfuffle::AddToArchive\0addInput\0\0url\0"
    "setAutoFilenameSuffix\0suffix\0setFilename\0"
    "path\0setMimeType\0mimeType\0setPassword\0"
    "password\0setHeaderEncryptionEnabled\0"
    "enabled\0start\0slotFinished\0KJob*\0"
    "slotStartJob"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Kerfuffle__AddToArchive[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   59,    2, 0x0a /* Public */,
       4,    1,   62,    2, 0x0a /* Public */,
       6,    1,   65,    2, 0x0a /* Public */,
       8,    1,   68,    2, 0x0a /* Public */,
      10,    1,   71,    2, 0x0a /* Public */,
      12,    1,   74,    2, 0x0a /* Public */,
      14,    0,   77,    2, 0x0a /* Public */,
      15,    1,   78,    2, 0x08 /* Private */,
      17,    0,   81,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Bool, QMetaType::QUrl,    3,
    QMetaType::Void, QMetaType::QString,    5,
    QMetaType::Void, QMetaType::QUrl,    7,
    QMetaType::Void, QMetaType::QString,    9,
    QMetaType::Void, QMetaType::QString,   11,
    QMetaType::Void, QMetaType::Bool,   13,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 16,    2,
    QMetaType::Void,

       0        // eod
};

void Kerfuffle::AddToArchive::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        AddToArchive *_t = static_cast<AddToArchive *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: { bool _r = _t->addInput((*reinterpret_cast< const QUrl(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 1: _t->setAutoFilenameSuffix((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->setFilename((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 3: _t->setMimeType((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->setPassword((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 5: _t->setHeaderEncryptionEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 6: _t->start(); break;
        case 7: _t->slotFinished((*reinterpret_cast< KJob*(*)>(_a[1]))); break;
        case 8: _t->slotStartJob(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 7:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KJob* >(); break;
            }
            break;
        }
    }
}

const QMetaObject Kerfuffle::AddToArchive::staticMetaObject = {
    { &KJob::staticMetaObject, qt_meta_stringdata_Kerfuffle__AddToArchive.data,
      qt_meta_data_Kerfuffle__AddToArchive,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *Kerfuffle::AddToArchive::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Kerfuffle__AddToArchive.stringdata0))
        return static_cast<void*>(const_cast< AddToArchive*>(this));
    return KJob::qt_metacast(_clname);
}

int Kerfuffle::AddToArchive::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KJob::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)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    }
    return _id;
}
QT_END_MOC_NAMESPACE
