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

#include <memory>
#include "../../../../../noson-app/backend/NosonApp/dbus/mpris2.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'mpris2.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.18. 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_nosonapp__Mpris2_t {
    QByteArrayData data[34];
    char stringdata0[399];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_nosonapp__Mpris2_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_nosonapp__Mpris2_t qt_meta_stringdata_nosonapp__Mpris2 = {
    {
QT_MOC_LITERAL(0, 0, 16), // "nosonapp::Mpris2"
QT_MOC_LITERAL(1, 17, 6), // "Seeked"
QT_MOC_LITERAL(2, 24, 0), // ""
QT_MOC_LITERAL(3, 25, 8), // "position"
QT_MOC_LITERAL(4, 34, 22), // "connectionStateChanged"
QT_MOC_LITERAL(5, 57, 3), // "pid"
QT_MOC_LITERAL(6, 61, 20), // "playbackStateChanged"
QT_MOC_LITERAL(7, 82, 13), // "volumeChanged"
QT_MOC_LITERAL(8, 96, 15), // "playModeChanged"
QT_MOC_LITERAL(9, 112, 19), // "currentTrackChanged"
QT_MOC_LITERAL(10, 132, 7), // "CanQuit"
QT_MOC_LITERAL(11, 140, 8), // "CanRaise"
QT_MOC_LITERAL(12, 149, 12), // "HasTrackList"
QT_MOC_LITERAL(13, 162, 8), // "Identity"
QT_MOC_LITERAL(14, 171, 12), // "DesktopEntry"
QT_MOC_LITERAL(15, 184, 19), // "SupportedUriSchemes"
QT_MOC_LITERAL(16, 204, 18), // "SupportedMimeTypes"
QT_MOC_LITERAL(17, 223, 16), // "CanSetFullscreen"
QT_MOC_LITERAL(18, 240, 10), // "Fullscreen"
QT_MOC_LITERAL(19, 251, 14), // "PlaybackStatus"
QT_MOC_LITERAL(20, 266, 10), // "LoopStatus"
QT_MOC_LITERAL(21, 277, 4), // "Rate"
QT_MOC_LITERAL(22, 282, 7), // "Shuffle"
QT_MOC_LITERAL(23, 290, 8), // "Metadata"
QT_MOC_LITERAL(24, 299, 6), // "Volume"
QT_MOC_LITERAL(25, 306, 8), // "Position"
QT_MOC_LITERAL(26, 315, 11), // "MinimumRate"
QT_MOC_LITERAL(27, 327, 11), // "MaximumRate"
QT_MOC_LITERAL(28, 339, 9), // "CanGoNext"
QT_MOC_LITERAL(29, 349, 13), // "CanGoPrevious"
QT_MOC_LITERAL(30, 363, 7), // "CanPlay"
QT_MOC_LITERAL(31, 371, 8), // "CanPause"
QT_MOC_LITERAL(32, 380, 7), // "CanSeek"
QT_MOC_LITERAL(33, 388, 10) // "CanControl"

    },
    "nosonapp::Mpris2\0Seeked\0\0position\0"
    "connectionStateChanged\0pid\0"
    "playbackStateChanged\0volumeChanged\0"
    "playModeChanged\0currentTrackChanged\0"
    "CanQuit\0CanRaise\0HasTrackList\0Identity\0"
    "DesktopEntry\0SupportedUriSchemes\0"
    "SupportedMimeTypes\0CanSetFullscreen\0"
    "Fullscreen\0PlaybackStatus\0LoopStatus\0"
    "Rate\0Shuffle\0Metadata\0Volume\0Position\0"
    "MinimumRate\0MaximumRate\0CanGoNext\0"
    "CanGoPrevious\0CanPlay\0CanPause\0CanSeek\0"
    "CanControl"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_nosonapp__Mpris2[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
       6,   14, // methods
      24,   62, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       1,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,   44,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       4,    1,   47,    2, 0x08 /* Private */,
       6,    1,   50,    2, 0x08 /* Private */,
       7,    1,   53,    2, 0x08 /* Private */,
       8,    1,   56,    2, 0x08 /* Private */,
       9,    1,   59,    2, 0x08 /* Private */,

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

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

 // properties: name, type, flags
      10, QMetaType::Bool, 0x00095001,
      11, QMetaType::Bool, 0x00095001,
      12, QMetaType::Bool, 0x00095001,
      13, QMetaType::QString, 0x00095001,
      14, QMetaType::QString, 0x00095001,
      15, QMetaType::QStringList, 0x00095001,
      16, QMetaType::QStringList, 0x00095001,
      17, QMetaType::Bool, 0x00095001,
      18, QMetaType::Bool, 0x00095003,
      19, QMetaType::QString, 0x00095001,
      20, QMetaType::QString, 0x00095003,
      21, QMetaType::Double, 0x00095003,
      22, QMetaType::Bool, 0x00095003,
      23, QMetaType::QVariantMap, 0x00095001,
      24, QMetaType::Double, 0x00095003,
      25, QMetaType::LongLong, 0x00095001,
      26, QMetaType::Double, 0x00095001,
      27, QMetaType::Double, 0x00095001,
      28, QMetaType::Bool, 0x00095001,
      29, QMetaType::Bool, 0x00095001,
      30, QMetaType::Bool, 0x00095001,
      31, QMetaType::Bool, 0x00095001,
      32, QMetaType::Bool, 0x00095001,
      33, QMetaType::Bool, 0x00095001,

       0        // eod
};

void nosonapp::Mpris2::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<Mpris2 *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->Seeked((*reinterpret_cast< qlonglong(*)>(_a[1]))); break;
        case 1: _t->connectionStateChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: _t->playbackStateChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->volumeChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->playModeChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 5: _t->currentTrackChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (Mpris2::*)(qlonglong );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Mpris2::Seeked)) {
                *result = 0;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<Mpris2 *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->CanQuit(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->CanRaise(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->HasTrackList(); break;
        case 3: *reinterpret_cast< QString*>(_v) = _t->Identity(); break;
        case 4: *reinterpret_cast< QString*>(_v) = _t->DesktopEntry(); break;
        case 5: *reinterpret_cast< QStringList*>(_v) = _t->SupportedUriSchemes(); break;
        case 6: *reinterpret_cast< QStringList*>(_v) = _t->SupportedMimeTypes(); break;
        case 7: *reinterpret_cast< bool*>(_v) = _t->CanSetFullscreen(); break;
        case 8: *reinterpret_cast< bool*>(_v) = _t->Fullscreen(); break;
        case 9: *reinterpret_cast< QString*>(_v) = _t->PlaybackStatus(); break;
        case 10: *reinterpret_cast< QString*>(_v) = _t->LoopStatus(); break;
        case 11: *reinterpret_cast< double*>(_v) = _t->Rate(); break;
        case 12: *reinterpret_cast< bool*>(_v) = _t->Shuffle(); break;
        case 13: *reinterpret_cast< QVariantMap*>(_v) = _t->Metadata(); break;
        case 14: *reinterpret_cast< double*>(_v) = _t->Volume(); break;
        case 15: *reinterpret_cast< qlonglong*>(_v) = _t->Position(); break;
        case 16: *reinterpret_cast< double*>(_v) = _t->MinimumRate(); break;
        case 17: *reinterpret_cast< double*>(_v) = _t->MaximumRate(); break;
        case 18: *reinterpret_cast< bool*>(_v) = _t->CanGoNext(); break;
        case 19: *reinterpret_cast< bool*>(_v) = _t->CanGoPrevious(); break;
        case 20: *reinterpret_cast< bool*>(_v) = _t->CanPlay(); break;
        case 21: *reinterpret_cast< bool*>(_v) = _t->CanPause(); break;
        case 22: *reinterpret_cast< bool*>(_v) = _t->CanSeek(); break;
        case 23: *reinterpret_cast< bool*>(_v) = _t->CanControl(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<Mpris2 *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 8: _t->SetFullscreen(*reinterpret_cast< bool*>(_v)); break;
        case 10: _t->SetLoopStatus(*reinterpret_cast< QString*>(_v)); break;
        case 11: _t->SetRate(*reinterpret_cast< double*>(_v)); break;
        case 12: _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
}

QT_INIT_METAOBJECT const QMetaObject nosonapp::Mpris2::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_nosonapp__Mpris2.data,
    qt_meta_data_nosonapp__Mpris2,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int nosonapp::Mpris2::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 < 6)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 6;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 6)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 6;
    }
#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 -= 24;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 24;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 24;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 24;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 24;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 24;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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