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

#include <memory>
#include "../../../../../dwayland-5.25.0/src/server/surface_interface.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'surface_interface.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.14. 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_KWaylandServer__SurfaceInterface_t {
    QByteArrayData data[32];
    char stringdata0[522];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWaylandServer__SurfaceInterface_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWaylandServer__SurfaceInterface_t qt_meta_stringdata_KWaylandServer__SurfaceInterface = {
    {
QT_MOC_LITERAL(0, 0, 32), // "KWaylandServer::SurfaceInterface"
QT_MOC_LITERAL(1, 33, 18), // "aboutToBeDestroyed"
QT_MOC_LITERAL(2, 52, 0), // ""
QT_MOC_LITERAL(3, 53, 28), // "surfaceToBufferMatrixChanged"
QT_MOC_LITERAL(4, 82, 7), // "damaged"
QT_MOC_LITERAL(5, 90, 13), // "opaqueChanged"
QT_MOC_LITERAL(6, 104, 12), // "inputChanged"
QT_MOC_LITERAL(7, 117, 18), // "bufferScaleChanged"
QT_MOC_LITERAL(8, 136, 22), // "bufferTransformChanged"
QT_MOC_LITERAL(9, 159, 42), // "KWaylandServer::OutputInterfa..."
QT_MOC_LITERAL(10, 202, 17), // "bufferSizeChanged"
QT_MOC_LITERAL(11, 220, 6), // "mapped"
QT_MOC_LITERAL(12, 227, 8), // "unmapped"
QT_MOC_LITERAL(13, 236, 11), // "sizeChanged"
QT_MOC_LITERAL(14, 248, 13), // "shadowChanged"
QT_MOC_LITERAL(15, 262, 11), // "blurChanged"
QT_MOC_LITERAL(16, 274, 22), // "slideOnShowHideChanged"
QT_MOC_LITERAL(17, 297, 15), // "contrastChanged"
QT_MOC_LITERAL(18, 313, 20), // "childSubSurfaceAdded"
QT_MOC_LITERAL(19, 334, 20), // "SubSurfaceInterface*"
QT_MOC_LITERAL(20, 355, 10), // "subSurface"
QT_MOC_LITERAL(21, 366, 22), // "childSubSurfaceRemoved"
QT_MOC_LITERAL(22, 389, 23), // "childSubSurfacesChanged"
QT_MOC_LITERAL(23, 413, 25), // "pointerConstraintsChanged"
QT_MOC_LITERAL(24, 439, 19), // "inhibitsIdleChanged"
QT_MOC_LITERAL(25, 459, 9), // "committed"
QT_MOC_LITERAL(26, 469, 6), // "damage"
QT_MOC_LITERAL(27, 476, 6), // "opaque"
QT_MOC_LITERAL(28, 483, 5), // "input"
QT_MOC_LITERAL(29, 489, 11), // "bufferScale"
QT_MOC_LITERAL(30, 501, 15), // "bufferTransform"
QT_MOC_LITERAL(31, 517, 4) // "size"

    },
    "KWaylandServer::SurfaceInterface\0"
    "aboutToBeDestroyed\0\0surfaceToBufferMatrixChanged\0"
    "damaged\0opaqueChanged\0inputChanged\0"
    "bufferScaleChanged\0bufferTransformChanged\0"
    "KWaylandServer::OutputInterface::Transform\0"
    "bufferSizeChanged\0mapped\0unmapped\0"
    "sizeChanged\0shadowChanged\0blurChanged\0"
    "slideOnShowHideChanged\0contrastChanged\0"
    "childSubSurfaceAdded\0SubSurfaceInterface*\0"
    "subSurface\0childSubSurfaceRemoved\0"
    "childSubSurfacesChanged\0"
    "pointerConstraintsChanged\0inhibitsIdleChanged\0"
    "committed\0damage\0opaque\0input\0bufferScale\0"
    "bufferTransform\0size"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWaylandServer__SurfaceInterface[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,  119,    2, 0x06 /* Public */,
       3,    0,  120,    2, 0x06 /* Public */,
       4,    1,  121,    2, 0x06 /* Public */,
       5,    1,  124,    2, 0x06 /* Public */,
       6,    1,  127,    2, 0x06 /* Public */,
       7,    1,  130,    2, 0x06 /* Public */,
       8,    1,  133,    2, 0x06 /* Public */,
      10,    0,  136,    2, 0x06 /* Public */,
      11,    0,  137,    2, 0x06 /* Public */,
      12,    0,  138,    2, 0x06 /* Public */,
      13,    0,  139,    2, 0x06 /* Public */,
      14,    0,  140,    2, 0x06 /* Public */,
      15,    0,  141,    2, 0x06 /* Public */,
      16,    0,  142,    2, 0x06 /* Public */,
      17,    0,  143,    2, 0x06 /* Public */,
      18,    1,  144,    2, 0x06 /* Public */,
      21,    1,  147,    2, 0x06 /* Public */,
      22,    0,  150,    2, 0x06 /* Public */,
      23,    0,  151,    2, 0x06 /* Public */,
      24,    0,  152,    2, 0x06 /* Public */,
      25,    0,  153,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QRegion,    2,
    QMetaType::Void, QMetaType::QRegion,    2,
    QMetaType::Void, QMetaType::QRegion,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, 0x80000000 | 9,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 19,   20,
    QMetaType::Void, 0x80000000 | 19,   20,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // properties: name, type, flags
      26, QMetaType::QRegion, 0x00495001,
      27, QMetaType::QRegion, 0x00495001,
      28, QMetaType::QRegion, 0x00495001,
      29, QMetaType::Int, 0x00495001,
      30, 0x80000000 | 9, 0x00495009,
      31, QMetaType::QSize, 0x00495001,

 // properties: notify_signal_id
       2,
       3,
       4,
       5,
       6,
      10,

       0        // eod
};

void KWaylandServer::SurfaceInterface::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<SurfaceInterface *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->aboutToBeDestroyed(); break;
        case 1: _t->surfaceToBufferMatrixChanged(); break;
        case 2: _t->damaged((*reinterpret_cast< const QRegion(*)>(_a[1]))); break;
        case 3: _t->opaqueChanged((*reinterpret_cast< const QRegion(*)>(_a[1]))); break;
        case 4: _t->inputChanged((*reinterpret_cast< const QRegion(*)>(_a[1]))); break;
        case 5: _t->bufferScaleChanged((*reinterpret_cast< qint32(*)>(_a[1]))); break;
        case 6: _t->bufferTransformChanged((*reinterpret_cast< KWaylandServer::OutputInterface::Transform(*)>(_a[1]))); break;
        case 7: _t->bufferSizeChanged(); break;
        case 8: _t->mapped(); break;
        case 9: _t->unmapped(); break;
        case 10: _t->sizeChanged(); break;
        case 11: _t->shadowChanged(); break;
        case 12: _t->blurChanged(); break;
        case 13: _t->slideOnShowHideChanged(); break;
        case 14: _t->contrastChanged(); break;
        case 15: _t->childSubSurfaceAdded((*reinterpret_cast< SubSurfaceInterface*(*)>(_a[1]))); break;
        case 16: _t->childSubSurfaceRemoved((*reinterpret_cast< SubSurfaceInterface*(*)>(_a[1]))); break;
        case 17: _t->childSubSurfacesChanged(); break;
        case 18: _t->pointerConstraintsChanged(); break;
        case 19: _t->inhibitsIdleChanged(); break;
        case 20: _t->committed(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 6:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KWaylandServer::OutputInterface::Transform >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (SurfaceInterface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SurfaceInterface::aboutToBeDestroyed)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (SurfaceInterface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SurfaceInterface::surfaceToBufferMatrixChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (SurfaceInterface::*)(const QRegion & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SurfaceInterface::damaged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (SurfaceInterface::*)(const QRegion & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SurfaceInterface::opaqueChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (SurfaceInterface::*)(const QRegion & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SurfaceInterface::inputChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (SurfaceInterface::*)(qint32 );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SurfaceInterface::bufferScaleChanged)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (SurfaceInterface::*)(KWaylandServer::OutputInterface::Transform );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SurfaceInterface::bufferTransformChanged)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (SurfaceInterface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SurfaceInterface::bufferSizeChanged)) {
                *result = 7;
                return;
            }
        }
        {
            using _t = void (SurfaceInterface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SurfaceInterface::mapped)) {
                *result = 8;
                return;
            }
        }
        {
            using _t = void (SurfaceInterface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SurfaceInterface::unmapped)) {
                *result = 9;
                return;
            }
        }
        {
            using _t = void (SurfaceInterface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SurfaceInterface::sizeChanged)) {
                *result = 10;
                return;
            }
        }
        {
            using _t = void (SurfaceInterface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SurfaceInterface::shadowChanged)) {
                *result = 11;
                return;
            }
        }
        {
            using _t = void (SurfaceInterface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SurfaceInterface::blurChanged)) {
                *result = 12;
                return;
            }
        }
        {
            using _t = void (SurfaceInterface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SurfaceInterface::slideOnShowHideChanged)) {
                *result = 13;
                return;
            }
        }
        {
            using _t = void (SurfaceInterface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SurfaceInterface::contrastChanged)) {
                *result = 14;
                return;
            }
        }
        {
            using _t = void (SurfaceInterface::*)(SubSurfaceInterface * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SurfaceInterface::childSubSurfaceAdded)) {
                *result = 15;
                return;
            }
        }
        {
            using _t = void (SurfaceInterface::*)(SubSurfaceInterface * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SurfaceInterface::childSubSurfaceRemoved)) {
                *result = 16;
                return;
            }
        }
        {
            using _t = void (SurfaceInterface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SurfaceInterface::childSubSurfacesChanged)) {
                *result = 17;
                return;
            }
        }
        {
            using _t = void (SurfaceInterface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SurfaceInterface::pointerConstraintsChanged)) {
                *result = 18;
                return;
            }
        }
        {
            using _t = void (SurfaceInterface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SurfaceInterface::inhibitsIdleChanged)) {
                *result = 19;
                return;
            }
        }
        {
            using _t = void (SurfaceInterface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SurfaceInterface::committed)) {
                *result = 20;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 4:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KWaylandServer::OutputInterface::Transform >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<SurfaceInterface *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QRegion*>(_v) = _t->damage(); break;
        case 1: *reinterpret_cast< QRegion*>(_v) = _t->opaque(); break;
        case 2: *reinterpret_cast< QRegion*>(_v) = _t->input(); break;
        case 3: *reinterpret_cast< qint32*>(_v) = _t->bufferScale(); break;
        case 4: *reinterpret_cast< KWaylandServer::OutputInterface::Transform*>(_v) = _t->bufferTransform(); break;
        case 5: *reinterpret_cast< QSize*>(_v) = _t->size(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

static const QMetaObject::SuperData qt_meta_extradata_KWaylandServer__SurfaceInterface[] = {
    QMetaObject::SuperData::link<KWaylandServer::OutputInterface::staticMetaObject>(),
    nullptr
};

QT_INIT_METAOBJECT const QMetaObject KWaylandServer::SurfaceInterface::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_KWaylandServer__SurfaceInterface.data,
    qt_meta_data_KWaylandServer__SurfaceInterface,
    qt_static_metacall,
    qt_meta_extradata_KWaylandServer__SurfaceInterface,
    nullptr
} };


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

