/****************************************************************************
** Meta object code from reading C++ file 'mediaplayer2player.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/juk-17.12.3/mpris2/mediaplayer2player.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'mediaplayer2player.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_MediaPlayer2Player_t {
    QByteArrayData data[43];
    char stringdata0[442];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MediaPlayer2Player_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MediaPlayer2Player_t qt_meta_stringdata_MediaPlayer2Player = {
    {
QT_MOC_LITERAL(0, 0, 18), // "MediaPlayer2Player"
QT_MOC_LITERAL(1, 19, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 35, 29), // "org.mpris.MediaPlayer2.Player"
QT_MOC_LITERAL(3, 65, 6), // "Seeked"
QT_MOC_LITERAL(4, 72, 0), // ""
QT_MOC_LITERAL(5, 73, 8), // "Position"
QT_MOC_LITERAL(6, 82, 4), // "Next"
QT_MOC_LITERAL(7, 87, 9), // "Q_NOREPLY"
QT_MOC_LITERAL(8, 97, 8), // "Previous"
QT_MOC_LITERAL(9, 106, 5), // "Pause"
QT_MOC_LITERAL(10, 112, 9), // "PlayPause"
QT_MOC_LITERAL(11, 122, 4), // "Stop"
QT_MOC_LITERAL(12, 127, 4), // "Play"
QT_MOC_LITERAL(13, 132, 4), // "Seek"
QT_MOC_LITERAL(14, 137, 6), // "Offset"
QT_MOC_LITERAL(15, 144, 11), // "SetPosition"
QT_MOC_LITERAL(16, 156, 15), // "QDBusObjectPath"
QT_MOC_LITERAL(17, 172, 7), // "TrackId"
QT_MOC_LITERAL(18, 180, 7), // "OpenUri"
QT_MOC_LITERAL(19, 188, 3), // "Uri"
QT_MOC_LITERAL(20, 192, 20), // "currentSourceChanged"
QT_MOC_LITERAL(21, 213, 12), // "stateUpdated"
QT_MOC_LITERAL(22, 226, 16), // "totalTimeChanged"
QT_MOC_LITERAL(23, 243, 15), // "seekableChanged"
QT_MOC_LITERAL(24, 259, 8), // "seekable"
QT_MOC_LITERAL(25, 268, 13), // "volumeChanged"
QT_MOC_LITERAL(26, 282, 6), // "newVol"
QT_MOC_LITERAL(27, 289, 6), // "seeked"
QT_MOC_LITERAL(28, 296, 6), // "newPos"
QT_MOC_LITERAL(29, 303, 14), // "PlaybackStatus"
QT_MOC_LITERAL(30, 318, 10), // "LoopStatus"
QT_MOC_LITERAL(31, 329, 4), // "Rate"
QT_MOC_LITERAL(32, 334, 7), // "Shuffle"
QT_MOC_LITERAL(33, 342, 8), // "Metadata"
QT_MOC_LITERAL(34, 351, 6), // "Volume"
QT_MOC_LITERAL(35, 358, 11), // "MinimumRate"
QT_MOC_LITERAL(36, 370, 11), // "MaximumRate"
QT_MOC_LITERAL(37, 382, 9), // "CanGoNext"
QT_MOC_LITERAL(38, 392, 13), // "CanGoPrevious"
QT_MOC_LITERAL(39, 406, 7), // "CanPlay"
QT_MOC_LITERAL(40, 414, 8), // "CanPause"
QT_MOC_LITERAL(41, 423, 7), // "CanSeek"
QT_MOC_LITERAL(42, 431, 10) // "CanControl"

    },
    "MediaPlayer2Player\0D-Bus Interface\0"
    "org.mpris.MediaPlayer2.Player\0Seeked\0"
    "\0Position\0Next\0Q_NOREPLY\0Previous\0"
    "Pause\0PlayPause\0Stop\0Play\0Seek\0Offset\0"
    "SetPosition\0QDBusObjectPath\0TrackId\0"
    "OpenUri\0Uri\0currentSourceChanged\0"
    "stateUpdated\0totalTimeChanged\0"
    "seekableChanged\0seekable\0volumeChanged\0"
    "newVol\0seeked\0newPos\0PlaybackStatus\0"
    "LoopStatus\0Rate\0Shuffle\0Metadata\0"
    "Volume\0MinimumRate\0MaximumRate\0CanGoNext\0"
    "CanGoPrevious\0CanPlay\0CanPause\0CanSeek\0"
    "CanControl"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MediaPlayer2Player[] = {

 // content:
       7,       // revision
       0,       // classname
       1,   14, // classinfo
      16,   16, // methods
      15,  128, // 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,   96,    4, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    0,   99,    7, 0x0a /* Public */,
       8,    0,  100,    7, 0x0a /* Public */,
       9,    0,  101,    7, 0x0a /* Public */,
      10,    0,  102,    7, 0x0a /* Public */,
      11,    0,  103,    7, 0x0a /* Public */,
      12,    0,  104,    7, 0x0a /* Public */,
      13,    1,  105,    7, 0x0a /* Public */,
      15,    2,  108,    7, 0x0a /* Public */,
      18,    1,  113,    7, 0x0a /* Public */,
      20,    0,  116,    4, 0x08 /* Private */,
      21,    0,  117,    4, 0x08 /* Private */,
      22,    0,  118,    4, 0x08 /* Private */,
      23,    1,  119,    4, 0x08 /* Private */,
      25,    1,  122,    4, 0x08 /* Private */,
      27,    1,  125,    4, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::LongLong,   14,
    QMetaType::Void, 0x80000000 | 16, QMetaType::LongLong,   17,    5,
    QMetaType::Void, QMetaType::QString,   19,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   24,
    QMetaType::Void, QMetaType::Float,   26,
    QMetaType::Void, QMetaType::Int,   28,

 // properties: name, type, flags
      29, QMetaType::QString, 0x00095001,
      30, QMetaType::QString, 0x00095103,
      31, QMetaType::Double, 0x00095103,
      32, QMetaType::Bool, 0x00095103,
      33, QMetaType::QVariantMap, 0x00095001,
      34, QMetaType::Double, 0x00095103,
       5, QMetaType::LongLong, 0x00095001,
      35, QMetaType::Double, 0x00095001,
      36, QMetaType::Double, 0x00095001,
      37, QMetaType::Bool, 0x00095001,
      38, QMetaType::Bool, 0x00095001,
      39, QMetaType::Bool, 0x00095001,
      40, QMetaType::Bool, 0x00095001,
      41, QMetaType::Bool, 0x00095001,
      42, QMetaType::Bool, 0x00095001,

       0        // eod
};

