/****************************************************************************
** Meta object code from reading C++ file 'syncthingcompletion.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 "../../syncthingcompletion.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'syncthingcompletion.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__SyncthingCompletion_t {
    QByteArrayData data[5];
    char stringdata0[70];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Data__SyncthingCompletion_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Data__SyncthingCompletion_t qt_meta_stringdata_Data__SyncthingCompletion = {
    {
QT_MOC_LITERAL(0, 0, 25), // "Data::SyncthingCompletion"
QT_MOC_LITERAL(1, 26, 19), // "recomputePercentage"
QT_MOC_LITERAL(2, 46, 0), // ""
QT_MOC_LITERAL(3, 47, 10), // "percentage"
QT_MOC_LITERAL(4, 58, 11) // "globalBytes"

    },
    "Data::SyncthingCompletion\0recomputePercentage\0"
    "\0percentage\0globalBytes"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Data__SyncthingCompletion[] = {

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

 // methods: name, argc, parameters, tag, flags
       1,    0,   19,    2, 0x02 /* Public */,

 // methods: parameters
    QMetaType::Void,

 // properties: name, type, flags
       3, QMetaType::Double, 0x00095003,
       4, QMetaType::ULongLong, 0x00095003,

       0        // eod
};

void Data::SyncthingCompletion::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = reinterpret_cast<SyncthingCompletion *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->recomputePercentage(); break;
        default: ;
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = reinterpret_cast<SyncthingCompletion *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< double*>(_v) = _t->percentage; break;
        case 1: *reinterpret_cast< quint64*>(_v) = _t->globalBytes; break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = reinterpret_cast<SyncthingCompletion *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0:
            if (_t->percentage != *reinterpret_cast< double*>(_v)) {
                _t->percentage = *reinterpret_cast< double*>(_v);
            }
            break;
        case 1:
            if (_t->globalBytes != *reinterpret_cast< quint64*>(_v)) {
                _t->globalBytes = *reinterpret_cast< quint64*>(_v);
            }
            break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
    (void)_a;
}

QT_INIT_METAOBJECT const QMetaObject Data::SyncthingCompletion::staticMetaObject = { {
    nullptr,
    qt_meta_stringdata_Data__SyncthingCompletion.data,
    qt_meta_data_Data__SyncthingCompletion,
    qt_static_metacall,
    nullptr,
    nullptr
} };

QT_WARNING_POP
QT_END_MOC_NAMESPACE
