/****************************************************************************
** Meta object code from reading C++ file 'com_deepin_daemon_inputdevice_mouse.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_daemon_inputdevice_mouse.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'com_deepin_daemon_inputdevice_mouse.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___Mouse_t {
    QByteArrayData data[38];
    char stringdata0[582];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata___Mouse_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata___Mouse_t qt_meta_stringdata___Mouse = {
    {
QT_MOC_LITERAL(0, 0, 7), // "__Mouse"
QT_MOC_LITERAL(1, 8, 27), // "AdaptiveAccelProfileChanged"
QT_MOC_LITERAL(2, 36, 0), // ""
QT_MOC_LITERAL(3, 37, 5), // "value"
QT_MOC_LITERAL(4, 43, 17), // "DeviceListChanged"
QT_MOC_LITERAL(5, 61, 18), // "DisableTpadChanged"
QT_MOC_LITERAL(6, 80, 18), // "DoubleClickChanged"
QT_MOC_LITERAL(7, 99, 20), // "DragThresholdChanged"
QT_MOC_LITERAL(8, 120, 12), // "ExistChanged"
QT_MOC_LITERAL(9, 133, 17), // "LeftHandedChanged"
QT_MOC_LITERAL(10, 151, 28), // "MiddleButtonEmulationChanged"
QT_MOC_LITERAL(11, 180, 25), // "MotionAccelerationChanged"
QT_MOC_LITERAL(12, 206, 20), // "MotionScalingChanged"
QT_MOC_LITERAL(13, 227, 22), // "MotionThresholdChanged"
QT_MOC_LITERAL(14, 250, 20), // "NaturalScrollChanged"
QT_MOC_LITERAL(15, 271, 5), // "Reset"
QT_MOC_LITERAL(16, 277, 19), // "QDBusPendingReply<>"
QT_MOC_LITERAL(17, 297, 11), // "ResetQueued"
QT_MOC_LITERAL(18, 309, 10), // "CallQueued"
QT_MOC_LITERAL(19, 320, 8), // "callName"
QT_MOC_LITERAL(20, 329, 4), // "args"
QT_MOC_LITERAL(21, 334, 21), // "onPendingCallFinished"
QT_MOC_LITERAL(22, 356, 24), // "QDBusPendingCallWatcher*"
QT_MOC_LITERAL(23, 381, 1), // "w"
QT_MOC_LITERAL(24, 383, 17), // "onPropertyChanged"
QT_MOC_LITERAL(25, 401, 8), // "propName"
QT_MOC_LITERAL(26, 410, 20), // "AdaptiveAccelProfile"
QT_MOC_LITERAL(27, 431, 10), // "DeviceList"
QT_MOC_LITERAL(28, 442, 11), // "DisableTpad"
QT_MOC_LITERAL(29, 454, 11), // "DoubleClick"
QT_MOC_LITERAL(30, 466, 13), // "DragThreshold"
QT_MOC_LITERAL(31, 480, 5), // "Exist"
QT_MOC_LITERAL(32, 486, 10), // "LeftHanded"
QT_MOC_LITERAL(33, 497, 21), // "MiddleButtonEmulation"
QT_MOC_LITERAL(34, 519, 18), // "MotionAcceleration"
QT_MOC_LITERAL(35, 538, 13), // "MotionScaling"
QT_MOC_LITERAL(36, 552, 15), // "MotionThreshold"
QT_MOC_LITERAL(37, 568, 13) // "NaturalScroll"

    },
    "__Mouse\0AdaptiveAccelProfileChanged\0"
    "\0value\0DeviceListChanged\0DisableTpadChanged\0"
    "DoubleClickChanged\0DragThresholdChanged\0"
    "ExistChanged\0LeftHandedChanged\0"
    "MiddleButtonEmulationChanged\0"
    "MotionAccelerationChanged\0"
    "MotionScalingChanged\0MotionThresholdChanged\0"
    "NaturalScrollChanged\0Reset\0"
    "QDBusPendingReply<>\0ResetQueued\0"
    "CallQueued\0callName\0args\0onPendingCallFinished\0"
    "QDBusPendingCallWatcher*\0w\0onPropertyChanged\0"
    "propName\0AdaptiveAccelProfile\0DeviceList\0"
    "DisableTpad\0DoubleClick\0DragThreshold\0"
    "Exist\0LeftHanded\0MiddleButtonEmulation\0"
    "MotionAcceleration\0MotionScaling\0"
    "MotionThreshold\0NaturalScroll"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data___Mouse[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   99,    2, 0x06 /* Public */,
       4,    1,  102,    2, 0x06 /* Public */,
       5,    1,  105,    2, 0x06 /* Public */,
       6,    1,  108,    2, 0x06 /* Public */,
       7,    1,  111,    2, 0x06 /* Public */,
       8,    1,  114,    2, 0x06 /* Public */,
       9,    1,  117,    2, 0x06 /* Public */,
      10,    1,  120,    2, 0x06 /* Public */,
      11,    1,  123,    2, 0x06 /* Public */,
      12,    1,  126,    2, 0x06 /* Public */,
      13,    1,  129,    2, 0x06 /* Public */,
      14,    1,  132,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      15,    0,  135,    2, 0x0a /* Public */,
      17,    0,  136,    2, 0x0a /* Public */,
      18,    2,  137,    2, 0x0a /* Public */,
      21,    1,  142,    2, 0x08 /* Private */,
      24,    2,  145,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, QMetaType::Double,    3,
    QMetaType::Void, QMetaType::Double,    3,
    QMetaType::Void, QMetaType::Double,    3,
    QMetaType::Void, QMetaType::Bool,    3,

 // slots: parameters
    0x80000000 | 16,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, QMetaType::QVariantList,   19,   20,
    QMetaType::Void, 0x80000000 | 22,   23,
    QMetaType::Void, QMetaType::QString, QMetaType::QVariant,   25,    3,

 // properties: name, type, flags
      26, QMetaType::Bool, 0x00495103,
      27, QMetaType::QString, 0x00495001,
      28, QMetaType::Bool, 0x00495103,
      29, QMetaType::Int, 0x00495103,
      30, QMetaType::Int, 0x00495103,
      31, QMetaType::Bool, 0x00495001,
      32, QMetaType::Bool, 0x00495103,
      33, QMetaType::Bool, 0x00495103,
      34, QMetaType::Double, 0x00495103,
      35, QMetaType::Double, 0x00495103,
      36, QMetaType::Double, 0x00495103,
      37, QMetaType::Bool, 0x00495103,

 // properties: notify_signal_id
       0,
       1,
       2,
       3,
       4,
       5,
       6,
       7,
       8,
       9,
      10,
      11,

       0        // eod
};

