/****************************************************************************
** Meta object code from reading C++ file 'com_deepin_dde_launcher.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_dde_launcher.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'com_deepin_dde_launcher.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___Launcher_t {
    QByteArrayData data[33];
    char stringdata0[356];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata___Launcher_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata___Launcher_t qt_meta_stringdata___Launcher = {
    {
QT_MOC_LITERAL(0, 0, 10), // "__Launcher"
QT_MOC_LITERAL(1, 11, 6), // "Closed"
QT_MOC_LITERAL(2, 18, 0), // ""
QT_MOC_LITERAL(3, 19, 5), // "Shown"
QT_MOC_LITERAL(4, 25, 14), // "VisibleChanged"
QT_MOC_LITERAL(5, 40, 7), // "visible"
QT_MOC_LITERAL(6, 48, 5), // "value"
QT_MOC_LITERAL(7, 54, 4), // "Exit"
QT_MOC_LITERAL(8, 59, 19), // "QDBusPendingReply<>"
QT_MOC_LITERAL(9, 79, 10), // "ExitQueued"
QT_MOC_LITERAL(10, 90, 4), // "Hide"
QT_MOC_LITERAL(11, 95, 10), // "HideQueued"
QT_MOC_LITERAL(12, 106, 9), // "IsVisible"
QT_MOC_LITERAL(13, 116, 23), // "QDBusPendingReply<bool>"
QT_MOC_LITERAL(14, 140, 4), // "Show"
QT_MOC_LITERAL(15, 145, 10), // "ShowQueued"
QT_MOC_LITERAL(16, 156, 10), // "ShowByMode"
QT_MOC_LITERAL(17, 167, 3), // "in0"
QT_MOC_LITERAL(18, 171, 16), // "ShowByModeQueued"
QT_MOC_LITERAL(19, 188, 6), // "Toggle"
QT_MOC_LITERAL(20, 195, 12), // "ToggleQueued"
QT_MOC_LITERAL(21, 208, 12), // "UninstallApp"
QT_MOC_LITERAL(22, 221, 6), // "appKey"
QT_MOC_LITERAL(23, 228, 18), // "UninstallAppQueued"
QT_MOC_LITERAL(24, 247, 10), // "CallQueued"
QT_MOC_LITERAL(25, 258, 8), // "callName"
QT_MOC_LITERAL(26, 267, 4), // "args"
QT_MOC_LITERAL(27, 272, 21), // "onPendingCallFinished"
QT_MOC_LITERAL(28, 294, 24), // "QDBusPendingCallWatcher*"
QT_MOC_LITERAL(29, 319, 1), // "w"
QT_MOC_LITERAL(30, 321, 17), // "onPropertyChanged"
QT_MOC_LITERAL(31, 339, 8), // "propName"
QT_MOC_LITERAL(32, 348, 7) // "Visible"

    },
    "__Launcher\0Closed\0\0Shown\0VisibleChanged\0"
    "visible\0value\0Exit\0QDBusPendingReply<>\0"
    "ExitQueued\0Hide\0HideQueued\0IsVisible\0"
    "QDBusPendingReply<bool>\0Show\0ShowQueued\0"
    "ShowByMode\0in0\0ShowByModeQueued\0Toggle\0"
    "ToggleQueued\0UninstallApp\0appKey\0"
    "UninstallAppQueued\0CallQueued\0callName\0"
    "args\0onPendingCallFinished\0"
    "QDBusPendingCallWatcher*\0w\0onPropertyChanged\0"
    "propName\0Visible"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data___Launcher[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,  114,    2, 0x06 /* Public */,
       3,    0,  115,    2, 0x06 /* Public */,
       4,    1,  116,    2, 0x06 /* Public */,
       4,    1,  119,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       7,    0,  122,    2, 0x0a /* Public */,
       9,    0,  123,    2, 0x0a /* Public */,
      10,    0,  124,    2, 0x0a /* Public */,
      11,    0,  125,    2, 0x0a /* Public */,
      12,    0,  126,    2, 0x0a /* Public */,
      14,    0,  127,    2, 0x0a /* Public */,
      15,    0,  128,    2, 0x0a /* Public */,
      16,    1,  129,    2, 0x0a /* Public */,
      18,    1,  132,    2, 0x0a /* Public */,
      19,    0,  135,    2, 0x0a /* Public */,
      20,    0,  136,    2, 0x0a /* Public */,
      21,    1,  137,    2, 0x0a /* Public */,
      23,    1,  140,    2, 0x0a /* Public */,
      24,    2,  143,    2, 0x0a /* Public */,
      27,    1,  148,    2, 0x08 /* Private */,
      30,    2,  151,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    5,
    QMetaType::Void, QMetaType::Bool,    6,

 // slots: parameters
    0x80000000 | 8,
    QMetaType::Void,
    0x80000000 | 8,
    QMetaType::Void,
    0x80000000 | 13,
    0x80000000 | 8,
    QMetaType::Void,
    0x80000000 | 8, QMetaType::LongLong,   17,
    QMetaType::Void, QMetaType::LongLong,   17,
    0x80000000 | 8,
    QMetaType::Void,
    0x80000000 | 8, QMetaType::QString,   22,
    QMetaType::Void, QMetaType::QString,   22,
    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::Bool, 0x00495001,

 // properties: notify_signal_id
       2,

       0        // eod
};

void __Launcher::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<__Launcher *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->Closed(); break;
        case 1: _t->Shown(); break;
        case 2: _t->VisibleChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: _t->VisibleChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 4: { QDBusPendingReply<> _r = _t->Exit();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 5: _t->ExitQueued(); break;
        case 6: { QDBusPendingReply<> _r = _t->Hide();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 7: _t->HideQueued(); break;
        case 8: { QDBusPendingReply<bool> _r = _t->IsVisible();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<bool>*>(_a[0]) = std::move(_r); }  break;
        case 9: { QDBusPendingReply<> _r = _t->Show();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 10: _t->ShowQueued(); break;
        case 11: { QDBusPendingReply<> _r = _t->ShowByMode((*reinterpret_cast< qlonglong(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 12: _t->ShowByModeQueued((*reinterpret_cast< qlonglong(*)>(_a[1]))); break;
        case 13: { QDBusPendingReply<> _r = _t->Toggle();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 14: _t->ToggleQueued(); break;
        case 15: { QDBusPendingReply<> _r = _t->UninstallApp((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 16: _t->UninstallAppQueued((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 17: _t->CallQueued((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QList<QVariant>(*)>(_a[2]))); break;
        case 18: _t->onPendingCallFinished((*reinterpret_cast< QDBusPendingCallWatcher*(*)>(_a[1]))); break;
        case 19: _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 18:
            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 (__Launcher::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Launcher::Closed)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (__Launcher::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Launcher::Shown)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (__Launcher::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Launcher::VisibleChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (__Launcher::*)(bool ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Launcher::VisibleChanged)) {
                *result = 3;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<__Launcher *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->visible(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject __Launcher::staticMetaObject = { {
    QMetaObject::SuperData::link<DBusExtendedAbstractInterface::staticMetaObject>(),
    qt_meta_stringdata___Launcher.data,
    qt_meta_data___Launcher,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

// SIGNAL 0
void __Launcher::Closed()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void __Launcher::Shown()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

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

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