/****************************************************************************
** Meta object code from reading C++ file 'com_deepin_daemon_miracast.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_miracast.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_miracast.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___Miracast_t {
    QByteArrayData data[30];
    char stringdata0[340];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata___Miracast_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata___Miracast_t qt_meta_stringdata___Miracast = {
    {
QT_MOC_LITERAL(0, 0, 10), // "__Miracast"
QT_MOC_LITERAL(1, 11, 5), // "Added"
QT_MOC_LITERAL(2, 17, 0), // ""
QT_MOC_LITERAL(3, 18, 15), // "QDBusObjectPath"
QT_MOC_LITERAL(4, 34, 3), // "in0"
QT_MOC_LITERAL(5, 38, 3), // "in1"
QT_MOC_LITERAL(6, 42, 5), // "Event"
QT_MOC_LITERAL(7, 48, 7), // "Removed"
QT_MOC_LITERAL(8, 56, 7), // "Connect"
QT_MOC_LITERAL(9, 64, 19), // "QDBusPendingReply<>"
QT_MOC_LITERAL(10, 84, 3), // "in2"
QT_MOC_LITERAL(11, 88, 3), // "in3"
QT_MOC_LITERAL(12, 92, 3), // "in4"
QT_MOC_LITERAL(13, 96, 13), // "ConnectQueued"
QT_MOC_LITERAL(14, 110, 10), // "Disconnect"
QT_MOC_LITERAL(15, 121, 16), // "DisconnectQueued"
QT_MOC_LITERAL(16, 138, 6), // "Enable"
QT_MOC_LITERAL(17, 145, 12), // "EnableQueued"
QT_MOC_LITERAL(18, 158, 9), // "ListLinks"
QT_MOC_LITERAL(19, 168, 31), // "QDBusPendingReply<LinkInfoList>"
QT_MOC_LITERAL(20, 200, 9), // "ListSinks"
QT_MOC_LITERAL(21, 210, 31), // "QDBusPendingReply<SinkInfoList>"
QT_MOC_LITERAL(22, 242, 8), // "Scanning"
QT_MOC_LITERAL(23, 251, 14), // "ScanningQueued"
QT_MOC_LITERAL(24, 266, 10), // "CallQueued"
QT_MOC_LITERAL(25, 277, 8), // "callName"
QT_MOC_LITERAL(26, 286, 4), // "args"
QT_MOC_LITERAL(27, 291, 21), // "onPendingCallFinished"
QT_MOC_LITERAL(28, 313, 24), // "QDBusPendingCallWatcher*"
QT_MOC_LITERAL(29, 338, 1) // "w"

    },
    "__Miracast\0Added\0\0QDBusObjectPath\0in0\0"
    "in1\0Event\0Removed\0Connect\0QDBusPendingReply<>\0"
    "in2\0in3\0in4\0ConnectQueued\0Disconnect\0"
    "DisconnectQueued\0Enable\0EnableQueued\0"
    "ListLinks\0QDBusPendingReply<LinkInfoList>\0"
    "ListSinks\0QDBusPendingReply<SinkInfoList>\0"
    "Scanning\0ScanningQueued\0CallQueued\0"
    "callName\0args\0onPendingCallFinished\0"
    "QDBusPendingCallWatcher*\0w"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data___Miracast[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   89,    2, 0x06 /* Public */,
       6,    2,   94,    2, 0x06 /* Public */,
       7,    2,   99,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    5,  104,    2, 0x0a /* Public */,
      13,    5,  115,    2, 0x0a /* Public */,
      14,    1,  126,    2, 0x0a /* Public */,
      15,    1,  129,    2, 0x0a /* Public */,
      16,    2,  132,    2, 0x0a /* Public */,
      17,    2,  137,    2, 0x0a /* Public */,
      18,    0,  142,    2, 0x0a /* Public */,
      20,    0,  143,    2, 0x0a /* Public */,
      22,    2,  144,    2, 0x0a /* Public */,
      23,    2,  149,    2, 0x0a /* Public */,
      24,    2,  154,    2, 0x0a /* Public */,
      27,    1,  159,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, QMetaType::QString,    4,    5,
    QMetaType::Void, QMetaType::UChar, 0x80000000 | 3,    4,    5,
    QMetaType::Void, 0x80000000 | 3, QMetaType::QString,    4,    5,

 // slots: parameters
    0x80000000 | 9, 0x80000000 | 3, QMetaType::UInt, QMetaType::UInt, QMetaType::UInt, QMetaType::UInt,    4,    5,   10,   11,   12,
    QMetaType::Void, 0x80000000 | 3, QMetaType::UInt, QMetaType::UInt, QMetaType::UInt, QMetaType::UInt,    4,    5,   10,   11,   12,
    0x80000000 | 9, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    4,
    0x80000000 | 9, 0x80000000 | 3, QMetaType::Bool,    4,    5,
    QMetaType::Void, 0x80000000 | 3, QMetaType::Bool,    4,    5,
    0x80000000 | 19,
    0x80000000 | 21,
    0x80000000 | 9, 0x80000000 | 3, QMetaType::Bool,    4,    5,
    QMetaType::Void, 0x80000000 | 3, QMetaType::Bool,    4,    5,
    QMetaType::Void, QMetaType::QString, QMetaType::QVariantList,   25,   26,
    QMetaType::Void, 0x80000000 | 28,   29,

       0        // eod
};

