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

#include "../../../../src/kid3-3.4.5/src/core/model/mprisinterface.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'mprisinterface.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.6.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
struct qt_meta_stringdata_MprisInterface_t {
    QByteArrayData data[15];
    char stringdata0[185];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MprisInterface_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MprisInterface_t qt_meta_stringdata_MprisInterface = {
    {
QT_MOC_LITERAL(0, 0, 14), // "MprisInterface"
QT_MOC_LITERAL(1, 15, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 31, 22), // "org.mpris.MediaPlayer2"
QT_MOC_LITERAL(3, 54, 5), // "Raise"
QT_MOC_LITERAL(4, 60, 0), // ""
QT_MOC_LITERAL(5, 61, 4), // "Quit"
QT_MOC_LITERAL(6, 66, 7), // "CanQuit"
QT_MOC_LITERAL(7, 74, 10), // "Fullscreen"
QT_MOC_LITERAL(8, 85, 16), // "CanSetFullscreen"
QT_MOC_LITERAL(9, 102, 8), // "CanRaise"
QT_MOC_LITERAL(10, 111, 12), // "HasTrackList"
QT_MOC_LITERAL(11, 124, 8), // "Identity"
QT_MOC_LITERAL(12, 133, 12), // "DesktopEntry"
QT_MOC_LITERAL(13, 146, 19), // "SupportedUriSchemes"
QT_MOC_LITERAL(14, 166, 18) // "SupportedMimeTypes"

    },
    "MprisInterface\0D-Bus Interface\0"
    "org.mpris.MediaPlayer2\0Raise\0\0Quit\0"
    "CanQuit\0Fullscreen\0CanSetFullscreen\0"
    "CanRaise\0HasTrackList\0Identity\0"
    "DesktopEntry\0SupportedUriSchemes\0"
    "SupportedMimeTypes"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MprisInterface[] = {

 // content:
       7,       // revision
       0,       // classname
       1,   14, // classinfo
       2,   16, // methods
       9,   28, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // classinfo: key, value
       1,    2,

 // slots: name, argc, parameters, tag, flags
       3,    0,   26,    4, 0x0a /* Public */,
       5,    0,   27,    4, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,

 // properties: name, type, flags
       6, QMetaType::Bool, 0x00095401,
       7, QMetaType::Bool, 0x00095401,
       8, QMetaType::Bool, 0x00095401,
       9, QMetaType::Bool, 0x00095401,
      10, QMetaType::Bool, 0x00095401,
      11, QMetaType::QString, 0x00095401,
      12, QMetaType::QString, 0x00095401,
      13, QMetaType::QStringList, 0x00095401,
      14, QMetaType::QStringList, 0x00095401,

       0        // eod
};

void MprisInterface::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        MprisInterface *_t = static_cast<MprisInterface *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->Raise(); break;
        case 1: _t->Quit(); break;
        default: ;
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        MprisInterface *_t = static_cast<MprisInterface *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->canQuit(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->fullscreen(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->canSetFullscreen(); break;
        case 3: *reinterpret_cast< bool*>(_v) = _t->canRaise(); break;
        case 4: *reinterpret_cast< bool*>(_v) = _t->hasTrackList(); break;
        case 5: *reinterpret_cast< QString*>(_v) = _t->identity(); break;
        case 6: *reinterpret_cast< QString*>(_v) = _t->desktopEntry(); break;
        case 7: *reinterpret_cast< QStringList*>(_v) = _t->supportedUriSchemes(); break;
        case 8: *reinterpret_cast< QStringList*>(_v) = _t->supportedMimeTypes(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
    Q_UNUSED(_a);
}

const QMetaObject MprisInterface::staticMetaObject = {
    { &QDBusAbstractAdaptor::staticMetaObject, qt_meta_stringdata_MprisInterface.data,
      qt_meta_data_MprisInterface,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *MprisInterface::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_MprisInterface.stringdata0))
        return static_cast<void*>(const_cast< MprisInterface*>(this));
    return QDBusAbstractAdaptor::qt_metacast(_clname);
}

int MprisInterface::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 < 2)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 2)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 2;
    }