void __Mouse::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<__Mouse *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->AdaptiveAccelProfileChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 1: _t->DeviceListChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->DisableTpadChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: _t->DoubleClickChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->DragThresholdChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 5: _t->ExistChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 6: _t->LeftHandedChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 7: _t->MiddleButtonEmulationChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 8: _t->MotionAccelerationChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 9: _t->MotionScalingChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 10: _t->MotionThresholdChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 11: _t->NaturalScrollChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 12: { QDBusPendingReply<> _r = _t->Reset();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 13: _t->ResetQueued(); break;
        case 14: _t->CallQueued((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QList<QVariant>(*)>(_a[2]))); break;
        case 15: _t->onPendingCallFinished((*reinterpret_cast< QDBusPendingCallWatcher*(*)>(_a[1]))); break;
        case 16: _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 15:
            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 (__Mouse::*)(bool ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Mouse::AdaptiveAccelProfileChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (__Mouse::*)(const QString & ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Mouse::DeviceListChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (__Mouse::*)(bool ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Mouse::DisableTpadChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (__Mouse::*)(int ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Mouse::DoubleClickChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (__Mouse::*)(int ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Mouse::DragThresholdChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (__Mouse::*)(bool ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Mouse::ExistChanged)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (__Mouse::*)(bool ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Mouse::LeftHandedChanged)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (__Mouse::*)(bool ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Mouse::MiddleButtonEmulationChanged)) {
                *result = 7;
                return;
            }
        }
        {
            using _t = void (__Mouse::*)(double ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Mouse::MotionAccelerationChanged)) {
                *result = 8;
                return;
            }
        }
        {
            using _t = void (__Mouse::*)(double ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Mouse::MotionScalingChanged)) {
                *result = 9;
                return;
            }
        }
        {
            using _t = void (__Mouse::*)(double ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Mouse::MotionThresholdChanged)) {
                *result = 10;
                return;
            }
        }
        {
            using _t = void (__Mouse::*)(bool ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Mouse::NaturalScrollChanged)) {
                *result = 11;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<__Mouse *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->adaptiveAccelProfile(); break;
        case 1: *reinterpret_cast< QString*>(_v) = _t->deviceList(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->disableTpad(); break;
        case 3: *reinterpret_cast< int*>(_v) = _t->doubleClick(); break;
        case 4: *reinterpret_cast< int*>(_v) = _t->dragThreshold(); break;
        case 5: *reinterpret_cast< bool*>(_v) = _t->exist(); break;
        case 6: *reinterpret_cast< bool*>(_v) = _t->leftHanded(); break;
        case 7: *reinterpret_cast< bool*>(_v) = _t->middleButtonEmulation(); break;
        case 8: *reinterpret_cast< double*>(_v) = _t->motionAcceleration(); break;
        case 9: *reinterpret_cast< double*>(_v) = _t->motionScaling(); break;
        case 10: *reinterpret_cast< double*>(_v) = _t->motionThreshold(); break;
        case 11: *reinterpret_cast< bool*>(_v) = _t->naturalScroll(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<__Mouse *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setAdaptiveAccelProfile(*reinterpret_cast< bool*>(_v)); break;
        case 2: _t->setDisableTpad(*reinterpret_cast< bool*>(_v)); break;
        case 3: _t->setDoubleClick(*reinterpret_cast< int*>(_v)); break;
        case 4: _t->setDragThreshold(*reinterpret_cast< int*>(_v)); break;
        case 6: _t->setLeftHanded(*reinterpret_cast< bool*>(_v)); break;
        case 7: _t->setMiddleButtonEmulation(*reinterpret_cast< bool*>(_v)); break;
        case 8: _t->setMotionAcceleration(*reinterpret_cast< double*>(_v)); break;
        case 9: _t->setMotionScaling(*reinterpret_cast< double*>(_v)); break;
        case 10: _t->setMotionThreshold(*reinterpret_cast< double*>(_v)); break;
        case 11: _t->setNaturalScroll(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject __Mouse::staticMetaObject = { {
    QMetaObject::SuperData::link<DBusExtendedAbstractInterface::staticMetaObject>(),
    qt_meta_stringdata___Mouse.data,
    qt_meta_data___Mouse,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int __Mouse::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 < 17)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 17;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 17)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 17;
    }
#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 -= 12;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 12;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 12;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 12;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 12;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 12;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

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

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

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

// SIGNAL 4
void __Mouse::DragThresholdChanged(int _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __Mouse *>(this), &staticMetaObject, 4, _a);
}

// SIGNAL 5
void __Mouse::ExistChanged(bool _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __Mouse *>(this), &staticMetaObject, 5, _a);
}

// SIGNAL 6
void __Mouse::LeftHandedChanged(bool _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __Mouse *>(this), &staticMetaObject, 6, _a);
}

// SIGNAL 7
void __Mouse::MiddleButtonEmulationChanged(bool _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __Mouse *>(this), &staticMetaObject, 7, _a);
}

// SIGNAL 8
void __Mouse::MotionAccelerationChanged(double _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __Mouse *>(this), &staticMetaObject, 8, _a);
}

// SIGNAL 9
void __Mouse::MotionScalingChanged(double _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __Mouse *>(this), &staticMetaObject, 9, _a);
}

// SIGNAL 10
void __Mouse::MotionThresholdChanged(double _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __Mouse *>(this), &staticMetaObject, 10, _a);
}

// SIGNAL 11
void __Mouse::NaturalScrollChanged(bool _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __Mouse *>(this), &staticMetaObject, 11, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
