/****************************************************************************
** Meta object code from reading C++ file 'syncthingnotifier.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 "../../syncthingnotifier.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'syncthingnotifier.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__SyncthingNotifier_t {
    QByteArrayData data[46];
    char stringdata0[826];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Data__SyncthingNotifier_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Data__SyncthingNotifier_t qt_meta_stringdata_Data__SyncthingNotifier = {
    {
QT_MOC_LITERAL(0, 0, 23), // "Data::SyncthingNotifier"
QT_MOC_LITERAL(1, 24, 13), // "statusChanged"
QT_MOC_LITERAL(2, 38, 0), // ""
QT_MOC_LITERAL(3, 39, 21), // "Data::SyncthingStatus"
QT_MOC_LITERAL(4, 61, 14), // "previousStatus"
QT_MOC_LITERAL(5, 76, 9), // "newStatus"
QT_MOC_LITERAL(6, 86, 9), // "connected"
QT_MOC_LITERAL(7, 96, 12), // "disconnected"
QT_MOC_LITERAL(8, 109, 12), // "syncComplete"
QT_MOC_LITERAL(9, 122, 7), // "message"
QT_MOC_LITERAL(10, 130, 9), // "newDevice"
QT_MOC_LITERAL(11, 140, 5), // "devId"
QT_MOC_LITERAL(12, 146, 6), // "newDir"
QT_MOC_LITERAL(13, 153, 5), // "dirId"
QT_MOC_LITERAL(14, 159, 8), // "dirLabel"
QT_MOC_LITERAL(15, 168, 21), // "syncthingProcessError"
QT_MOC_LITERAL(16, 190, 14), // "additionalInfo"
QT_MOC_LITERAL(17, 205, 23), // "setEnabledNotifications"
QT_MOC_LITERAL(18, 229, 36), // "Data::SyncthingHighLevelNotif..."
QT_MOC_LITERAL(19, 266, 20), // "enabledNotifications"
QT_MOC_LITERAL(20, 287, 25), // "setConsideredIntegrations"
QT_MOC_LITERAL(21, 313, 33), // "Data::SyncthingStartupIntegra..."
QT_MOC_LITERAL(22, 347, 22), // "consideredIntegrations"
QT_MOC_LITERAL(23, 370, 33), // "setIgnoreInavailabilityAfterS..."
QT_MOC_LITERAL(24, 404, 7), // "seconds"
QT_MOC_LITERAL(25, 412, 10), // "setService"
QT_MOC_LITERAL(26, 423, 29), // "const Data::SyncthingService*"
QT_MOC_LITERAL(27, 453, 7), // "service"
QT_MOC_LITERAL(28, 461, 10), // "setProcess"
QT_MOC_LITERAL(29, 472, 29), // "const Data::SyncthingProcess*"
QT_MOC_LITERAL(30, 502, 7), // "process"
QT_MOC_LITERAL(31, 510, 24), // "handleStatusChangedEvent"
QT_MOC_LITERAL(32, 535, 17), // "handleNewDevEvent"
QT_MOC_LITERAL(33, 553, 22), // "CppUtilities::DateTime"
QT_MOC_LITERAL(34, 576, 4), // "when"
QT_MOC_LITERAL(35, 581, 7), // "address"
QT_MOC_LITERAL(36, 589, 17), // "handleNewDirEvent"
QT_MOC_LITERAL(37, 607, 25), // "const Data::SyncthingDev*"
QT_MOC_LITERAL(38, 633, 3), // "dev"
QT_MOC_LITERAL(39, 637, 27), // "handleSyncthingProcessError"
QT_MOC_LITERAL(40, 665, 22), // "QProcess::ProcessError"
QT_MOC_LITERAL(41, 688, 30), // "SyncthingHighLevelNotification"
QT_MOC_LITERAL(42, 719, 27), // "SyncthingStartupIntegration"
QT_MOC_LITERAL(43, 747, 30), // "ignoreInavailabilityAfterStart"
QT_MOC_LITERAL(44, 778, 23), // "const SyncthingService*"
QT_MOC_LITERAL(45, 802, 23) // "const SyncthingProcess*"

    },
    "Data::SyncthingNotifier\0statusChanged\0"
    "\0Data::SyncthingStatus\0previousStatus\0"
    "newStatus\0connected\0disconnected\0"
    "syncComplete\0message\0newDevice\0devId\0"
    "newDir\0dirId\0dirLabel\0syncthingProcessError\0"
    "additionalInfo\0setEnabledNotifications\0"
    "Data::SyncthingHighLevelNotification\0"
    "enabledNotifications\0setConsideredIntegrations\0"
    "Data::SyncthingStartupIntegration\0"
    "consideredIntegrations\0"
    "setIgnoreInavailabilityAfterStart\0"
    "seconds\0setService\0const Data::SyncthingService*\0"
    "service\0setProcess\0const Data::SyncthingProcess*\0"
    "process\0handleStatusChangedEvent\0"
    "handleNewDevEvent\0CppUtilities::DateTime\0"
    "when\0address\0handleNewDirEvent\0"
    "const Data::SyncthingDev*\0dev\0"
    "handleSyncthingProcessError\0"
    "QProcess::ProcessError\0"
    "SyncthingHighLevelNotification\0"
    "SyncthingStartupIntegration\0"
    "ignoreInavailabilityAfterStart\0"
    "const SyncthingService*\0const SyncthingProcess*"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Data__SyncthingNotifier[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   94,    2, 0x06 /* Public */,
       6,    0,   99,    2, 0x06 /* Public */,
       7,    0,  100,    2, 0x06 /* Public */,
       8,    1,  101,    2, 0x06 /* Public */,
      10,    2,  104,    2, 0x06 /* Public */,
      12,    4,  109,    2, 0x06 /* Public */,
      15,    2,  118,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      17,    1,  123,    2, 0x0a /* Public */,
      20,    1,  126,    2, 0x0a /* Public */,
      23,    1,  129,    2, 0x0a /* Public */,
      25,    1,  132,    2, 0x0a /* Public */,
      28,    1,  135,    2, 0x0a /* Public */,
      31,    1,  138,    2, 0x08 /* Private */,
      32,    3,  141,    2, 0x08 /* Private */,
      36,    5,  148,    2, 0x08 /* Private */,
      39,    1,  159,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 3,    4,    5,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    9,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,   11,    9,
    QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::QString, QMetaType::QString,   11,   13,   14,    9,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    9,   16,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 18,   19,
    QMetaType::Void, 0x80000000 | 21,   22,
    QMetaType::Void, QMetaType::UInt,   24,
    QMetaType::Void, 0x80000000 | 26,   27,
    QMetaType::Void, 0x80000000 | 29,   30,
    QMetaType::Void, 0x80000000 | 3,    5,
    QMetaType::Void, 0x80000000 | 33, QMetaType::QString, QMetaType::QString,   34,   11,   35,
    QMetaType::Void, 0x80000000 | 33, QMetaType::QString, 0x80000000 | 37, QMetaType::QString, QMetaType::QString,   34,   11,   38,   13,   14,
    QMetaType::Void, 0x80000000 | 40,   15,

 // properties: name, type, flags
      19, 0x80000000 | 41, 0x0009510b,
      22, 0x80000000 | 42, 0x0009510b,
      43, QMetaType::Bool, 0x00095103,
      27, 0x80000000 | 44, 0x0009510b,
      30, 0x80000000 | 45, 0x0009510b,

       0        // eod
};

