/****************************************************************************
** Meta object code from reading C++ file 'notifysettings.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 "../../notification/notifysettings.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'notifysettings.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_AbstractNotifySetting_t {
    QByteArrayData data[9];
    char stringdata0[106];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_AbstractNotifySetting_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_AbstractNotifySetting_t qt_meta_stringdata_AbstractNotifySetting = {
    {
QT_MOC_LITERAL(0, 0, 21), // "AbstractNotifySetting"
QT_MOC_LITERAL(1, 22, 14), // "appAddedSignal"
QT_MOC_LITERAL(2, 37, 0), // ""
QT_MOC_LITERAL(3, 38, 2), // "id"
QT_MOC_LITERAL(4, 41, 16), // "appRemovedSignal"
QT_MOC_LITERAL(5, 58, 17), // "appSettingChanged"
QT_MOC_LITERAL(6, 76, 4), // "item"
QT_MOC_LITERAL(7, 81, 3), // "var"
QT_MOC_LITERAL(8, 85, 20) // "systemSettingChanged"

    },
    "AbstractNotifySetting\0appAddedSignal\0"
    "\0id\0appRemovedSignal\0appSettingChanged\0"
    "item\0var\0systemSettingChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_AbstractNotifySetting[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   34,    2, 0x06 /* Public */,
       4,    1,   37,    2, 0x06 /* Public */,
       5,    3,   40,    2, 0x06 /* Public */,
       8,    2,   47,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString, QMetaType::UInt, QMetaType::QVariant,    3,    6,    7,
    QMetaType::Void, QMetaType::UInt, QMetaType::QVariant,    6,    7,

       0        // eod
};

void AbstractNotifySetting::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<AbstractNotifySetting *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->appAddedSignal((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->appRemovedSignal((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->appSettingChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const uint(*)>(_a[2])),(*reinterpret_cast< QVariant(*)>(_a[3]))); break;
        case 3: _t->systemSettingChanged((*reinterpret_cast< const uint(*)>(_a[1])),(*reinterpret_cast< QVariant(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (AbstractNotifySetting::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AbstractNotifySetting::appAddedSignal)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (AbstractNotifySetting::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AbstractNotifySetting::appRemovedSignal)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (AbstractNotifySetting::*)(const QString & , const uint & , QVariant );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AbstractNotifySetting::appSettingChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (AbstractNotifySetting::*)(const uint & , QVariant );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AbstractNotifySetting::systemSettingChanged)) {
                *result = 3;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject AbstractNotifySetting::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_AbstractNotifySetting.data,
    qt_meta_data_AbstractNotifySetting,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int AbstractNotifySetting::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 < 4)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 4)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 4;
    }
    return _id;
}

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

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

// SIGNAL 2
void AbstractNotifySetting::appSettingChanged(const QString & _t1, const uint & _t2, QVariant _t3)
{
    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))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void AbstractNotifySetting::systemSettingChanged(const uint & _t1, QVariant _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, 3, _a);
}
struct qt_meta_stringdata_NotifySettingsObserver_t {
    QByteArrayData data[7];
    char stringdata0[74];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_NotifySettingsObserver_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_NotifySettingsObserver_t qt_meta_stringdata_NotifySettingsObserver = {
    {
QT_MOC_LITERAL(0, 0, 22), // "NotifySettingsObserver"
QT_MOC_LITERAL(1, 23, 24), // "onReceivedAppInfoChanged"
QT_MOC_LITERAL(2, 48, 0), // ""
QT_MOC_LITERAL(3, 49, 2), // "id"
QT_MOC_LITERAL(4, 52, 4), // "item"
QT_MOC_LITERAL(5, 57, 12), // "QDBusVariant"
QT_MOC_LITERAL(6, 70, 3) // "var"

    },
    "NotifySettingsObserver\0onReceivedAppInfoChanged\0"
    "\0id\0item\0QDBusVariant\0var"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_NotifySettingsObserver[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    3,   19,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, QMetaType::QString, QMetaType::UInt, 0x80000000 | 5,    3,    4,    6,

       0        // eod
};

void NotifySettingsObserver::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<NotifySettingsObserver *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->onReceivedAppInfoChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2])),(*reinterpret_cast< QDBusVariant(*)>(_a[3]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 2:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDBusVariant >(); break;
            }
            break;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject NotifySettingsObserver::staticMetaObject = { {
    QMetaObject::SuperData::link<AbstractNotifySetting::staticMetaObject>(),
    qt_meta_stringdata_NotifySettingsObserver.data,
    qt_meta_data_NotifySettingsObserver,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *NotifySettingsObserver::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_NotifySettingsObserver.stringdata0))
        return static_cast<void*>(this);
    return AbstractNotifySetting::qt_metacast(_clname);
}

int NotifySettingsObserver::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = AbstractNotifySetting::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
