/****************************************************************************
** Meta object code from reading C++ file 'surface_interface.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/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.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__Server__SurfaceInterface_t {
    QByteArrayData data[28];
    char stringdata0[427];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWayland__Server__SurfaceInterface_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWayland__Server__SurfaceInterface_t qt_meta_stringdata_KWayland__Server__SurfaceInterface = {
    {
QT_MOC_LITERAL(0, 0, 34), // "KWayland::Server::SurfaceInte..."
QT_MOC_LITERAL(1, 35, 7), // "damaged"
QT_MOC_LITERAL(2, 43, 0), // ""
QT_MOC_LITERAL(3, 44, 13), // "opaqueChanged"
QT_MOC_LITERAL(4, 58, 12), // "inputChanged"
QT_MOC_LITERAL(5, 71, 12), // "scaleChanged"
QT_MOC_LITERAL(6, 84, 16), // "transformChanged"
QT_MOC_LITERAL(7, 101, 44), // "KWayland::Server::OutputInter..."
QT_MOC_LITERAL(8, 146, 8), // "unmapped"
QT_MOC_LITERAL(9, 155, 11), // "sizeChanged"
QT_MOC_LITERAL(10, 167, 13), // "shadowChanged"
QT_MOC_LITERAL(11, 181, 11), // "blurChanged"
QT_MOC_LITERAL(12, 193, 22), // "slideOnShowHideChanged"
QT_MOC_LITERAL(13, 216, 15), // "contrastChanged"
QT_MOC_LITERAL(14, 232, 21), // "subSurfaceTreeChanged"
QT_MOC_LITERAL(15, 254, 20), // "childSubSurfaceAdded"
QT_MOC_LITERAL(16, 275, 20), // "SubSurfaceInterface*"
QT_MOC_LITERAL(17, 296, 10), // "subSurface"
QT_MOC_LITERAL(18, 307, 22), // "childSubSurfaceRemoved"
QT_MOC_LITERAL(19, 330, 25), // "pointerConstraintsChanged"
QT_MOC_LITERAL(20, 356, 19), // "inhibitsIdleChanged"
QT_MOC_LITERAL(21, 376, 9), // "committed"
QT_MOC_LITERAL(22, 386, 6), // "damage"
QT_MOC_LITERAL(23, 393, 6), // "opaque"
QT_MOC_LITERAL(24, 400, 5), // "input"
QT_MOC_LITERAL(25, 406, 5), // "scale"
QT_MOC_LITERAL(26, 412, 9), // "transform"
QT_MOC_LITERAL(27, 422, 4) // "size"

    },
    "KWayland::Server::SurfaceInterface\0"
    "damaged\0\0opaqueChanged\0inputChanged\0"
    "scaleChanged\0transformChanged\0"
    "KWayland::Server::OutputInterface::Transform\0"
    "unmapped\0sizeChanged\0shadowChanged\0"
    "blurChanged\0slideOnShowHideChanged\0"
    "contrastChanged\0subSurfaceTreeChanged\0"
    "childSubSurfaceAdded\0SubSurfaceInterface*\0"
    "subSurface\0childSubSurfaceRemoved\0"
    "pointerConstraintsChanged\0inhibitsIdleChanged\0"
    "committed\0damage\0opaque\0input\0scale\0"
    "transform\0size"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWayland__Server__SurfaceInterface[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   99,    2, 0x06 /* Public */,
       3,    1,  102,    2, 0x06 /* Public */,
       4,    1,  105,    2, 0x06 /* Public */,
       5,    1,  108,    2, 0x06 /* Public */,
       6,    1,  111,    2, 0x06 /* Public */,
       8,    0,  114,    2, 0x06 /* Public */,
       9,    0,  115,    2, 0x06 /* Public */,
      10,    0,  116,    2, 0x06 /* Public */,
      11,    0,  117,    2, 0x06 /* Public */,
      12,    0,  118,    2, 0x06 /* Public */,
      13,    0,  119,    2, 0x06 /* Public */,
      14,    0,  120,    2, 0x06 /* Public */,
      15,    1,  121,    2, 0x06 /* Public */,
      18,    1,  124,    2, 0x06 /* Public */,
      19,    0,  127,    2, 0x06 /* Public */,
      20,    0,  128,    2, 0x06 /* Public */,
      21,    0,  129,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::QRegion,    2,
    QMetaType::Void, QMetaType::QRegion,    2,
    QMetaType::Void, QMetaType::QRegion,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, 0x80000000 | 7,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 16,   17,
    QMetaType::Void, 0x80000000 | 16,   17,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // properties: name, type, flags
      22, QMetaType::QRegion, 0x00495001,
      23, QMetaType::QRegion, 0x00495001,
      24, QMetaType::QRegion, 0x00495001,
      25, QMetaType::Int, 0x00495001,
      26, 0x80000000 | 7, 0x00495009,
      27, QMetaType::QSize, 0x00495001,

 // properties: notify_signal_id
       0,
       1,
       2,
       3,
       4,
       6,

       0        // eod
};