void Data::SyncthingNotifier::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<SyncthingNotifier *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->statusChanged((*reinterpret_cast< Data::SyncthingStatus(*)>(_a[1])),(*reinterpret_cast< Data::SyncthingStatus(*)>(_a[2]))); break;
        case 1: _t->connected(); break;
        case 2: _t->disconnected(); break;
        case 3: _t->syncComplete((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->newDevice((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 5: _t->newDir((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])),(*reinterpret_cast< const QString(*)>(_a[4]))); break;
        case 6: _t->syncthingProcessError((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 7: _t->setEnabledNotifications((*reinterpret_cast< Data::SyncthingHighLevelNotification(*)>(_a[1]))); break;
        case 8: _t->setConsideredIntegrations((*reinterpret_cast< Data::SyncthingStartupIntegration(*)>(_a[1]))); break;
        case 9: _t->setIgnoreInavailabilityAfterStart((*reinterpret_cast< uint(*)>(_a[1]))); break;
        case 10: _t->setService((*reinterpret_cast< const Data::SyncthingService*(*)>(_a[1]))); break;
        case 11: _t->setProcess((*reinterpret_cast< const Data::SyncthingProcess*(*)>(_a[1]))); break;
        case 12: _t->handleStatusChangedEvent((*reinterpret_cast< Data::SyncthingStatus(*)>(_a[1]))); break;
        case 13: _t->handleNewDevEvent((*reinterpret_cast< CppUtilities::DateTime(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 14: _t->handleNewDirEvent((*reinterpret_cast< CppUtilities::DateTime(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const Data::SyncthingDev*(*)>(_a[3])),(*reinterpret_cast< const QString(*)>(_a[4])),(*reinterpret_cast< const QString(*)>(_a[5]))); break;
        case 15: _t->handleSyncthingProcessError((*reinterpret_cast< QProcess::ProcessError(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (SyncthingNotifier::*)(Data::SyncthingStatus , Data::SyncthingStatus );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SyncthingNotifier::statusChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (SyncthingNotifier::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SyncthingNotifier::connected)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (SyncthingNotifier::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SyncthingNotifier::disconnected)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (SyncthingNotifier::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SyncthingNotifier::syncComplete)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (SyncthingNotifier::*)(const QString & , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SyncthingNotifier::newDevice)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (SyncthingNotifier::*)(const QString & , const QString & , const QString & , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SyncthingNotifier::newDir)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (SyncthingNotifier::*)(const QString & , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SyncthingNotifier::syncthingProcessError)) {
                *result = 6;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<SyncthingNotifier *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< SyncthingHighLevelNotification*>(_v) = _t->enabledNotifications(); break;
        case 1: *reinterpret_cast< SyncthingStartupIntegration*>(_v) = _t->consideredIntegrations(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->ignoreInavailabilityAfterStart(); break;
        case 3: *reinterpret_cast< const SyncthingService**>(_v) = _t->service(); break;
        case 4: *reinterpret_cast< const SyncthingProcess**>(_v) = _t->process(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<SyncthingNotifier *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setEnabledNotifications(*reinterpret_cast< SyncthingHighLevelNotification*>(_v)); break;
        case 1: _t->setConsideredIntegrations(*reinterpret_cast< SyncthingStartupIntegration*>(_v)); break;
        case 2: _t->setIgnoreInavailabilityAfterStart(*reinterpret_cast< bool*>(_v)); break;
        case 3: _t->setService(*reinterpret_cast< const SyncthingService**>(_v)); break;
        case 4: _t->setProcess(*reinterpret_cast< const SyncthingProcess**>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject Data::SyncthingNotifier::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_Data__SyncthingNotifier.data,
    qt_meta_data_Data__SyncthingNotifier,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int Data::SyncthingNotifier::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 < 16)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 16;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 16)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 16;
    }
#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 -= 5;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 5;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void Data::SyncthingNotifier::statusChanged(Data::SyncthingStatus _t1, Data::SyncthingStatus _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Data::SyncthingNotifier::connected()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void Data::SyncthingNotifier::disconnected()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void Data::SyncthingNotifier::syncComplete(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void Data::SyncthingNotifier::newDevice(const QString & _t1, const QString & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void Data::SyncthingNotifier::newDir(const QString & _t1, const QString & _t2, const QString & _t3, const QString & _t4)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t4))) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void Data::SyncthingNotifier::syncthingProcessError(const QString & _t1, const QString & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
