/****************************************************************************
** Meta object code from reading C++ file 'tracklistobject.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/qmmp-1.1.12/src/plugins/General/mpris/mpris1/tracklistobject.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'tracklistobject.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_TrackListObject_t {
    QByteArrayData data[23];
    char stringdata0[251];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_TrackListObject_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_TrackListObject_t qt_meta_stringdata_TrackListObject = {
    {
QT_MOC_LITERAL(0, 0, 15), // "TrackListObject"
QT_MOC_LITERAL(1, 16, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 32, 27), // "org.freedesktop.MediaPlayer"
QT_MOC_LITERAL(3, 60, 15), // "TrackListChange"
QT_MOC_LITERAL(4, 76, 0), // ""
QT_MOC_LITERAL(5, 77, 3), // "in0"
QT_MOC_LITERAL(6, 81, 8), // "AddTrack"
QT_MOC_LITERAL(7, 90, 3), // "in1"
QT_MOC_LITERAL(8, 94, 8), // "DelTrack"
QT_MOC_LITERAL(9, 103, 15), // "GetCurrentTrack"
QT_MOC_LITERAL(10, 119, 9), // "GetLength"
QT_MOC_LITERAL(11, 129, 11), // "GetMetadata"
QT_MOC_LITERAL(12, 141, 7), // "SetLoop"
QT_MOC_LITERAL(13, 149, 9), // "SetRandom"
QT_MOC_LITERAL(14, 159, 9), // "playTrack"
QT_MOC_LITERAL(15, 169, 14), // "PlayListTrack*"
QT_MOC_LITERAL(16, 184, 5), // "track"
QT_MOC_LITERAL(17, 190, 15), // "updateTrackList"
QT_MOC_LITERAL(18, 206, 5), // "flags"
QT_MOC_LITERAL(19, 212, 14), // "switchPlayList"
QT_MOC_LITERAL(20, 227, 14), // "PlayListModel*"
QT_MOC_LITERAL(21, 242, 3), // "cur"
QT_MOC_LITERAL(22, 246, 4) // "prev"

    },
    "TrackListObject\0D-Bus Interface\0"
    "org.freedesktop.MediaPlayer\0TrackListChange\0"
    "\0in0\0AddTrack\0in1\0DelTrack\0GetCurrentTrack\0"
    "GetLength\0GetMetadata\0SetLoop\0SetRandom\0"
    "playTrack\0PlayListTrack*\0track\0"
    "updateTrackList\0flags\0switchPlayList\0"
    "PlayListModel*\0cur\0prev"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_TrackListObject[] = {

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

 // slots: name, argc, parameters, tag, flags
       6,    2,   74,    4, 0x0a /* Public */,
       8,    1,   79,    4, 0x0a /* Public */,
       9,    0,   82,    4, 0x0a /* Public */,
      10,    0,   83,    4, 0x0a /* Public */,
      11,    1,   84,    4, 0x0a /* Public */,
      12,    1,   87,    4, 0x0a /* Public */,
      13,    1,   90,    4, 0x0a /* Public */,
      14,    1,   93,    4, 0x08 /* Private */,
      17,    1,   96,    4, 0x08 /* Private */,
      19,    2,   99,    4, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Int, QMetaType::QString, QMetaType::Bool,    5,    7,
    QMetaType::Void, QMetaType::Int,    5,
    QMetaType::Int,
    QMetaType::Int,
    QMetaType::QVariantMap, QMetaType::Int,    5,
    QMetaType::Void, QMetaType::Bool,    5,
    QMetaType::Void, QMetaType::Bool,    5,
    QMetaType::Void, 0x80000000 | 15,   16,
    QMetaType::Void, QMetaType::Int,   18,
    QMetaType::Void, 0x80000000 | 20, 0x80000000 | 20,   21,   22,

       0        // eod
};

void TrackListObject::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        TrackListObject *_t = static_cast<TrackListObject *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->TrackListChange((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: { int _r = _t->AddTrack((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 2: _t->DelTrack((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: { int _r = _t->GetCurrentTrack();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 4: { int _r = _t->GetLength();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 5: { QVariantMap _r = _t->GetMetadata((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QVariantMap*>(_a[0]) = std::move(_r); }  break;
        case 6: _t->SetLoop((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 7: _t->SetRandom((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 8: _t->playTrack((*reinterpret_cast< PlayListTrack*(*)>(_a[1]))); break;
        case 9: _t->updateTrackList((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 10: _t->switchPlayList((*reinterpret_cast< PlayListModel*(*)>(_a[1])),(*reinterpret_cast< PlayListModel*(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (TrackListObject::*_t)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackListObject::TrackListChange)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject TrackListObject::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_TrackListObject.data,
      qt_meta_data_TrackListObject,  qt_static_metacall, nullptr, nullptr}
};


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

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

int TrackListObject::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 < 11)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 11)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 11;
    }
    return _id;
}

// SIGNAL 0
void TrackListObject::TrackListChange(int _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
