/****************************************************************************
** Meta object code from reading C++ file 'playtoolbar.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/gui/widgets/playtoolbar.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'playtoolbar.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_PlayToolBar_t {
    QByteArrayData data[26];
    char stringdata0[264];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_PlayToolBar_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_PlayToolBar_t qt_meta_stringdata_PlayToolBar = {
    {
QT_MOC_LITERAL(0, 0, 11), // "PlayToolBar"
QT_MOC_LITERAL(1, 12, 12), // "errorMessage"
QT_MOC_LITERAL(2, 25, 0), // ""
QT_MOC_LITERAL(3, 26, 3), // "msg"
QT_MOC_LITERAL(4, 30, 11), // "aboutToPlay"
QT_MOC_LITERAL(5, 42, 8), // "filePath"
QT_MOC_LITERAL(6, 51, 6), // "closed"
QT_MOC_LITERAL(7, 58, 4), // "tick"
QT_MOC_LITERAL(8, 63, 4), // "msec"
QT_MOC_LITERAL(9, 68, 12), // "stateChanged"
QT_MOC_LITERAL(10, 81, 19), // "QMediaPlayer::State"
QT_MOC_LITERAL(11, 101, 8), // "newState"
QT_MOC_LITERAL(12, 110, 5), // "error"
QT_MOC_LITERAL(13, 116, 19), // "QMediaPlayer::Error"
QT_MOC_LITERAL(14, 136, 3), // "err"
QT_MOC_LITERAL(15, 140, 15), // "durationChanged"
QT_MOC_LITERAL(16, 156, 8), // "duration"
QT_MOC_LITERAL(17, 165, 16), // "setVolumeToolTip"
QT_MOC_LITERAL(18, 182, 6), // "volume"
QT_MOC_LITERAL(19, 189, 10), // "seekAction"
QT_MOC_LITERAL(20, 200, 6), // "action"
QT_MOC_LITERAL(21, 207, 12), // "volumeAction"
QT_MOC_LITERAL(22, 220, 10), // "toggleMute"
QT_MOC_LITERAL(23, 231, 12), // "trackChanged"
QT_MOC_LITERAL(24, 244, 11), // "hasPrevious"
QT_MOC_LITERAL(25, 256, 7) // "hasNext"

    },
    "PlayToolBar\0errorMessage\0\0msg\0aboutToPlay\0"
    "filePath\0closed\0tick\0msec\0stateChanged\0"
    "QMediaPlayer::State\0newState\0error\0"
    "QMediaPlayer::Error\0err\0durationChanged\0"
    "duration\0setVolumeToolTip\0volume\0"
    "seekAction\0action\0volumeAction\0"
    "toggleMute\0trackChanged\0hasPrevious\0"
    "hasNext"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_PlayToolBar[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   74,    2, 0x06 /* Public */,
       4,    1,   77,    2, 0x06 /* Public */,
       6,    0,   80,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       7,    1,   81,    2, 0x08 /* Private */,
       9,    1,   84,    2, 0x08 /* Private */,
      12,    1,   87,    2, 0x08 /* Private */,
      15,    1,   90,    2, 0x08 /* Private */,
      17,    1,   93,    2, 0x08 /* Private */,
      19,    1,   96,    2, 0x08 /* Private */,
      21,    1,   99,    2, 0x08 /* Private */,
      22,    0,  102,    2, 0x08 /* Private */,
      23,    3,  103,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString,    5,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::LongLong,    8,
    QMetaType::Void, 0x80000000 | 10,   11,
    QMetaType::Void, 0x80000000 | 13,   14,
    QMetaType::Void, QMetaType::LongLong,   16,
    QMetaType::Void, QMetaType::Int,   18,
    QMetaType::Void, QMetaType::Int,   20,
    QMetaType::Void, QMetaType::Int,   20,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, QMetaType::Bool, QMetaType::Bool,    5,   24,   25,

       0        // eod
};

void PlayToolBar::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        PlayToolBar *_t = static_cast<PlayToolBar *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->errorMessage((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->aboutToPlay((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->closed(); break;
        case 3: _t->tick((*reinterpret_cast< qint64(*)>(_a[1]))); break;
        case 4: _t->stateChanged((*reinterpret_cast< QMediaPlayer::State(*)>(_a[1]))); break;
        case 5: _t->error((*reinterpret_cast< QMediaPlayer::Error(*)>(_a[1]))); break;
        case 6: _t->durationChanged((*reinterpret_cast< qint64(*)>(_a[1]))); break;
        case 7: _t->setVolumeToolTip((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: _t->seekAction((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 9: _t->volumeAction((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 10: _t->toggleMute(); break;
        case 11: _t->trackChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 4:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QMediaPlayer::State >(); break;
            }
            break;
        case 5:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QMediaPlayer::Error >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (PlayToolBar::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PlayToolBar::errorMessage)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (PlayToolBar::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PlayToolBar::aboutToPlay)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (PlayToolBar::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PlayToolBar::closed)) {
                *result = 2;
                return;
            }
        }
    }
}

const QMetaObject PlayToolBar::staticMetaObject = {
    { &QToolBar::staticMetaObject, qt_meta_stringdata_PlayToolBar.data,
      qt_meta_data_PlayToolBar,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int PlayToolBar::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QToolBar::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    }
    return _id;
}

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

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

// SIGNAL 2
void PlayToolBar::closed()
{
    QMetaObject::activate(this, &staticMetaObject, 2, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
