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

#include "../../../../../src/qmmp-1.1.12/src/plugins/General/mpris/mpris2/player2object.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'player2object.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.2. 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_Player2Object_t {
    QByteArrayData data[48];
    char stringdata0[482];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Player2Object_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Player2Object_t qt_meta_stringdata_Player2Object = {
    {
QT_MOC_LITERAL(0, 0, 13), // "Player2Object"
QT_MOC_LITERAL(1, 14, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 30, 29), // "org.mpris.MediaPlayer2.Player"
QT_MOC_LITERAL(3, 60, 6), // "Seeked"
QT_MOC_LITERAL(4, 67, 0), // ""
QT_MOC_LITERAL(5, 68, 8), // "Position"
QT_MOC_LITERAL(6, 77, 4), // "Next"
QT_MOC_LITERAL(7, 82, 7), // "OpenUri"
QT_MOC_LITERAL(8, 90, 3), // "in0"
QT_MOC_LITERAL(9, 94, 5), // "Pause"
QT_MOC_LITERAL(10, 100, 4), // "Play"
QT_MOC_LITERAL(11, 105, 9), // "PlayPause"
QT_MOC_LITERAL(12, 115, 8), // "Previous"
QT_MOC_LITERAL(13, 124, 4), // "Seek"
QT_MOC_LITERAL(14, 129, 6), // "Offset"
QT_MOC_LITERAL(15, 136, 11), // "SetPosition"
QT_MOC_LITERAL(16, 148, 15), // "QDBusObjectPath"
QT_MOC_LITERAL(17, 164, 7), // "TrackId"
QT_MOC_LITERAL(18, 172, 4), // "Stop"
QT_MOC_LITERAL(19, 177, 21), // "emitPropertiesChanged"
QT_MOC_LITERAL(20, 199, 8), // "updateId"
QT_MOC_LITERAL(21, 208, 10), // "checkState"
QT_MOC_LITERAL(22, 219, 11), // "Qmmp::State"
QT_MOC_LITERAL(23, 231, 5), // "state"
QT_MOC_LITERAL(24, 237, 12), // "checkSeeking"
QT_MOC_LITERAL(25, 250, 7), // "elapsed"
QT_MOC_LITERAL(26, 258, 9), // "playTrack"
QT_MOC_LITERAL(27, 268, 14), // "PlayListTrack*"
QT_MOC_LITERAL(28, 283, 4), // "item"
QT_MOC_LITERAL(29, 288, 12), // "disconnectPl"
QT_MOC_LITERAL(30, 301, 8), // "setModel"
QT_MOC_LITERAL(31, 310, 14), // "PlayListModel*"
QT_MOC_LITERAL(32, 325, 8), // "selected"
QT_MOC_LITERAL(33, 334, 8), // "previous"
QT_MOC_LITERAL(34, 343, 10), // "CanControl"
QT_MOC_LITERAL(35, 354, 9), // "CanGoNext"
QT_MOC_LITERAL(36, 364, 13), // "CanGoPrevious"
QT_MOC_LITERAL(37, 378, 8), // "CanPause"
QT_MOC_LITERAL(38, 387, 7), // "CanPlay"
QT_MOC_LITERAL(39, 395, 7), // "CanSeek"
QT_MOC_LITERAL(40, 403, 10), // "LoopStatus"
QT_MOC_LITERAL(41, 414, 11), // "MaximumRate"
QT_MOC_LITERAL(42, 426, 8), // "Metadata"
QT_MOC_LITERAL(43, 435, 11), // "MinimumRate"
QT_MOC_LITERAL(44, 447, 14), // "PlaybackStatus"
QT_MOC_LITERAL(45, 462, 4), // "Rate"
QT_MOC_LITERAL(46, 467, 7), // "Shuffle"
QT_MOC_LITERAL(47, 475, 6) // "Volume"

    },
    "Player2Object\0D-Bus Interface\0"
    "org.mpris.MediaPlayer2.Player\0Seeked\0"
    "\0Position\0Next\0OpenUri\0in0\0Pause\0Play\0"
    "PlayPause\0Previous\0Seek\0Offset\0"
    "SetPosition\0QDBusObjectPath\0TrackId\0"
    "Stop\0emitPropertiesChanged\0updateId\0"
    "checkState\0Qmmp::State\0state\0checkSeeking\0"
    "elapsed\0playTrack\0PlayListTrack*\0item\0"
    "disconnectPl\0setModel\0PlayListModel*\0"
    "selected\0previous\0CanControl\0CanGoNext\0"
    "CanGoPrevious\0CanPause\0CanPlay\0CanSeek\0"
    "LoopStatus\0MaximumRate\0Metadata\0"
    "MinimumRate\0PlaybackStatus\0Rate\0Shuffle\0"
    "Volume"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Player2Object[] = {

 // content:
       7,       // revision
       0,       // classname
       1,   14, // classinfo
      17,   16, // methods
      15,  138, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       1,       // signalCount

 // classinfo: key, value
       1,    2,

 // signals: name, argc, parameters, tag, flags
       3,    1,  101,    4, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    0,  104,    4, 0x0a /* Public */,
       7,    1,  105,    4, 0x0a /* Public */,
       9,    0,  108,    4, 0x0a /* Public */,
      10,    0,  109,    4, 0x0a /* Public */,
      11,    0,  110,    4, 0x0a /* Public */,
      12,    0,  111,    4, 0x0a /* Public */,
      13,    1,  112,    4, 0x0a /* Public */,
      15,    2,  115,    4, 0x0a /* Public */,
      18,    0,  120,    4, 0x0a /* Public */,
      19,    0,  121,    4, 0x08 /* Private */,
      20,    0,  122,    4, 0x08 /* Private */,
      21,    1,  123,    4, 0x08 /* Private */,
      24,    1,  126,    4, 0x08 /* Private */,
      26,    1,  129,    4, 0x08 /* Private */,
      29,    0,  132,    4, 0x08 /* Private */,
      30,    2,  133,    4, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::LongLong,    5,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    8,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::LongLong,   14,
    QMetaType::Void, 0x80000000 | 16, QMetaType::LongLong,   17,    5,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 22,   23,
    QMetaType::Void, QMetaType::LongLong,   25,
    QMetaType::Void, 0x80000000 | 27,   28,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 31, 0x80000000 | 31,   32,   33,

 // properties: name, type, flags
      34, QMetaType::Bool, 0x00095001,
      35, QMetaType::Bool, 0x00095001,
      36, QMetaType::Bool, 0x00095001,
      37, QMetaType::Bool, 0x00095001,
      38, QMetaType::Bool, 0x00095001,
      39, QMetaType::Bool, 0x00095001,
      40, QMetaType::QString, 0x00095103,
      41, QMetaType::Double, 0x00095001,
      42, QMetaType::QVariantMap, 0x00095001,
      43, QMetaType::Double, 0x00095001,
      44, QMetaType::QString, 0x00095001,
       5, QMetaType::LongLong, 0x00095001,
      45, QMetaType::Double, 0x00095103,
      46, QMetaType::Bool, 0x00095103,
      47, QMetaType::Double, 0x00095103,

       0        // eod
};

void Player2Object::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Player2Object *_t = static_cast<Player2Object *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->Seeked((*reinterpret_cast< qlonglong(*)>(_a[1]))); break;
        case 1: _t->Next(); break;
        case 2: _t->OpenUri((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->Pause(); break;
        case 4: _t->Play(); break;
        case 5: _t->PlayPause(); break;
        case 6: _t->Previous(); break;
        case 7: _t->Seek((*reinterpret_cast< qlonglong(*)>(_a[1]))); break;
        case 8: _t->SetPosition((*reinterpret_cast< const QDBusObjectPath(*)>(_a[1])),(*reinterpret_cast< qlonglong(*)>(_a[2]))); break;
        case 9: _t->Stop(); break;
        case 10: _t->emitPropertiesChanged(); break;
        case 11: _t->updateId(); break;
        case 12: _t->checkState((*reinterpret_cast< Qmmp::State(*)>(_a[1]))); break;
        case 13: _t->checkSeeking((*reinterpret_cast< qint64(*)>(_a[1]))); break;
        case 14: _t->playTrack((*reinterpret_cast< PlayListTrack*(*)>(_a[1]))); break;
        case 15: _t->disconnectPl(); break;
        case 16: _t->setModel((*reinterpret_cast< PlayListModel*(*)>(_a[1])),(*reinterpret_cast< PlayListModel*(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; 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;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (Player2Object::*_t)(qlonglong );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Player2Object::Seeked)) {
                *result = 0;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        Player2Object *_t = static_cast<Player2Object *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->canControl(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->canGoNext(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->canGoPrevious(); break;
        case 3: *reinterpret_cast< bool*>(_v) = _t->canPause(); break;
        case 4: *reinterpret_cast< bool*>(_v) = _t->canPlay(); break;
        case 5: *reinterpret_cast< bool*>(_v) = _t->canSeek(); break;
        case 6: *reinterpret_cast< QString*>(_v) = _t->loopStatus(); break;
        case 7: *reinterpret_cast< double*>(_v) = _t->maximumRate(); break;
        case 8: *reinterpret_cast< QVariantMap*>(_v) = _t->metadata(); break;
        case 9: *reinterpret_cast< double*>(_v) = _t->minimumRate(); break;
        case 10: *reinterpret_cast< QString*>(_v) = _t->playbackStatus(); break;
        case 11: *reinterpret_cast< qlonglong*>(_v) = _t->position(); break;
        case 12: *reinterpret_cast< double*>(_v) = _t->rate(); break;
        case 13: *reinterpret_cast< bool*>(_v) = _t->shuffle(); break;
        case 14: *reinterpret_cast< double*>(_v) = _t->volume(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        Player2Object *_t = static_cast<Player2Object *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 6: _t->setLoopStatus(*reinterpret_cast< QString*>(_v)); break;
        case 12: _t->setRate(*reinterpret_cast< double*>(_v)); break;
        case 13: _t->setShuffle(*reinterpret_cast< bool*>(_v)); break;
        case 14: _t->setVolume(*reinterpret_cast< double*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject Player2Object::staticMetaObject = {
    { &QDBusAbstractAdaptor::staticMetaObject, qt_meta_stringdata_Player2Object.data,
      qt_meta_data_Player2Object,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

// SIGNAL 0
void Player2Object::Seeked(qlonglong _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
