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

#include <memory>
#include "../../syncthingdir.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'syncthingdir.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.18. 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_Data__SyncthingStatistics_t {
    QByteArrayData data[8];
    char stringdata0[80];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Data__SyncthingStatistics_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Data__SyncthingStatistics_t qt_meta_stringdata_Data__SyncthingStatistics = {
    {
QT_MOC_LITERAL(0, 0, 25), // "Data::SyncthingStatistics"
QT_MOC_LITERAL(1, 26, 5), // "bytes"
QT_MOC_LITERAL(2, 32, 13), // "bytesAsString"
QT_MOC_LITERAL(3, 46, 7), // "deletes"
QT_MOC_LITERAL(4, 54, 4), // "dirs"
QT_MOC_LITERAL(5, 59, 5), // "files"
QT_MOC_LITERAL(6, 65, 8), // "symlinks"
QT_MOC_LITERAL(7, 74, 5) // "total"

    },
    "Data::SyncthingStatistics\0bytes\0"
    "bytesAsString\0deletes\0dirs\0files\0"
    "symlinks\0total"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Data__SyncthingStatistics[] = {

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

 // properties: name, type, flags
       1, QMetaType::ULongLong, 0x00095003,
       2, QMetaType::QString, 0x00095001,
       3, QMetaType::ULongLong, 0x00095003,
       4, QMetaType::ULongLong, 0x00095003,
       5, QMetaType::ULongLong, 0x00095003,
       6, QMetaType::ULongLong, 0x00095003,
       7, QMetaType::ULongLong, 0x00095003,

       0        // eod
};

void Data::SyncthingStatistics::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{

#ifndef QT_NO_PROPERTIES
    if (_c == QMetaObject::ReadProperty) {
        auto *_t = reinterpret_cast<SyncthingStatistics *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< quint64*>(_v) = _t->bytes; break;
        case 1: *reinterpret_cast< QString*>(_v) = _t->bytesAsString(); break;
        case 2: *reinterpret_cast< quint64*>(_v) = _t->deletes; break;
        case 3: *reinterpret_cast< quint64*>(_v) = _t->dirs; break;
        case 4: *reinterpret_cast< quint64*>(_v) = _t->files; break;
        case 5: *reinterpret_cast< quint64*>(_v) = _t->symlinks; break;
        case 6: *reinterpret_cast< quint64*>(_v) = _t->total; break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = reinterpret_cast<SyncthingStatistics *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0:
            if (_t->bytes != *reinterpret_cast< quint64*>(_v)) {
                _t->bytes = *reinterpret_cast< quint64*>(_v);
            }
            break;
        case 2:
            if (_t->deletes != *reinterpret_cast< quint64*>(_v)) {
                _t->deletes = *reinterpret_cast< quint64*>(_v);
            }
            break;
        case 3:
            if (_t->dirs != *reinterpret_cast< quint64*>(_v)) {
                _t->dirs = *reinterpret_cast< quint64*>(_v);
            }
            break;
        case 4:
            if (_t->files != *reinterpret_cast< quint64*>(_v)) {
                _t->files = *reinterpret_cast< quint64*>(_v);
            }
            break;
        case 5:
            if (_t->symlinks != *reinterpret_cast< quint64*>(_v)) {
                _t->symlinks = *reinterpret_cast< quint64*>(_v);
            }
            break;
        case 6:
            if (_t->total != *reinterpret_cast< quint64*>(_v)) {
                _t->total = *reinterpret_cast< quint64*>(_v);
            }
            break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
    (void)_o;
    (void)_id;
    (void)_c;
    (void)_a;
}

QT_INIT_METAOBJECT const QMetaObject Data::SyncthingStatistics::staticMetaObject = { {
    nullptr,
    qt_meta_stringdata_Data__SyncthingStatistics.data,
    qt_meta_data_Data__SyncthingStatistics,
    qt_static_metacall,
    nullptr,
    nullptr
} };

struct qt_meta_stringdata_Data__SyncthingOverallDirStatistics_t {
    QByteArrayData data[6];
    char stringdata0[97];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Data__SyncthingOverallDirStatistics_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Data__SyncthingOverallDirStatistics_t qt_meta_stringdata_Data__SyncthingOverallDirStatistics = {
    {
QT_MOC_LITERAL(0, 0, 35), // "Data::SyncthingOverallDirStat..."
QT_MOC_LITERAL(1, 36, 5), // "local"
QT_MOC_LITERAL(2, 42, 19), // "SyncthingStatistics"
QT_MOC_LITERAL(3, 62, 6), // "global"
QT_MOC_LITERAL(4, 69, 6), // "needed"
QT_MOC_LITERAL(5, 76, 20) // "completionPercentage"

    },
    "Data::SyncthingOverallDirStatistics\0"
    "local\0SyncthingStatistics\0global\0"
    "needed\0completionPercentage"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Data__SyncthingOverallDirStatistics[] = {

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

 // properties: name, type, flags
       1, 0x80000000 | 2, 0x0009500b,
       3, 0x80000000 | 2, 0x0009500b,
       4, 0x80000000 | 2, 0x0009500b,
       5, QMetaType::Int, 0x00095001,

       0        // eod
};

void Data::SyncthingOverallDirStatistics::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{

#ifndef QT_NO_PROPERTIES
    if (_c == QMetaObject::ReadProperty) {
        auto *_t = reinterpret_cast<SyncthingOverallDirStatistics *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< SyncthingStatistics*>(_v) = _t->local; break;
        case 1: *reinterpret_cast< SyncthingStatistics*>(_v) = _t->global; break;
        case 2: *reinterpret_cast< SyncthingStatistics*>(_v) = _t->needed; break;
        case 3: *reinterpret_cast< int*>(_v) = _t->computeCompletionPercentage(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = reinterpret_cast<SyncthingOverallDirStatistics *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0:
            if (_t->local != *reinterpret_cast< SyncthingStatistics*>(_v)) {
                _t->local = *reinterpret_cast< SyncthingStatistics*>(_v);
            }
            break;
        case 1:
            if (_t->global != *reinterpret_cast< SyncthingStatistics*>(_v)) {
                _t->global = *reinterpret_cast< SyncthingStatistics*>(_v);
            }
            break;
        case 2:
            if (_t->needed != *reinterpret_cast< SyncthingStatistics*>(_v)) {
                _t->needed = *reinterpret_cast< SyncthingStatistics*>(_v);
            }
            break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
    (void)_o;
    (void)_id;
    (void)_c;
    (void)_a;
}

QT_INIT_METAOBJECT const QMetaObject Data::SyncthingOverallDirStatistics::staticMetaObject = { {
    nullptr,
    qt_meta_stringdata_Data__SyncthingOverallDirStatistics.data,
    qt_meta_data_Data__SyncthingOverallDirStatistics,
    qt_static_metacall,
    nullptr,
    nullptr
} };

QT_WARNING_POP
QT_END_MOC_NAMESPACE
