/****************************************************************************
** Meta object code from reading C++ file 'syncthingdata.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 "../../misc/syncthingdata.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'syncthingdata.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_QtGui__SyncthingData_t {
    QByteArrayData data[18];
    char stringdata0[275];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QtGui__SyncthingData_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QtGui__SyncthingData_t qt_meta_stringdata_QtGui__SyncthingData = {
    {
QT_MOC_LITERAL(0, 0, 20), // "QtGui::SyncthingData"
QT_MOC_LITERAL(1, 21, 16), // "updateStatusInfo"
QT_MOC_LITERAL(2, 38, 0), // ""
QT_MOC_LITERAL(3, 39, 17), // "configurationName"
QT_MOC_LITERAL(4, 57, 16), // "updateDeviceInfo"
QT_MOC_LITERAL(5, 74, 21), // "formatIncomingTraffic"
QT_MOC_LITERAL(6, 96, 21), // "formatOutgoingTraffic"
QT_MOC_LITERAL(7, 118, 10), // "connection"
QT_MOC_LITERAL(8, 129, 26), // "Data::SyncthingConnection*"
QT_MOC_LITERAL(9, 156, 8), // "notifier"
QT_MOC_LITERAL(10, 165, 24), // "Data::SyncthingNotifier*"
QT_MOC_LITERAL(11, 190, 10), // "statusInfo"
QT_MOC_LITERAL(12, 201, 11), // "StatusInfo*"
QT_MOC_LITERAL(13, 213, 16), // "syncthingVersion"
QT_MOC_LITERAL(14, 230, 9), // "qtVersion"
QT_MOC_LITERAL(15, 240, 9), // "readmeUrl"
QT_MOC_LITERAL(16, 250, 16), // "documentationUrl"
QT_MOC_LITERAL(17, 267, 7) // "website"

    },
    "QtGui::SyncthingData\0updateStatusInfo\0"
    "\0configurationName\0updateDeviceInfo\0"
    "formatIncomingTraffic\0formatOutgoingTraffic\0"
    "connection\0Data::SyncthingConnection*\0"
    "notifier\0Data::SyncthingNotifier*\0"
    "statusInfo\0StatusInfo*\0syncthingVersion\0"
    "qtVersion\0readmeUrl\0documentationUrl\0"
    "website"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QtGui__SyncthingData[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   39,    2, 0x0a /* Public */,
       1,    0,   42,    2, 0x2a /* Public | MethodCloned */,
       4,    0,   43,    2, 0x0a /* Public */,

 // methods: name, argc, parameters, tag, flags
       5,    0,   44,    2, 0x02 /* Public */,
       6,    0,   45,    2, 0x02 /* Public */,

 // slots: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void,
    QMetaType::Void,

 // methods: parameters
    QMetaType::QString,
    QMetaType::QString,

 // properties: name, type, flags
       7, 0x80000000 | 8, 0x00095409,
       9, 0x80000000 | 10, 0x00095409,
      11, 0x80000000 | 12, 0x00095409,
      13, QMetaType::QString, 0x00095401,
      14, QMetaType::QString, 0x00095401,
      15, QMetaType::QString, 0x00095401,
      16, QMetaType::QString, 0x00095401,
      17, QMetaType::QString, 0x00095401,

       0        // eod
};

void QtGui::SyncthingData::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<SyncthingData *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->updateStatusInfo((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->updateStatusInfo(); break;
        case 2: _t->updateDeviceInfo(); break;
        case 3: { QString _r = _t->formatIncomingTraffic();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 4: { QString _r = _t->formatOutgoingTraffic();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Data::SyncthingConnection* >(); break;
        case 1:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Data::SyncthingNotifier* >(); break;
        case 2:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< StatusInfo* >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<SyncthingData *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< Data::SyncthingConnection**>(_v) = _t->connection(); break;
        case 1: *reinterpret_cast< Data::SyncthingNotifier**>(_v) = _t->notifier(); break;
        case 2: *reinterpret_cast< StatusInfo**>(_v) = _t->statusInfo(); break;
        case 3: *reinterpret_cast< QString*>(_v) = _t->syncthingVersion(); break;
        case 4: *reinterpret_cast< QString*>(_v) = _t->qtVersion(); break;
        case 5: *reinterpret_cast< QString*>(_v) = _t->readmeUrl(); break;
        case 6: *reinterpret_cast< QString*>(_v) = _t->documentationUrl(); break;
        case 7: *reinterpret_cast< QString*>(_v) = _t->website(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject QtGui::SyncthingData::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_QtGui__SyncthingData.data,
    qt_meta_data_QtGui__SyncthingData,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *QtGui::SyncthingData::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_QtGui__SyncthingData.stringdata0))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int QtGui::SyncthingData::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 5)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 5)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 5;
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 8;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
