/****************************************************************************
** Meta object code from reading C++ file 'archiveentry.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/archiveentry.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'archiveentry.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__Archive__Entry_t {
    QByteArrayData data[16];
    char stringdata0[156];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Kerfuffle__Archive__Entry_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Kerfuffle__Archive__Entry_t qt_meta_stringdata_Kerfuffle__Archive__Entry = {
    {
QT_MOC_LITERAL(0, 0, 25), // "Kerfuffle::Archive::Entry"
QT_MOC_LITERAL(1, 26, 8), // "fullPath"
QT_MOC_LITERAL(2, 35, 4), // "name"
QT_MOC_LITERAL(3, 40, 11), // "permissions"
QT_MOC_LITERAL(4, 52, 5), // "owner"
QT_MOC_LITERAL(5, 58, 5), // "group"
QT_MOC_LITERAL(6, 64, 4), // "size"
QT_MOC_LITERAL(7, 69, 14), // "compressedSize"
QT_MOC_LITERAL(8, 84, 4), // "link"
QT_MOC_LITERAL(9, 89, 5), // "ratio"
QT_MOC_LITERAL(10, 95, 3), // "CRC"
QT_MOC_LITERAL(11, 99, 6), // "method"
QT_MOC_LITERAL(12, 106, 7), // "version"
QT_MOC_LITERAL(13, 114, 9), // "timestamp"
QT_MOC_LITERAL(14, 124, 11), // "isDirectory"
QT_MOC_LITERAL(15, 136, 19) // "isPasswordProtected"

    },
    "Kerfuffle::Archive::Entry\0fullPath\0"
    "name\0permissions\0owner\0group\0size\0"
    "compressedSize\0link\0ratio\0CRC\0method\0"
    "version\0timestamp\0isDirectory\0"
    "isPasswordProtected"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Kerfuffle__Archive__Entry[] = {

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

 // properties: name, type, flags
       1, QMetaType::QString, 0x00095103,
       2, QMetaType::QString, 0x00095001,
       3, QMetaType::QString, 0x00095003,
       4, QMetaType::QString, 0x00095003,
       5, QMetaType::QString, 0x00095003,
       6, QMetaType::ULongLong, 0x00095003,
       7, QMetaType::ULongLong, 0x00095003,
       8, QMetaType::QString, 0x00095003,
       9, QMetaType::QString, 0x00095003,
      10, QMetaType::QString, 0x00095003,
      11, QMetaType::QString, 0x00095003,
      12, QMetaType::QString, 0x00095003,
      13, QMetaType::QDateTime, 0x00095003,
      14, QMetaType::Bool, 0x00095103,
      15, QMetaType::Bool, 0x00095003,

       0        // eod
};

void Kerfuffle::Archive::Entry::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{

#ifndef QT_NO_PROPERTIES
    if (_c == QMetaObject::ReadProperty) {
        Entry *_t = static_cast<Entry *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->m_fullPath; break;
        case 1: *reinterpret_cast< QString*>(_v) = _t->name(); break;
        case 2: *reinterpret_cast< QString*>(_v) = _t->m_permissions; break;
        case 3: *reinterpret_cast< QString*>(_v) = _t->m_owner; break;
        case 4: *reinterpret_cast< QString*>(_v) = _t->m_group; break;
        case 5: *reinterpret_cast< qulonglong*>(_v) = _t->m_size; break;
        case 6: *reinterpret_cast< qulonglong*>(_v) = _t->m_compressedSize; break;
        case 7: *reinterpret_cast< QString*>(_v) = _t->m_link; break;
        case 8: *reinterpret_cast< QString*>(_v) = _t->m_ratio; break;
        case 9: *reinterpret_cast< QString*>(_v) = _t->m_CRC; break;
        case 10: *reinterpret_cast< QString*>(_v) = _t->m_method; break;
        case 11: *reinterpret_cast< QString*>(_v) = _t->m_version; break;
        case 12: *reinterpret_cast< QDateTime*>(_v) = _t->m_timestamp; break;
        case 13: *reinterpret_cast< bool*>(_v) = _t->m_isDirectory; break;
        case 14: *reinterpret_cast< bool*>(_v) = _t->m_isPasswordProtected; break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        Entry *_t = static_cast<Entry *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setFullPath(*reinterpret_cast< QString*>(_v)); break;
        case 2:
            if (_t->m_permissions != *reinterpret_cast< QString*>(_v)) {
                _t->m_permissions = *reinterpret_cast< QString*>(_v);
            }
            break;
        case 3:
            if (_t->m_owner != *reinterpret_cast< QString*>(_v)) {
                _t->m_owner = *reinterpret_cast< QString*>(_v);
            }
            break;
        case 4:
            if (_t->m_group != *reinterpret_cast< QString*>(_v)) {
                _t->m_group = *reinterpret_cast< QString*>(_v);
            }
            break;
        case 5:
            if (_t->m_size != *reinterpret_cast< qulonglong*>(_v)) {
                _t->m_size = *reinterpret_cast< qulonglong*>(_v);
            }
            break;
        case 6:
            if (_t->m_compressedSize != *reinterpret_cast< qulonglong*>(_v)) {
                _t->m_compressedSize = *reinterpret_cast< qulonglong*>(_v);
            }
            break;
        case 7:
            if (_t->m_link != *reinterpret_cast< QString*>(_v)) {
                _t->m_link = *reinterpret_cast< QString*>(_v);
            }
            break;
        case 8:
            if (_t->m_ratio != *reinterpret_cast< QString*>(_v)) {
                _t->m_ratio = *reinterpret_cast< QString*>(_v);
            }
            break;
        case 9:
            if (_t->m_CRC != *reinterpret_cast< QString*>(_v)) {
                _t->m_CRC = *reinterpret_cast< QString*>(_v);
            }
            break;
        case 10:
            if (_t->m_method != *reinterpret_cast< QString*>(_v)) {
                _t->m_method = *reinterpret_cast< QString*>(_v);
            }
            break;
        case 11:
            if (_t->m_version != *reinterpret_cast< QString*>(_v)) {
                _t->m_version = *reinterpret_cast< QString*>(_v);
            }
            break;
        case 12:
            if (_t->m_timestamp != *reinterpret_cast< QDateTime*>(_v)) {
                _t->m_timestamp = *reinterpret_cast< QDateTime*>(_v);
            }
            break;
        case 13: _t->setIsDirectory(*reinterpret_cast< bool*>(_v)); break;
        case 14:
            if (_t->m_isPasswordProtected != *reinterpret_cast< bool*>(_v)) {
                _t->m_isPasswordProtected = *reinterpret_cast< bool*>(_v);
            }
            break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
    Q_UNUSED(_o);
    Q_UNUSED(_id);
    Q_UNUSED(_c);
    Q_UNUSED(_a);
}

const QMetaObject Kerfuffle::Archive::Entry::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Kerfuffle__Archive__Entry.data,
      qt_meta_data_Kerfuffle__Archive__Entry,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *Kerfuffle::Archive::Entry::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Kerfuffle__Archive__Entry.stringdata0))
        return static_cast<void*>(const_cast< Entry*>(this));
    return QObject::qt_metacast(_clname);
}

int Kerfuffle::Archive::Entry::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    
#ifndef QT_NO_PROPERTIES
   if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 15;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 15;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 15;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 15;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 15;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 15;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
QT_END_MOC_NAMESPACE