void KWayland::Server::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->damaged((*reinterpret_cast< const QRegion(*)>(_a[1]))); break;
        case 1: _t->opaqueChanged((*reinterpret_cast< const QRegion(*)>(_a[1]))); break;
        case 2: _t->inputChanged((*reinterpret_cast< const QRegion(*)>(_a[1]))); break;
        case 3: _t->scaleChanged((*reinterpret_cast< qint32(*)>(_a[1]))); break;
        case 4: _t->transformChanged((*reinterpret_cast< KWayland::Server::OutputInterface::Transform(*)>(_a[1]))); break;
        case 5: _t->unmapped(); break;
        case 6: _t->sizeChanged(); break;
        case 7: _t->shadowChanged(); break;
        case 8: _t->blurChanged(); break;
        case 9: _t->slideOnShowHideChanged(); break;
        case 10: _t->contrastChanged(); break;
        case 11: _t->subSurfaceTreeChanged(); break;
        case 12: _t->childSubSurfaceAdded((*reinterpret_cast< SubSurfaceInterface*(*)>(_a[1]))); break;
        case 13: _t->childSubSurfaceRemoved((*reinterpret_cast< SubSurfaceInterface*(*)>(_a[1]))); break;
        case 14: _t->pointerConstraintsChanged(); break;
        case 15: _t->inhibitsIdleChanged(); break;
        case 16: _t->committed(); 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::Server::OutputInterface::Transform >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (SurfaceInterface::*)(const QRegion & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SurfaceInterface::damaged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (SurfaceInterface::*)(const QRegion & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SurfaceInterface::opaqueChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (SurfaceInterface::*)(const QRegion & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SurfaceInterface::inputChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (SurfaceInterface::*)(qint32 );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SurfaceInterface::scaleChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (SurfaceInterface::*)(KWayland::Server::OutputInterface::Transform );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SurfaceInterface::transformChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (SurfaceInterface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SurfaceInterface::unmapped)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (SurfaceInterface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SurfaceInterface::sizeChanged)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (SurfaceInterface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SurfaceInterface::shadowChanged)) {
                *result = 7;
                return;
            }
        }
        {
            using _t = void (SurfaceInterface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SurfaceInterface::blurChanged)) {
                *result = 8;
                return;
            }
        }
        {
            using _t = void (SurfaceInterface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SurfaceInterface::slideOnShowHideChanged)) {
                *result = 9;
                return;
            }
        }
        {
            using _t = void (SurfaceInterface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SurfaceInterface::contrastChanged)) {
                *result = 10;
                return;
            }
        }
        {
            using _t = void (SurfaceInterface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SurfaceInterface::subSurfaceTreeChanged)) {
                *result = 11;
                return;
            }
        }
        {
            using _t = void (SurfaceInterface::*)(SubSurfaceInterface * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SurfaceInterface::childSubSurfaceAdded)) {
                *result = 12;
                return;
            }
        }
        {
            using _t = void (SurfaceInterface::*)(SubSurfaceInterface * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SurfaceInterface::childSubSurfaceRemoved)) {
                *result = 13;
                return;
            }
        }
        {
            using _t = void (SurfaceInterface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SurfaceInterface::pointerConstraintsChanged)) {
                *result = 14;
                return;
            }
        }
        {
            using _t = void (SurfaceInterface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SurfaceInterface::inhibitsIdleChanged)) {
                *result = 15;
                return;
            }
        }
        {
            using _t = void (SurfaceInterface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SurfaceInterface::committed)) {
                *result = 16;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 4:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KWayland::Server::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->scale(); break;
        case 4: *reinterpret_cast< KWayland::Server::OutputInterface::Transform*>(_v) = _t->transform(); 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_KWayland__Server__SurfaceInterface[] = {
    QMetaObject::SuperData::link<KWayland::Server::OutputInterface::staticMetaObject>(),
    nullptr
};

QT_INIT_METAOBJECT const QMetaObject KWayland::Server::SurfaceInterface::staticMetaObject = { {
    QMetaObject::SuperData::link<Resource::staticMetaObject>(),
    qt_meta_stringdata_KWayland__Server__SurfaceInterface.data,
    qt_meta_data_KWayland__Server__SurfaceInterface,
    qt_static_metacall,
    qt_meta_extradata_KWayland__Server__SurfaceInterface,
    nullptr
} };


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

void *KWayland::Server::SurfaceInterface::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KWayland__Server__SurfaceInterface.stringdata0))
        return static_cast<void*>(this);
    return Resource::qt_metacast(_clname);
}

int KWayland::Server::SurfaceInterface::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Resource::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 17)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 17;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 17)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 17;
    }
#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 KWayland::Server::SurfaceInterface::damaged(const QRegion & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

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

// SIGNAL 2
void KWayland::Server::SurfaceInterface::inputChanged(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 KWayland::Server::SurfaceInterface::scaleChanged(qint32 _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

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

// SIGNAL 5
void KWayland::Server::SurfaceInterface::unmapped()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void KWayland::Server::SurfaceInterface::sizeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void KWayland::Server::SurfaceInterface::shadowChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}

// SIGNAL 8
void KWayland::Server::SurfaceInterface::blurChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}

// SIGNAL 9
void KWayland::Server::SurfaceInterface::slideOnShowHideChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
}

// SIGNAL 10
void KWayland::Server::SurfaceInterface::contrastChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 10, nullptr);
}

// SIGNAL 11
void KWayland::Server::SurfaceInterface::subSurfaceTreeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 11, nullptr);
}

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

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

// SIGNAL 14
void KWayland::Server::SurfaceInterface::pointerConstraintsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 14, nullptr);
}

// SIGNAL 15
void KWayland::Server::SurfaceInterface::inhibitsIdleChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 15, nullptr);
}

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