/****************************************************************************
** Meta object code from reading C++ file 'audioplayer.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.4/src/core/model/audioplayer.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'audioplayer.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_AudioPlayer_t {
    QByteArrayData data[25];
    char stringdata0[274];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_AudioPlayer_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_AudioPlayer_t qt_meta_stringdata_AudioPlayer = {
    {
QT_MOC_LITERAL(0, 0, 11), // "AudioPlayer"
QT_MOC_LITERAL(1, 12, 11), // "aboutToPlay"
QT_MOC_LITERAL(2, 24, 0), // ""
QT_MOC_LITERAL(3, 25, 8), // "filePath"
QT_MOC_LITERAL(4, 34, 12), // "trackChanged"
QT_MOC_LITERAL(5, 47, 11), // "hasPrevious"
QT_MOC_LITERAL(6, 59, 7), // "hasNext"
QT_MOC_LITERAL(7, 67, 15), // "positionChanged"
QT_MOC_LITERAL(8, 83, 8), // "position"
QT_MOC_LITERAL(9, 92, 22), // "currentPositionChanged"
QT_MOC_LITERAL(10, 115, 12), // "stateChanged"
QT_MOC_LITERAL(11, 128, 18), // "AudioPlayer::State"
QT_MOC_LITERAL(12, 147, 5), // "state"
QT_MOC_LITERAL(13, 153, 13), // "volumeChanged"
QT_MOC_LITERAL(14, 167, 6), // "volume"
QT_MOC_LITERAL(15, 174, 16), // "fileCountChanged"
QT_MOC_LITERAL(16, 191, 5), // "count"
QT_MOC_LITERAL(17, 197, 11), // "playOrPause"
QT_MOC_LITERAL(18, 209, 4), // "play"
QT_MOC_LITERAL(19, 214, 5), // "pause"
QT_MOC_LITERAL(20, 220, 4), // "stop"
QT_MOC_LITERAL(21, 225, 8), // "previous"
QT_MOC_LITERAL(22, 234, 4), // "next"
QT_MOC_LITERAL(23, 239, 19), // "currentIndexChanged"
QT_MOC_LITERAL(24, 259, 14) // "onStateChanged"

    },
    "AudioPlayer\0aboutToPlay\0\0filePath\0"
    "trackChanged\0hasPrevious\0hasNext\0"
    "positionChanged\0position\0"
    "currentPositionChanged\0stateChanged\0"
    "AudioPlayer::State\0state\0volumeChanged\0"
    "volume\0fileCountChanged\0count\0playOrPause\0"
    "play\0pause\0stop\0previous\0next\0"
    "currentIndexChanged\0onStateChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_AudioPlayer[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   89,    2, 0x06 /* Public */,
       4,    3,   92,    2, 0x06 /* Public */,
       7,    1,   99,    2, 0x06 /* Public */,
       9,    1,  102,    2, 0x06 /* Public */,
      10,    1,  105,    2, 0x06 /* Public */,
      13,    1,  108,    2, 0x06 /* Public */,
      15,    1,  111,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      17,    0,  114,    2, 0x0a /* Public */,
      18,    0,  115,    2, 0x0a /* Public */,
      19,    0,  116,    2, 0x0a /* Public */,
      20,    0,  117,    2, 0x0a /* Public */,
      21,    0,  118,    2, 0x0a /* Public */,
      22,    0,  119,    2, 0x0a /* Public */,
      23,    1,  120,    2, 0x08 /* Private */,
      24,    0,  123,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString, QMetaType::Bool, QMetaType::Bool,    3,    5,    6,
    QMetaType::Void, QMetaType::LongLong,    8,
    QMetaType::Void, QMetaType::LongLong,    8,
    QMetaType::Void, 0x80000000 | 11,   12,
    QMetaType::Void, QMetaType::Int,   14,
    QMetaType::Void, QMetaType::Int,   16,

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

       0        // eod
};

void AudioPlayer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        AudioPlayer *_t = static_cast<AudioPlayer *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->aboutToPlay((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->trackChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
        case 2: _t->positionChanged((*reinterpret_cast< qint64(*)>(_a[1]))); break;
        case 3: _t->currentPositionChanged((*reinterpret_cast< qint64(*)>(_a[1]))); break;
        case 4: _t->stateChanged((*reinterpret_cast< AudioPlayer::State(*)>(_a[1]))); break;
        case 5: _t->volumeChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->fileCountChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 7: _t->playOrPause(); break;
        case 8: _t->play(); break;
        case 9: _t->pause(); break;
        case 10: _t->stop(); break;
        case 11: _t->previous(); break;
        case 12: _t->next(); break;
        case 13: _t->currentIndexChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 14: _t->onStateChanged(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (AudioPlayer::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AudioPlayer::aboutToPlay)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (AudioPlayer::*_t)(const QString & , bool , bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AudioPlayer::trackChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (AudioPlayer::*_t)(qint64 );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AudioPlayer::positionChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (AudioPlayer::*_t)(qint64 );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AudioPlayer::currentPositionChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (AudioPlayer::*_t)(AudioPlayer::State );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AudioPlayer::stateChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (AudioPlayer::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AudioPlayer::volumeChanged)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (AudioPlayer::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AudioPlayer::fileCountChanged)) {
                *result = 6;
                return;
            }
        }
    }
}

const QMetaObject AudioPlayer::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_AudioPlayer.data,
      qt_meta_data_AudioPlayer,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int AudioPlayer::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 < 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;
    }
    return _id;
}

// SIGNAL 0
void AudioPlayer::aboutToPlay(const QString & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void AudioPlayer::trackChanged(const QString & _t1, bool _t2, bool _t3)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void AudioPlayer::positionChanged(qint64 _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void AudioPlayer::currentPositionChanged(qint64 _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void AudioPlayer::stateChanged(AudioPlayer::State _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void AudioPlayer::volumeChanged(int _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void AudioPlayer::fileCountChanged(int _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}
QT_END_MOC_NAMESPACE