#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 -= 9;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 9;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
struct qt_meta_stringdata_MprisPlayerInterface_t {
    QByteArrayData data[44];
    char stringdata0[470];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MprisPlayerInterface_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MprisPlayerInterface_t qt_meta_stringdata_MprisPlayerInterface = {
    {
QT_MOC_LITERAL(0, 0, 20), // "MprisPlayerInterface"
QT_MOC_LITERAL(1, 21, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 37, 29), // "org.mpris.MediaPlayer2.Player"
QT_MOC_LITERAL(3, 67, 6), // "Seeked"
QT_MOC_LITERAL(4, 74, 0), // ""
QT_MOC_LITERAL(5, 75, 10), // "positionUs"
QT_MOC_LITERAL(6, 86, 4), // "Next"
QT_MOC_LITERAL(7, 91, 8), // "Previous"
QT_MOC_LITERAL(8, 100, 5), // "Pause"
QT_MOC_LITERAL(9, 106, 9), // "PlayPause"
QT_MOC_LITERAL(10, 116, 4), // "Stop"
QT_MOC_LITERAL(11, 121, 4), // "Play"
QT_MOC_LITERAL(12, 126, 4), // "Seek"
QT_MOC_LITERAL(13, 131, 8), // "offsetUs"
QT_MOC_LITERAL(14, 140, 11), // "SetPosition"
QT_MOC_LITERAL(15, 152, 15), // "QDBusObjectPath"
QT_MOC_LITERAL(16, 168, 7), // "trackId"
QT_MOC_LITERAL(17, 176, 7), // "OpenUri"
QT_MOC_LITERAL(18, 184, 3), // "uri"
QT_MOC_LITERAL(19, 188, 14), // "onStateChanged"
QT_MOC_LITERAL(20, 203, 14), // "onTrackChanged"
QT_MOC_LITERAL(21, 218, 8), // "filePath"
QT_MOC_LITERAL(22, 227, 11), // "hasPrevious"
QT_MOC_LITERAL(23, 239, 7), // "hasNext"
QT_MOC_LITERAL(24, 247, 15), // "onVolumeChanged"
QT_MOC_LITERAL(25, 263, 18), // "onFileCountChanged"
QT_MOC_LITERAL(26, 282, 5), // "count"
QT_MOC_LITERAL(27, 288, 24), // "onCurrentPositionChanged"
QT_MOC_LITERAL(28, 313, 8), // "position"
QT_MOC_LITERAL(29, 322, 14), // "PlaybackStatus"
QT_MOC_LITERAL(30, 337, 10), // "LoopStatus"
QT_MOC_LITERAL(31, 348, 4), // "Rate"
QT_MOC_LITERAL(32, 353, 7), // "Shuffle"
QT_MOC_LITERAL(33, 361, 8), // "Metadata"
QT_MOC_LITERAL(34, 370, 6), // "Volume"
QT_MOC_LITERAL(35, 377, 8), // "Position"
QT_MOC_LITERAL(36, 386, 11), // "MinimumRate"
QT_MOC_LITERAL(37, 398, 11), // "MaximumRate"
QT_MOC_LITERAL(38, 410, 9), // "CanGoNext"
QT_MOC_LITERAL(39, 420, 13), // "CanGoPrevious"
QT_MOC_LITERAL(40, 434, 7), // "CanPlay"
QT_MOC_LITERAL(41, 442, 8), // "CanPause"
QT_MOC_LITERAL(42, 451, 7), // "CanSeek"
QT_MOC_LITERAL(43, 459, 10) // "CanControl"

    },
    "MprisPlayerInterface\0D-Bus Interface\0"
    "org.mpris.MediaPlayer2.Player\0Seeked\0"
    "\0positionUs\0Next\0Previous\0Pause\0"
    "PlayPause\0Stop\0Play\0Seek\0offsetUs\0"
    "SetPosition\0QDBusObjectPath\0trackId\0"
    "OpenUri\0uri\0onStateChanged\0onTrackChanged\0"
    "filePath\0hasPrevious\0hasNext\0"
    "onVolumeChanged\0onFileCountChanged\0"
    "count\0onCurrentPositionChanged\0position\0"
    "PlaybackStatus\0LoopStatus\0Rate\0Shuffle\0"
    "Metadata\0Volume\0Position\0MinimumRate\0"
    "MaximumRate\0CanGoNext\0CanGoPrevious\0"
    "CanPlay\0CanPause\0CanSeek\0CanControl"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MprisPlayerInterface[] = {

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

 // slots: name, argc, parameters, tag, flags
       6,    0,   94,    4, 0x0a /* Public */,
       7,    0,   95,    4, 0x0a /* Public */,
       8,    0,   96,    4, 0x0a /* Public */,
       9,    0,   97,    4, 0x0a /* Public */,
      10,    0,   98,    4, 0x0a /* Public */,
      11,    0,   99,    4, 0x0a /* Public */,
      12,    1,  100,    4, 0x0a /* Public */,
      14,    2,  103,    4, 0x0a /* Public */,
      17,    1,  108,    4, 0x0a /* Public */,
      19,    0,  111,    4, 0x08 /* Private */,
      20,    3,  112,    4, 0x08 /* Private */,
      24,    0,  119,    4, 0x08 /* Private */,
      25,    1,  120,    4, 0x08 /* Private */,
      27,    1,  123,    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,   13,
    QMetaType::Void, 0x80000000 | 15, QMetaType::LongLong,   16,    5,
    QMetaType::Void, QMetaType::QString,   18,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, QMetaType::Bool, QMetaType::Bool,   21,   22,   23,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   26,
    QMetaType::Void, QMetaType::LongLong,   28,

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

       0        // eod
};

void MprisPlayerInterface::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        MprisPlayerInterface *_t = static_cast<MprisPlayerInterface *>(_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< const QString(*)>(_a[1]))); break;
        case 10: _t->onStateChanged(); break;
        case 11: _t->onTrackChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
        case 12: _t->onVolumeChanged(); break;
        case 13: _t->onFileCountChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 14: _t->onCurrentPositionChanged((*reinterpret_cast< qint64(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (MprisPlayerInterface::*_t)(qlonglong );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MprisPlayerInterface::Seeked)) {
                *result = 0;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        MprisPlayerInterface *_t = static_cast<MprisPlayerInterface *>(_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) {
        MprisPlayerInterface *_t = static_cast<MprisPlayerInterface *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 5: _t->setVolume(*reinterpret_cast< double*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject MprisPlayerInterface::staticMetaObject = {
    { &QDBusAbstractAdaptor::staticMetaObject, qt_meta_stringdata_MprisPlayerInterface.data,
      qt_meta_data_MprisPlayerInterface,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *MprisPlayerInterface::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_MprisPlayerInterface.stringdata0))
        return static_cast<void*>(const_cast< MprisPlayerInterface*>(this));
    return QDBusAbstractAdaptor::qt_metacast(_clname);
}

int MprisPlayerInterface::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 < 15)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 15;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 15)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 15;
    }
#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 MprisPlayerInterface::Seeked(qlonglong _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_END_MOC_NAMESPACE
