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

#include <memory>
#include "generated/com_deepin_sync_daemon.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'com_deepin_sync_daemon.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.17. 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___daemon_t {
    QByteArrayData data[35];
    char stringdata0[429];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata___daemon_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata___daemon_t qt_meta_stringdata___daemon = {
    {
QT_MOC_LITERAL(0, 0, 8), // "__daemon"
QT_MOC_LITERAL(1, 9, 14), // "SwitcherChange"
QT_MOC_LITERAL(2, 24, 0), // ""
QT_MOC_LITERAL(3, 25, 8), // "switcher"
QT_MOC_LITERAL(4, 34, 7), // "enabled"
QT_MOC_LITERAL(5, 42, 19), // "LastSyncTimeChanged"
QT_MOC_LITERAL(6, 62, 5), // "value"
QT_MOC_LITERAL(7, 68, 12), // "StateChanged"
QT_MOC_LITERAL(8, 81, 9), // "IntString"
QT_MOC_LITERAL(9, 91, 15), // "UserInfoChanged"
QT_MOC_LITERAL(10, 107, 8), // "IsOnline"
QT_MOC_LITERAL(11, 116, 23), // "QDBusPendingReply<bool>"
QT_MOC_LITERAL(12, 140, 9), // "OnMessage"
QT_MOC_LITERAL(13, 150, 19), // "QDBusPendingReply<>"
QT_MOC_LITERAL(14, 170, 3), // "in0"
QT_MOC_LITERAL(15, 174, 15), // "OnMessageQueued"
QT_MOC_LITERAL(16, 190, 8), // "Register"
QT_MOC_LITERAL(17, 199, 3), // "in1"
QT_MOC_LITERAL(18, 203, 14), // "RegisterQueued"
QT_MOC_LITERAL(19, 218, 12), // "SwitcherDump"
QT_MOC_LITERAL(20, 231, 26), // "QDBusPendingReply<QString>"
QT_MOC_LITERAL(21, 258, 11), // "SwitcherGet"
QT_MOC_LITERAL(22, 270, 11), // "SwitcherSet"
QT_MOC_LITERAL(23, 282, 17), // "SwitcherSetQueued"
QT_MOC_LITERAL(24, 300, 10), // "CallQueued"
QT_MOC_LITERAL(25, 311, 8), // "callName"
QT_MOC_LITERAL(26, 320, 4), // "args"
QT_MOC_LITERAL(27, 325, 21), // "onPendingCallFinished"
QT_MOC_LITERAL(28, 347, 24), // "QDBusPendingCallWatcher*"
QT_MOC_LITERAL(29, 372, 1), // "w"
QT_MOC_LITERAL(30, 374, 17), // "onPropertyChanged"
QT_MOC_LITERAL(31, 392, 8), // "propName"
QT_MOC_LITERAL(32, 401, 12), // "LastSyncTime"
QT_MOC_LITERAL(33, 414, 5), // "State"
QT_MOC_LITERAL(34, 420, 8) // "UserInfo"

    },
    "__daemon\0SwitcherChange\0\0switcher\0"
    "enabled\0LastSyncTimeChanged\0value\0"
    "StateChanged\0IntString\0UserInfoChanged\0"
    "IsOnline\0QDBusPendingReply<bool>\0"
    "OnMessage\0QDBusPendingReply<>\0in0\0"
    "OnMessageQueued\0Register\0in1\0"
    "RegisterQueued\0SwitcherDump\0"
    "QDBusPendingReply<QString>\0SwitcherGet\0"
    "SwitcherSet\0SwitcherSetQueued\0CallQueued\0"
    "callName\0args\0onPendingCallFinished\0"
    "QDBusPendingCallWatcher*\0w\0onPropertyChanged\0"
    "propName\0LastSyncTime\0State\0UserInfo"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data___daemon[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   94,    2, 0x06 /* Public */,
       5,    1,   99,    2, 0x06 /* Public */,
       7,    1,  102,    2, 0x06 /* Public */,
       9,    1,  105,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      10,    0,  108,    2, 0x0a /* Public */,
      12,    1,  109,    2, 0x0a /* Public */,
      15,    1,  112,    2, 0x0a /* Public */,
      16,    2,  115,    2, 0x0a /* Public */,
      18,    2,  120,    2, 0x0a /* Public */,
      19,    0,  125,    2, 0x0a /* Public */,
      21,    1,  126,    2, 0x0a /* Public */,
      22,    2,  129,    2, 0x0a /* Public */,
      23,    2,  134,    2, 0x0a /* Public */,
      24,    2,  139,    2, 0x0a /* Public */,
      27,    1,  144,    2, 0x08 /* Private */,
      30,    2,  147,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString, QMetaType::Bool,    3,    4,
    QMetaType::Void, QMetaType::LongLong,    6,
    QMetaType::Void, 0x80000000 | 8,    6,
    QMetaType::Void, QMetaType::QVariantMap,    6,

 // slots: parameters
    0x80000000 | 11,
    0x80000000 | 13, QMetaType::QVariantMap,   14,
    QMetaType::Void, QMetaType::QVariantMap,   14,
    0x80000000 | 13, QMetaType::QString, QMetaType::QString,   14,   17,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,   14,   17,
    0x80000000 | 20,
    0x80000000 | 11, QMetaType::QString,   14,
    0x80000000 | 13, QMetaType::QString, QMetaType::Bool,   14,   17,
    QMetaType::Void, QMetaType::QString, QMetaType::Bool,   14,   17,
    QMetaType::Void, QMetaType::QString, QMetaType::QVariantList,   25,   26,
    QMetaType::Void, 0x80000000 | 28,   29,
    QMetaType::Void, QMetaType::QString, QMetaType::QVariant,   31,    6,

 // properties: name, type, flags
      32, QMetaType::LongLong, 0x00495001,
      33, 0x80000000 | 8, 0x00495009,
      34, QMetaType::QVariantMap, 0x00495001,

 // properties: notify_signal_id
       1,
       2,
       3,

       0        // eod
};

void __daemon::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<__daemon *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->SwitcherChange((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 1: _t->LastSyncTimeChanged((*reinterpret_cast< qlonglong(*)>(_a[1]))); break;
        case 2: _t->StateChanged((*reinterpret_cast< IntString(*)>(_a[1]))); break;
        case 3: _t->UserInfoChanged((*reinterpret_cast< const QVariantMap(*)>(_a[1]))); break;
        case 4: { QDBusPendingReply<bool> _r = _t->IsOnline();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<bool>*>(_a[0]) = std::move(_r); }  break;
        case 5: { QDBusPendingReply<> _r = _t->OnMessage((*reinterpret_cast< const QVariantMap(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 6: _t->OnMessageQueued((*reinterpret_cast< const QVariantMap(*)>(_a[1]))); break;
        case 7: { QDBusPendingReply<> _r = _t->Register((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 8: _t->RegisterQueued((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 9: { QDBusPendingReply<QString> _r = _t->SwitcherDump();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QString>*>(_a[0]) = std::move(_r); }  break;
        case 10: { QDBusPendingReply<bool> _r = _t->SwitcherGet((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<bool>*>(_a[0]) = std::move(_r); }  break;
        case 11: { QDBusPendingReply<> _r = _t->SwitcherSet((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 12: _t->SwitcherSetQueued((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 13: _t->CallQueued((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QList<QVariant>(*)>(_a[2]))); break;
        case 14: _t->onPendingCallFinished((*reinterpret_cast< QDBusPendingCallWatcher*(*)>(_a[1]))); break;
        case 15: _t->onPropertyChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QVariant(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< IntString >(); break;
            }
            break;
        case 14:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDBusPendingCallWatcher* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (__daemon::*)(const QString & , bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__daemon::SwitcherChange)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (__daemon::*)(qlonglong ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__daemon::LastSyncTimeChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (__daemon::*)(IntString ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__daemon::StateChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (__daemon::*)(const QVariantMap & ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__daemon::UserInfoChanged)) {
                *result = 3;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 1:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< IntString >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<__daemon *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< qlonglong*>(_v) = _t->lastSyncTime(); break;
        case 1: *reinterpret_cast< IntString*>(_v) = _t->state(); break;
        case 2: *reinterpret_cast< QVariantMap*>(_v) = _t->userInfo(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject __daemon::staticMetaObject = { {
    QMetaObject::SuperData::link<DBusExtendedAbstractInterface::staticMetaObject>(),
    qt_meta_stringdata___daemon.data,
    qt_meta_data___daemon,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int __daemon::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = DBusExtendedAbstractInterface::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)
            qt_static_metacall(this, _c, _id, _a);
        _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 -= 3;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 3;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void __daemon::SwitcherChange(const QString & _t1, bool _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 __daemon::LastSyncTimeChanged(qlonglong _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __daemon *>(this), &staticMetaObject, 1, _a);
}

// SIGNAL 2
void __daemon::StateChanged(IntString _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __daemon *>(this), &staticMetaObject, 2, _a);
}

// SIGNAL 3
void __daemon::UserInfoChanged(const QVariantMap & _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __daemon *>(this), &staticMetaObject, 3, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