void MediaPlayer2Player::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        MediaPlayer2Player *_t = static_cast<MediaPlayer2Player *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->Seeked((*reinterpret_cast< qlonglong(*)>(_a[1]))); break;
        case 1: _t->Next(); break;
        case 2: _t->Previous(); break;
        case 3: _t->Pause(); break;
        case 4: _t->PlayPause(); break;
        case 5: _t->Stop(); break;
        case 6: _t->Play(); 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->OpenUri((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 10: _t->currentSourceChanged(); break;
        case 11: _t->stateUpdated(); break;
        case 12: _t->totalTimeChanged(); break;
        case 13: _t->seekableChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 14: _t->volumeChanged((*reinterpret_cast< float(*)>(_a[1]))); break;
        case 15: _t->seeked((*reinterpret_cast< int(*)>(_a[1]))); 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]);
        {
            typedef void (MediaPlayer2Player::*_t)(qlonglong ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MediaPlayer2Player::Seeked)) {
                *result = 0;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        MediaPlayer2Player *_t = static_cast<MediaPlayer2Player *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->PlaybackStatus(); break;
        case 1: *reinterpret_cast< QString*>(_v) = _t->LoopStatus(); break;
        case 2: *reinterpret_cast< double*>(_v) = _t->Rate(); break;
        case 3: *reinterpret_cast< bool*>(_v) = _t->Shuffle(); break;
        case 4: *reinterpret_cast< QVariantMap*>(_v) = _t->Metadata(); break;
        case 5: *reinterpret_cast< double*>(_v) = _t->Volume(); break;
        case 6: *reinterpret_cast< qlonglong*>(_v) = _t->Position(); break;
        case 7: *reinterpret_cast< double*>(_v) = _t->MinimumRate(); break;
        case 8: *reinterpret_cast< double*>(_v) = _t->MaximumRate(); break;
        case 9: *reinterpret_cast< bool*>(_v) = _t->CanGoNext(); break;
        case 10: *reinterpret_cast< bool*>(_v) = _t->CanGoPrevious(); break;
        case 11: *reinterpret_cast< bool*>(_v) = _t->CanPlay(); break;
        case 12: *reinterpret_cast< bool*>(_v) = _t->CanPause(); break;
        case 13: *reinterpret_cast< bool*>(_v) = _t->CanSeek(); break;
        case 14: *reinterpret_cast< bool*>(_v) = _t->CanControl(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        MediaPlayer2Player *_t = static_cast<MediaPlayer2Player *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 1: _t->setLoopStatus(*reinterpret_cast< QString*>(_v)); break;
        case 2: _t->setRate(*reinterpret_cast< double*>(_v)); break;
        case 3: _t->setShuffle(*reinterpret_cast< bool*>(_v)); break;
        case 5: _t->setVolume(*reinterpret_cast< double*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject MediaPlayer2Player::staticMetaObject = {
    { &QDBusAbstractAdaptor::staticMetaObject, qt_meta_stringdata_MediaPlayer2Player.data,
      qt_meta_data_MediaPlayer2Player,  qt_static_metacall, nullptr, nullptr}
};


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

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

int MediaPlayer2Player::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 < 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;
    }
#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 MediaPlayer2Player::Seeked(qlonglong _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(const_cast< MediaPlayer2Player *>(this), &staticMetaObject, 0, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
