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

#include <memory>
#include "../../../../phonon-4.12.0/phonon/videowidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'videowidget.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.19. 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_Phonon__VideoWidget_t {
    QByteArrayData data[28];
    char stringdata0[336];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Phonon__VideoWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Phonon__VideoWidget_t qt_meta_stringdata_Phonon__VideoWidget = {
    {
QT_MOC_LITERAL(0, 0, 19), // "Phonon::VideoWidget"
QT_MOC_LITERAL(1, 20, 13), // "setFullScreen"
QT_MOC_LITERAL(2, 34, 0), // ""
QT_MOC_LITERAL(3, 35, 10), // "fullscreen"
QT_MOC_LITERAL(4, 46, 14), // "exitFullScreen"
QT_MOC_LITERAL(5, 61, 15), // "enterFullScreen"
QT_MOC_LITERAL(6, 77, 14), // "setAspectRatio"
QT_MOC_LITERAL(7, 92, 11), // "AspectRatio"
QT_MOC_LITERAL(8, 104, 12), // "setScaleMode"
QT_MOC_LITERAL(9, 117, 9), // "ScaleMode"
QT_MOC_LITERAL(10, 127, 13), // "setBrightness"
QT_MOC_LITERAL(11, 141, 5), // "value"
QT_MOC_LITERAL(12, 147, 11), // "setContrast"
QT_MOC_LITERAL(13, 159, 6), // "setHue"
QT_MOC_LITERAL(14, 166, 13), // "setSaturation"
QT_MOC_LITERAL(15, 180, 10), // "fullScreen"
QT_MOC_LITERAL(16, 191, 11), // "aspectRatio"
QT_MOC_LITERAL(17, 203, 9), // "scaleMode"
QT_MOC_LITERAL(18, 213, 10), // "brightness"
QT_MOC_LITERAL(19, 224, 8), // "contrast"
QT_MOC_LITERAL(20, 233, 3), // "hue"
QT_MOC_LITERAL(21, 237, 10), // "saturation"
QT_MOC_LITERAL(22, 248, 15), // "AspectRatioAuto"
QT_MOC_LITERAL(23, 264, 17), // "AspectRatioWidget"
QT_MOC_LITERAL(24, 282, 14), // "AspectRatio4_3"
QT_MOC_LITERAL(25, 297, 15), // "AspectRatio16_9"
QT_MOC_LITERAL(26, 313, 9), // "FitInView"
QT_MOC_LITERAL(27, 323, 12) // "ScaleAndCrop"

    },
    "Phonon::VideoWidget\0setFullScreen\0\0"
    "fullscreen\0exitFullScreen\0enterFullScreen\0"
    "setAspectRatio\0AspectRatio\0setScaleMode\0"
    "ScaleMode\0setBrightness\0value\0setContrast\0"
    "setHue\0setSaturation\0fullScreen\0"
    "aspectRatio\0scaleMode\0brightness\0"
    "contrast\0hue\0saturation\0AspectRatioAuto\0"
    "AspectRatioWidget\0AspectRatio4_3\0"
    "AspectRatio16_9\0FitInView\0ScaleAndCrop"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Phonon__VideoWidget[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
       9,   14, // methods
       7,   82, // properties
       2,  103, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // slots: name, argc, parameters, tag, flags
       1,    1,   59,    2, 0x0a /* Public */,
       4,    0,   62,    2, 0x0a /* Public */,
       5,    0,   63,    2, 0x0a /* Public */,
       6,    1,   64,    2, 0x0a /* Public */,
       8,    1,   67,    2, 0x0a /* Public */,
      10,    1,   70,    2, 0x0a /* Public */,
      12,    1,   73,    2, 0x0a /* Public */,
      13,    1,   76,    2, 0x0a /* Public */,
      14,    1,   79,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 7,    2,
    QMetaType::Void, 0x80000000 | 9,    2,
    QMetaType::Void, QMetaType::QReal,   11,
    QMetaType::Void, QMetaType::QReal,   11,
    QMetaType::Void, QMetaType::QReal,   11,
    QMetaType::Void, QMetaType::QReal,   11,

 // properties: name, type, flags
      15, QMetaType::Bool, 0x00095103,
      16, 0x80000000 | 7, 0x0009510b,
      17, 0x80000000 | 9, 0x0009510b,
      18, QMetaType::QReal, 0x00095103,
      19, QMetaType::QReal, 0x00095103,
      20, QMetaType::QReal, 0x00095103,
      21, QMetaType::QReal, 0x00095103,

 // enums: name, alias, flags, count, data
       7,    7, 0x0,    4,  113,
       9,    9, 0x0,    2,  121,

 // enum data: key, value
      22, uint(Phonon::VideoWidget::AspectRatioAuto),
      23, uint(Phonon::VideoWidget::AspectRatioWidget),
      24, uint(Phonon::VideoWidget::AspectRatio4_3),
      25, uint(Phonon::VideoWidget::AspectRatio16_9),
      26, uint(Phonon::VideoWidget::FitInView),
      27, uint(Phonon::VideoWidget::ScaleAndCrop),

       0        // eod
};

void Phonon::VideoWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<VideoWidget *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->setFullScreen((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 1: _t->exitFullScreen(); break;
        case 2: _t->enterFullScreen(); break;
        case 3: _t->setAspectRatio((*reinterpret_cast< AspectRatio(*)>(_a[1]))); break;
        case 4: _t->setScaleMode((*reinterpret_cast< ScaleMode(*)>(_a[1]))); break;
        case 5: _t->setBrightness((*reinterpret_cast< qreal(*)>(_a[1]))); break;
        case 6: _t->setContrast((*reinterpret_cast< qreal(*)>(_a[1]))); break;
        case 7: _t->setHue((*reinterpret_cast< qreal(*)>(_a[1]))); break;
        case 8: _t->setSaturation((*reinterpret_cast< qreal(*)>(_a[1]))); break;
        default: ;
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<VideoWidget *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->isFullScreen(); break;
        case 1: *reinterpret_cast< AspectRatio*>(_v) = _t->aspectRatio(); break;
        case 2: *reinterpret_cast< ScaleMode*>(_v) = _t->scaleMode(); break;
        case 3: *reinterpret_cast< qreal*>(_v) = _t->brightness(); break;
        case 4: *reinterpret_cast< qreal*>(_v) = _t->contrast(); break;
        case 5: *reinterpret_cast< qreal*>(_v) = _t->hue(); break;
        case 6: *reinterpret_cast< qreal*>(_v) = _t->saturation(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<VideoWidget *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setFullScreen(*reinterpret_cast< bool*>(_v)); break;
        case 1: _t->setAspectRatio(*reinterpret_cast< AspectRatio*>(_v)); break;
        case 2: _t->setScaleMode(*reinterpret_cast< ScaleMode*>(_v)); break;
        case 3: _t->setBrightness(*reinterpret_cast< qreal*>(_v)); break;
        case 4: _t->setContrast(*reinterpret_cast< qreal*>(_v)); break;
        case 5: _t->setHue(*reinterpret_cast< qreal*>(_v)); break;
        case 6: _t->setSaturation(*reinterpret_cast< qreal*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject Phonon::VideoWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_meta_stringdata_Phonon__VideoWidget.data,
    qt_meta_data_Phonon__VideoWidget,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *Phonon::VideoWidget::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Phonon__VideoWidget.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "Phonon::AbstractVideoOutput"))
        return static_cast< Phonon::AbstractVideoOutput*>(this);
    return QWidget::qt_metacast(_clname);
}

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