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

#include "../../syncthingservice.h"
#include <QtCore/qmetatype.h>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'syncthingservice.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.1. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

#ifndef Q_CONSTINIT
#define Q_CONSTINIT
#endif

QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
QT_WARNING_DISABLE_GCC("-Wuseless-cast")
namespace {
struct qt_meta_tag_ZN4Data16SyncthingServiceE_t {};
} // unnamed namespace

template <> constexpr inline auto Data::SyncthingService::qt_create_metaobjectdata<qt_meta_tag_ZN4Data16SyncthingServiceE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Data::SyncthingService",
        "unitNameChanged",
        "",
        "unitName",
        "systemdAvailableChanged",
        "available",
        "unitAvailableChanged",
        "stateChanged",
        "activeState",
        "subState",
        "CppUtilities::DateTime",
        "activeSince",
        "activeStateChanged",
        "subStateChanged",
        "unitFileStateChanged",
        "unitFileState",
        "descriptionChanged",
        "description",
        "runningChanged",
        "running",
        "enabledChanged",
        "enable",
        "errorOccurred",
        "context",
        "name",
        "message",
        "scopeChanged",
        "Data::SystemdScope",
        "scope",
        "networkConnectionMeteredChanged",
        "std::optional<bool>",
        "isMetered",
        "setUnitName",
        "setRunning",
        "start",
        "stop",
        "toggleRunning",
        "setEnabled",
        "disable",
        "reloadAllUnitFiles",
        "handleUnitAdded",
        "QDBusObjectPath",
        "unitPath",
        "handleUnitRemoved",
        "handleReloading",
        "started",
        "handleUnitGet",
        "QDBusPendingCallWatcher*",
        "watcher",
        "handleGetUnitFileState",
        "handlePropertiesChanged",
        "interface",
        "QVariantMap",
        "changedProperties",
        "invalidatedProperties",
        "handleError",
        "const char*",
        "error",
        "reload",
        "handleServiceRegisteredChanged",
        "service",
        "handlePrepareForSleep",
        "rightBefore",
        "setUnit",
        "objectPath",
        "setProperties",
        "unitAvailable",
        "systemdAvailable",
        "manuallyStopped",
        "SystemdScope",
        "userScope",
        "networkConnectionMetered",
        "stoppingOnMeteredConnection"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'unitNameChanged'
        QtMocHelpers::SignalData<void(const QString &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 },
        }}),
        // Signal 'systemdAvailableChanged'
        QtMocHelpers::SignalData<void(bool)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 5 },
        }}),
        // Signal 'unitAvailableChanged'
        QtMocHelpers::SignalData<void(bool)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 5 },
        }}),
        // Signal 'stateChanged'
        QtMocHelpers::SignalData<void(const QString &, const QString &, CppUtilities::DateTime)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 8 }, { QMetaType::QString, 9 }, { 0x80000000 | 10, 11 },
        }}),
        // Signal 'activeStateChanged'
        QtMocHelpers::SignalData<void(const QString &)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 8 },
        }}),
        // Signal 'subStateChanged'
        QtMocHelpers::SignalData<void(const QString &)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 9 },
        }}),
        // Signal 'unitFileStateChanged'
        QtMocHelpers::SignalData<void(const QString &)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 15 },
        }}),
        // Signal 'descriptionChanged'
        QtMocHelpers::SignalData<void(const QString &)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 17 },
        }}),
        // Signal 'runningChanged'
        QtMocHelpers::SignalData<void(bool)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 19 },
        }}),
        // Signal 'enabledChanged'
        QtMocHelpers::SignalData<void(bool)>(20, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 21 },
        }}),
        // Signal 'errorOccurred'
        QtMocHelpers::SignalData<void(const QString &, const QString &, const QString &)>(22, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 23 }, { QMetaType::QString, 24 }, { QMetaType::QString, 25 },
        }}),
        // Signal 'scopeChanged'
        QtMocHelpers::SignalData<void(Data::SystemdScope)>(26, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 27, 28 },
        }}),
        // Signal 'networkConnectionMeteredChanged'
        QtMocHelpers::SignalData<void(std::optional<bool>)>(29, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 30, 31 },
        }}),
        // Slot 'setUnitName'
        QtMocHelpers::SlotData<void(const QString &)>(32, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 },
        }}),
        // Slot 'setRunning'
        QtMocHelpers::SlotData<void(bool)>(33, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 19 },
        }}),
        // Slot 'start'
        QtMocHelpers::SlotData<void()>(34, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'stop'
        QtMocHelpers::SlotData<void()>(35, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'toggleRunning'
        QtMocHelpers::SlotData<void()>(36, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setEnabled'
        QtMocHelpers::SlotData<void(bool)>(37, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 21 },
        }}),
        // Slot 'enable'
        QtMocHelpers::SlotData<void()>(21, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'disable'
        QtMocHelpers::SlotData<void()>(38, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'reloadAllUnitFiles'
        QtMocHelpers::SlotData<void()>(39, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'handleUnitAdded'
        QtMocHelpers::SlotData<void(const QString &, const QDBusObjectPath &)>(40, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { 0x80000000 | 41, 42 },
        }}),
        // Slot 'handleUnitRemoved'
        QtMocHelpers::SlotData<void(const QString &, const QDBusObjectPath &)>(43, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { 0x80000000 | 41, 42 },
        }}),
        // Slot 'handleReloading'
        QtMocHelpers::SlotData<void(bool)>(44, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 45 },
        }}),
        // Slot 'handleUnitGet'
        QtMocHelpers::SlotData<void(QDBusPendingCallWatcher *)>(46, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 47, 48 },
        }}),
        // Slot 'handleGetUnitFileState'
        QtMocHelpers::SlotData<void(QDBusPendingCallWatcher *)>(49, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 47, 48 },
        }}),
        // Slot 'handlePropertiesChanged'
        QtMocHelpers::SlotData<void(const QString &, const QVariantMap &, const QStringList &)>(50, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 51 }, { 0x80000000 | 52, 53 }, { QMetaType::QStringList, 54 },
        }}),
        // Slot 'handleError'
        QtMocHelpers::SlotData<void(const char *, QDBusPendingCallWatcher *, bool)>(55, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 56, 57 }, { 0x80000000 | 47, 48 }, { QMetaType::Bool, 58 },
        }}),
        // Slot 'handleError'
        QtMocHelpers::SlotData<void(const char *, QDBusPendingCallWatcher *)>(55, 2, QMC::AccessPrivate | QMC::MethodCloned, QMetaType::Void, {{
            { 0x80000000 | 56, 57 }, { 0x80000000 | 47, 48 },
        }}),
        // Slot 'handleServiceRegisteredChanged'
        QtMocHelpers::SlotData<void(const QString &)>(59, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 60 },
        }}),
        // Slot 'handlePrepareForSleep'
        QtMocHelpers::SlotData<void(bool)>(61, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 62 },
        }}),
        // Slot 'setUnit'
        QtMocHelpers::SlotData<void(const QDBusObjectPath &)>(63, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 41, 64 },
        }}),
        // Slot 'setProperties'
        QtMocHelpers::SlotData<void(bool, const QString &, const QString &, const QString &, const QString &)>(65, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 66 }, { QMetaType::QString, 8 }, { QMetaType::QString, 9 }, { QMetaType::QString, 15 },
            { QMetaType::QString, 17 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'unitName'
        QtMocHelpers::PropertyData<QString>(3, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 0),
        // property 'systemdAvailable'
        QtMocHelpers::PropertyData<bool>(67, QMetaType::Bool, QMC::DefaultPropertyFlags, 1),
        // property 'unitAvailable'
        QtMocHelpers::PropertyData<bool>(66, QMetaType::Bool, QMC::DefaultPropertyFlags, 2),
        // property 'activeState'
        QtMocHelpers::PropertyData<QString>(8, QMetaType::QString, QMC::DefaultPropertyFlags, 4),
        // property 'subState'
        QtMocHelpers::PropertyData<QString>(9, QMetaType::QString, QMC::DefaultPropertyFlags, 5),
        // property 'activeSince'
        QtMocHelpers::PropertyData<CppUtilities::DateTime>(11, 0x80000000 | 10, QMC::DefaultPropertyFlags | QMC::EnumOrFlag, 4),
        // property 'unitFileState'
        QtMocHelpers::PropertyData<QString>(15, QMetaType::QString, QMC::DefaultPropertyFlags, 6),
        // property 'description'
        QtMocHelpers::PropertyData<QString>(17, QMetaType::QString, QMC::DefaultPropertyFlags, 7),
        // property 'running'
        QtMocHelpers::PropertyData<bool>(19, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 8),
        // property 'enable'
        QtMocHelpers::PropertyData<bool>(21, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable, 9),
        // property 'manuallyStopped'
        QtMocHelpers::PropertyData<bool>(68, QMetaType::Bool, QMC::DefaultPropertyFlags),
        // property 'scope'
        QtMocHelpers::PropertyData<SystemdScope>(28, 0x80000000 | 69, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 11),
        // property 'userScope'
        QtMocHelpers::PropertyData<bool>(70, QMetaType::Bool, QMC::DefaultPropertyFlags, 11),
        // property 'networkConnectionMetered'
        QtMocHelpers::PropertyData<std::optional<bool>>(71, 0x80000000 | 30, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 12),
        // property 'stoppingOnMeteredConnection'
        QtMocHelpers::PropertyData<bool>(72, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<SyncthingService, qt_meta_tag_ZN4Data16SyncthingServiceE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Data::SyncthingService::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4Data16SyncthingServiceE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4Data16SyncthingServiceE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN4Data16SyncthingServiceE_t>.metaTypes,
    nullptr
} };

