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

#include <memory>
#include "../../../../../kwayland-5.116.0/src/client/outputdevice.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'outputdevice.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.17. 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_KWayland__Client__OutputDevice_t {
    QByteArrayData data[43];
    char stringdata0[509];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWayland__Client__OutputDevice_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWayland__Client__OutputDevice_t qt_meta_stringdata_KWayland__Client__OutputDevice = {
    {
QT_MOC_LITERAL(0, 0, 30), // "KWayland::Client::OutputDevice"
QT_MOC_LITERAL(1, 31, 4), // "done"
QT_MOC_LITERAL(2, 36, 0), // ""
QT_MOC_LITERAL(3, 37, 7), // "changed"
QT_MOC_LITERAL(4, 45, 14), // "enabledChanged"
QT_MOC_LITERAL(5, 60, 24), // "OutputDevice::Enablement"
QT_MOC_LITERAL(6, 85, 7), // "enabled"
QT_MOC_LITERAL(7, 93, 11), // "uuidChanged"
QT_MOC_LITERAL(8, 105, 4), // "uuid"
QT_MOC_LITERAL(9, 110, 9), // "modeAdded"
QT_MOC_LITERAL(10, 120, 36), // "KWayland::Client::OutputDevic..."
QT_MOC_LITERAL(11, 157, 4), // "mode"
QT_MOC_LITERAL(12, 162, 11), // "modeChanged"
QT_MOC_LITERAL(13, 174, 18), // "colorCurvesChanged"
QT_MOC_LITERAL(14, 193, 19), // "capabilitiesChanged"
QT_MOC_LITERAL(15, 213, 12), // "Capabilities"
QT_MOC_LITERAL(16, 226, 12), // "capabilities"
QT_MOC_LITERAL(17, 239, 15), // "overscanChanged"
QT_MOC_LITERAL(18, 255, 8), // "uint32_t"
QT_MOC_LITERAL(19, 264, 8), // "overscan"
QT_MOC_LITERAL(20, 273, 16), // "vrrPolicyChanged"
QT_MOC_LITERAL(21, 290, 9), // "VrrPolicy"
QT_MOC_LITERAL(22, 300, 9), // "vrrPolicy"
QT_MOC_LITERAL(23, 310, 7), // "removed"
QT_MOC_LITERAL(24, 318, 8), // "SubPixel"
QT_MOC_LITERAL(25, 327, 7), // "Unknown"
QT_MOC_LITERAL(26, 335, 4), // "None"
QT_MOC_LITERAL(27, 340, 13), // "HorizontalRGB"
QT_MOC_LITERAL(28, 354, 13), // "HorizontalBGR"
QT_MOC_LITERAL(29, 368, 11), // "VerticalRGB"
QT_MOC_LITERAL(30, 380, 11), // "VerticalBGR"
QT_MOC_LITERAL(31, 392, 9), // "Transform"
QT_MOC_LITERAL(32, 402, 6), // "Normal"
QT_MOC_LITERAL(33, 409, 9), // "Rotated90"
QT_MOC_LITERAL(34, 419, 10), // "Rotated180"
QT_MOC_LITERAL(35, 430, 10), // "Rotated270"
QT_MOC_LITERAL(36, 441, 7), // "Flipped"
QT_MOC_LITERAL(37, 449, 9), // "Flipped90"
QT_MOC_LITERAL(38, 459, 10), // "Flipped180"
QT_MOC_LITERAL(39, 470, 10), // "Flipped270"
QT_MOC_LITERAL(40, 481, 10), // "Enablement"
QT_MOC_LITERAL(41, 492, 8), // "Disabled"
QT_MOC_LITERAL(42, 501, 7) // "Enabled"

    },
    "KWayland::Client::OutputDevice\0done\0"
    "\0changed\0enabledChanged\0"
    "OutputDevice::Enablement\0enabled\0"
    "uuidChanged\0uuid\0modeAdded\0"
    "KWayland::Client::OutputDevice::Mode\0"
    "mode\0modeChanged\0colorCurvesChanged\0"
    "capabilitiesChanged\0Capabilities\0"
    "capabilities\0overscanChanged\0uint32_t\0"
    "overscan\0vrrPolicyChanged\0VrrPolicy\0"
    "vrrPolicy\0removed\0SubPixel\0Unknown\0"
    "None\0HorizontalRGB\0HorizontalBGR\0"
    "VerticalRGB\0VerticalBGR\0Transform\0"
    "Normal\0Rotated90\0Rotated180\0Rotated270\0"
    "Flipped\0Flipped90\0Flipped180\0Flipped270\0"
    "Enablement\0Disabled\0Enabled"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWayland__Client__OutputDevice[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   69,    2, 0x06 /* Public */,
       3,    0,   70,    2, 0x06 /* Public */,
       4,    1,   71,    2, 0x06 /* Public */,
       7,    1,   74,    2, 0x06 /* Public */,
       9,    1,   77,    2, 0x06 /* Public */,
      12,    1,   80,    2, 0x06 /* Public */,
      13,    0,   83,    2, 0x06 /* Public */,
      14,    1,   84,    2, 0x06 /* Public */,
      17,    1,   87,    2, 0x06 /* Public */,
      20,    1,   90,    2, 0x06 /* Public */,
      23,    0,   93,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void, QMetaType::QByteArray,    8,
    QMetaType::Void, 0x80000000 | 10,   11,
    QMetaType::Void, 0x80000000 | 10,   11,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 15,   16,
    QMetaType::Void, 0x80000000 | 18,   19,
    QMetaType::Void, 0x80000000 | 21,   22,
    QMetaType::Void,

 // enums: name, alias, flags, count, data
      24,   24, 0x2,    6,  109,
      31,   31, 0x2,    8,  121,
      40,   40, 0x2,    2,  137,

 // enum data: key, value
      25, uint(KWayland::Client::OutputDevice::SubPixel::Unknown),
      26, uint(KWayland::Client::OutputDevice::SubPixel::None),
      27, uint(KWayland::Client::OutputDevice::SubPixel::HorizontalRGB),
      28, uint(KWayland::Client::OutputDevice::SubPixel::HorizontalBGR),
      29, uint(KWayland::Client::OutputDevice::SubPixel::VerticalRGB),
      30, uint(KWayland::Client::OutputDevice::SubPixel::VerticalBGR),
      32, uint(KWayland::Client::OutputDevice::Transform::Normal),
      33, uint(KWayland::Client::OutputDevice::Transform::Rotated90),
      34, uint(KWayland::Client::OutputDevice::Transform::Rotated180),
      35, uint(KWayland::Client::OutputDevice::Transform::Rotated270),
      36, uint(KWayland::Client::OutputDevice::Transform::Flipped),
      37, uint(KWayland::Client::OutputDevice::Transform::Flipped90),
      38, uint(KWayland::Client::OutputDevice::Transform::Flipped180),
      39, uint(KWayland::Client::OutputDevice::Transform::Flipped270),
      41, uint(KWayland::Client::OutputDevice::Enablement::Disabled),
      42, uint(KWayland::Client::OutputDevice::Enablement::Enabled),

       0        // eod
};

void KWayland::Client::OutputDevice::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<OutputDevice *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->done(); break;
        case 1: _t->changed(); break;
        case 2: _t->enabledChanged((*reinterpret_cast< OutputDevice::Enablement(*)>(_a[1]))); break;
        case 3: _t->uuidChanged((*reinterpret_cast< const QByteArray(*)>(_a[1]))); break;
        case 4: _t->modeAdded((*reinterpret_cast< const KWayland::Client::OutputDevice::Mode(*)>(_a[1]))); break;
        case 5: _t->modeChanged((*reinterpret_cast< const KWayland::Client::OutputDevice::Mode(*)>(_a[1]))); break;
        case 6: _t->colorCurvesChanged(); break;
        case 7: _t->capabilitiesChanged((*reinterpret_cast< const Capabilities(*)>(_a[1]))); break;
        case 8: _t->overscanChanged((*reinterpret_cast< uint32_t(*)>(_a[1]))); break;
        case 9: _t->vrrPolicyChanged((*reinterpret_cast< VrrPolicy(*)>(_a[1]))); break;
        case 10: _t->removed(); 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< KWayland::Client::OutputDevice::Mode >(); 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< KWayland::Client::OutputDevice::Mode >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (OutputDevice::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&OutputDevice::done)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (OutputDevice::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&OutputDevice::changed)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (OutputDevice::*)(OutputDevice::Enablement );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&OutputDevice::enabledChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (OutputDevice::*)(const QByteArray & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&OutputDevice::uuidChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (OutputDevice::*)(const KWayland::Client::OutputDevice::Mode & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&OutputDevice::modeAdded)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (OutputDevice::*)(const KWayland::Client::OutputDevice::Mode & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&OutputDevice::modeChanged)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (OutputDevice::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&OutputDevice::colorCurvesChanged)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (OutputDevice::*)(const Capabilities & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&OutputDevice::capabilitiesChanged)) {
                *result = 7;
                return;
            }
        }
        {
            using _t = void (OutputDevice::*)(uint32_t );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&OutputDevice::overscanChanged)) {
                *result = 8;
                return;
            }
        }
        {
            using _t = void (OutputDevice::*)(VrrPolicy );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&OutputDevice::vrrPolicyChanged)) {
                *result = 9;
                return;
            }
        }
        {
            using _t = void (OutputDevice::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&OutputDevice::removed)) {
                *result = 10;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject KWayland::Client::OutputDevice::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_KWayland__Client__OutputDevice.data,
    qt_meta_data_KWayland__Client__OutputDevice,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *KWayland::Client::OutputDevice::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KWayland__Client__OutputDevice.stringdata0))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int KWayland::Client::OutputDevice::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 < 11)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 11)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    }
    return _id;
}

// SIGNAL 0
void KWayland::Client::OutputDevice::done()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void KWayland::Client::OutputDevice::changed()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void KWayland::Client::OutputDevice::enabledChanged(OutputDevice::Enablement _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void KWayland::Client::OutputDevice::uuidChanged(const QByteArray & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void KWayland::Client::OutputDevice::modeAdded(const KWayland::Client::OutputDevice::Mode & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void KWayland::Client::OutputDevice::modeChanged(const KWayland::Client::OutputDevice::Mode & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void KWayland::Client::OutputDevice::colorCurvesChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void KWayland::Client::OutputDevice::capabilitiesChanged(const Capabilities & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}

// SIGNAL 8
void KWayland::Client::OutputDevice::overscanChanged(uint32_t _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 8, _a);
}

// SIGNAL 9
void KWayland::Client::OutputDevice::vrrPolicyChanged(VrrPolicy _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 9, _a);
}

// SIGNAL 10
void KWayland::Client::OutputDevice::removed()
{
    QMetaObject::activate(this, &staticMetaObject, 10, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
