/****************************************************************************
** Meta object code from reading C++ file 'mediapanel.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/mediapanel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'mediapanel.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_ScrollingLabel_t {
    QByteArrayData data[4];
    char stringdata0[40];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_ScrollingLabel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_ScrollingLabel_t qt_meta_stringdata_ScrollingLabel = {
    {
QT_MOC_LITERAL(0, 0, 14), // "ScrollingLabel"
QT_MOC_LITERAL(1, 15, 10), // "timerEvent"
QT_MOC_LITERAL(2, 26, 0), // ""
QT_MOC_LITERAL(3, 27, 12) // "QTimerEvent*"

    },
    "ScrollingLabel\0timerEvent\0\0QTimerEvent*"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_ScrollingLabel[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   19,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3,    2,

       0        // eod
};

void ScrollingLabel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<ScrollingLabel *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->timerEvent((*reinterpret_cast< QTimerEvent*(*)>(_a[1]))); break;
        default: ;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject ScrollingLabel::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_meta_stringdata_ScrollingLabel.data,
    qt_meta_data_ScrollingLabel,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int ScrollingLabel::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 < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 1;
    }
    return _id;
}
struct qt_meta_stringdata_MediaPanel_t {
    QByteArrayData data[16];
    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_MediaPanel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MediaPanel_t qt_meta_stringdata_MediaPanel = {
    {
QT_MOC_LITERAL(0, 0, 10), // "MediaPanel"
QT_MOC_LITERAL(1, 11, 13), // "seekerChanged"
QT_MOC_LITERAL(2, 25, 0), // ""
QT_MOC_LITERAL(3, 26, 13), // "seekerWheelUp"
QT_MOC_LITERAL(4, 40, 15), // "seekerWheelDown"
QT_MOC_LITERAL(5, 56, 9), // "setSeeker"
QT_MOC_LITERAL(6, 66, 1), // "v"
QT_MOC_LITERAL(7, 68, 20), // "setResolutionVisible"
QT_MOC_LITERAL(8, 89, 1), // "b"
QT_MOC_LITERAL(9, 91, 19), // "setScrollingEnabled"
QT_MOC_LITERAL(10, 111, 13), // "reverseStatus"
QT_MOC_LITERAL(11, 125, 16), // "rearrangeWidgets"
QT_MOC_LITERAL(12, 142, 18), // "resolution_visible"
QT_MOC_LITERAL(13, 161, 6), // "bgLeft"
QT_MOC_LITERAL(14, 168, 7), // "bgRight"
QT_MOC_LITERAL(15, 176, 8) // "bgCenter"

    },
    "MediaPanel\0seekerChanged\0\0seekerWheelUp\0"
    "seekerWheelDown\0setSeeker\0v\0"
    "setResolutionVisible\0b\0setScrollingEnabled\0"
    "reverseStatus\0rearrangeWidgets\0"
    "resolution_visible\0bgLeft\0bgRight\0"
    "bgCenter"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MediaPanel[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   54,    2, 0x06 /* Public */,
       3,    0,   57,    2, 0x06 /* Public */,
       4,    0,   58,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       5,    1,   59,    2, 0x0a /* Public */,
       7,    1,   62,    2, 0x0a /* Public */,
       9,    1,   65,    2, 0x0a /* Public */,
      10,    0,   68,    2, 0x08 /* Private */,
      11,    1,   69,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void, QMetaType::Int,    6,
    QMetaType::Void, QMetaType::Bool,    8,
    QMetaType::Void, QMetaType::Bool,    8,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   12,

 // properties: name, type, flags
      13, QMetaType::QPixmap, 0x00095003,
      14, QMetaType::QPixmap, 0x00095003,
      15, QMetaType::QPixmap, 0x00095003,

       0        // eod
};

void MediaPanel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<MediaPanel *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->seekerChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: _t->seekerWheelUp(); break;
        case 2: _t->seekerWheelDown(); break;
        case 3: _t->setSeeker((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->setResolutionVisible((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 5: _t->setScrollingEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 6: _t->reverseStatus(); break;
        case 7: _t->rearrangeWidgets((*reinterpret_cast< bool(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (MediaPanel::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MediaPanel::seekerChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (MediaPanel::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MediaPanel::seekerWheelUp)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (MediaPanel::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MediaPanel::seekerWheelDown)) {
                *result = 2;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<MediaPanel *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QPixmap*>(_v) = _t->bgLeftPix(); break;
        case 1: *reinterpret_cast< QPixmap*>(_v) = _t->bgRightPix(); break;
        case 2: *reinterpret_cast< QPixmap*>(_v) = _t->bgCenterPix(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<MediaPanel *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setBgLeftPix(*reinterpret_cast< QPixmap*>(_v)); break;
        case 1: _t->setBgRightPix(*reinterpret_cast< QPixmap*>(_v)); break;
        case 2: _t->setBgCenterPix(*reinterpret_cast< QPixmap*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject MediaPanel::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_meta_stringdata_MediaPanel.data,
    qt_meta_data_MediaPanel,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

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

// SIGNAL 1
void MediaPanel::seekerWheelUp()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void MediaPanel::seekerWheelDown()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