void Data::SyncthingService::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<SyncthingService *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->unitNameChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 1: _t->systemdAvailableChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 2: _t->unitAvailableChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 3: _t->stateChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<CppUtilities::DateTime>>(_a[3]))); break;
        case 4: _t->activeStateChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 5: _t->subStateChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 6: _t->unitFileStateChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 7: _t->descriptionChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 8: _t->runningChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 9: _t->enabledChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 10: _t->errorOccurred((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3]))); break;
        case 11: _t->scopeChanged((*reinterpret_cast<std::add_pointer_t<Data::SystemdScope>>(_a[1]))); break;
        case 12: _t->networkConnectionMeteredChanged((*reinterpret_cast<std::add_pointer_t<std::optional<bool>>>(_a[1]))); break;
        case 13: _t->setUnitName((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 14: _t->setRunning((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 15: _t->start(); break;
        case 16: _t->stop(); break;
        case 17: _t->toggleRunning(); break;
        case 18: _t->setEnabled((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 19: _t->enable(); break;
        case 20: _t->disable(); break;
        case 21: _t->reloadAllUnitFiles(); break;
        case 22: _t->handleUnitAdded((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QDBusObjectPath>>(_a[2]))); break;
        case 23: _t->handleUnitRemoved((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QDBusObjectPath>>(_a[2]))); break;
        case 24: _t->handleReloading((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 25: _t->handleUnitGet((*reinterpret_cast<std::add_pointer_t<QDBusPendingCallWatcher*>>(_a[1]))); break;
        case 26: _t->handleGetUnitFileState((*reinterpret_cast<std::add_pointer_t<QDBusPendingCallWatcher*>>(_a[1]))); break;
        case 27: _t->handlePropertiesChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QVariantMap>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[3]))); break;
        case 28: _t->handleError((*reinterpret_cast<std::add_pointer_t<const char*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QDBusPendingCallWatcher*>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[3]))); break;
        case 29: _t->handleError((*reinterpret_cast<std::add_pointer_t<const char*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QDBusPendingCallWatcher*>>(_a[2]))); break;
        case 30: _t->handleServiceRegisteredChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 31: _t->handlePrepareForSleep((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 32: _t->setUnit((*reinterpret_cast<std::add_pointer_t<QDBusObjectPath>>(_a[1]))); break;
        case 33: _t->setProperties((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[4])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[5]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (SyncthingService::*)(const QString & )>(_a, &SyncthingService::unitNameChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (SyncthingService::*)(bool )>(_a, &SyncthingService::systemdAvailableChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (SyncthingService::*)(bool )>(_a, &SyncthingService::unitAvailableChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (SyncthingService::*)(const QString & , const QString & , CppUtilities::DateTime )>(_a, &SyncthingService::stateChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (SyncthingService::*)(const QString & )>(_a, &SyncthingService::activeStateChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (SyncthingService::*)(const QString & )>(_a, &SyncthingService::subStateChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (SyncthingService::*)(const QString & )>(_a, &SyncthingService::unitFileStateChanged, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (SyncthingService::*)(const QString & )>(_a, &SyncthingService::descriptionChanged, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (SyncthingService::*)(bool )>(_a, &SyncthingService::runningChanged, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (SyncthingService::*)(bool )>(_a, &SyncthingService::enabledChanged, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (SyncthingService::*)(const QString & , const QString & , const QString & )>(_a, &SyncthingService::errorOccurred, 10))
            return;
        if (QtMocHelpers::indexOfMethod<void (SyncthingService::*)(Data::SystemdScope )>(_a, &SyncthingService::scopeChanged, 11))
            return;
        if (QtMocHelpers::indexOfMethod<void (SyncthingService::*)(std::optional<bool> )>(_a, &SyncthingService::networkConnectionMeteredChanged, 12))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<QString*>(_v) = _t->unitName(); break;
        case 1: *reinterpret_cast<bool*>(_v) = _t->isSystemdAvailable(); break;
        case 2: *reinterpret_cast<bool*>(_v) = _t->isUnitAvailable(); break;
        case 3: *reinterpret_cast<QString*>(_v) = _t->activeState(); break;
        case 4: *reinterpret_cast<QString*>(_v) = _t->subState(); break;
        case 5: *reinterpret_cast<CppUtilities::DateTime*>(_v) = _t->activeSince(); break;
        case 6: *reinterpret_cast<QString*>(_v) = _t->unitFileState(); break;
        case 7: *reinterpret_cast<QString*>(_v) = _t->description(); break;
        case 8: *reinterpret_cast<bool*>(_v) = _t->isRunning(); break;
        case 9: *reinterpret_cast<bool*>(_v) = _t->isEnabled(); break;
        case 10: *reinterpret_cast<bool*>(_v) = _t->isManuallyStopped(); break;
        case 11: *reinterpret_cast<SystemdScope*>(_v) = _t->scope(); break;
        case 12: *reinterpret_cast<bool*>(_v) = _t->isUserScope(); break;
        case 13: *reinterpret_cast<std::optional<bool>*>(_v) = _t->isNetworkConnectionMetered(); break;
        case 14: *reinterpret_cast<bool*>(_v) = _t->isStoppingOnMeteredConnection(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setUnitName(*reinterpret_cast<QString*>(_v)); break;
        case 8: _t->setRunning(*reinterpret_cast<bool*>(_v)); break;
        case 9: _t->setEnabled(*reinterpret_cast<bool*>(_v)); break;
        case 11: _t->setScope(*reinterpret_cast<SystemdScope*>(_v)); break;
        case 13: _t->setNetworkConnectionMetered(*reinterpret_cast<std::optional<bool>*>(_v)); break;
        case 14: _t->setStoppingOnMeteredConnection(*reinterpret_cast<bool*>(_v)); break;
        default: break;
        }
    }
}

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

void *Data::SyncthingService::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4Data16SyncthingServiceE_t>.strings))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int Data::SyncthingService::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 < 34)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 34;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 34)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 34;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 15;
    }
    return _id;
}

// SIGNAL 0
void Data::SyncthingService::unitNameChanged(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void Data::SyncthingService::systemdAvailableChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void Data::SyncthingService::unitAvailableChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void Data::SyncthingService::stateChanged(const QString & _t1, const QString & _t2, CppUtilities::DateTime _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1, _t2, _t3);
}

// SIGNAL 4
void Data::SyncthingService::activeStateChanged(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void Data::SyncthingService::subStateChanged(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

// SIGNAL 6
void Data::SyncthingService::unitFileStateChanged(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}

// SIGNAL 7
void Data::SyncthingService::descriptionChanged(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1);
}

// SIGNAL 8
void Data::SyncthingService::runningChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 8, nullptr, _t1);
}

// SIGNAL 9
void Data::SyncthingService::enabledChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 9, nullptr, _t1);
}

// SIGNAL 10
void Data::SyncthingService::errorOccurred(const QString & _t1, const QString & _t2, const QString & _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 10, nullptr, _t1, _t2, _t3);
}

// SIGNAL 11
void Data::SyncthingService::scopeChanged(Data::SystemdScope _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 11, nullptr, _t1);
}

// SIGNAL 12
void Data::SyncthingService::networkConnectionMeteredChanged(std::optional<bool> _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 12, nullptr, _t1);
}
QT_WARNING_POP