void *KWaylandServer::SurfaceInterface::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KWaylandServer__SurfaceInterface.stringdata0))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int KWaylandServer::SurfaceInterface::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 < 21)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 21;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 21)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 21;
    }
#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 -= 6;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 6;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void KWaylandServer::SurfaceInterface::aboutToBeDestroyed()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void KWaylandServer::SurfaceInterface::surfaceToBufferMatrixChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void KWaylandServer::SurfaceInterface::damaged(const QRegion & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void KWaylandServer::SurfaceInterface::opaqueChanged(const QRegion & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void KWaylandServer::SurfaceInterface::inputChanged(const QRegion & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void KWaylandServer::SurfaceInterface::bufferScaleChanged(qint32 _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void KWaylandServer::SurfaceInterface::bufferTransformChanged(KWaylandServer::OutputInterface::Transform _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

// SIGNAL 7
void KWaylandServer::SurfaceInterface::bufferSizeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}

// SIGNAL 8
void KWaylandServer::SurfaceInterface::mapped()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}

// SIGNAL 9
void KWaylandServer::SurfaceInterface::unmapped()
{
    QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
}

// SIGNAL 10
void KWaylandServer::SurfaceInterface::sizeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 10, nullptr);
}

// SIGNAL 11
void KWaylandServer::SurfaceInterface::shadowChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 11, nullptr);
}

// SIGNAL 12
void KWaylandServer::SurfaceInterface::blurChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 12, nullptr);
}

// SIGNAL 13
void KWaylandServer::SurfaceInterface::slideOnShowHideChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 13, nullptr);
}

// SIGNAL 14
void KWaylandServer::SurfaceInterface::contrastChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 14, nullptr);
}

// SIGNAL 15
void KWaylandServer::SurfaceInterface::childSubSurfaceAdded(SubSurfaceInterface * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 15, _a);
}

// SIGNAL 16
void KWaylandServer::SurfaceInterface::childSubSurfaceRemoved(SubSurfaceInterface * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 16, _a);
}

// SIGNAL 17
void KWaylandServer::SurfaceInterface::childSubSurfacesChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 17, nullptr);
}

// SIGNAL 18
void KWaylandServer::SurfaceInterface::pointerConstraintsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 18, nullptr);
}

// SIGNAL 19
void KWaylandServer::SurfaceInterface::inhibitsIdleChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 19, nullptr);
}

// SIGNAL 20
void KWaylandServer::SurfaceInterface::committed()
{
    QMetaObject::activate(this, &staticMetaObject, 20, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
