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

#include "../src/kmix-17.08.3/backends/mixer_mpris2.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'mixer_mpris2.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 63
#error "This file was generated using the moc from 4.8.7. 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
static const uint qt_meta_data_MPrisControl[] = {

 // content:
       6,       // revision
       0,       // classname
       0,    0, // classinfo
       4,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       2,       // signalCount

 // signals: signature, parameters, type, tag, flags
      19,   14,   13,   13, 0x05,
      55,   14,   13,   13, 0x05,

 // slots: signature, parameters, type, tag, flags
     122,  118,   13,   13, 0x0a,
     159,  156,   13,   13, 0x0a,

       0        // eod
};

static const char qt_meta_stringdata_MPrisControl[] = {
    "MPrisControl\0\0mad,\0"
    "volumeChanged(MPrisControl*,double)\0"
    "playbackStateChanged(MPrisControl*,MediaController::PlayState)\0"
    "msg\0trackChangedIncoming(QVariantMap)\0"
    ",,\0onPropertyChange(QString,QVariantMap,QStringList)\0"
};

void MPrisControl::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        MPrisControl *_t = static_cast<MPrisControl *>(_o);
        switch (_id) {
        case 0: _t->volumeChanged((*reinterpret_cast< MPrisControl*(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break;
        case 1: _t->playbackStateChanged((*reinterpret_cast< MPrisControl*(*)>(_a[1])),(*reinterpret_cast< MediaController::PlayState(*)>(_a[2]))); break;
        case 2: _t->trackChangedIncoming((*reinterpret_cast< QVariantMap(*)>(_a[1]))); break;
        case 3: _t->onPropertyChange((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QVariantMap(*)>(_a[2])),(*reinterpret_cast< QStringList(*)>(_a[3]))); break;
        default: ;
        }
    }
}

const QMetaObjectExtraData MPrisControl::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject MPrisControl::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_MPrisControl,
      qt_meta_data_MPrisControl, &staticMetaObjectExtraData }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &MPrisControl::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

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

void *MPrisControl::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_MPrisControl))
        return static_cast<void*>(const_cast< MPrisControl*>(this));
    return QObject::qt_metacast(_clname);
}

int MPrisControl::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 4)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    }
    return _id;
}

// SIGNAL 0
void MPrisControl::volumeChanged(MPrisControl * _t1, double _t2)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void MPrisControl::playbackStateChanged(MPrisControl * _t1, MediaController::PlayState _t2)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
static const uint qt_meta_data_Mixer_MPRIS2[] = {

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

 // slots: signature, parameters, type, tag, flags
      19,   14,   13,   13, 0x0a,
      55,   14,   13,   13, 0x0a,
     141,  118,   13,   13, 0x0a,
     186,  181,   13,   13, 0x0a,
     225,  216,   13,   13, 0x0a,
     259,   13,   13,   13, 0x08,
     281,   13,   13,   13, 0x08,
     295,   13,   13,   13, 0x08,
     320,  312,   13,   13, 0x08,
     366,  312,   13,   13, 0x08,
     413,  312,   13,   13, 0x08,
     460,  312,   13,   13, 0x08,

       0        // eod
};

static const char qt_meta_stringdata_Mixer_MPRIS2[] = {
    "Mixer_MPRIS2\0\0mad,\0"
    "volumeChanged(MPrisControl*,double)\0"
    "playbackStateChanged(MPrisControl*,MediaController::PlayState)\0"
    "name,oldOwner,newOwner\0"
    "newMediaPlayer(QString,QString,QString)\0"
    "arg1\0addMprisControlAsync(QString)\0"
    "streamId\0announceControlListAsync(QString)\0"
    "announceControlList()\0announceGUI()\0"
    "announceVolume()\0watcher\0"
    "watcherMediaControl(QDBusPendingCallWatcher*)\0"
    "watcherPlugControlId(QDBusPendingCallWatcher*)\0"
    "watcherInitialVolume(QDBusPendingCallWatcher*)\0"
    "watcherInitialPlayState(QDBusPendingCallWatcher*)\0"
};

void Mixer_MPRIS2::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        Mixer_MPRIS2 *_t = static_cast<Mixer_MPRIS2 *>(_o);
        switch (_id) {
        case 0: _t->volumeChanged((*reinterpret_cast< MPrisControl*(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break;
        case 1: _t->playbackStateChanged((*reinterpret_cast< MPrisControl*(*)>(_a[1])),(*reinterpret_cast< MediaController::PlayState(*)>(_a[2]))); break;
        case 2: _t->newMediaPlayer((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< QString(*)>(_a[3]))); break;
        case 3: _t->addMprisControlAsync((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 4: _t->announceControlListAsync((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 5: _t->announceControlList(); break;
        case 6: _t->announceGUI(); break;
        case 7: _t->announceVolume(); break;
        case 8: _t->watcherMediaControl((*reinterpret_cast< QDBusPendingCallWatcher*(*)>(_a[1]))); break;
        case 9: _t->watcherPlugControlId((*reinterpret_cast< QDBusPendingCallWatcher*(*)>(_a[1]))); break;
        case 10: _t->watcherInitialVolume((*reinterpret_cast< QDBusPendingCallWatcher*(*)>(_a[1]))); break;
        case 11: _t->watcherInitialPlayState((*reinterpret_cast< QDBusPendingCallWatcher*(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObjectExtraData Mixer_MPRIS2::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject Mixer_MPRIS2::staticMetaObject = {
    { &Mixer_Backend::staticMetaObject, qt_meta_stringdata_Mixer_MPRIS2,
      qt_meta_data_Mixer_MPRIS2, &staticMetaObjectExtraData }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &Mixer_MPRIS2::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

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

void *Mixer_MPRIS2::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_Mixer_MPRIS2))
        return static_cast<void*>(const_cast< Mixer_MPRIS2*>(this));
    return Mixer_Backend::qt_metacast(_clname);
}

int Mixer_MPRIS2::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Mixer_Backend::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    }
    return _id;
}
QT_END_MOC_NAMESPACE
