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

#include "../../../src/phonon-4.9.1/phonon/audiooutputadaptor_p.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'audiooutputadaptor_p.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.4. 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_Phonon__AudioOutputAdaptor_t {
    QByteArrayData data[21];
    char stringdata0[1362];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Phonon__AudioOutputAdaptor_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Phonon__AudioOutputAdaptor_t qt_meta_stringdata_Phonon__AudioOutputAdaptor = {
    {
QT_MOC_LITERAL(0, 0, 26), // "Phonon::AudioOutputAdaptor"
QT_MOC_LITERAL(1, 27, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 43, 26), // "org.kde.Phonon.AudioOutput"
QT_MOC_LITERAL(3, 70, 19), // "D-Bus Introspection"
QT_MOC_LITERAL(4, 90, 1101), // "  <interface name=\"org.kde.P..."
QT_MOC_LITERAL(5, 1089, 12), // "mutedChanged"
QT_MOC_LITERAL(6, 1102, 0), // ""
QT_MOC_LITERAL(7, 1103, 3), // "in0"
QT_MOC_LITERAL(8, 1107, 11), // "nameChanged"
QT_MOC_LITERAL(9, 1119, 7), // "newName"
QT_MOC_LITERAL(10, 1127, 18), // "newOutputAvailable"
QT_MOC_LITERAL(11, 1146, 7), // "service"
QT_MOC_LITERAL(12, 1154, 4), // "path"
QT_MOC_LITERAL(13, 1159, 15), // "outputDestroyed"
QT_MOC_LITERAL(14, 1175, 24), // "outputDeviceIndexChanged"
QT_MOC_LITERAL(15, 1200, 13), // "volumeChanged"
QT_MOC_LITERAL(16, 1214, 8), // "category"
QT_MOC_LITERAL(17, 1223, 4), // "name"
QT_MOC_LITERAL(18, 1228, 5), // "muted"
QT_MOC_LITERAL(19, 1234, 17), // "outputDeviceIndex"
QT_MOC_LITERAL(20, 1252, 6) // "volume"

    },
    "Phonon::AudioOutputAdaptor\0D-Bus Interface\0"
    "org.kde.Phonon.AudioOutput\0"
    "D-Bus Introspection\0"
    "  <interface name=\"org.kde.Phonon.AudioOutput\" >\n    <property acce"
    "ss=\"readwrite\" type=\"d\" name=\"volume\" />\n    <property access=\""
    "readwrite\" type=\"b\" name=\"muted\" />\n    <property access=\"readw"
    "rite\" type=\"i\" name=\"outputDeviceIndex\" />\n    <signal name=\"vo"
    "lumeChanged\" >\n      <arg direction=\"out\" type=\"d\" />\n    </sig"
    "nal>\n    <signal name=\"mutedChanged\" >\n      <arg direction=\"out\""
    " type=\"b\" />\n    </signal>\n    <signal name=\"outputDeviceIndexCha"
    "nged\" >\n      <arg direction=\"out\" type=\"i\" />\n    </signal>\n "
    "   <signal name=\"nameChanged\" >\n      <arg direction=\"out\" type=\""
    "s\" name=\"newName\" />\n    </signal>\n    <signal name=\"newOutputAv"
    "ailable\" >\n      <arg direction=\"out\" type=\"s\" name=\"service\" "
    "/>\n      <arg direction=\"out\" type=\"s\" name=\"path\" />\n    </si"
    "gnal>\n    <signal name=\"outputDestroyed\" >\n    </signal>\n    <met"
    "hod name=\"category\" >\n      <arg direction=\"out\" type=\"s\" />\n "
    "   </method>\n    <method name=\"name\" >\n      <arg direction=\"out\""
    " type=\"s\" />\n    </method>\n  </interface>\n\0"
    "mutedChanged\0\0in0\0nameChanged\0newName\0"
    "newOutputAvailable\0service\0path\0"
    "outputDestroyed\0outputDeviceIndexChanged\0"
    "volumeChanged\0category\0name\0muted\0"
    "outputDeviceIndex\0volume"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Phonon__AudioOutputAdaptor[] = {

 // content:
       7,       // revision
       0,       // classname
       2,   14, // classinfo
       8,   18, // methods
       3,   78, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       6,       // signalCount

 // classinfo: key, value
       1,    2,
       3,    4,

 // signals: name, argc, parameters, tag, flags
       5,    1,   58,    6, 0x06 /* Public */,
       8,    1,   61,    6, 0x06 /* Public */,
      10,    2,   64,    6, 0x06 /* Public */,
      13,    0,   69,    6, 0x06 /* Public */,
      14,    1,   70,    6, 0x06 /* Public */,
      15,    1,   73,    6, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      16,    0,   76,    6, 0x0a /* Public */,
      17,    0,   77,    6, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::Bool,    7,
    QMetaType::Void, QMetaType::QString,    9,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,   11,   12,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    7,
    QMetaType::Void, QMetaType::QReal,    7,

 // slots: parameters
    QMetaType::QString,
    QMetaType::QString,

 // properties: name, type, flags
      18, QMetaType::Bool, 0x00095103,
      19, QMetaType::Int, 0x00095103,
      20, QMetaType::Double, 0x00095103,

       0        // eod
};

void Phonon::AudioOutputAdaptor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        AudioOutputAdaptor *_t = static_cast<AudioOutputAdaptor *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->mutedChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 1: _t->nameChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->newOutputAvailable((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 3: _t->outputDestroyed(); break;
        case 4: _t->outputDeviceIndexChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 5: _t->volumeChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break;
        case 6: { QString _r = _t->category();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 7: { QString _r = _t->name();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (AudioOutputAdaptor::*_t)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioOutputAdaptor::mutedChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (AudioOutputAdaptor::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioOutputAdaptor::nameChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (AudioOutputAdaptor::*_t)(const QString & , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioOutputAdaptor::newOutputAvailable)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (AudioOutputAdaptor::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioOutputAdaptor::outputDestroyed)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (AudioOutputAdaptor::*_t)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioOutputAdaptor::outputDeviceIndexChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (AudioOutputAdaptor::*_t)(qreal );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioOutputAdaptor::volumeChanged)) {
                *result = 5;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        AudioOutputAdaptor *_t = static_cast<AudioOutputAdaptor *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->muted(); break;
        case 1: *reinterpret_cast< int*>(_v) = _t->outputDeviceIndex(); break;
        case 2: *reinterpret_cast< double*>(_v) = _t->volume(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        AudioOutputAdaptor *_t = static_cast<AudioOutputAdaptor *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setMuted(*reinterpret_cast< bool*>(_v)); break;
        case 1: _t->setOutputDeviceIndex(*reinterpret_cast< int*>(_v)); break;
        case 2: _t->setVolume(*reinterpret_cast< double*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject Phonon::AudioOutputAdaptor::staticMetaObject = {
    { &QDBusAbstractAdaptor::staticMetaObject, qt_meta_stringdata_Phonon__AudioOutputAdaptor.data,
      qt_meta_data_Phonon__AudioOutputAdaptor,  qt_static_metacall, nullptr, nullptr}
};


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

void *Phonon::AudioOutputAdaptor::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Phonon__AudioOutputAdaptor.stringdata0))
        return static_cast<void*>(this);
    return QDBusAbstractAdaptor::qt_metacast(_clname);
}

int Phonon::AudioOutputAdaptor::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDBusAbstractAdaptor::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 8)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 8;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 8)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 8;
    }
#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 Phonon::AudioOutputAdaptor::mutedChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

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

// SIGNAL 2
void Phonon::AudioOutputAdaptor::newOutputAvailable(const QString & _t1, const QString & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void Phonon::AudioOutputAdaptor::outputDestroyed()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

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

// SIGNAL 5
void Phonon::AudioOutputAdaptor::volumeChanged(qreal _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
