/****************************************************************************
** Meta object code from reading C++ file 'archivemodel.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/part/archivemodel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'archivemodel.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_ArchiveModel_t {
    QByteArrayData data[28];
    char stringdata0[338];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_ArchiveModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_ArchiveModel_t qt_meta_stringdata_ArchiveModel = {
    {
QT_MOC_LITERAL(0, 0, 12), // "ArchiveModel"
QT_MOC_LITERAL(1, 13, 14), // "loadingStarted"
QT_MOC_LITERAL(2, 28, 0), // ""
QT_MOC_LITERAL(3, 29, 15), // "loadingFinished"
QT_MOC_LITERAL(4, 45, 5), // "KJob*"
QT_MOC_LITERAL(5, 51, 18), // "extractionFinished"
QT_MOC_LITERAL(6, 70, 7), // "success"
QT_MOC_LITERAL(7, 78, 5), // "error"
QT_MOC_LITERAL(8, 84, 7), // "details"
QT_MOC_LITERAL(9, 92, 12), // "droppedFiles"
QT_MOC_LITERAL(10, 105, 5), // "files"
QT_MOC_LITERAL(11, 111, 21), // "const Archive::Entry*"
QT_MOC_LITERAL(12, 133, 13), // "messageWidget"
QT_MOC_LITERAL(13, 147, 27), // "KMessageWidget::MessageType"
QT_MOC_LITERAL(14, 175, 4), // "type"
QT_MOC_LITERAL(15, 180, 3), // "msg"
QT_MOC_LITERAL(16, 184, 12), // "slotNewEntry"
QT_MOC_LITERAL(17, 197, 15), // "Archive::Entry*"
QT_MOC_LITERAL(18, 213, 5), // "entry"
QT_MOC_LITERAL(19, 219, 13), // "slotListEntry"
QT_MOC_LITERAL(20, 233, 19), // "slotLoadingFinished"
QT_MOC_LITERAL(21, 253, 3), // "job"
QT_MOC_LITERAL(22, 257, 16), // "slotEntryRemoved"
QT_MOC_LITERAL(23, 274, 4), // "path"
QT_MOC_LITERAL(24, 279, 13), // "slotUserQuery"
QT_MOC_LITERAL(25, 293, 17), // "Kerfuffle::Query*"
QT_MOC_LITERAL(26, 311, 5), // "query"
QT_MOC_LITERAL(27, 317, 20) // "slotCleanupEmptyDirs"

    },
    "ArchiveModel\0loadingStarted\0\0"
    "loadingFinished\0KJob*\0extractionFinished\0"
    "success\0error\0details\0droppedFiles\0"
    "files\0const Archive::Entry*\0messageWidget\0"
    "KMessageWidget::MessageType\0type\0msg\0"
    "slotNewEntry\0Archive::Entry*\0entry\0"
    "slotListEntry\0slotLoadingFinished\0job\0"
    "slotEntryRemoved\0path\0slotUserQuery\0"
    "Kerfuffle::Query*\0query\0slotCleanupEmptyDirs"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_ArchiveModel[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   74,    2, 0x06 /* Public */,
       3,    1,   75,    2, 0x06 /* Public */,
       5,    1,   78,    2, 0x06 /* Public */,
       7,    2,   81,    2, 0x06 /* Public */,
       9,    3,   86,    2, 0x06 /* Public */,
      12,    2,   93,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      16,    1,   98,    2, 0x08 /* Private */,
      19,    1,  101,    2, 0x08 /* Private */,
      20,    1,  104,    2, 0x08 /* Private */,
      22,    1,  107,    2, 0x08 /* Private */,
      24,    1,  110,    2, 0x08 /* Private */,
      27,    0,  113,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 4,    2,
    QMetaType::Void, QMetaType::Bool,    6,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    7,    8,
    QMetaType::Void, QMetaType::QStringList, 0x80000000 | 11, QMetaType::QString,   10,    2,    2,
    QMetaType::Void, 0x80000000 | 13, QMetaType::QString,   14,   15,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 17,   18,
    QMetaType::Void, 0x80000000 | 17,   18,
    QMetaType::Void, 0x80000000 | 4,   21,
    QMetaType::Void, QMetaType::QString,   23,
    QMetaType::Void, 0x80000000 | 25,   26,
    QMetaType::Void,

       0        // eod
};

void ArchiveModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ArchiveModel *_t = static_cast<ArchiveModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->loadingStarted(); break;
        case 1: _t->loadingFinished((*reinterpret_cast< KJob*(*)>(_a[1]))); break;
        case 2: _t->extractionFinished((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: _t->error((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 4: _t->droppedFiles((*reinterpret_cast< const QStringList(*)>(_a[1])),(*reinterpret_cast< const Archive::Entry*(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 5: _t->messageWidget((*reinterpret_cast< KMessageWidget::MessageType(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 6: _t->slotNewEntry((*reinterpret_cast< Archive::Entry*(*)>(_a[1]))); break;
        case 7: _t->slotListEntry((*reinterpret_cast< Archive::Entry*(*)>(_a[1]))); break;
        case 8: _t->slotLoadingFinished((*reinterpret_cast< KJob*(*)>(_a[1]))); break;
        case 9: _t->slotEntryRemoved((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 10: _t->slotUserQuery((*reinterpret_cast< Kerfuffle::Query*(*)>(_a[1]))); break;
        case 11: _t->slotCleanupEmptyDirs(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; 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< KJob* >(); break;
            }
            break;
        case 8:
            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;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (ArchiveModel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ArchiveModel::loadingStarted)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (ArchiveModel::*_t)(KJob * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ArchiveModel::loadingFinished)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (ArchiveModel::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ArchiveModel::extractionFinished)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (ArchiveModel::*_t)(const QString & , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ArchiveModel::error)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (ArchiveModel::*_t)(const QStringList & , const Archive::Entry * , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ArchiveModel::droppedFiles)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (ArchiveModel::*_t)(KMessageWidget::MessageType , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ArchiveModel::messageWidget)) {
                *result = 5;
                return;
            }
        }
    }
}

const QMetaObject ArchiveModel::staticMetaObject = {
    { &QAbstractItemModel::staticMetaObject, qt_meta_stringdata_ArchiveModel.data,
      qt_meta_data_ArchiveModel,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *ArchiveModel::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_ArchiveModel.stringdata0))
        return static_cast<void*>(const_cast< ArchiveModel*>(this));
    return QAbstractItemModel::qt_metacast(_clname);
}

int ArchiveModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QAbstractItemModel::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    }
    return _id;
}

// SIGNAL 0
void ArchiveModel::loadingStarted()
{
    QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}

// SIGNAL 1
void ArchiveModel::loadingFinished(KJob * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void ArchiveModel::extractionFinished(bool _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void ArchiveModel::error(const QString & _t1, const QString & _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void ArchiveModel::droppedFiles(const QStringList & _t1, const Archive::Entry * _t2, const QString & _t3)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void ArchiveModel::messageWidget(KMessageWidget::MessageType _t1, const QString & _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}
QT_END_MOC_NAMESPACE
