/****************************************************************************
** Meta object code from reading C++ file 'com_deepin_api_soundthemeplayer.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_api_soundthemeplayer.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'com_deepin_api_soundthemeplayer.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___SoundThemePlayer_t {
    QByteArrayData data[30];
    char stringdata0[433];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata___SoundThemePlayer_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata___SoundThemePlayer_t qt_meta_stringdata___SoundThemePlayer = {
    {
QT_MOC_LITERAL(0, 0, 18), // "__SoundThemePlayer"
QT_MOC_LITERAL(1, 19, 11), // "EnableSound"
QT_MOC_LITERAL(2, 31, 19), // "QDBusPendingReply<>"
QT_MOC_LITERAL(3, 51, 0), // ""
QT_MOC_LITERAL(4, 52, 4), // "name"
QT_MOC_LITERAL(5, 57, 7), // "enabled"
QT_MOC_LITERAL(6, 65, 17), // "EnableSoundQueued"
QT_MOC_LITERAL(7, 83, 23), // "EnableSoundDesktopLogin"
QT_MOC_LITERAL(8, 107, 29), // "EnableSoundDesktopLoginQueued"
QT_MOC_LITERAL(9, 137, 4), // "Play"
QT_MOC_LITERAL(10, 142, 5), // "theme"
QT_MOC_LITERAL(11, 148, 5), // "event"
QT_MOC_LITERAL(12, 154, 6), // "device"
QT_MOC_LITERAL(13, 161, 10), // "PlayQueued"
QT_MOC_LITERAL(14, 172, 21), // "PlaySoundDesktopLogin"
QT_MOC_LITERAL(15, 194, 27), // "PlaySoundDesktopLoginQueued"
QT_MOC_LITERAL(16, 222, 20), // "PrepareShutdownSound"
QT_MOC_LITERAL(17, 243, 3), // "uid"
QT_MOC_LITERAL(18, 247, 26), // "PrepareShutdownSoundQueued"
QT_MOC_LITERAL(19, 274, 14), // "SaveAudioState"
QT_MOC_LITERAL(20, 289, 14), // "avtivePlayback"
QT_MOC_LITERAL(21, 304, 20), // "SaveAudioStateQueued"
QT_MOC_LITERAL(22, 325, 13), // "SetSoundTheme"
QT_MOC_LITERAL(23, 339, 19), // "SetSoundThemeQueued"
QT_MOC_LITERAL(24, 359, 10), // "CallQueued"
QT_MOC_LITERAL(25, 370, 8), // "callName"
QT_MOC_LITERAL(26, 379, 4), // "args"
QT_MOC_LITERAL(27, 384, 21), // "onPendingCallFinished"
QT_MOC_LITERAL(28, 406, 24), // "QDBusPendingCallWatcher*"
QT_MOC_LITERAL(29, 431, 1) // "w"

    },
    "__SoundThemePlayer\0EnableSound\0"
    "QDBusPendingReply<>\0\0name\0enabled\0"
    "EnableSoundQueued\0EnableSoundDesktopLogin\0"
    "EnableSoundDesktopLoginQueued\0Play\0"
    "theme\0event\0device\0PlayQueued\0"
    "PlaySoundDesktopLogin\0PlaySoundDesktopLoginQueued\0"
    "PrepareShutdownSound\0uid\0"
    "PrepareShutdownSoundQueued\0SaveAudioState\0"
    "avtivePlayback\0SaveAudioStateQueued\0"
    "SetSoundTheme\0SetSoundThemeQueued\0"
    "CallQueued\0callName\0args\0onPendingCallFinished\0"
    "QDBusPendingCallWatcher*\0w"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data___SoundThemePlayer[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    2,   94,    3, 0x0a /* Public */,
       6,    2,   99,    3, 0x0a /* Public */,
       7,    1,  104,    3, 0x0a /* Public */,
       8,    1,  107,    3, 0x0a /* Public */,
       9,    3,  110,    3, 0x0a /* Public */,
      13,    3,  117,    3, 0x0a /* Public */,
      14,    0,  124,    3, 0x0a /* Public */,
      15,    0,  125,    3, 0x0a /* Public */,
      16,    1,  126,    3, 0x0a /* Public */,
      18,    1,  129,    3, 0x0a /* Public */,
      19,    1,  132,    3, 0x0a /* Public */,
      21,    1,  135,    3, 0x0a /* Public */,
      22,    1,  138,    3, 0x0a /* Public */,
      23,    1,  141,    3, 0x0a /* Public */,
      24,    2,  144,    3, 0x0a /* Public */,
      27,    1,  149,    3, 0x08 /* Private */,

 // slots: parameters
    0x80000000 | 2, QMetaType::QString, QMetaType::Bool,    4,    5,
    QMetaType::Void, QMetaType::QString, QMetaType::Bool,    4,    5,
    0x80000000 | 2, QMetaType::Bool,    5,
    QMetaType::Void, QMetaType::Bool,    5,
    0x80000000 | 2, QMetaType::QString, QMetaType::QString, QMetaType::QString,   10,   11,   12,
    QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::QString,   10,   11,   12,
    0x80000000 | 2,
    QMetaType::Void,
    0x80000000 | 2, QMetaType::Int,   17,
    QMetaType::Void, QMetaType::Int,   17,
    0x80000000 | 2, QMetaType::QVariantMap,   20,
    QMetaType::Void, QMetaType::QVariantMap,   20,
    0x80000000 | 2, QMetaType::QString,   10,
    QMetaType::Void, QMetaType::QString,   10,
    QMetaType::Void, QMetaType::QString, QMetaType::QVariantList,   25,   26,
    QMetaType::Void, 0x80000000 | 28,   29,

       0        // eod
};

void __SoundThemePlayer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<__SoundThemePlayer *>(_o);
        (void)_t;
        switch (_id) {
        case 0: { QDBusPendingReply<> _r = _t->EnableSound((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 1: _t->EnableSoundQueued((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 2: { QDBusPendingReply<> _r = _t->EnableSoundDesktopLogin((*reinterpret_cast< bool(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 3: _t->EnableSoundDesktopLoginQueued((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 4: { QDBusPendingReply<> _r = _t->Play((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 5: _t->PlayQueued((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 6: { QDBusPendingReply<> _r = _t->PlaySoundDesktopLogin();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 7: _t->PlaySoundDesktopLoginQueued(); break;
        case 8: { QDBusPendingReply<> _r = _t->PrepareShutdownSound((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 9: _t->PrepareShutdownSoundQueued((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 10: { QDBusPendingReply<> _r = _t->SaveAudioState((*reinterpret_cast< const QVariantMap(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 11: _t->SaveAudioStateQueued((*reinterpret_cast< const QVariantMap(*)>(_a[1]))); break;
        case 12: { QDBusPendingReply<> _r = _t->SetSoundTheme((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 13: _t->SetSoundThemeQueued((*reinterpret_cast< const QString(*)>(_a[1]))); 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;
        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;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject __SoundThemePlayer::staticMetaObject = { {
    QMetaObject::SuperData::link<DBusExtendedAbstractInterface::staticMetaObject>(),
    qt_meta_stringdata___SoundThemePlayer.data,
    qt_meta_data___SoundThemePlayer,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int __SoundThemePlayer::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;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