void __Miracast::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<__Miracast *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->Added((*reinterpret_cast< const QDBusObjectPath(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 1: _t->Event((*reinterpret_cast< uchar(*)>(_a[1])),(*reinterpret_cast< const QDBusObjectPath(*)>(_a[2]))); break;
        case 2: _t->Removed((*reinterpret_cast< const QDBusObjectPath(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 3: { QDBusPendingReply<> _r = _t->Connect((*reinterpret_cast< const QDBusObjectPath(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3])),(*reinterpret_cast< uint(*)>(_a[4])),(*reinterpret_cast< uint(*)>(_a[5])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 4: _t->ConnectQueued((*reinterpret_cast< const QDBusObjectPath(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3])),(*reinterpret_cast< uint(*)>(_a[4])),(*reinterpret_cast< uint(*)>(_a[5]))); break;
        case 5: { QDBusPendingReply<> _r = _t->Disconnect((*reinterpret_cast< const QDBusObjectPath(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 6: _t->DisconnectQueued((*reinterpret_cast< const QDBusObjectPath(*)>(_a[1]))); break;
        case 7: { QDBusPendingReply<> _r = _t->Enable((*reinterpret_cast< const QDBusObjectPath(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 8: _t->EnableQueued((*reinterpret_cast< const QDBusObjectPath(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 9: { QDBusPendingReply<LinkInfoList> _r = _t->ListLinks();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<LinkInfoList>*>(_a[0]) = std::move(_r); }  break;
        case 10: { QDBusPendingReply<SinkInfoList> _r = _t->ListSinks();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<SinkInfoList>*>(_a[0]) = std::move(_r); }  break;
        case 11: { QDBusPendingReply<> _r = _t->Scanning((*reinterpret_cast< const QDBusObjectPath(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 12: _t->ScanningQueued((*reinterpret_cast< const QDBusObjectPath(*)>(_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;
        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 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDBusObjectPath >(); break;
            }
            break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDBusObjectPath >(); break;
            }
            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< QDBusObjectPath >(); break;
            }
            break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDBusObjectPath >(); break;
            }
            break;
        case 4:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDBusObjectPath >(); break;
            }
            break;
        case 5:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDBusObjectPath >(); break;
            }
            break;
        case 6:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDBusObjectPath >(); break;
            }
            break;
        case 7:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDBusObjectPath >(); break;
            }
            break;
        case 8:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDBusObjectPath >(); break;
            }
            break;
        case 11:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDBusObjectPath >(); break;
            }
            break;
        case 12:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDBusObjectPath >(); 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 (__Miracast::*)(const QDBusObjectPath & , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Miracast::Added)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (__Miracast::*)(uchar , const QDBusObjectPath & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Miracast::Event)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (__Miracast::*)(const QDBusObjectPath & , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Miracast::Removed)) {
                *result = 2;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject __Miracast::staticMetaObject = { {
    QMetaObject::SuperData::link<DBusExtendedAbstractInterface::staticMetaObject>(),
    qt_meta_stringdata___Miracast.data,
    qt_meta_data___Miracast,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int __Miracast::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 < 15)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 15;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 15)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 15;
    }
    return _id;
}

// SIGNAL 0
void __Miracast::Added(const QDBusObjectPath & _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, 0, _a);
}

// SIGNAL 1
void __Miracast::Event(uchar _t1, const QDBusObjectPath & _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, 1, _a);
}

// SIGNAL 2
void __Miracast::Removed(const QDBusObjectPath & _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, 2, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
