/****************************************************************************
** Meta object code from reading C++ file 'mediabarpanel.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 "../skingui/mediabarpanel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'mediabarpanel.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_MediaBarPanel_t {
    QByteArrayData data[22];
    char stringdata0[267];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MediaBarPanel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MediaBarPanel_t qt_meta_stringdata_MediaBarPanel = {
    {
QT_MOC_LITERAL(0, 0, 13), // "MediaBarPanel"
QT_MOC_LITERAL(1, 14, 13), // "volumeChanged"
QT_MOC_LITERAL(2, 28, 0), // ""
QT_MOC_LITERAL(3, 29, 17), // "volumeSliderMoved"
QT_MOC_LITERAL(4, 47, 13), // "seekerChanged"
QT_MOC_LITERAL(5, 61, 15), // "setMplayerState"
QT_MOC_LITERAL(6, 77, 11), // "Core::State"
QT_MOC_LITERAL(7, 89, 5), // "state"
QT_MOC_LITERAL(8, 95, 11), // "setDuration"
QT_MOC_LITERAL(9, 107, 14), // "gotCurrentTime"
QT_MOC_LITERAL(10, 122, 4), // "time"
QT_MOC_LITERAL(11, 127, 15), // "updateMediaInfo"
QT_MOC_LITERAL(12, 143, 14), // "displayMessage"
QT_MOC_LITERAL(13, 158, 6), // "status"
QT_MOC_LITERAL(14, 165, 23), // "displayPermanentMessage"
QT_MOC_LITERAL(15, 189, 12), // "setBuffering"
QT_MOC_LITERAL(16, 202, 9), // "setVolume"
QT_MOC_LITERAL(17, 212, 1), // "v"
QT_MOC_LITERAL(18, 214, 9), // "setSeeker"
QT_MOC_LITERAL(19, 224, 20), // "setResolutionVisible"
QT_MOC_LITERAL(20, 245, 1), // "b"
QT_MOC_LITERAL(21, 247, 19) // "setScrollingEnabled"

    },
    "MediaBarPanel\0volumeChanged\0\0"
    "volumeSliderMoved\0seekerChanged\0"
    "setMplayerState\0Core::State\0state\0"
    "setDuration\0gotCurrentTime\0time\0"
    "updateMediaInfo\0displayMessage\0status\0"
    "displayPermanentMessage\0setBuffering\0"
    "setVolume\0v\0setSeeker\0setResolutionVisible\0"
    "b\0setScrollingEnabled"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MediaBarPanel[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   89,    2, 0x06 /* Public */,
       3,    1,   92,    2, 0x06 /* Public */,
       4,    1,   95,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       5,    1,   98,    2, 0x0a /* Public */,
       8,    0,  101,    2, 0x0a /* Public */,
       9,    1,  102,    2, 0x0a /* Public */,
      11,    0,  105,    2, 0x0a /* Public */,
      12,    2,  106,    2, 0x0a /* Public */,
      12,    1,  111,    2, 0x0a /* Public */,
      14,    1,  114,    2, 0x0a /* Public */,
      15,    0,  117,    2, 0x0a /* Public */,
      16,    1,  118,    2, 0x0a /* Public */,
      18,    1,  121,    2, 0x0a /* Public */,
      19,    1,  124,    2, 0x0a /* Public */,
      21,    1,  127,    2, 0x0a /* Public */,

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

 // slots: parameters
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Double,   10,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, QMetaType::Int,   13,   10,
    QMetaType::Void, QMetaType::QString,   13,
    QMetaType::Void, QMetaType::QString,   13,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   17,
    QMetaType::Void, QMetaType::Int,   17,
    QMetaType::Void, QMetaType::Bool,   20,
    QMetaType::Void, QMetaType::Bool,   20,

       0        // eod
};

void MediaBarPanel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<MediaBarPanel *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->volumeChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: _t->volumeSliderMoved((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: _t->seekerChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->setMplayerState((*reinterpret_cast< Core::State(*)>(_a[1]))); break;
        case 4: _t->setDuration(); break;
        case 5: _t->gotCurrentTime((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 6: _t->updateMediaInfo(); break;
        case 7: _t->displayMessage((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 8: _t->displayMessage((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 9: _t->displayPermanentMessage((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 10: _t->setBuffering(); break;
        case 11: _t->setVolume((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 12: _t->setSeeker((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 13: _t->setResolutionVisible((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 14: _t->setScrollingEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (MediaBarPanel::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MediaBarPanel::volumeChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (MediaBarPanel::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MediaBarPanel::volumeSliderMoved)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (MediaBarPanel::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MediaBarPanel::seekerChanged)) {
                *result = 2;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject MediaBarPanel::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_meta_stringdata_MediaBarPanel.data,
    qt_meta_data_MediaBarPanel,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int MediaBarPanel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::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 MediaBarPanel::volumeChanged(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void MediaBarPanel::volumeSliderMoved(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void MediaBarPanel::seekerChanged(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
